Grokbase Groups R r-help October 2006
FAQ

Search Discussions

724 discussions - 2,327 posts

  • Hello list, Is there any way to perform a block comment in R? In C++, anything in between a /* and */ is considered a comment, and it allows programmers to comment out chunks of code for testing and ...
    Wee-Jin GohWee-Jin Goh
    Oct 5, 2006 at 7:18 am
    Oct 10, 2006 at 1:43 am
  • I just installed RMySQL 0.5-9 with R 2.4.0 on Windows XP and got the following error message when trying to run a script with RMySQL: Error in library(RMySQL) : 'RMySQL' is not a valid package -- ...
    Frank McCownFrank McCown
    Oct 16, 2006 at 3:55 pm
    Jan 31, 2007 at 1:52 am
  • Dear all, I have looked for an answer for a couple of days, but can't come with any solution. I have a set of functions, say: I would like to find a way to add up the previous 4 functions and obtain ...
    James FoadiJames Foadi
    Oct 20, 2006 at 2:19 pm
    Oct 21, 2006 at 4:35 pm
  • Hi all, update.default, which is the method used to update "lm" objects (among others), extracts the "call" element from it's first argument, updates it, then evaluates it in the parent.frame() ...
    Martin C. MartinMartin C. Martin
    Oct 10, 2006 at 4:20 pm
    Oct 11, 2006 at 12:31 am
  • Dear All, I am given a set of files names as: velocity1.txt velocity2.txt and so on. I am sure there must be a way to read them automatically in R. It is really taking me longer to read them than to ...
    Lorenzo IsellaLorenzo Isella
    Oct 18, 2006 at 3:09 pm
    Jan 24, 2010 at 8:01 pm
  • Hi, Having an zoo object I can subset it to obtain the days where I have the values within some range: is.zoo(z) TRUE subset(z[,1], z[,1] =5 & z[,1]<= 10) #Yields: Year(day) 1988(13) 1988(14) ...
    Antonio rodriguezAntonio rodriguez
    Oct 28, 2006 at 7:23 pm
    Nov 2, 2006 at 12:14 pm
  • Hi everyone, I think I have found a minor issue with the R function "boxplot.stats". But before I make such a rash comment, I'd like to check my facts by fixing what I think is the problem. However, ...
    Matthew WalkerMatthew Walker
    Oct 28, 2006 at 3:06 am
    Oct 30, 2006 at 10:30 pm
  • I have a vector, (not a list) [1] "Insp1" "Insp2" "Insp3" "Insp4" "Insp5" "Insp6" "Insp7" "Insp8" "Insp9" and would like to convert this into a single string ...
    Charles Annis, P.E.Charles Annis, P.E.
    Oct 12, 2006 at 4:43 pm
    Oct 27, 2006 at 3:17 am
  • I wonder if anyone can help me with this query? I am undertaking textual content analyses which result in time series data (i.e., relative frequency counts of word categories in successive segments ...
    Wilson, AndrewWilson, Andrew
    Oct 10, 2006 at 7:18 am
    Oct 16, 2006 at 7:51 pm
  • Hi! I have data (also in attached file) in the following form: num1 num2 num3 int1 fac1 fac2 cha1 cha2 Date POSIXt 1 1 f q 1900-01-01 1900-01-01 01:01:01 2 1.0 1316666.5 2 a g r z 1900-01-01 01:01:01 ...
    Gregor GorjancGregor Gorjanc
    Oct 30, 2006 at 6:51 pm
    Nov 4, 2006 at 11:14 am
  • x <- c(0,7,8,14,15,120,242) y <- c(122,128,130,158,110,110,92) lowess(x,y) $x [1] 0 7 8 14 15 120 242 $y [1] 122.0000 128.0000 132.2857 158.0000 110.0000 -4930.0000 110.0000 R version 2.2.1, ...
    Frank E Harrell JrFrank E Harrell Jr
    Oct 12, 2006 at 3:29 am
    Oct 13, 2006 at 5:04 pm
  • Hi all, I have a matrix of counts for objects (rows) by samples (columns). I aimed for about 500 counts in each sample (I have about 80 samples) and would now like to rarefy these down to 100 counts ...
    Brian FrappierBrian Frappier
    Oct 10, 2006 at 9:40 pm
    Oct 13, 2006 at 2:35 pm
  • Friends: I am a long-time R user, learning tcl/tk, and am tying myself in knots over something that should be simple. I want to create a frame and put that frame inside the toplevel frame. This works ...
    Charles Annis, P.E.Charles Annis, P.E.
    Oct 23, 2006 at 12:54 am
    Oct 24, 2006 at 8:44 am
  • This question is not oriented towards R, but is posted here because I have the impression that there are at least some Latex users among the contributors. The question is: What editors for Latex are ...
    Tom Backer JohnsenTom Backer Johnsen
    Oct 18, 2006 at 6:46 am
    Oct 23, 2006 at 2:51 pm
  • Hello, I have used the following data to draw my barplot: BL LR Q 36.35 1.00 1.92 36.91 4.00 0.00 25.70 6.00 0.00 34.38 3.00 1.92 05.32 0.50 0.00 BL<-c(36.35, 36.91, 25.70, 34.38, 05.32) LR<-c(1.00, ...
    Mohsen JafarikiaMohsen Jafarikia
    Oct 2, 2006 at 3:14 pm
    Oct 18, 2006 at 5:30 pm
  • Hi Folks, Given a series of n independent Bernoulli trials with outcomes Yi (i=1...n) and Prob[Yi = 1] = Pi, I want P = Prob[sum(Yi) = r] (r = 0,1,...,n) I can certainly find a way to do it: Let p be ...
    Ted HardingTed Harding
    Oct 6, 2006 at 7:29 pm
    Oct 9, 2006 at 2:44 pm
  • hi, is there some good summary on clustering methods in R? It seems there are many packages involving it. And I have two questions on clustering here: 1. Is there a way of evaluate the effecitives ...
    Weiwei ShiWeiwei Shi
    Oct 17, 2006 at 9:29 pm
    Oct 19, 2006 at 10:37 am
  • Please, I would like to generate a random bistochastic matrix, that is a squared matrix of non-negative numbers with each row and each column sum to 1, for example : .2 .3 .5 .6 .3 .1 .2 .4 .4 I ...
    Florent BressonFlorent Bresson
    Oct 16, 2006 at 8:22 am
    Oct 17, 2006 at 8:00 pm
  • I've just found some behaviour which strikes me as odd, but I'm not sure whether it's a bug or a feature. If you don't mind, I'd like to explain via a couple of examples. Let x = 1:10. Then ...
    Richard CottonRichard Cotton
    Oct 31, 2006 at 2:02 pm
    Oct 31, 2006 at 4:28 pm
  • I'm using R on Windows XP Professional SP2. I figured out the fix for my buffer overflow problem that did not allow me to use Rgui.exe for about two weeks. I would keep getting "console not found" ...
    Jesse Albert CancholaJesse Albert Canchola
    Oct 29, 2006 at 6:12 am
    Oct 29, 2006 at 4:44 pm
  • Hi, I seem to have a key colour problem with a lattice barchart. The colours on my key rectangle don't match the colours on the barchart. Here is my data frame: "LandFill" "Ruminants" "United States ...
    Geoff RussellGeoff Russell
    Oct 22, 2006 at 11:21 am
    Oct 25, 2006 at 2:42 pm
  • Hi, Having several daily wind speed time series I want to extract those consecutive days over and below certain values (i.e. 5 < x <8) Don't know which funtion to use (aggregate, lapply?) and how to ...
    Antonio rodriguezAntonio rodriguez
    Oct 24, 2006 at 5:56 pm
    Oct 25, 2006 at 9:52 am
  • R-experts: A quick question, please. To get 90% CI for this , I think binom.test might be the one to be used. Is there a better way or function to calculate this? Exact binomial test data: 12 and 50 ...
    Ethan JohnsonsEthan Johnsons
    Oct 19, 2006 at 3:11 pm
    Oct 21, 2006 at 8:25 am
  • Dear all, I am having troubles importing values written as scientific notation using read.table(). I'm sure this is a frequent problem, as many people in my lab have this problem as well, so I'm sure ...
    January WeinerJanuary Weiner
    Oct 10, 2006 at 10:43 am
    Oct 11, 2006 at 2:27 pm
  • Dear All, Writing sooner than I thought I'd need to. I'm using R 2.4 on Mac OS X, with RODBC, PostgreSQL 8.1 and Actual's ODBC driver. I have all my data in Filemaker 8.5, but it is automatically ...
    Mark WardleMark Wardle
    Oct 17, 2006 at 9:03 am
    Nov 15, 2006 at 10:58 am
  • What would be the R formulae for a two-sided test? I have a formula for a one-sided test: powertest <- function(a,m0,m1,n,s){ t1 = -qnorm(1-a) num = abs(m0-m1) * sqrt(n) t2 = num/s pow = pnorm(t1 + ...
    Ethan JohnsonsEthan Johnsons
    Oct 27, 2006 at 2:12 pm
    Oct 27, 2006 at 9:12 pm
  • Dear Listers, I am wondering how to convert multiple dummy variables to 1 factor variable. Thanks. wensui
    Wensui LiuWensui Liu
    Oct 22, 2006 at 1:04 am
    Oct 22, 2006 at 7:25 pm
  • Hi How do I generate all ways of ordering sets of indistinguishable items? suppose I have two A's, two B's and a C. Then I want AABBC AABCB AACBC ABABC . . .snip... BBAAC . . .snip... CBBAA [there ...
    Robin HankinRobin Hankin
    Oct 13, 2006 at 2:18 pm
    Oct 15, 2006 at 11:54 am
  • Ooops! Sorry, I send it only to Uwe Ligges the first time. Best, Philippe Grosjean This is perhaps another solution, more elegant in the way the block comment is written... but it requires to ...
    Philippe GrosjeanPhilippe Grosjean
    Oct 5, 2006 at 12:27 pm
    Oct 5, 2006 at 1:58 pm
  • Dear List members I am trying to find a way to generate a random point in a circle centred in a geographical location. So far I have used the following formula (see code below): random_x = original_x ...
    Albert PicadoAlbert Picado
    Oct 7, 2006 at 7:32 am
    Oct 30, 2006 at 4:41 pm
  • I would like to start building R packages under Windows XP. I have programming experience and a minimal but working knowlege of many Unix (-like) programming tools. The package functions (for now) ...
    Michael PragerMichael Prager
    Oct 28, 2006 at 2:49 pm
    Oct 28, 2006 at 8:47 pm
  • I get the following error when I try reading in a table. How are 1.1, 1.2, 1.3 duplicate row names? Thx. Error in "row.names<-.data.frame"(`*tmp*`, value = c("1.1", "1.2", "1.3", : duplicate ...
    YongchuanYongchuan
    Oct 24, 2006 at 4:30 pm
    Oct 25, 2006 at 6:02 pm
  • Hi all, I would greatly appreciate some help understanding how R references arrays, matrices, lists, and objects using [[]] and []. I have read the R guides and several tutorials but I am not the ...
    Joe W. ByersJoe W. Byers
    Oct 24, 2006 at 10:58 am
    Oct 25, 2006 at 3:52 pm
  • Hola everyone, Solving this issue would be a huge time saver for analyzing my thesis data, so I'll try to be as concise as possible and hope that someone can give me a hand. I am trying to run a ...
    Jancik, Jasper F.Jancik, Jasper F.
    Oct 23, 2006 at 2:49 am
    Oct 24, 2006 at 12:58 pm
  • I've tried unsuccessfully to install lme4 on two different Redhat systems but I've not noticed anything on this list to indicate anyone else has had similar problems. * Installing *source* package ...
    Patrick ConnollyPatrick Connolly
    Oct 18, 2006 at 7:58 am
    Oct 19, 2006 at 10:00 am
  • I was working on windows xp for a while and now i am back to linux ( not sure which kind but I can find out if that helps ) and i just have two questions that are really environment R questions ...
    Leeds, Mark (IED)Leeds, Mark (IED)
    Oct 10, 2006 at 2:51 pm
    Oct 11, 2006 at 2:29 pm
  • This morning I downloaded R-2.4.0 and install in under Windows. I customized the installation and choose "Message translations",but I could not launch Rgui.exe successfully( Rterm.exe worked fine) ...
    RongguiRonggui
    Oct 4, 2006 at 1:00 am
    Oct 5, 2006 at 2:51 am
  • Dear useRs, Trying to replace the diagonal of a matrix is not working for me. I want a matrix with .6 on the diag and .4 elsewhere. The following code looks like it should work--when I lookk at mps ...
    Roger bosRoger bos
    Oct 3, 2006 at 8:59 pm
    Oct 3, 2006 at 9:23 pm
  • Hello all, I've been able to use R very successfully to run simple statistics and generate the plots I require. I've been evaluating Sweave, and have hit upon a small problem that I don't seem to be ...
    Mark WardleMark Wardle
    Oct 14, 2006 at 10:00 pm
    Nov 9, 2006 at 8:02 pm
  • Hallo everyone, excuse me if this is not a genuine R question but I do not know where to ask else. Referring to e.g. https://stat.ethz.ch/pipermail/r-help/2004-December/062114.html I wonder if these ...
    Dietrich TrenklerDietrich Trenkler
    Oct 26, 2006 at 1:44 pm
    Nov 4, 2006 at 7:32 pm
  • Hello, Suppose we need a function that takes a POSIXct object and need to calculate the time difference between it and GMT time: gmtDiff <- function(time) { time.gmt <- as.POSIXct(format(time, ...
    Sebastian P. LuqueSebastian P. Luque
    Oct 27, 2006 at 4:59 pm
    Oct 31, 2006 at 5:11 pm
  • Hi there, I'm writing a program in R that has a few nested loops. I'd like to monitor the progress when the program is running and be able to estimate the remaining time. I'd highly appreciate it if ...
    Xiaofan CaoXiaofan Cao
    Oct 24, 2006 at 7:41 pm
    Oct 26, 2006 at 1:12 am
  • Hello, I have the following problem. I have a set of CSV files and they are named for a special position in a matrix (e.g. "A01.csv", "F06.csv", "H11.csv") Now, I would like to read in the data of ...
    AntjeAntje
    Oct 24, 2006 at 11:33 am
    Oct 25, 2006 at 1:07 pm
  • Hi I am using ggplot under R 2.4 / Linux. When using ggsmooth(method=lm) is there a way to show the results of the separate linear regressions? Thanks Rainer -- Rainer M. Krug, Dipl. Phys. (Germany), ...
    Rainer M KrugRainer M Krug
    Oct 24, 2006 at 11:15 am
    Oct 24, 2006 at 2:28 pm
  • Hello, in the data.frame "resultsfuzzy" I would like to replace the characters in the second column ("5a", "5b", ... "5e") with numbers from 1 to 5. The data.frame has 39150 entries. I seems to work ...
    Kim MilferstedtKim Milferstedt
    Oct 23, 2006 at 10:03 pm
    Oct 24, 2006 at 1:39 pm
  • I wrote this to help me choose a suitable plot color. You can set the value of pch to whichever type of point you are using in your plot, and then you can see what the various colors will look like ...
    Ana NelsonAna Nelson
    Oct 22, 2006 at 11:51 am
    Oct 22, 2006 at 4:11 pm
  • Hi, I am trying to get R to return just the slope of a linear regression line, but it seems that R has to return both the slope and the name of the slope. For example, (Intercept) miles 360.3778 ...
    Tom soyerTom soyer
    Oct 21, 2006 at 4:34 am
    Oct 21, 2006 at 5:18 am
  • I have installed Microsoft Vista Release Candidate 1, and R-2.4.0, on a 4 year old DELL box with a 2.26 GHz P4 and 1 gig. It was a clean install ? R is the only non-MS program running. I cannot ...
    Charles Annis, P.E.Charles Annis, P.E.
    Oct 20, 2006 at 8:19 pm
    Oct 21, 2006 at 1:38 am
  • Hi, I looked up the help file on sample(), but didn't find the info I was looking for. When sample() is used to resample from a distribution, e.g., bootstrap, how does it do it? Does it use an ...
    Tom soyerTom soyer
    Oct 19, 2006 at 5:07 pm
    Oct 20, 2006 at 2:32 pm
  • hi, how could I let the colname be the numbers instead of "X" plus numbers when I use read.table. Or there is an alternative way? thanks -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you ...
    Weiwei ShiWeiwei Shi
    Oct 19, 2006 at 8:10 pm
    Oct 19, 2006 at 11:06 pm
Group Navigation
period‹ prev | Oct 2006 | next ›
Group Overview
groupr-help @
categoriesr
discussions724
posts2,327
users629
websiter-project.org
irc#r

629 users for October 2006

Gabor Grothendieck: 169 posts Duncan Murdoch: 80 posts Marc Schwartz (via MN): 57 posts Peter Dalgaard: 57 posts Prof Brian Ripley: 47 posts Deepayan Sarkar: 41 posts David Barron: 37 posts Leeds, Mark (IED): 35 posts Gavin Simpson: 29 posts Hadley wickham: 28 posts Weiwei Shi: 28 posts Alberto Vieira Ferreira Monteiro: 27 posts Petr Pikal: 27 posts Spencer Graves: 26 posts Jim holtman: 25 posts Richard M. Heiberger: 22 posts Alex Brown: 21 posts Uwe Ligges: 21 posts Liaw, Andy: 19 posts Ethan Johnsons: 18 posts
show more
Archives