Grokbase Groups R r-help March 2009

Search Discussions

1,116 discussions - 3,590 posts

  • I would like to get some idea of which R-packages are popular, and what R is used for in general. Are there any statistics available on which R packages are downloaded often, or is there something ...
    Jeroen OomsJeroen Ooms
    Mar 7, 2009 at 7:57 pm
    Mar 11, 2009 at 9:15 am
  • I have an optimization question that I was hoping to get some suggestions on how best to go about sovling it. I would think there is probably a package that addresses this problem. This is an ...
    Mar 29, 2009 at 8:45 pm
    Apr 9, 2009 at 8:15 am
  • Dear all, This seems like a simple problem but i've searched the help files and tried various options but failed, so apologies in advance for asking what i'm sure is an easy thing to do! In short, I ...
    Ross CullochRoss Culloch
    Mar 13, 2009 at 9:20 am
    Mar 25, 2009 at 9:42 pm
  • Dear useRs, With the rise of netbooks and 'lifestyle laptops" I am tempted to get one of these to mainly run R on it. Processor power and hard disk space seem to be ok. What I wonder is the handling ...
    Mar 5, 2009 at 8:47 am
    Mar 20, 2009 at 2:13 pm
  • Hi, How do I tell an if statement to generate two seperate outputs. E.g If X 5 I want to create df1 and df2: if (X 5) {df1<-c(4,5,6,7,8) AND df2<-c(9,10,11,12,13)} Thanks, James -- View this message ...
    Mar 22, 2009 at 9:26 pm
    Mar 24, 2009 at 10:14 am
  • By any chance is there an R package that automatically produces the plot shown at the following link: That is an R package to produce on ...
    Jason RupertJason Rupert
    Mar 17, 2009 at 1:14 am
    Mar 26, 2009 at 4:27 pm
  • Hi, All. I have a data frame with the part as : ..... 142 2006-02-22 16:28:18 useractivity_act 8 0 143 2006-02-22 16:28:26 4 2 0 144 2006-02-22 16:28:28 3 3 0 145 2006-02-22 16:28:31 4 4 1 146 ...
    Tammy MaTammy Ma
    Mar 17, 2009 at 9:44 am
    Mar 17, 2009 at 4:32 pm
  • Hi, I have been dreaming about a complete R environment on my USB stick for a long time. Now I finally want to realize it but what I am missing is a good, portable editor for R which has tabs and ...
    Werner WernersenWerner Wernersen
    Mar 2, 2009 at 4:07 pm
    Mar 31, 2009 at 1:59 pm
  • Dear R-helpers: I have a question related to <- and =. I saw very experienced R programmers use = rather than <- quite consistently. However, I heard from others that do not use = but always stick to ...
    Sean ZhangSean Zhang
    Mar 11, 2009 at 2:18 pm
    Mar 13, 2009 at 2:59 pm
  • Hi, I'm trying to install R on Ubuntu. I succeeded at installing the r-recommended package that is present in the synaptics, but i can't find the xlsReadWrite package in the repositories included in ...
    Mar 2, 2009 at 9:15 am
    Mar 3, 2009 at 8:35 pm
  • I recently got a RFC on Eclipse and StatET setup from a R-help user, so here it is. Note: there may be slight errors of omission in my directions as I am making these notes after I had a successful ...
    Mar 29, 2009 at 3:25 am
    Apr 6, 2009 at 12:11 pm
  • I'd like to paste a zodiac sign on a graph, but it only prints it when I add another unicode ( \u3030) to the desired \u2648 - why? See the examplecode (compare the orange with the skyblue) ...
    Thomas SteinerThomas Steiner
    Mar 28, 2009 at 3:18 pm
    Apr 5, 2009 at 8:37 pm
  • Hi, everyone, I was trying to sort a data frame by two columns, one increasing, the other decreasing and got an error. "Error in FUN(left) : invalid argument to unary operator", The command is ...
    Jun ShenJun Shen
    Mar 27, 2009 at 10:26 pm
    Mar 30, 2009 at 1:52 am
  • Dear All, I couple of weeks ago, I�ve asked for a package recommendation for nonlinear optimization. In my problem I have a fairly complicated non-linear objective function subject to one non-linear ...
    Lars BishopLars Bishop
    Mar 17, 2009 at 12:09 am
    Mar 18, 2009 at 7:54 pm
  • Greetings, I am using fGarch package to estimate and simulate GARCH models. What I would like to do is to perform Monte Carlo simulation. Unfortunately I cannot figure how to modify the code to ...
    Brajkovic J.Brajkovic J.
    Mar 2, 2009 at 2:57 pm
    Mar 30, 2009 at 3:26 pm
  • Dear R experts: I just tried some simple test that told me that hand computing the OLS coefficients is about 3-10 times as fast as using the built-in lm() function. (code included below.) Most of the ...
    Ivo welchIvo welch
    Mar 25, 2009 at 8:28 pm
    Mar 28, 2009 at 2:46 pm
  • Hi, I am looking for a data set containing the information from a randomized trial evaluating the effect of DES (diethylsilbestrol) on multiple time-to-event endpoints, prostate cancer, CVD, and ...
    Ravi VaradhanRavi Varadhan
    Mar 24, 2009 at 8:00 pm
    Mar 25, 2009 at 1:03 pm
  • R 2.8.1 Windows XP Fedora Linux. I would like a suggestion for an editor that will help format my R code that can be used with Rcmdr. Is there anything I need to know about running or installing an ...
    John SorkinJohn Sorkin
    Mar 5, 2009 at 12:17 pm
    Mar 19, 2009 at 4:56 pm
  • Hi. Does anyone know of a function which will take as input a number n (or a let of n letters) and will give out, one at a time, the permutations of n (or of those n letters) as a vector? So that I ...
    Mar 14, 2009 at 1:06 am
    Mar 19, 2009 at 4:21 pm
  • Hi, A follow up to my previous post. It'd be good to have syntax highlighting in the html help pages. There is highlight ( which seems to be open source. Since code is ...
    Jose QuesadaJose Quesada
    Mar 16, 2009 at 5:49 pm
    Mar 17, 2009 at 9:20 am
  • The minCut function in RBGL package returns only a value or the minimum cut. I would be really greatful if any knows of any R function or package available for finding all minimal cut sets ( i.e., ...
    Benedict AnchangBenedict Anchang
    Mar 19, 2009 at 9:58 am
    Oct 15, 2011 at 11:01 am
  • Importing data with a header row using read.delim, one variable should be named @5HTT but it is automatically renamed to X.5HTT, presumably because the "@" is either unacceptable or misunderstood ...
    Mike MillerMike Miller
    Mar 27, 2009 at 1:04 am
    Mar 27, 2009 at 11:43 pm
  • Hi, I noted a discrepancy between R and openepi when I ran a fisher test with the same matrix. In R: [,1] [,2] [1,] 1 6 [2,] 2 17 Fisher's Exact Test for Count Data data: a p-value = 1 alternative ...
    Viju MosesViju Moses
    Mar 21, 2009 at 7:17 pm
    Mar 22, 2009 at 7:29 am
  • Dear R Gurus: I read somewhere that functions are considered vectors. Is this true, please? thanks Edna Bell
    Edna BellEdna Bell
    Mar 19, 2009 at 4:49 pm
    Mar 20, 2009 at 10:45 am
  • Using R 2.7.0 under WinXP. I need to write a function that takes a non-negative vector and returns the parallell maximum between a percentage of this argument and a fixed value. Both the percentages ...
    Mar 15, 2009 at 8:12 pm
    Mar 16, 2009 at 8:00 pm
  • Hello, I'm trying to put a dynamic table and a dynamic graph side by side in a pdf document using Sweave. The data.frame used to generate the table is called rg (rg.txt): "Date"; "Code"; "Data1" ...
    Mar 13, 2009 at 10:20 am
    Mar 16, 2009 at 4:18 pm
  • Dear all. After much grief I have finally found the source of some weird discrepancies in results generated using R. It turns out that this is due to the way R handles multi-line expressions. Here is ...
    Paul SucklingPaul Suckling
    Mar 13, 2009 at 12:55 pm
    Mar 13, 2009 at 2:34 pm
  • Dear useRs, I'm trying to write a loop to sum my data in the following way: (the second - the first) + (the third - the second) + (the fourth - the third) + ... for each column. So, I wrote something ...
    Rafael MoralRafael Moral
    Mar 12, 2009 at 1:04 pm
    Mar 12, 2009 at 1:52 pm
  • Dear R users I would like to calculate the Cumulative incidence for an event adjusting for competing risks and adjusting for covariates. One way to do this in R is to use the cmprsk package, function ...
    Eleni RapsomanikiEleni Rapsomaniki
    Mar 25, 2009 at 10:07 am
    Jun 12, 2009 at 9:09 pm
  • I am planning a project where an object-oriented approach would be appropriate, and for a number of reasons I would prefer using either Python or R. My problem at the moment is to find out how to do ...
    Tom Backer JohnsenTom Backer Johnsen
    Mar 31, 2009 at 10:31 am
    Apr 2, 2009 at 2:09 pm
  • Next week Wednesday evening, April 8th, Mike Driscoll will be talking about "Building Web Dashboards using R" see: for details & to RSVP. Also of ...
    Jim PorzakJim Porzak
    Mar 30, 2009 at 10:13 pm
    Apr 2, 2009 at 1:28 am
  • I'm having difficulty finding a solution to my problem that without using a for loop. For the amount of data I (will) have, the for loop will probably be too slow. I tried searching around before ...
    Mar 30, 2009 at 6:40 pm
    Apr 1, 2009 at 8:30 pm
  • I encountered some failures in using install.packages() to install rgl and rJava in some of my (multiple) Ubuntu Hardy systems. A quick search of the 'Net did not show any debian packages for these ...
    John C NashJohn C Nash
    Mar 26, 2009 at 1:45 pm
    Mar 30, 2009 at 4:56 pm
  • I'm trying to create a graph where different cells of a grid (a shapefile) will be painted with a color share scale, where the most easy way is to use gray(). Can I somehow get a vector (gradient) of ...
    Paulo E. CardosoPaulo E. Cardoso
    Mar 27, 2009 at 1:16 pm
    Mar 27, 2009 at 3:43 pm
  • I have troubles make TinnR work, it seems that the dependency on the package TinnR that cannot be found (I tried also manual downloads, but I cannot find the package anywhere on any CRAN ...
    Martin TomkoMartin Tomko
    Mar 24, 2009 at 11:05 am
    Mar 24, 2009 at 1:24 pm
  • Hello guys, I am stuck here: How do I make 1000 samples of n = 10 observations from an Exponential distribution and then compute the mean for all those 1000 samples? Basically I need to prove the ...
    Mar 23, 2009 at 5:30 pm
    Mar 24, 2009 at 7:54 am
  • Dear R-users, I use glm() to do logistic regression and use stepAIC() to do stepwise model selection. The common AIC value comes out is about 100, a good fit is as low as around 70. But for some ...
    Maggie WangMaggie Wang
    Mar 18, 2009 at 3:52 am
    Mar 20, 2009 at 10:12 am
  • HI, I am testing several models about three latent constructs that measure risk attitudes. Two models with different structure obtained identical of fit measures from chisqure to BIC. Model1 assumes ...
    Mar 14, 2009 at 9:07 pm
    Mar 15, 2009 at 7:13 pm
  • Dear members of the list, I'm a beginner in R and I'm having some trouble with: "Error in optim(init[mask], armafn, method = "BFGS", hessian = TRUE, control = optim.control, : non-finite ...
    Marc VinyesMarc Vinyes
    Mar 3, 2009 at 5:20 pm
    Mar 5, 2009 at 9:27 pm
  • This seems like it should be obvious, but searches I've tried all come up with rnorm etc. Is there a way of generating normally-distributed 'population' data with known parameters? Cheers, CB.
    Mar 4, 2009 at 2:33 am
    Mar 4, 2009 at 9:53 pm
  • I've been playing with zoo a bit, and it seems ok except it doesn't support non-unique time stamps when performing joins. I have two databases which contain a dataframe of a Date object (with the ...
    Jonathan GreenbergJonathan Greenberg
    Mar 16, 2009 at 6:35 pm
    Apr 6, 2012 at 5:04 pm
  • Hi R-users, Does R has a topic on newton's method? Thank you for the info.
    Roslina ZakariaRoslina Zakaria
    Mar 23, 2009 at 3:15 am
    Jun 4, 2009 at 6:32 pm
  • Suppose I have two var x and y,now I want to fits a natural cubic spline in x to y,at the same time create new var containing the smoothed values of y. How can I get it?
    Mar 31, 2009 at 2:58 am
    Apr 1, 2009 at 8:29 am
  • I would like to know which rows are duplicates of each other, not simply that a row is duplicate of another row. In the following example rows 1 and 3 are duplicates. x y z 1 1 2 3 2 3 4 4 3 1 2 3 I ...
    Aaron M. SwobodaAaron M. Swoboda
    Mar 30, 2009 at 4:07 am
    Mar 31, 2009 at 12:41 pm
  • I need help about how to obtain the max by row in a matrix. For example if I have the following matrix: 2 5 3 8 7 2 1 8 4 The max by row will be: 5 8 8 Thank you.
    Ana M Aparicio CarrascoAna M Aparicio Carrasco
    Mar 28, 2009 at 11:54 pm
    Mar 30, 2009 at 8:06 pm
  • I am trying to simplify a text variable by matching and replacing it with a string in another vector so for example in colours <- paste(letters,colours(),"stuff",LETTERS) find and replace with ...
    Simeon duckworthSimeon duckworth
    Mar 28, 2009 at 9:23 am
    Mar 28, 2009 at 9:49 pm
  • Dear all, I'm trying to read in a whole directory of files which have two variable parts to the file name: year and month. E.g. comp198604.asc represents April of 1986 - 'comp' is fixed in each ...
    Steve MurraySteve Murray
    Mar 26, 2009 at 6:40 pm
    Mar 27, 2009 at 3:41 pm
  • Hi I am plotting a set of data inside a for loop. Is it possible to use plot in for loop without redrawing the whole plot? Am using par(new=TRUE) but that draws on top of the previous plot. Couldn't ...
    Mohan SinghMohan Singh
    Mar 25, 2009 at 5:54 pm
    Mar 25, 2009 at 9:28 pm
  • Hi All, I have been able to modify the x-axis to start at zero by adding xlow and xhigh parameters; that was pretty simple. I have been unable to find the location of the code that would turn off the ...
    Gerard SmitsGerard Smits
    Mar 21, 2009 at 5:03 pm
    Mar 22, 2009 at 4:32 pm
  • Hi, I'm trying to use the package termstrc. However I cannot figure out how to invoke helper functions like create_cashflows_matrix & create_maturities_matrix. Even when I try to invoke those with ...
    Chirantan KunduChirantan Kundu
    Mar 20, 2009 at 12:15 pm
    Mar 20, 2009 at 6:25 pm
Group Navigation
period‹ prev | Mar 2009 | next ›
Group Overview
groupr-help @

944 users for March 2009

David Winsemius: 165 posts Gabor Grothendieck: 97 posts Wacek Kusnierczyk: 87 posts Duncan Murdoch: 79 posts Jim holtman: 69 posts Dieter Menne: 58 posts Uwe Ligges: 57 posts Baptiste auguie: 42 posts Rolf Turner: 41 posts Thomas Lumley: 38 posts Jorge Ivan Velez: 35 posts Ravi Varadhan: 33 posts Frank E Harrell Jr: 29 posts Jason Rupert: 28 posts John Fox: 28 posts Tal Galili: 28 posts Greg Snow: 27 posts Prof Brian Ripley: 26 posts Hadley wickham: 25 posts Peter Dalgaard: 25 posts
show more