Re: [R] Best Hardware OS For Large Data Sets

2010-02-28 Thread Allan Engelhardt
On 27/02/10 17:47, J. Daniel wrote: Greetings, I am acquiring a new computer in order to conduct data analysis. I currently have a 32-bit Vista OS with 3G of RAM and I consistently run into memory allocation problems. I will likely be required to run Windows 7 on the new system, but have

[R] Slightly OT: Does anyone use latex2rtf with sweave output ?

2010-02-28 Thread Paul
Hello, I'm trying to use R (and Sweave) to pull some data out of a database and produce some standard reports. unfortunaltey, the people who want the reports want them in an editable format so they can add wordy bits to the automatically generate tables and graphs. My current plan is to

Re: [R] Change the scale on a barplot's y axis

2010-02-28 Thread Jim Lemon
On 02/28/2010 11:44 AM, Thomas Levine wrote: I have grades data. I read them from a csv in letter-grade format. I then converted them to levels levels(grades$grade)=c('A+','A','A-','B+','B','B-','C+','C','C-','D+','D','D-') And then to numbers grades$gp=grades$grade

Re: [R] Editing a function

2010-02-28 Thread Dieter Menne
Ben Bolker wrote: (2) [long term] develop your code in a text editor (Tinn-R, emacs, R source code editor accessible from the menu ...) and cut paste or source() as necessary. Which I consider the only real solution. From many tutorials, one gets the impression that the purely

