Grokbase Groups R r-help July 2004

Search Discussions

524 discussions - 1,616 posts

  • Exactly where does R search for foo.R if I type source("foo.R")? Only from current working directory (same as getwd()), from all directories specified by e.g. $PATH? Thanks. Daehyok Shin
    Shin, DaehyokShin, Daehyok
    Jul 10, 2004 at 11:44 pm
    Jul 13, 2004 at 1:49 pm
  • Dear All, I have a data frame with n columns: X1, X2, ., Xn. Now I want to create a new column: if X1 = X2 = . = Xn, the value is 1; Otherwise, the value is 0. How to do that in a quick way instead ...
    F DuanF Duan
    Jul 19, 2004 at 5:25 pm
    Jul 26, 2004 at 4:47 am
  • Dear R users, I?m a beginner user of R and I?ve a problem with permutations that I don?t know how to solve. I?ve 12 elements in blocks of 3 elements and I want only to make permutations inter-blocks ...
    Jordi Altirriba GutiérrezJordi Altirriba Gutiérrez
    Jul 13, 2004 at 7:07 pm
    Jul 15, 2004 at 1:09 pm
  • Hi: I have two matrices, A and B, where A is n x k, and B is m x k, where n m k. Is there a computationally fast way to count the number of times each row (a k-vector) of B occurs in A? Thanks for ...
    Ravi VaradhanRavi Varadhan
    Jul 3, 2004 at 2:31 pm
    Jul 6, 2004 at 12:54 pm
  • Dear R users, First of all, thanks for the incredibly fast answers and help of Rolf, Marc and Robert. Yes, I noticed that it was a lot of permutacions, but my intention was to make this process ...
    Jordi Altirriba GutiérrezJordi Altirriba Gutiérrez
    Jul 13, 2004 at 10:41 pm
    Jul 22, 2004 at 10:03 am
  • count(field) 1 8 [1] "as.integer(8)" Why the as.integer() representation? I later pass the result into this write.html.table(), and what I get is rows of as.integer()... when all I want is the ...
    Jack TannerJack Tanner
    Jul 29, 2004 at 9:54 pm
    Aug 3, 2004 at 12:48 am
  • Hi, What is the best text editor for programming in R? I am using JEdit as the text editor, however, it does not have anything specific for R. It will be nice to have a developing environment where ...
    Yi-Xiong Sean ZhouYi-Xiong Sean Zhou
    Jul 7, 2004 at 10:47 pm
    Jul 12, 2004 at 8:37 pm
  • Hello, R users, I am a very beginner of R and tried read.csv to import an excel file after saving an excel file as csv. But it added alternating rows of fictitious NA values after row number 16. When ...
    Park, Kyong H Mr. RDECOMPark, Kyong H Mr. RDECOM
    Jul 7, 2004 at 6:21 pm
    Jul 8, 2004 at 1:56 pm
  • Dear list members, I can't figure out how to specify the contriburl argument to install.packages() properly when the packages to be installed are in a directory on my local machine. I have in mind a ...
    John FoxJohn Fox
    Jul 15, 2004 at 2:09 pm
    Jul 16, 2004 at 12:14 pm
  • How does one implement a likelihood-ratio test, to test whether the variances of the random effects differ between two groups of subjects? Suppose your data consist of repeated measures on subjects ...
    Jacob WegelinJacob Wegelin
    Jul 12, 2004 at 7:50 am
    Oct 8, 2004 at 8:18 pm
  • Hi, I was wondering if anyone has had good experiences using R on Linux with dual AMD64 (Opteron) processors. I'm thinking of buying a couple of such servers, but I'd like to make sure R would work ...
    Asselin JeromeAsselin Jerome
    Jul 23, 2004 at 4:23 pm
    Jul 26, 2004 at 1:55 pm
  • Hi all I have the next data frame year STOD SLAGNR TAL TALT TALVEKT 1 2002 2120006 57 1 NA 1 2 1997 97030032 57 NA NA NA 3 1997 97030071 27 1 NA NA 4 1997 97030005 57 1 NA NA 5 1997 97020127 60 NA 1 ...
    Luis Rideau CruzLuis Rideau Cruz
    Jul 20, 2004 at 8:51 am
    Jul 20, 2004 at 7:07 pm
  • Hello R-users, I apologize for my question but I'm a newbie. I want to read a file which columns separator is "\t". At the end of each row there is a "\n" to go to the following line. The three first ...
    Vincent MUTEAUDVincent MUTEAUD
    Jul 19, 2004 at 8:05 am
    Jul 19, 2004 at 9:37 am
  • In the windows version (RGui), is there a way to set the text displayed in the titlebar of the R window? When I have 2 instances of RGui running, it would be helpul if the titlebar could help to ...
    Erich NeuwirthErich Neuwirth
    Jul 14, 2004 at 6:56 am
    Jul 14, 2004 at 4:48 pm
  • Hi list, I'm performing a series of confirmatory factor analysis on different groupings of items from data collected with questionnaires. There are some missing values. For those sets with no missing ...
    Antonio PrioglioAntonio Prioglio
    Jul 13, 2004 at 2:31 pm
    Jul 13, 2004 at 11:06 pm
  • Dear R users this may be a simple question - but i would appreciate any thoughts does anyone know how you would get one lower and one upper confidence interval for a set of data that consists of ...
    Darren ShawDarren Shaw
    Jul 12, 2004 at 3:45 pm
    Jul 13, 2004 at 12:54 pm
  • Hi, all. Something strange happened to my ESS. I use Mac OS X. When R is used in stand alone mode, it recognizes external libraries like "affy", "e1071" etc. However, when R is invoked through ESS in ...
    Tae-Hoon ChungTae-Hoon Chung
    Jul 6, 2004 at 9:12 am
    Jul 8, 2004 at 2:35 pm
  • Dear R-users, When I call Rterm from cygwin, I have no options but typing the exact syntax the first time. If I happen to hit the "delete" key (backspace), R dies when I press enter saying : Error ...
    Dewez ThomasDewez Thomas
    Jul 28, 2004 at 2:23 pm
    Jul 30, 2004 at 3:24 pm
  • Hi all, I'm trying to read a 1220 * 20000 table in R but I'm having lot of problems. Basically what it happens is that R.bin starts eating all my memory until it gets about 90%. At that point it ...
    Federico GherardiniFederico Gherardini
    Jul 28, 2004 at 2:10 am
    Jul 28, 2004 at 6:26 pm
  • Hello everyone, I am searching for a covariate selection procedure in a cox model formulated as a counting process. I use intervals, my formula looks like coxph(Surv(start,stop,status)~ ...
    Jul 26, 2004 at 11:24 am
    Jul 28, 2004 at 5:42 pm
  • I wanted to direct packageInfo to a file, so I could add comments, e.g., in MS Word. The following command stored the desired information in an object: mclustInfo <- help(package="mclust") Then ...
    Spencer GravesSpencer Graves
    Jul 24, 2004 at 5:06 pm
    Jul 26, 2004 at 2:42 pm
  • Let me present to you my problem : I have a character vector x and I would like to obtain the indices of the elements of this vector that yielded exactly a match. For example, x=nom, pattern="b", I ...
    Jul 8, 2004 at 7:20 am
    Jul 9, 2004 at 8:55 am
  • Dear experts, when trying to estimate an kernel density function with density(x) I get the following error message with imported data from either EXCEL or text files: Error in density(spr) : argument ...
    Christoph HanckChristoph Hanck
    Jul 5, 2004 at 1:34 pm
    Jul 5, 2004 at 3:43 pm
  • There was a BioConductor thread today where the poster wanted to find pairwise difference between columns of a matrix. I suggested the slow solution below, hoping that someone might suggest a faster ...
    Adaikalavan RamasamyAdaikalavan Ramasamy
    Jul 30, 2004 at 11:30 pm
    Aug 2, 2004 at 6:34 pm
  • Dear All, I am sorry if this question has been asked before. Below is my Question: I want to put several plots in the same window, but I don?t want the blank space between plots (like par(mfrow=)) ...
    F DuanF Duan
    Jul 30, 2004 at 3:41 pm
    Jul 30, 2004 at 4:45 pm
  • Hi R-helpers, I'm trying to model a univariate as a bi-modal normal mixtures. I need to estimate the parameters of each gaussian (mean and sd) and their weights. What's the best way to do this in R? ...
    Xiao-Jun MaXiao-Jun Ma
    Jul 29, 2004 at 5:13 pm
    Jul 30, 2004 at 2:20 am
  • Hello everybody. I am trying to reproduce a particular matrix in an elegant way. If I have jj1 <- structure(c(1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2, 3,1,2,3,1,2,3,1,2,3,2,3,1,2,3,1,2,3,1,2,3, ...
    Robin HankinRobin Hankin
    Jul 28, 2004 at 1:25 pm
    Jul 28, 2004 at 6:01 pm
  • Hi there fellow R-users, I'm stuck on this seemingly trivial problem. All I want to coerce a character string into a command. For example: x<-rnorm(20) y<-rnorm(20) str<-"lm(y~x)" I want to evaluate ...
    Wayne JonesWayne Jones
    Jul 19, 2004 at 2:37 pm
    Jul 20, 2004 at 1:05 pm
  • I would be incredibly grateful to anyone who'll help me translate some SAS code into R code. Say for example that I have a dataset named "dat1" that includes five variables: wshed, site, species, ...
    Greg AdkisonGreg Adkison
    Jul 16, 2004 at 10:18 pm
    Jul 17, 2004 at 10:09 pm
  • Hello. By way of background, I am running out of memory when attempting to normalize the data from 160 affymetrix microarrays using justRMA (from the affy package). This is despite making 6 gigabytes ...
    Kort, EricKort, Eric
    Jul 1, 2004 at 9:59 pm
    Jul 13, 2004 at 12:35 pm
  • Hi, How do I open an excel file in R? I have save the excel file in unicode text format, but it is not possible to open the file in R. /Pernilla
    Pernilla KarlssonPernilla Karlsson
    Jul 12, 2004 at 3:17 pm
    Jul 12, 2004 at 8:38 pm
  • Hi, i try several possibilities adn looking in the archive, but didn't getting success to install j.lindsey's usefuel "library repeated" on my linux (suse9.0 with kernel 2.6.7,R.1.9.1) P.S. Windows, ...
    Christian SchulzChristian Schulz
    Jul 26, 2004 at 2:34 pm
    Jul 26, 2004 at 7:39 pm
  • Does any one know of an eclipse ( plugin for R/S. thanks RIchard -- Richard Piper Web: Mobile: 0438-120860 Sydney: 9926-8617 Kippax: 6550-5117 Email: rpiper at ...
    Richard PiperRichard Piper
    Jul 15, 2004 at 8:47 pm
    Jul 26, 2004 at 10:43 am
  • Hi there The default option for saving graphics from R (1.9.1) on my Mac is as a pdf file. If I open the file in Acrobat reader it looks really good and crisp, and is obviously saved as vector ...
    Rob KnellRob Knell
    Jul 22, 2004 at 11:25 am
    Jul 23, 2004 at 10:55 pm
  • Greetings. I'm trying to recreate in R some regression models I've done in SAS, but I'm not getting the same results. My advisor suspects this may be due to differences in precision between R and ...
    Jul 20, 2004 at 3:55 pm
    Jul 22, 2004 at 2:02 pm
  • How can I use a function with some additional input parameters in constrOptim? For example, something like fr <- function(x,a) { ## Rosenbrock Banana function x1 <- x[1] x2 <- x[2] a * (x2 - x1 * ...
    Marlene MuellerMarlene Mueller
    Jul 14, 2004 at 12:59 pm
    Jul 20, 2004 at 5:40 pm
  • Hi, I wish build a R-script (or a R-function) that read a number from the keyboard and then process it. For example: from R I load the function X, that ask me the level of confidence "\alpha", by ...
    Paolo CovelliPaolo Covelli
    Jul 15, 2004 at 10:41 am
    Jul 16, 2004 at 6:19 am
  • Hi all, I'm looking for smooth monotone estimation packages, preferably using splines. I downloaded the 'cobs' package and intend to use it, but since it offers only quadratic splines based on L1 ...
    Assaf P OronAssaf P Oron
    Jul 12, 2004 at 7:52 pm
    Jul 14, 2004 at 2:06 pm
  • Hello All: Suppose the following little data frame: [1] 8 2 3 6 1 How can I get the paste() function to do the same thing. The command below is obviously wrong Thanks, ANDREW
    Andrew CriswellAndrew Criswell
    Jul 12, 2004 at 6:16 am
    Jul 12, 2004 at 2:32 pm
  • Hi, I have designed the following function to extract count frequencies from an array of integers. For example... # Tipical array x <- cbind(1,1,1,1,1,2,2,2,2,3,3,3,3,4,5,6,7,22) # Define the ...
    Dan BolserDan Bolser
    Jul 9, 2004 at 12:22 pm
    Jul 9, 2004 at 11:19 pm
  • Dear Friends, Is there anybody know where I can get the code which implement the smooth.spline function in R? I have to know how the smooth.spline is implemented. Thanks a lot. Best. Chuanjun
    Chuanjun zhangChuanjun zhang
    Jul 31, 2004 at 9:37 pm
    Aug 2, 2004 at 9:01 am
  • The result I'm aiming to achieve is a bitmap that can be imported into a PowerPoint file that shows what's behind the lines of the plot. There's a way in PowerPoint that almost works. By choosing a ...
    Patrick ConnollyPatrick Connolly
    Jul 28, 2004 at 9:59 pm
    Jul 30, 2004 at 10:16 pm
  • Hi, I've saved an RData file with "save" and now I want to add a new object to this file. At the moment I do: attach("file.RData") save(list=c("new,obj", ls(pos=2)), file="file.RData", compress=T) ...
    Ernesto JardimErnesto Jardim
    Jul 28, 2004 at 3:24 pm
    Jul 29, 2004 at 9:33 am
  • Hello! In the book Modern Applied Statistics with S (4th ed), section 5.6 the concept of the "average shifted histogram" or ASH is mentionend. Also it is mentioned in the same section "The code used ...
    Eckart BindewaldEckart Bindewald
    Jul 28, 2004 at 9:43 pm
    Jul 29, 2004 at 8:24 am
  • I have some trouble interpreting the output from profiling. I have read the help pages Rprof, summaryRprof and consult the R extensions manual, but I still have problems understanding the output ...
    Kasper Daniel HansenKasper Daniel Hansen
    Jul 16, 2004 at 7:59 pm
    Jul 27, 2004 at 11:26 pm
  • Hello, I was wondering wether there's a function in R that takes two vectors (of same length) as input and computes mean values for bins (intervals) or even a sliding window over these vectros. I've ...
    Arne MullerArne Muller
    Jul 26, 2004 at 3:11 pm
    Jul 26, 2004 at 9:08 pm
  • Hi all, I have the folowing frame(there are more columns than shown), 1 2 3 4 5 Year Total Tus Whi Norw 1994 1.00 1830 0 355 1995 1.00 0 0 0 1995 1.00 0 0 0 1995 1.00 4910 4280 695 1997 1.00 0 0 110 ...
    Luis Rideau CruzLuis Rideau Cruz
    Jul 26, 2004 at 12:52 pm
    Jul 26, 2004 at 7:12 pm
  • Dear all, I need to read an ASCII file with diffent length lines. This is what is contained in the file gene.txt: 1st line ID description snp_id genotype 2nd line 10003 Low rs152240 3rd line 10003 ...
    Cristian PattaroCristian Pattaro
    Jul 23, 2004 at 12:06 pm
    Jul 23, 2004 at 1:02 pm
  • Hello, I'm a newcomer to R so please forgive me if this is a silly question. It's that I have a linear regression: fm <- lm (x ~ y) and I want to test whether the slope of the regression is ...
    Avril CoghlanAvril Coghlan
    Jul 20, 2004 at 4:02 pm
    Jul 21, 2004 at 10:30 am
  • Dear ALL, I fear my question has already been answered many times before, but I haven't fund that in archives... I am working on spatial datasets and, in most arrays I'm handling, there are two ...
    Jacques VESLOTJacques VESLOT
    Jul 21, 2004 at 6:35 am
    Jul 21, 2004 at 7:44 am
Group Navigation
period‹ prev | Jul 2004 | next ›
Group Overview
groupr-help @

450 users for July 2004

Liaw, Andy: 79 posts Uwe Ligges: 73 posts Prof Brian Ripley: 60 posts Gabor Grothendieck: 58 posts Spencer Graves: 55 posts Marc Schwartz: 47 posts Adaikalavan Ramasamy: 34 posts Sundar Dorai-Raj: 31 posts Duncan Murdoch: 30 posts Roger D. Peng: 26 posts Thomas Lumley: 25 posts Rolf Turner: 21 posts Deepayan Sarkar: 20 posts Martin Maechler: 20 posts Peter Dalgaard: 20 posts Wolski: 18 posts Ernesto Jardim: 17 posts John Fox: 16 posts A Prioglio: 13 posts Vito Ricci: 12 posts
show more