Grokbase Groups R r-help August 2003

Search Discussions

396 discussions - 1,209 posts

  • I'm wondering if anyone has written some functions or code for handling very large files in R. I am working with a data file that is 41 variables times who knows how many observations making up 27MB ...
    Murray JorgensenMurray Jorgensen
    Aug 25, 2003 at 4:04 am
    Aug 28, 2003 at 12:35 am
  • I apologise for starting a new thread, but we had a mail problem and I don't have the original message to refer to. Someone mentioned the new "Diamond Graphs" invented at Johns Hopkins. I haven't see ...
    Richard A. O'KeefeRichard A. O'Keefe
    Aug 21, 2003 at 5:21 am
    Aug 28, 2003 at 9:20 am
  • Hello, I am running a few simulations for clinical trial anlysis. I want some help regarding the following. We know trhat as the sample size increases, the variance should decrease, but I am getting ...
    Padmanabhan, SudharshaPadmanabhan, Sudharsha
    Aug 19, 2003 at 5:42 pm
    Aug 20, 2003 at 2:32 am
  • How can I best achieve the following (works in Splus): filenames <- dos("dir *.sasb7dat /b") What I am asking, more generically, is: how can I capture the output of a DOS command in R? I have tried ...
    Simon FearSimon Fear
    Aug 12, 2003 at 2:16 pm
    Aug 13, 2003 at 11:32 am
  • I know I should probably RTFM for this question, but could someone tell me if R supports the idea of "viewing source" on any particular function you want to use? If I want to "view source" on the ...
    Paul MeagherPaul Meagher
    Aug 26, 2003 at 4:45 pm
    Aug 27, 2003 at 2:23 am
  • Dear all, is there any function to calculate the center of a polygon mass in R? Actually I need to find the best location within polygons to place labels. Thanks for any hint Jens Oehlschl?gel -- ...
    Aug 13, 2003 at 9:01 am
    Aug 15, 2003 at 2:01 am
  • I'm trying to use the regexpr function to locate the decimal in a character string. Regardless of the position of the decimal, the function returns 1. For example, [1] 1 attr(,"match.length") [1] 1 ...
    Thompson, TrevorThompson, Trevor
    Aug 13, 2003 at 2:46 pm
    Aug 13, 2003 at 9:14 pm
  • Dear All I am trying to replicate a numerical application (not computed on R) from an article. Using, ks.test() I computed the exact D value shown in the article but the p-values I obtain are quite ...
    Franck allaireFranck allaire
    Aug 28, 2003 at 11:50 am
    Aug 30, 2003 at 1:39 am
  • Hi everyone. R is new to me and I'm very impressed with its capabilities but still cannot figure out how to do some basic things. There seems to be no lack of documentation but finding what I need ...
    Francisco J. BidoFrancisco J. Bido
    Aug 27, 2003 at 10:28 pm
    Aug 28, 2003 at 5:57 pm
  • I have a matrix for which each row has 12 elements that represent the xyz coordinates of 4 points. So each row of M is (x1,y1,z1,x2,y2,z2,x3,y3,z3,x4,y4,z4). Some points have NA as z values. I want ...
    Aug 13, 2003 at 11:58 am
    Aug 18, 2003 at 11:13 am
  • Hi, Does anyone know how to compute the confidence prediction intervals for a nonlinear least squares models (nls)? I was trying to use the function 'predict' as I usually do for other models fitting ...
    Enrique PortillaEnrique Portilla
    Aug 14, 2003 at 1:26 pm
    Aug 14, 2003 at 5:26 pm
  • Hi How do I install "gregmisc" packages? I did- % sudo R . . but, Error: couldn't find function "barplot2" -- atuya Mac OSX 10.2.6 R 1.7.1
    Atsuya fujitoAtsuya fujito
    Aug 7, 2003 at 6:46 pm
    Aug 8, 2003 at 5:26 am
  • I do not understand what happens here (under Win XP): a <- abs(matrix(rnorm(800*800)/2, ncol�0, nrow�0)) system.time(b <- a^1000)[3] took about 1 sec on my computer with R 1.7.0 and it takes now 4.59 ...
    Philippe GrosjeanPhilippe Grosjean
    Aug 4, 2003 at 2:07 pm
    Aug 5, 2003 at 7:42 am
  • Hi, Figure 13 of Emmanuel Paradis's "R for Beginners" was produced by termplot working on an aov object. The lower right-hand plot is labelled "Cook's distance plot", and I'd really like to produce a ...
    Frank GibbonsFrank Gibbons
    Aug 28, 2003 at 5:03 pm
    Aug 28, 2003 at 7:20 pm
  • Hi, I'm a recent R convert so I haven't quite figured out the details yet... How do I select one variable by another one? Ie if I want to draw the histogram of variable X only for those individuals ...
    Eugene SalinasEugene Salinas
    Aug 27, 2003 at 8:49 am
    Aug 27, 2003 at 3:49 pm
  • Hi, I use lme to fit models like R res1 <- lme(y~A+B, data=mydata, random=~1|subject) R res2 <- lme(y~B+A, data=mydata, random=~1|subject) (only difference between these two models are the sequence ...
    Mahbub LatifMahbub Latif
    Aug 21, 2003 at 4:51 pm
    Aug 22, 2003 at 8:29 am
  • Dear All, Can anyone know how to compare two character strings in R? For eample, how to compare "A-1-B" with "cc-10000" in logical ? Cheers, Lun Li
    Lun LiLun Li
    Aug 21, 2003 at 2:09 pm
    Aug 21, 2003 at 3:12 pm
  • I am running a 1000 simulations, it works for 2 simulations. However, I get the following error message whenever I run it more than 3 times: "The instruction at '0*11044080' referenced memory at ...
    Aug 20, 2003 at 1:42 pm
    Aug 21, 2003 at 6:22 am
  • Hello, all, I'd like to propose that now that the underscore-as-assignment-operator is to be removed from R (good thing, too), that the Windows GUI should replace the underscore ``_'' with the proper ...
    Aug 12, 2003 at 10:38 pm
    Aug 13, 2003 at 11:38 am
  • I've used Anova() from the car package to get marginal (aka type II) sum-of-squares and tests for linear models with categorical variables. Is it possible to get marginal SSs also for continuous ...
    Bjørn-Helge MevikBjørn-Helge Mevik
    Aug 11, 2003 at 1:30 pm
    Aug 12, 2003 at 3:14 pm
  • I am tying myself in knots over subscripts when applied to lists I have a list along the lines of: lis<-list(c("a","b","next","want1","c"),c("d", "next", "want2", "a")) member of the list, i.e ...
    Chris KnightChris Knight
    Aug 11, 2003 at 12:21 pm
    Aug 12, 2003 at 8:19 am
  • Hi everyone, I want to write a function that modify directly variables passed as parameters (the equivalent in C language of *ptr/&ptr) so that I don't have to return a list and to reaffect all my ...
    Laetitia MarisaLaetitia Marisa
    Aug 29, 2003 at 12:20 pm
    Aug 29, 2003 at 2:27 pm
  • Dear R-help: Has anyone tried using R on the the AMD Opteron in either 64- or 32-bit mode? If so, any good/bad experiences, comments, etc? We are considering getting this hardware, and would like to ...
    Liaw, AndyLiaw, Andy
    Aug 26, 2003 at 7:17 pm
    Aug 27, 2003 at 8:07 pm
  • Hi all, I skimmed through the archives and couldnt really find an answer to my question. One thing i dont understand of the description of the function boot() is the second variable for statistics. I ...
    Brunschwig, Hadassa {PDMM~Basel}Brunschwig, Hadassa {PDMM~Basel}
    Aug 22, 2003 at 11:49 am
    Aug 26, 2003 at 9:53 am
  • I tried to use substitute in legend as follows: pval <- 0.04 plot(0) legend(1,0.5,substitute(hat(theta) == p, list(p = pval))) For some reason the legend is repeated 3 times. Any suggestions or is ...
    Aug 22, 2003 at 7:11 pm
    Aug 23, 2003 at 5:11 pm
  • Have I been sleeping in class? rw1071 from CRAN, windows XP incidencia is made by a call to tapply [1] "array" Kjetil Halvorsen
    Kjetil brinchmann halvorsenKjetil brinchmann halvorsen
    Aug 16, 2003 at 2:39 pm
    Aug 22, 2003 at 11:06 am
  • Is there an R function that automatically writes all input and output to a file? I would at least like it to log all the commands I enter, and to preferably also write the standard output to the file ...
    David R. BickelDavid R. Bickel
    Aug 21, 2003 at 5:33 pm
    Aug 22, 2003 at 11:06 am
  • Hi, I am running a loop to plot multiple plots. In s-plus, it shows multiple pages in the graphic window to allow checking on each plot. but in R, the next plot always overwrite the previous one, so ...
    Array chipArray chip
    Aug 21, 2003 at 10:29 pm
    Aug 22, 2003 at 6:33 am
  • In teaching I'd like to be able to display a R-graphics window on a wall projection display keeping the R-console on the computer monitor. And so I ask--- Is there a way to move a graphics window out ...
    Jed DiemJed Diem
    Aug 21, 2003 at 2:27 pm
    Aug 22, 2003 at 6:18 am
  • I want to interlace two vectors. This I can do: [1] 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 but this seems rather inelegant. Any suggestions? Murray -- Dr Murray Jorgensen ...
    Murray JorgensenMurray Jorgensen
    Aug 20, 2003 at 9:16 pm
    Aug 21, 2003 at 9:00 pm
  • I want to do a logistic regression without an intercept term. This option is absent from glm, though present in some of the inner functions glm uses. I gather glm is the standard way to do logistic ...
    Ross BoylanRoss Boylan
    Aug 19, 2003 at 9:57 pm
    Aug 20, 2003 at 2:27 pm
  • `data.frame': 4 obs. of 4 variables: $ V1: int 1 2 3 4 $ V2: int 5 6 7 8 $ V3: int 9 10 11 12 $ V4: num 0 Don't know if this is the intended result. In any case, you're probably better off using ...
    Liaw, AndyLiaw, Andy
    Aug 14, 2003 at 4:41 pm
    Aug 18, 2003 at 1:38 pm
  • Dear R-listers, I have a dxr matrix Z, where d r. And the product Z*Z' is a singular square matrix. The problem is how to get the left inverse U of this singular matrix Z*Z', such that U*(Z*Z') = I? ...
    Feng ZhangFeng Zhang
    Aug 14, 2003 at 4:24 pm
    Aug 14, 2003 at 7:41 pm
  • Has the Levene test of homogeneity of variance been implemented in any library in R? Thanks, Maurice Haynes National Institute of Child Health and Human Development Child and Family Research Section ...
    Haynes, Maurice (NIH/NICHD)Haynes, Maurice (NIH/NICHD)
    Aug 13, 2003 at 2:39 pm
    Aug 13, 2003 at 4:32 pm
  • Hi Folks, With a bit of experimentation I have determined (I think) that on my R implementation the largest positive integer that is exactly represented is (2^53 - 1), based on [1] 0 System: platform ...
    Ted HardingTed Harding
    Aug 13, 2003 at 12:55 pm
    Aug 13, 2003 at 2:20 pm
  • Hello I carried out a logistic regression and found predicted values. Then I want to see both predictors (var1,var2..) and predicted values in same matrix. In other words, I need to know each ...
    Aug 7, 2003 at 7:09 am
    Aug 7, 2003 at 3:23 pm
  • I am displaying several series in one plot, and would like to make them distinct without having to employ a legend. I managed to color tickmarks, but have been unsuccessful with either one of a) ...
    Dirk EddelbuettelDirk Eddelbuettel
    Aug 6, 2003 at 9:30 pm
    Aug 7, 2003 at 1:22 pm
  • Hi, all. Suppose I have an object with names (like a data.frame) and I want to walk in a loop with your names. How can I do this? The idea is like this:<-data.frame(matrix(runif(6),ncol=2)) ...
    Cezar Augusto de Freitas AnselmoCezar Augusto de Freitas Anselmo
    Aug 6, 2003 at 8:24 pm
    Aug 7, 2003 at 9:24 am
  • In platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor 7.1 year 2003 month 06 day 16 language R I get [1] 1 3 Shouldn't NAs be retained by default? Thanks ...
    Frank E Harrell JrFrank E Harrell Jr
    Aug 6, 2003 at 9:21 pm
    Aug 7, 2003 at 1:37 am
  • ?acf ?pacf HTH, Bernhard ---------------------------------------------------------------------- If you have received this e-mail in error or wish to read our e-mail disclaimer statement and ...
    Pfaff, BernhardPfaff, Bernhard
    Aug 4, 2003 at 12:47 pm
    Aug 4, 2003 at 8:36 pm
  • Hi Ruud, Thanks greatly for your response and apologies for not being clear. Actually I am reading the offline version of the R manual, packaged with R as I write this :-) Right now I am reading ...
    Zitan BrothZitan Broth
    Aug 20, 2003 at 4:14 pm
    Sep 15, 2003 at 11:03 pm
  • I recently upgraded R from rw1051 to rw1071 on a Win98se system and surprisingly found my DLL library does not work any more. When I tried to load the dll file by dyn.load("my.dll"), I got the ...
    Paul Y. PengPaul Y. Peng
    Aug 30, 2003 at 3:26 pm
    Sep 1, 2003 at 1:58 am
  • Hi, I'm just about to install the Precompiled Binary Distribution of R from CRAN for SuSE Linux 8.2: R-base-1.7.1-1.i386.rpm My system is SuSE Linux 8.2 Professional Edition on a Pentium 4: # uname ...
    Bernhard BalsBernhard Bals
    Aug 31, 2003 at 6:43 pm
    Aug 31, 2003 at 7:59 pm
  • Hi I was looking through the help on how to get standardized scores and came across an anomaly. The"zscore") reports there is such a function in R.base. However, when I try to get help ...
    John ChristieJohn Christie
    Aug 30, 2003 at 12:33 am
    Aug 30, 2003 at 7:19 am
  • Hi Everyone, Here's a silly newbie question. How do I remove unwanted rows from an R table? Say that I read my data as: X <- read.table("mydata.txt") and say that there are columns for age and ...
    Francisco J. BidoFrancisco J. Bido
    Aug 29, 2003 at 6:09 am
    Aug 29, 2003 at 1:59 pm
  • Hi, I am a beginner user of R. I have a trivial question ? I am almost ashamed I cannot figure it out does not matter how many times I am reading the help. I have a table in .txt format, tab ...
    Monica Palaseanu-LovejoyMonica Palaseanu-Lovejoy
    Aug 28, 2003 at 1:35 pm
    Aug 28, 2003 at 5:45 pm
  • Dear R users! I am using R Version 1.7.1, Windows XP, package "foreign" (Version: 0.6-1), SPSS 11.5.1. There is one thing I noticed with "read.spss", and I'd like to ask if this is considered to be a ...
    RINNER HeinrichRINNER Heinrich
    Aug 27, 2003 at 4:06 pm
    Aug 28, 2003 at 12:31 pm
  • Hi All, I am trying to match two character arrays (email lists) using either pmatch(), match() or charmatch() functions. However the function is "missing" some matches due to differences in the cases ...
    Jablonsky, NikitaJablonsky, Nikita
    Aug 26, 2003 at 8:09 pm
    Aug 27, 2003 at 9:04 am
  • Hi, I have been a happy user of R for windows for more than a year, however, recently, I started using linux as my operating system and now I have practically switched completely. Of course, I still ...
    Aug 26, 2003 at 11:46 am
    Aug 26, 2003 at 3:35 pm
  • Deall all, I'm just learning R, but unfortunately I need to urgently do a rather more complex task so I need some help. I have just learnt the very basics a few days ago and am not ready yet to deal ...
    Eugene SalinasEugene Salinas
    Aug 23, 2003 at 3:36 pm
    Aug 23, 2003 at 7:45 pm
Group Navigation
period‹ prev | Aug 2003 | next ›
Group Overview
groupr-help @

374 users for August 2003

Prof Brian Ripley: 119 posts Uwe Ligges: 41 posts Spencer Graves: 40 posts Peter Dalgaard BSA: 37 posts Thomas Lumley: 28 posts Liaw, Andy: 23 posts Thomas W Blackwell: 21 posts Marc Schwartz: 20 posts Martin Maechler: 17 posts Simon Fear: 17 posts Andrew C. Ward: 16 posts Kjetil brinchmann halvorsen: 15 posts Ko-Kang Kevin Wang: 15 posts Richard A. O'Keefe: 15 posts Ted Harding: 15 posts Douglas Bates: 14 posts A.J. Rossini: 13 posts Deepayan Sarkar: 13 posts Al Piszcz: 12 posts Frank E Harrell Jr: 12 posts
show more