[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

[R] tsboot

2010-02-28 Thread Markus Troendle
Dear R Users, If a stationary bootstrap (Politis Romano 1994) for time series is performed (e.g. performance difference between trading strategy and benchmark), how can the following data be generated respectively adjusted? 1. p-values 2. smoothing parameter 3.

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

Re: [R] Types of missingness

2010-02-28 Thread Gabor Grothendieck
Check out: https://stat.ethz.ch/pipermail/r-help/2010-February/228228.html On Sun, Feb 28, 2010 at 2:39 AM, Christian Raschke cras...@tigers.lsu.edu wrote: Dear R-List, My questions concerns missing values. Specifically, is is possible to use different types of missingness in a dataset and

Re: [R] scan and skip - without line breaks in the input file

2010-02-28 Thread Gabor Grothendieck
On UNIX/Linux: myData - scan(pipe(tr '\\t' '\\n' myfile), skip = 3) You might have to adjust this depending on your shell. On Windows there is a tr in Duncan Murdoch's Rtools. On Sat, Feb 27, 2010 at 11:24 AM, Balzer Susanne susanne.bal...@imr.no wrote: Dear all, I am trying to

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:

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 murd...@stats.uwo.ca 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

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 murd...@stats.uwo.ca 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

[R] Gradient Boosting Trees with correlated predictors in gbm

2010-02-28 Thread Lars Bishop
Dear R users, I’m trying to understand how correlated predictors impact the Relative Importance measure in Stochastic Boosting Trees (J. Friedman). As Friedman described “ …with single decision trees (referring to Brieman’s CART algorithm), the relative importance measure is augmented by a

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 murd...@stats.uwo.ca wrote: On 28/02/2010 9:08 AM, Gabor Grothendieck wrote: On Sun, Feb 28, 2010 at 8:59 AM, Duncan Murdoch murd...@stats.uwo.ca wrote: On 28/02/2010 7:19 AM, Gabor Grothendieck wrote: The name of the package is at the top of

Re: [R] How to do: Correlation with blocks (or - repeated measures ?!) ?

2010-02-28 Thread Juliet Hannah
I didn't follow your question completely. But do a search for intraclass correlation with nlme or lmer and see if those results relate to the question you are asking. If so, I would suggest following up on the mixed model list. I know you wanted to avoid mixed models, but if I have understood your

Re: [R] Slightly OT: Does anyone use latex2rtf with sweave output ?

2010-02-28 Thread Frank E Harrell Jr
Paul wrote: Hello, I'm trying to use R (and Sweave) to pull some data out of a database and produce some standard reports. unfortunaltey, the people who want the reports want them in an editable format so they can add wordy bits to the automatically generate tables and graphs. My current

Re: [R] Calling SAS from R

2010-02-28 Thread Yen Lee
I'm new to post in R-help and my native language is not English. I apologize if my sentence is not fluent to read. I am doing a simulation study and I need to execute SAS and read a SAS code in R. I try the following code but it doesn't work. system('c:\\program files\\SAS\\SAS 9.1\\sas.exe

Re: [R] Bug in ecdf? Or what am I missing?

2010-02-28 Thread Ben Bolker
Ajay Shah ajayshah at mayin.org writes: x - c(6.6493705109108, 7.1348436721241, 8.76886994525624, 6.12907548096037, 6.88379118678109, 7.17841879427688, 7.90737237492867, 7.1207373264833, 7.82949407630692, 6.90411547316105) plot(ecdf(x), log=x) It does the

Re: [R] factorial block design with missing data

2010-02-28 Thread Ben Bolker
Guillaume Théroux Rancourt writes: Hello! I have read somewhere (somehow, I can't seem to find it again, it's been a couple of months) that when analyzing factorial block design, the position where you put the block factor is important, even more when there are missing values. I

Re: [R] Calling SAS from R

2010-02-28 Thread Ben Bolker
Yen Lee b88207001 at ntu.edu.tw writes: I apologize if my sentence is not fluent to read. I am doing a simulation study and I need to execute SAS and read a SAS code in R. I try the following code but it doesn't work. system('c:\\program files\\SAS\\SAS 9.1\\sas.exe c:\\syntax.sas')

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 murd...@stats.uwo.ca wrote: On 28/02/2010 9:08 AM, Gabor Grothendieck wrote: On Sun, Feb 28, 2010 at 8:59 AM, Duncan Murdoch murd...@stats.uwo.ca wrote: On 28/02/2010 7:19 AM, Gabor Grothendieck wrote:

Re: [R] Calling SAS from R

2010-02-28 Thread Uwe Ligges
On 28.02.2010 17:17, Yen Lee wrote: I'm new to post in R-help and my native language is not English. I apologize if my sentence is not fluent to read. I am doing a simulation study and I need to execute SAS and read a SAS code in R. I try the following code but it doesn't work.

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 murd...@stats.uwo.ca wrote: Gabor Grothendieck wrote: On Sun, Feb 28, 2010 at 9:43 AM, Duncan Murdoch murd...@stats.uwo.ca wrote: On 28/02/2010 9:08 AM, Gabor Grothendieck wrote: On Sun, Feb 28, 2010 at 8:59 AM, Duncan Murdoch

[R] rgraphviz crashes

2010-02-28 Thread Nino Hardt
I installed graphviz-2.20.3.1, set the environment variables and installed rgraphviz. Did the same thing in Windows Vista and now in Windows 7. In Vista it works as its supposed to, however, in Windows 7 RGui crashes. Anyone else experiencing trouble with rgraphviz+windows 7?

Re: [R] Slightly OT: Does anyone use latex2rtf with sweave output ?

2010-02-28 Thread Denis Teysseyre
Paul paul at paulhurley.co.uk writes: Hi Paul, Why not another option like StatWeave based on OpenOffice ? http://www.cs.uiowa.edu/~rlenth/StatWeave/ HTH Regards Denis __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] rgraphviz crashes

2010-02-28 Thread Uwe Ligges
On 28.02.2010 14:40, Nino Hardt wrote: I installed graphviz-2.20.3.1, set the environment variables and installed rgraphviz. Did the same thing in Windows Vista and now in Windows 7. In Vista it works as its supposed to, however, in Windows 7 RGui crashes. Anyone else experiencing trouble

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 murd...@stats.uwo.ca wrote: Gabor Grothendieck wrote: On Sun, Feb 28, 2010 at 9:43 AM, Duncan Murdoch murd...@stats.uwo.ca wrote: On 28/02/2010 9:08 AM, Gabor Grothendieck wrote: On Sun, Feb

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 murd...@stats.uwo.ca wrote: On 28/02/2010 12:04 PM, Gabor Grothendieck wrote: On Sun, Feb 28, 2010 at 11:52 AM, Duncan Murdoch murd...@stats.uwo.ca wrote: Gabor Grothendieck wrote: On

Re: [R] rgraphviz crashes

2010-02-28 Thread Martin Morgan
On 02/28/2010 09:20 AM, Uwe Ligges wrote: On 28.02.2010 14:40, Nino Hardt wrote: I installed graphviz-2.20.3.1, set the environment variables and installed rgraphviz. Did the same thing in Windows Vista and now in Windows 7. In Vista it works as its supposed to, however, in Windows 7 RGui

[R] qustions about to check a sample from truncated gamma dist.

2010-02-28 Thread khazaei
Hi, I have generated a sample,Z, from right truncated gamma distribution,Gamma(a,b,t), I want to know how can check this sample being a sample of gamma(a,b,t)? thank you for your help. khazaei __ R-help@r-project.org mailing list

Re: [R] Slightly OT: Does anyone use latex2rtf with sweave output ?

2010-02-28 Thread Sharpie
Paul Hurley wrote: Hello, I'm trying to use R (and Sweave) to pull some data out of a database and produce some standard reports. unfortunaltey, the people who want the reports want them in an editable format so they can add wordy bits to the automatically generate tables and

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 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

[R] Error in sink(output.txt) : sink stack is full

2010-02-28 Thread Amy Hessen
Hi, After some runs to my program, I receive this error message: “Error in sink(output.txt) : sink stack is full” Could you please tell me how I can avoid this message? Cheers, Amy _

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

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,

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

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

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

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 murd...@stats.uwo.ca 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

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

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

Re: [R] bwplot() {lattice}

2010-02-28 Thread Deepayan Sarkar
On Sat, Feb 27, 2010 at 8:14 PM, Peng Cai pengcaimaill...@gmail.com wrote: Thanks a lot Deepayan, one question: Is it possible to place these barplots side-by-side instaed of super imposing? Something like this: http://www.imachordata.com/wp-content/uploads/2009/09/boxplot.png Well, yes; a

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:

Re: [R] Error in sink(output.txt) : sink stack is full

2010-02-28 Thread smu
hi, It is a good idea not to reply to existing messages, if you want to open a new subject. On Sun, Feb 28, 2010 at 06:33:00PM +, Amy Hessen wrote: Hi, After some runs to my program, I receive this error message: ?Error in sink(output.txt) : sink stack is full? Could you

Re: [R] Error in sink(output.txt) : sink stack is full

2010-02-28 Thread Phil Spector
Amy - Apparently (you didn't provide a reproducible example), you are making calls to sink(filename) without closing the connection by calling sink() with no arguments (or a first argument of NULL). If you're going to keep writing to the same file, there's no need for additional calls to

Re: [R] Which system.time() component to use?

2010-02-28 Thread Ravi Varadhan
Thank you Jim and Gabor. It seems that for my purpose of comparing the computational effort (not I/O) the optimal thing is to use the sum of user and system CPU times to get the total CPU. It also seems like when there is not much I/O involved, which is the case for my algorithms, the total

[R] Netlogit and large networks

2010-02-28 Thread Tom Brökel
Dear R-users, I'm trying to use the netlogit QAP procedure in the SNA package for an adjacency matrix of 4500*4500 (undirected). However, my computer is not able to handle this task due to a lack of memory (2GB of RAM). The error message is something like ... cannot allocated vector of size...

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

[R] ggplot 'annotate problem' again.

2010-02-28 Thread John Kane
I had a problem annotating a graph last year ( see http://n4.nabble.com/Putting-names-on-a-ggplot-td907158.html#a907158 for the discussion) Stefan (smu) provided a solution using annotate(). However I apparently did not update the graph file and,now, when I go back to the thread and try to

Re: [R] using grep

2010-02-28 Thread kMan
Then use strsplit() instead. KeithC. -Original Message- From: kayj [mailto:kjaj...@yahoo.com] Sent: Friday, February 26, 2010 1:02 PM To: r-help@r-project.org Subject: Re: [R] using grep Hi , I have tried gsub(.*York(\\d+).*, \\1, grep(New York, x, value = TRUE)) and outputs P

[R] A slight trap in read.table/read.csv.

2010-02-28 Thread Rolf Turner
I had occasion recently to read in a one-line *.csv file that looked like: CandidateName,NSN,Ethnicity,dob,gender Smith, Mary Jane,111222333,E,2/25/1989,F That F (for female) in the last field got transformed to FALSE. Apparently read.csv (and hence read.table) are inferring that if the

Re: [R] A slight trap in read.table/read.csv.

2010-02-28 Thread Sharpie
Rolf Turner wrote: I solved the problem by putting in a colClasses argument in my call to read.csv(). But I really think that the read functions are being too clever by half here. If field entries are surrounded by quotes, shouldn't they be left as character? Even if they are all F's

Re: [R] decomposing an irregularly spaced time series

2010-02-28 Thread kMan
I would first abandon time-domain techniques altogether for irregularly spaced series. The Lomb Scargle periodogram is available for R, here: http://research.stowers-institute.org/efg/2005/LombScargle/R/index.htm. KeithC. -Original Message- From: ravi [mailto:rv...@yahoo.se] Sent:

Re: [R] A slight trap in read.table/read.csv.

2010-02-28 Thread David Winsemius
On Feb 28, 2010, at 4:55 PM, Rolf Turner wrote: I had occasion recently to read in a one-line *.csv file that looked like: CandidateName,NSN,Ethnicity,dob,gender Smith, Mary Jane,111222333,E,2/25/1989,F That F (for female) in the last field got transformed to FALSE. Apparently read.csv

[R] trend test for frequencies

2010-02-28 Thread Martin Batholdy
Hi, which test do I have to use if I want to test if the following data follow a monotone trend; 0min5min10min 20min 30min 5 20 55 70 90 ... where the dependent variable contains frequencies. And how is that implemented in R?

Re: [R] A slight trap in read.table/read.csv.

2010-02-28 Thread Gabor Grothendieck
It is strange. Even in R itself T and F are not guaranteed to be TRUE and FALSE. T - 1:3 T [1] 1 2 3 On Sun, Feb 28, 2010 at 4:55 PM, Rolf Turner r.tur...@auckland.ac.nz wrote: I had occasion recently to read in a one-line *.csv file that looked like:

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 jeff.hor...@vanderbilt.edu This is a great solution and deserves to go into the utils or tools package. When I first saw Tal's message, I

Re: [R] A slight trap in read.table/read.csv.

2010-02-28 Thread Jim Lemon
On 03/01/2010 08:55 AM, Rolf Turner wrote: ... Furthermore using F's and T's to represent TRUE's and FALSE's is bad practice anyway. Since FALSE and TRUE are reserved words it would make sense for the read function to assume that a field is logical if it consists entirely of these words. But

Re: [R] A slight trap in read.table/read.csv.

2010-02-28 Thread Don MacQueen
There is, however, an important distinction. Quoting from ?TRUE (or ?logical): 'TRUE' and 'FALSE' are reserved words denoting logical constants in the R language, whereas 'T' and 'F' are global variables whose initial values set to these. All four are 'logical(1)' vectors. TRUE -

Re: [R] Best Hardware OS For Large Data Sets

2010-02-28 Thread kMan
JD, I would recommend 64 bit, and win 7 on a quad core system has been surprisingly stable for me. Allan's points are also spot on. I would suggest reading the references Allan provided. Increased memory will increase your ability to handle n vectors of 2^31-1 elements, a limit that was a design

Re: [R] trend test for frequencies

2010-02-28 Thread David Winsemius
On Feb 28, 2010, at 5:33 PM, Martin Batholdy wrote: Hi, which test do I have to use if I want to test if the following data follow a monotone trend; min 5min10min 20min 30min 5 20 55 70 90 ... where the dependent variable

[R] Why software fails in scientific research

2010-02-28 Thread John Maindonald
I came across this notice of an upcoming webinar. The issues identified in the first paragraph below seem to me exactly those that the R project is designed to address. The claim that most research software is barely fit for purpose compared to equivalent systems in the commercial world

Re: [R] Why software fails in scientific research

2010-02-28 Thread Sharpie
John Maindonald wrote: I came across this notice of an upcoming webinar. The issues identified in the first paragraph below seem to me exactly those that the R project is designed to address. The claim that most research software is barely fit for purpose compared to equivalent

Re: [R] Defective help pages

2010-02-28 Thread Peter Danenberg
As of R 2.10.0, the plain text is generated by the tools::Rd2txt function from the same source as the HTML, i.e. the parsed Rd files stored in the .rdb file in the package help directories. It looks as though ESS is the problem here, but I don't really know what it is doing that could

[R] aadding labels to panel plots

2010-02-28 Thread gauravbhatti
hi I have a panel with 12 plots . All the plots have their own x and y labels as well as titles. I want add additional labels a, b, c, d, e,on the upper left side of each plot in the panel. Please suggest how I can do that. Gaurav -- View this message in context:

[R] Expanding a data structure

2010-02-28 Thread Worik R
I have a xts object with logical data . tail(q1) ..1 2010-02-19 TRUE 2010-02-22 FALSE 2010-02-23 FALSE 2010-02-24 FALSE 2010-02-25 FALSE 2010-02-26 FALSE I want to build a xts that records the dates that there is a change. If TRUE - FALSE it is down if FALSE - TRUE it is up I

[R] What Bayesian Framework?

2010-02-28 Thread D Sonderegger
I have found myself doing a large amount of Bayesian analysis and I am uncertain what framework learn and I'm posing this question to get a sense of perspective. As I am doing a lot of applied work right now, I need to do a fair amount of standard data analysis (eg mixed models, glm, etc) but I

Re: [R] Defective help pages

2010-02-28 Thread Duncan Murdoch
On 28/02/2010 7:39 PM, Peter Danenberg wrote: As of R 2.10.0, the plain text is generated by the tools::Rd2txt function from the same source as the HTML, i.e. the parsed Rd files stored in the .rdb file in the package help directories. It looks as though ESS is the problem here, but I don't

[R] R mentioned in the Economist volume 394, number 8671

2010-02-28 Thread Adrian Dragulescu
There is a special report on managing information. See page 8. A free programming language called R lets companies examine and present big data sets, and free software called Hadoop now allows ordinary pC to analyse huge quantities of data that previously required a supercomputer.

Re: [R] Similarity Percentage Analysis

2010-02-28 Thread Brad Patrick Schneid
I'm guessing the answer is no? I too am looking for a function for SIMPER, it seems logical that this would be in the Vegan package with the ANOSIM function. -- View this message in context: http://n4.nabble.com/Similarity-Percentage-Analysis-tp868460p1573091.html Sent from the R help mailing

[R] Multicolumn Listbox selectcommand trouble

2010-02-28 Thread jefreier
Hey folks, This is my first message to the mailing list so please let me know if I mess something up. I'm trying to use the selectcommand for the mclistbox but I'm not very adept at using functions. Ideally I'd like to change the editor text when a different list item is selected but any help

[R] R mentioned in the Economist volume 394, number 8671

2010-02-28 Thread Adrian Dragulescu
There is a special report on managing information. See page 8. A free programming language called R lets companies examine and present big data sets, and free software called Hadoop now allows ordinary pC to analyse huge quantities of data that previously required a supercomputer.

Re: [R] Expanding a data structure

2010-02-28 Thread William Dunlap
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Worik R Sent: Sunday, February 28, 2010 5:22 PM To: r-help Subject: [R] Expanding a data structure I have a xts object with logical data . tail(q1) ..1

[R] Is package dr appropriate for reducing the dimensionality of molecules conformational space ?

2010-02-28 Thread mauede
I anticipate lacking of prior experience with dimensionality reduction problems. Some scientists concerned with drug discovery performed several steered Molecular Dynamics simulations of the alanine-dipeptide molecule dragged by a radial force from an equilibrium conformation to another

[R] lapply with data frame

2010-02-28 Thread Noah Silverman
I'm a bit confused on how to use lapply with a data.frame. For example. lapply(data, function(x) print(x)) WHAT exactly is passed to the function. Is it each ROW in the data frame, one by one, or each column, or the entire frame in one shot? What I want to do apply a function to each row

Re: [R] Expanding a data structure

2010-02-28 Thread Worik R
change - c(NA, diff(q1$..1)) will be 1 when ..1 goes from FALSE to TRUE, -1 for TRUE to FALSE, 0 for no change, and NA for the first element. You may find it convenient to change that NA to something else or to not deal with the first element after computing the diff. This is very

[R] bwplot with pch = |

2010-02-28 Thread Duncan Mackay
Dear All Below is a toy example of a modified standard bwplot. require(lattice) DF - data.frame(site = rep(1:5, each = 20), height = rnorm(100)) bwplot(site ~ height,DF, pch = |, par.settings = list(strip.background = list(col = transparent), box.rectangle = list(col = grey70,lty

[R] (no subject)

2010-02-28 Thread Twaha Mlwilo
Hello all, Iam newbie here and to R too.Is it possible to customize R to be used to people who has limited knowledge of statistics to perform simple data analysis?.Which language to use?. Any alternative suggestion?. Thank you for your help. udd

Re: [R] Defective help pages

2010-02-28 Thread Peter Danenberg
We don't support Cygwin builds; that could be part of your problem. The only supported builds on Windows are using MinGW. Ah; indeed, that /is/ the problem. Works fine from MinGW. If I have some time, maybe I can investigate and submit a patch. __

Re: [R] ggplot 'annotate problem' again.

2010-02-28 Thread smu
Hi, I suggest to use geom_text to add multiple labels. Put all the information needed by for your labels in a dataframe: lab = data.frame(x=namposts+2.5, y = temprange[2], label= mlabs) and add them to the plot: p + geom_text(data=lab,aes(x,y,label=label), size=2.5,colour='black', hjust =

Re: [R] lapply with data frame

2010-02-28 Thread Bill.Venables
Data frames are lists. Each column of the data frame is a component of the list. So in, e.g. lapply(data, function(x) x) the function would receive each column of the data frame in turn. To apply a function to each row of the data frame (which may need some care) one tool you can use is

Re: [R] lapply with data frame

2010-02-28 Thread Bill.Venables
Oops! My caveat about untested code was certainly appropriate. The normalization code below will not work. Here is probably what I was thinking of doing: data - within(data, norm - value / tapply(value, group, sum)[group]) The same caveats apply here as below!