Re: [R] R-help question

2012-08-13 Thread R. Michael Weylandt
On Sun, Aug 12, 2012 at 10:58 PM, Louise Cowpertwait wrote: > Hi there, > > I have subscribed to R-help but am not sure how to view or post questions? I > think this is the right way. Indeed! > > I am planning on doing a multivariate regression investigating the > relationship between depressi

[R] R-help question

2012-08-13 Thread Louise Cowpertwait
Hi there, I have subscribed to R-help but am not sure how to view or post questions? I think this is the right way. I am planning on doing a multivariate regression investigating the relationship between depression (a continuous variable) and social support variables (mostly continuous, some c

Re: [R] R Help Question on cor() function

2011-03-29 Thread Peter Ehlers
On 2011-03-29 07:45, Courtney McCracken wrote: Hi, Does anyone know if the cor() function under the stats package adjusts for ties? Specifically, with method="spearman" does R compute the ties adjusted version of Sperman's rank correlation coefficient or the uncorrected version? If not, does any

[R] R Help Question on cor() function

2011-03-29 Thread Courtney McCracken
Hi, Does anyone know if the cor() function under the stats package adjusts for ties? Specifically, with method="spearman" does R compute the ties adjusted version of Sperman's rank correlation coefficient or the uncorrected version? If not, does anyone know of a function/package that will do this?

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-03-01 Thread Charlie Sharpsteen
On Mon, Mar 1, 2010 at 2:46 PM, Duncan Murdoch wrote: > > That's a good point.  Okay, I'll add it (with some sort of addition to the > man page to say how it's intended to be used), and perhaps with some special > casing for base packages. > > Duncan Murdoch If it is being added, could you chan

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Jim Lemon
On 03/01/2010 05:47 AM, David Winsemius wrote: ... > maintainer function(pkg="") packageDescription(pkg)$Maintainer > maintainer("brew") [1] "Jeffrey Horner " This is a great solution and deserves to go into the utils or tools package. When I first saw Tal's message, I immediately thought,

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Duncan Murdoch
On 28/02/2010 2:09 PM, Claudia Beleites wrote: What about the short-term solution of having a function package.bug.report - along the lines of bug.report? That has already been added: see the news here: http://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2009/11/30#n2009-11-30 Duncan Murd

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Claudia Beleites
What about the short-term solution of having a function package.bug.report - along the lines of bug.report? E.g. see attachment Claudia -- Claudia Beleites Dipartimento dei Materiali e delle Risorse Naturali Università degli Studi di Trieste Via Valerio 2 I-34127 Trieste ITALY email: cbelei..

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Duncan Murdoch
On 28/02/2010 1:32 PM, Gabor Grothendieck wrote: I wonder if this could be made pluggable in the sense that anyone could develop a CRAN package that hooks into the help system and takes over. If its already like that perhaps all that is needed is some documentation/guidance on how to develop suc

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread David Winsemius
On Feb 28, 2010, at 1:04 PM, Tal Galili wrote: Duncan, As much as I agree with your remark in the general case, in this case - the annoyance is mostly for the next user and not the current one. If I spot a typo, after I figure what it had meant - my annoyance is over. I don't have any per

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Gabor Grothendieck
On Sun, Feb 28, 2010 at 1:38 PM, Duncan Murdoch wrote: > On 28/02/2010 1:32 PM, Gabor Grothendieck wrote: >> >> I wonder if this could be made pluggable in the sense that anyone >> could develop a CRAN package that hooks into the help system and takes >> over.  If its already like that perhaps all

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Sharpie
After reading some more, I think Tal's Wiki idea was also a good one-- conceivably a server could be set up that pulled tarballs from CRAN, unpacked them, and converted the man folders to HTML. Then the server could provide a sort of a "master list" version of help.start() where each page was edi

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Duncan Murdoch
On 28/02/2010 1:04 PM, Tal Galili wrote: Duncan, As much as I agree with your remark in the general case, in this case - the annoyance is mostly for the next user and not the current one. If I spot a typo, after I figure what it had meant - my annoyance is over. I don't have any personal motiva

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Tal Galili
Duncan, As much as I agree with your remark in the general case, in this case - the annoyance is mostly for the next user and not the current one. If I spot a typo, after I figure what it had meant - my annoyance is over. I don't have any personal motivation to share the knowledge, asides from my

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Duncan Murdoch
On 28/02/2010 12:29 PM, Gabor Grothendieck wrote: Or both the short and and the long term won't happen. That's one interpretation. I'd prefer to think that the short term changes happened in November. All the content is there; it just needs to be made prettier. Duncan Murdoch On Sun, F

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Gabor Grothendieck
I wonder if this could be made pluggable in the sense that anyone could develop a CRAN package that hooks into the help system and takes over. If its already like that perhaps all that is needed is some documentation/guidance on how to develop such a package. There could be multiple alternative h

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Duncan Murdoch
On 28/02/2010 1:23 PM, Sharpie wrote: Duncan Murdoch wrote: Yes, I agree. In fact, I think the whole system needs to be updated. Anyone like doing HTML design? If I had the time, I would raise my hand for this one-- unfortunately school, work and other commitments leave me with a full sch

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Sharpie
Duncan Murdoch wrote: > > Yes, I agree. In fact, I think the whole system needs to be updated. > Anyone like doing HTML design? > If I had the time, I would raise my hand for this one-- unfortunately school, work and other commitments leave me with a full schedule for the foreseeable future

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Gabor Grothendieck
Or both the short and and the long term won't happen. On Sun, Feb 28, 2010 at 12:24 PM, Duncan Murdoch wrote: > On 28/02/2010 12:04 PM, Gabor Grothendieck wrote: >> >> On Sun, Feb 28, 2010 at 11:52 AM, Duncan Murdoch >> wrote: >>> >>> Gabor Grothendieck wrote: On Sun, Feb 28, 2010 at 9

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Duncan Murdoch
On 28/02/2010 12:04 PM, Gabor Grothendieck wrote: On Sun, Feb 28, 2010 at 11:52 AM, Duncan Murdoch wrote: Gabor Grothendieck wrote: On Sun, Feb 28, 2010 at 9:43 AM, Duncan Murdoch wrote: On 28/02/2010 9:08 AM, Gabor Grothendieck wrote: On Sun, Feb 28, 2010 at 8:59 AM, Duncan Murdoch wrot

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Gabor Grothendieck
On Sun, Feb 28, 2010 at 11:52 AM, Duncan Murdoch wrote: > Gabor Grothendieck wrote: >> >> On Sun, Feb 28, 2010 at 9:43 AM, Duncan Murdoch >> wrote: >> >>> >>> On 28/02/2010 9:08 AM, Gabor Grothendieck wrote: >>> On Sun, Feb 28, 2010 at 8:59 AM, Duncan Murdoch wrote: > >>>

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Duncan Murdoch
Gabor Grothendieck wrote: On Sun, Feb 28, 2010 at 9:43 AM, Duncan Murdoch wrote: On 28/02/2010 9:08 AM, Gabor Grothendieck wrote: On Sun, Feb 28, 2010 at 8:59 AM, Duncan Murdoch wrote: On 28/02/2010 7:19 AM, Gabor Grothendieck wrote: The name of the package is at the

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Gabor Grothendieck
On Sun, Feb 28, 2010 at 9:43 AM, Duncan Murdoch wrote: > On 28/02/2010 9:08 AM, Gabor Grothendieck wrote: >> >> On Sun, Feb 28, 2010 at 8:59 AM, Duncan Murdoch >> wrote: >>> >>> On 28/02/2010 7:19 AM, Gabor Grothendieck wrote: The name of the package is at the top of each help page and

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Duncan Murdoch
On 28/02/2010 9:08 AM, Gabor Grothendieck wrote: On Sun, Feb 28, 2010 at 8:59 AM, Duncan Murdoch wrote: On 28/02/2010 7:19 AM, Gabor Grothendieck wrote: The name of the package is at the top of each help page and then library(help = myPackage) would get you the maintainer info. Or in place of

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Gabor Grothendieck
On Sun, Feb 28, 2010 at 8:59 AM, Duncan Murdoch wrote: > On 28/02/2010 7:19 AM, Gabor Grothendieck wrote: >> >> The name of the package is at the top of each help page and then >> library(help = myPackage) would get you the maintainer info.  Or in >> place of the last step googling for CRAN myPack

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Duncan Murdoch
On 28/02/2010 7:19 AM, Gabor Grothendieck wrote: The name of the package is at the top of each help page and then library(help = myPackage) would get you the maintainer info. Or in place of the last step googling for CRAN myPackage would get to a page like this: http://cran.r-project.org/web/pac

Re: [R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Gabor Grothendieck
The name of the package is at the top of each help page and then library(help = myPackage) would get you the maintainer info. Or in place of the last step googling for CRAN myPackage would get to a page like this: http://cran.r-project.org/web/packages/zoo/index.html so it could be done in two ste

[R] R help question: How can we enable useRs to contribute corrections to help files faster ?

2010-02-28 Thread Tal Galili
Hello dear R users, *Here is the background for my question:* I just had a look at the help file for ? Yeast in the "HistData" package. In it, I found a small spelling mistake where the word "*c*istribution" was written instead (so I imagin) "*d*istribution". I thought maybe I should e-mail the

Re: [R] R Help Question

2009-07-08 Thread Gabor Grothendieck
You could try something like this: library(sqldf) DF <- read.csv.sql("myfile.txt", sep = "|", header = FALSE) or possibly this, which is the same except instead of using an "in memory" database it uses an external database: DF <- read.csv.sql("myfile.txt", sep = "|", header = FALSE, dbname = "te

Re: [R] R Help Question

2009-07-08 Thread jim holtman
How big is the entire text file? What is the length of an average line? Have you tried to use 'scan' to read in the data? How much memory do you have? Are you paging? Here was a quick test I did with a file with about 5M lines (12|this is some text|12345|more test): > system.time(x <- scan('/

[R] R Help Question

2009-07-08 Thread Amy Wesolowski
Hi, I am currently working on reading large files into R. My files are text documents with four columns and around 10 million lines. Each line is set up as: string|integer|string|integer I have been trying to use read.table to read in the file, but I think I am reading too much into memory and t