Grokbase Groups R r-help April 2009

Search Discussions

1,002 discussions - 3,334 posts

  • Hi, I am a newbie with R. My environment is linux and I have a file. I call it barebone.R, which has one line: cat ('Hello World!\n') I execute this file as: R --no-save < barebone.R And it does what ...
    Tena SakaiTena Sakai
    Apr 28, 2009 at 8:42 pm
    Apr 30, 2009 at 4:54 pm
  • Hi there, I would like to make a 'bumps chart' like the ones described e.g. here: Purpose: I'd like to plot the proportion of people in select ...
    Andreas ChristoffersenAndreas Christoffersen
    Apr 26, 2009 at 10:45 pm
    May 7, 2009 at 3:19 pm
  • I am working on a project that requires me to do very large factorial evaluations. On R the built in factorial function and the one I created both are not able to do factorials over 170. The first ...
    Apr 22, 2009 at 7:21 pm
    Apr 27, 2009 at 2:33 pm
  • I am not sure if this is an R-users question, but since most of you here are statisticians, I decided to give it a shot. I am using the lm() function in R to fit a dependent variable to a set of 3 to ...
    Vemuri, AparnaVemuri, Aparna
    Apr 20, 2009 at 11:26 pm
    Apr 21, 2009 at 4:50 pm
  • Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible URL : <
    Christophe DutangChristophe Dutang
    Apr 27, 2009 at 8:15 pm
    Apr 29, 2009 at 10:17 am
  • Hi to all, does anybody knows whether there is a package to plot those graphs. the thickness of the points and/or the lines should be represent the numbers ...
    Knut KruegerKnut Krueger
    Apr 6, 2009 at 2:26 pm
    Apr 15, 2009 at 1:04 pm
  • Try this: 0.7-0.3==0.4 (We get FALSE) 0.7-0.3<0.4 (We get TRUE) but 0.8-0.3==0.5 (TRUE) 0.8-0.3<0.5 (FALSE) Funny, he? There is a way around: round(0.7-0.3,1)==0.4 (TRUE) Obviously there is a problem ...
    Apr 20, 2009 at 1:07 pm
    Apr 22, 2009 at 9:49 am
  • Hi Using R 2.8.1. I have list object called "AuxData". Inside a browser(), get("AuxData") succeeds, while getAnywhere("AuxData") fails with the error "no object named ??AuxData?? was found". I'm ...
    Benjamin TynerBenjamin Tyner
    Apr 16, 2009 at 1:52 pm
    Apr 21, 2009 at 8:57 am
  • Hi, I ve been searching a lot in internet..but I can t find a solution Attached, you find a file. I need for each (Materiale, tpdv, UM) to find sum,avg and count My idea was to aggregate for the 3 ...
    Apr 6, 2009 at 9:37 am
    Apr 7, 2009 at 2:48 pm
  • Hi everyone, Â I have got the following problem: Â x1 <- rnorm(10,5,1) x2 <- runif(10,0,1) nam1 <- paste("A",1:4,sep=".") nam2 <- paste("A",6:9,sep=".") nam <- c(nam1,"A.4",nam2,"A.9") mydata <- ...
    amor Gandhiamor Gandhi
    Apr 28, 2009 at 12:04 pm
    Apr 28, 2009 at 4:46 pm
  • Dear List, I'm trying to interpret the results of the Kruskal's Non-metric Multidimensional Scaling algorithm (isoMDS, MASS package). The 'goodness of fit' is reported as "The final stress achieved ...
    Dieter VanderelstDieter Vanderelst
    Apr 15, 2009 at 8:01 am
    Apr 17, 2009 at 1:07 pm
  • I would like to create a matrix in R that looks similar to this: [,1] [,2] [,3] [,4] [1,] NaN 1 2 3 [2,] NaN 1 2 4 [3,] NaN 1 2 5 [4,] NaN 2 3 4 [5,] NaN 2 3 5 [6,] NaN 3 4 5 I have the loop below ...
    Apr 17, 2009 at 3:11 pm
    Jul 19, 2009 at 5:06 pm
  • Hello all, I have the following function call to create a matrix of POP_SIZE rows and fill it with bit strings of size LEN: pop=create_pop_2(POP_SIZE, LEN) I have 3 questions: (1) If I did ...
    Apr 26, 2009 at 4:28 am
    Apr 26, 2009 at 3:45 pm
  • Hi, suppose I have a simple sorted vector like this: a <- c(2,3,3,5,6,8,8,9,15, 25, 34,36,36,38,41,43,44,44,46); Is there a function in R, I can use to discover that from index 8 to index 11 the ...
    Hans-Henning GabrielHans-Henning Gabriel
    Apr 22, 2009 at 11:27 am
    Apr 23, 2009 at 8:42 am
  • Friends, I am a newbie to R. Just installed and started with R. I installed netcdf library (netcdf-4.0.tar.gz) and then ncdf package of R from CRAN with the following command. R CMD INSTALL ...
    Bala subramanianBala subramanian
    Apr 21, 2009 at 8:34 am
    Apr 21, 2009 at 3:08 pm
  • Hello Rusers, I have worked on a R Wiki page for solutions in exporting R graphs, especially, the often-asked questions: - How can I export R graphs in vectorized format (EMF) for inclusion in MS ...
    Philippe GrosjeanPhilippe Grosjean
    Apr 9, 2009 at 1:04 pm
    Apr 13, 2009 at 1:33 am
  • Hi, I am trying to make a sequence and am using a for loop for this. I want to start off with an initial value ie S[0]=0 then use the loop to create other values. This is what I have so far but I ...
    Apr 7, 2009 at 12:13 pm
    Apr 8, 2009 at 9:39 am
  • Hello, I am a phd student in Bioinformatics and I am using the Random Forest package in order to classify my data, but I have some questions. Is there a function in order to visualize the trees, so ...
    Chrysanthi A.Chrysanthi A.
    Apr 8, 2009 at 11:42 am
    Apr 28, 2009 at 2:16 pm
  • I am working on a program totally written in R which is now getting bigger and bigger so that editling the only file that contains all the functions is becoming more and more unmanageable. I wonder ...
    Apr 23, 2009 at 9:17 am
    Apr 23, 2009 at 1:17 pm
  • Dear all, I have two series of returns and I want to find the cross-correlations between these two series. I know of the ccf, but it does not work as I'd like if i type ccf(x,y,lag.max ...
    Apr 20, 2009 at 9:36 pm
    Apr 21, 2009 at 10:18 pm
  • Hi Guy's I was wondering if someone could point me in the right direction. dbinom(10,1,0.25) I am using dbinom(10,1,0.25) to calculate the probabilty of 10 judges choosing a certain brand x times. I ...
    Apr 17, 2009 at 9:28 pm
    Apr 19, 2009 at 11:13 pm
  • I have the following daily exchange rate series (from january 1st 1996 to december 31st 2008) and I want to obtain them monthly series from it. I've read about the 'zoo' library but I'm not getting ...
    Apr 15, 2009 at 6:26 pm
    Apr 18, 2009 at 8:15 pm
  • Hi, I have the following table data: f1, f2, f3, f4. I want to compute the counts of unique combinations of f1-f4. In SQL I would just write: SELECT COUNT(*) FROM <table GROUP BY f1, f2, ..,f4. How ...
    Nick AngelouNick Angelou
    Apr 13, 2009 at 10:33 am
    Apr 15, 2009 at 4:50 am
  • Back in 2005 I had been doing most of my work in Mathcad for over 10 years. For a number of reasons I decided to switch over to R. After much effort and help from you folks I am finally "thinking" in ...
    Tom La BoneTom La Bone
    Apr 13, 2009 at 12:00 am
    Apr 14, 2009 at 8:03 pm
  • Hello everyone, I'm trying to use mle from package stats4 to fit a bi/multi-modal distribution to some data, but I have some problems with it. Here's what I'm doing (for a bimodal distribution): # ...
    Apr 8, 2009 at 4:54 pm
    Apr 11, 2009 at 12:38 pm
  • Hi all, I'm very new to R and read a few tutorials, however I'm having difficulty trying to figure out how to plot a minimum spanning tree. I have a csv file that contains an n-by-n matrix of ...
    Apr 7, 2009 at 6:00 pm
    Apr 8, 2009 at 9:43 pm
  • I am starting to use R for almost any sort of calculation that I need. I am a biologist that works in the states, and there is often a need to convert from standard units to metric units. Is there a ...
    Stephen sefickStephen sefick
    Apr 3, 2009 at 6:17 pm
    Apr 8, 2009 at 3:05 pm
  • Hi all, I used dotplot to draw a graph for a dataset with size of 100. Since the x-axis are all texts, so they are mixed up and not readable. Is there any way to make it readable or how can I add ...
    Qifei ZhuQifei Zhu
    Apr 25, 2009 at 1:23 am
    May 8, 2009 at 5:13 pm
  • Hi, I wanted to plot the histogram of a vector and then, plot the density function of subsets of the vector on the histogram. So I use truehist in MASS package and lines(density) as follows ...
    Carol whiteCarol white
    Apr 28, 2009 at 12:26 pm
    Apr 29, 2009 at 7:43 am
  • I've been trough the R documentation for about half an hour and it's not clear to me how to do this: I need to format to character a series of integers from 1 to 1000, and I like them to look like ...
    Mario dos ReisMario dos Reis
    Apr 27, 2009 at 10:35 am
    Apr 28, 2009 at 5:12 pm
  • Hey guys, I have a problem: I created a silly for loop without saving the results on each step. After a while I realised that it will take days to finish the loop until I get the results. Is there a ...
    Apr 27, 2009 at 12:52 pm
    Apr 28, 2009 at 10:07 am
  • Dear R users, I am trying to do exact matching on a large dataset (500.000 obs), about equal size of treatment and controll group, with replacement: As for the moment I use the "Match" function of ...
    Apr 3, 2009 at 2:11 pm
    Apr 23, 2009 at 10:33 am
  • Hi. I have a 925 by 925 correlation matrix corM. I want to identify all variables that have correlation greater than 0.9. Can anyone suggest an "R way" of doing this? Thank you. -- View this message ...
    Apr 21, 2009 at 10:52 am
    Apr 22, 2009 at 5:27 am
  • Hi, Algorithm question: I have two sets of "intervals", where an interval is an ordered pair [a,b] of two numbers. Is there an efficient way in R to generate the intersection of two lists of same? ...
    Thomas MeyerThomas Meyer
    Apr 15, 2009 at 12:59 pm
    Apr 15, 2009 at 5:39 pm
  • Hi, The below very strange: # a) aov function av <- aov(Sepal.Length ~ Species, data=iris) # Error in parse(text = x) : # unexpected symbol in "Sepal(Sepal.Length+Species)Length" av <- aov(iris[, 1] ...
    Jose Claudio FariaJose Claudio Faria
    Apr 8, 2009 at 8:16 pm
    Apr 8, 2009 at 10:08 pm
  • Is there a specific place where we can place code to run once only in a package? I have code that switches based on[["nodename"]] - but since this just about never changes, I would like to ...
    Apr 6, 2009 at 1:19 pm
    Apr 7, 2009 at 5:26 am
  • NOTA BENE: This email is about `=`, the assignment operator (e.g. {a=1} which is equivalent to { `=`(a,1) } ), not `=` the named-argument syntax (e.g. f(a=1), which is equivalent to ...
    Stavros MacrakisStavros Macrakis
    Apr 1, 2009 at 2:38 pm
    Apr 2, 2009 at 8:53 am
  • Hi, I am trying to estimate a quantile regression using panel data. I am trying to use the model that is described in Dr. Koenker's article. So I use the code the that is posted in the following ...
    Helen ChenHelen Chen
    Apr 26, 2009 at 7:24 am
    Mar 2, 2011 at 10:47 am
  • First, it looks like there is bug in the documentation... According to the documentation for system(): input if a character vector ...
    Mike MillerMike Miller
    Apr 24, 2009 at 2:21 pm
    May 1, 2009 at 11:05 am
  • Hi R community, I am trying to obtain a sample from a matrix but sample(my.matrix) doesn't do what I need. I have a matrix of 1287 interactions between the species in columns and the species in rows ...
    Silvia LomascoloSilvia Lomascolo
    Apr 29, 2009 at 2:23 pm
    Apr 30, 2009 at 2:16 pm
  • Hi all, I am trying to run some plots on data, but when loading he CSV data file R is stopping and I am getting an out of memory error. Anyway to tweak this somehow to get it to run? Using WinXP with ...
    Neotropical bat risk assessmentsNeotropical bat risk assessments
    Apr 25, 2009 at 12:11 am
    Apr 29, 2009 at 5:46 pm
  • Hi all, I've simple code to read a file (verify.txt in the same directory as the script file) but when I run this I get "Error in eval(expr, envir, enclos) : object "y" not found". data_model.df = ...
    Apr 15, 2009 at 8:53 pm
    Apr 29, 2009 at 1:02 am
  • Is there a way of listing the variables contained in a file created with the save() command other than load()ing the file? I have a couple of rather larger files that I would rather not load .. ...
    Benno PützBenno Pütz
    Apr 21, 2009 at 5:09 pm
    Apr 27, 2009 at 12:57 am
  • Dear Sirs, I am just starting with R and I think it is a great system. Now, I want to import Stata datasets (.dta) with read.dta, but receive errormessages like: Error in grep("^(http|ftp|https)://", ...
    Rob BakkerRob Bakker
    Apr 24, 2009 at 9:17 am
    Apr 24, 2009 at 2:31 pm
  • Trying to use constrOptim to minimize the sum of squared deviations. I put the objective function in as: sum((x %*% Y - Z)^2) so i'm trying to get values for x to minimize the sum of the squared ...
    Apr 23, 2009 at 7:19 pm
    Apr 24, 2009 at 11:16 am
  • Hi all, I am new to using R on a Linux machine & I have a few questions on set-up. If anyone has experience in this area any advice would be greatly appreciated. - When I open R I have the option to ...
    Bronagh GrimesBronagh Grimes
    Apr 23, 2009 at 8:31 am
    Apr 23, 2009 at 1:15 pm
  • Skayis selcukSkayis selcuk
    Apr 21, 2009 at 6:59 am
    Apr 21, 2009 at 12:19 pm
  • Hello, The journal I am publishing in requires MS Word files. What is my best option for getting a high quality image of a graph done in R into Word? JPEG? Postscript? Thanks. -- View this message in ...
    Apr 20, 2009 at 10:01 am
    Apr 20, 2009 at 6:20 pm
  • Hi, I'm trying to realise a repport with R and Latex (TeXnicCenter and Miktex for Windows) using Sweave(). I'd like to save my plots in a given size. How can I do that ? The code is ...
    Lore MLore M
    Apr 14, 2009 at 10:08 am
    Apr 15, 2009 at 5:41 pm
  • HI R users, I would appreciate information/examples/suggestions on building GUIs for R applications. I am currently working on a project that would require the following functionalities : 1) Display ...
    Apr 14, 2009 at 8:23 am
    Apr 15, 2009 at 1:05 pm
Group Navigation
period‹ prev | Apr 2009 | next ›
Group Overview
groupr-help @

875 users for April 2009

David Winsemius: 141 posts Uwe Ligges: 93 posts Duncan Murdoch: 83 posts Dieter Menne: 63 posts Gabor Grothendieck: 60 posts Jim holtman: 55 posts Baptiste auguie: 45 posts Hadley wickham: 43 posts Ben Bolker: 37 posts Peter Dalgaard: 35 posts Dimitri Liakhovitski: 33 posts Wacek Kusnierczyk: 33 posts Jim Lemon: 31 posts Dimitris Rizopoulos: 29 posts Ravi Varadhan: 29 posts Deepayan Sarkar: 27 posts Mike Lawrence: 27 posts Petr PIKAL: 27 posts Ken-JP: 26 posts Jorge Ivan Velez: 24 posts
show more