Re: [R] [R-sig-ME] Major difference in the outcome between SPSS and R statisticalprograms

2008-08-01 Thread Douglas Bates
On Fri, Aug 1, 2008 at 10:56 AM, Doran, Harold <[EMAIL PROTECTED]> wrote: > First off, Marc Schwartz posted this link earlier today, read it. > > http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-are-p_002dvalues-not-di > splayed-when-using-lmer_0028_0029_003f > > Second, your email is not really de

[R] Legend outside plot => grid not limited to plot

2008-08-01 Thread Peter Mueller
Hi dear R users, i would like to have: 1. the legend outside of the plot and 2. add a grid to the plot. For 1. I found a example in the R mailinglist archive [1]. 1: http://tolstoy.newcastle.edu.au/R/help/06/01/19423.html The total example code would be: > ?par > par(xpd=T, mar=par()$mar+c(0,0,

[R] boxplot help

2008-08-01 Thread Rajasekaramya
hi I have list of matrix of lenggth 61 containg the mean values..I want to make a boxplot for each of the matrix. I used a for loop but i cant figure out the way to save in the boxplots > all.the.mean [[1]] mean 0.5 o.6 0.8 [[2]] 0.6 0.6 0.9 now i want the boxplot for each of the matrix in a se

[R] Properly Parsing Pre-Superscripts & Displaying Them With grid.text

2008-08-01 Thread Bryan Hanson
Hi all... I¹m making a chart dealing with frequencies of isotopes of various elements. For instance, I'd like the following text to appear on a chart with the "35" and "37" as superscripts: Based upon: 35Cl: 75% 37Cl: 25% I am having problems properly parsing the superscript that preceeds the "C

Re: [R] Legend outside plot => grid not limited to plot

2008-08-01 Thread Prof Brian Ripley
On Fri, 1 Aug 2008, Peter Mueller wrote: Hi dear R users, i would like to have: 1. the legend outside of the plot and 2. add a grid to the plot. For 1. I found a example in the R mailinglist archive [1]. 1: http://tolstoy.newcastle.edu.au/R/help/06/01/19423.html The total example code would be

Re: [R] R CMD INSTALL error, R-2.7.1

2008-08-01 Thread Richard Chandler
Thanks for the reply, but I'm still having trouble. The PATH appears correct: c:\Rtools\bin;c:\Rtools\perl\bin;c:\Rtools\MinGW\bin;c:\progra~1\R\R-2.7.1\bin;c:\progra~1\miktex~1.7\miktex\bin;c:\progra~1\htmhe~1;c:\windows;c:\windows\system32;C:\Program Files\QuickTime\QTSystem;C:\ArcGIS\arcexe9x\b

Re: [R] R CMD INSTALL error, R-2.7.1

2008-08-01 Thread Richard Chandler
After poking around some more I found the problem. The shortcut name in PATH should be c:\progra~1\htmlhe~1 instead of c:\progra~1\htmhe~1. Don't know how that happened, but thanks for pointing me in the right direction. Richard Quoting Duncan Murdoch <[EMAIL PROTECTED]>: > On 8/1/2008 12:39 PM,

Re: [R] R CMD INSTALL error, R-2.7.1

2008-08-01 Thread Duncan Murdoch
On 01/08/2008 5:50 PM, Richard Chandler wrote: After poking around some more I found the problem. The shortcut name in PATH should be c:\progra~1\htmlhe~1 instead of c:\progra~1\htmhe~1. Don't know how that happened, but thanks for pointing me in the right direction. The Windows path can handle

[R] source a script file straight from a subversion repository

2008-08-01 Thread Steven McKinney
Hi useRs I'm trying to figure out how to source an R script file straight from a subversion repository, without having to put a copy of the script into the local working directory. Has anyone done this? Something such as source(file = paste("svn://myrepo.xxx.org/opt/svn/repos/",

Re: [R] source a script file straight from a subversion repository

2008-08-01 Thread Duncan Murdoch
On 01/08/2008 7:49 PM, Steven McKinney wrote: Hi useRs I'm trying to figure out how to source an R script file straight from a subversion repository, without having to put a copy of the script into the local working directory. Has anyone done this? Something such as source(file = paste(

Re: [R] source a script file straight from a subversion repository

2008-08-01 Thread Marc Schwartz
on 08/01/2008 06:49 PM Steven McKinney wrote: Hi useRs I'm trying to figure out how to source an R script file straight from a subversion repository, without having to put a copy of the script into the local working directory. Has anyone done this? Something such as source(file = paste(

Re: [R] viewing data in something similar to 'R Data Editor'

2008-08-01 Thread Jim Porzak
Rachel, You may want to try JGR, http://jgr.markushelbig.org/JGR.html which has, among many nice IDE features, an object browser that will do what you want. HTH, Jim Porzak Responsys, Inc. San Francisco, CA http://www.linkedin.com/in/jimporzak useR Group SF: http://ia.meetup.com/67/ On Fri,

Re: [R] source a script file straight from a subversion repository

2008-08-01 Thread Steven McKinney
Thanks to Duncan Murdoch and Marc Schwartz for their excellent help. As we don't yet have the apache http: interface to svn running yet, 'svn export' is the access mechanism. As I don't want to leave stale files lying around, or clobber a local file should there be one with the same name, R's t

Re: [R] Identifying common prefixes from a vector of words, and delete those prefixes

2008-08-01 Thread Martin Morgan
Daren Tan <[EMAIL PROTECTED]> writes: > For example, c("dog.is.an.animal", "cat.is.an.animal", > "rat.is.an.animal"). How can I identify the common prefix is > ".is.an.animal" and delete it to give c("dog", "cat", "rat") ? The 'Rlibstree' package from omegahat is quite fun for this sort of thing:

[R] Bubble plots

2008-08-01 Thread Cody Hamilton
Is there a way to create a 'bubble plot' in R? For example, if we define the following data frame containing the level of y observed for 5 patients at three time points: time<-c(rep('time 1',5),rep('time 2',5),rep('time 3',5)) y<-c('a','b','c','d','a','b','c','a','d','a','a','a','b','c','d') D<-

Re: [R] Colors in Sweave

2008-08-01 Thread Stephen Tucker
From: Duncan Murdoch Date: Tue, 29 Jul 2008 19:45:28 -0400 On 27/07/2008 3:10 PM, Stephen Tucker wrote: > Hi list, > > I was using Sweave and was wondering if anyone has had any luck changing the font colors of the code chunks. For instance, in my .Rnw preample I tried including: > > === >

Re: [R] viewing data in something similar to 'R Data Editor'

2008-08-01 Thread Gabor Grothendieck
Try view in the svViews package. On Fri, Aug 1, 2008 at 1:29 PM, Rachel Schwartz <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to view matrices I am working with in a clean, easy to read, > separate window. > > A friend showed me how to do something like I want with edit(). I can view > the m

Re: [R] Eaxct position of specific elements in array

2008-08-01 Thread Gabor Grothendieck
See ?row ?col On Fri, Aug 1, 2008 at 1:42 PM, Ralph S. <[EMAIL PROTECTED]> wrote: > > Hi, > > I am trying to get the positions in array coordinates (needed later) of > certain elements in an array but I am not sure how to get them. > > My array is Q and the condition is dt>dV, where dt and dV are

[R] convert for loop into apply()

2008-08-01 Thread Anh Tran
Hi all,I know this topic has came up multiple times, but I've never fully understand the apply() function. Anyway, I'm here asking for your help again to convert this loop to apply(). I have 2 data frames with the following information: a1 is the fragment that is need to be covered, a2 is the pro

[R] Multiple R console for OS X?

2008-08-01 Thread Anh Tran
Hi gang, I always open more than 1 R console in Windows. I can't figure out a way to do this with OS X yet. I need that to utilize the duo core on my desktop. How would I do that? -- Regards, Anh Tran [[alternative HTML version deleted]] __ R

Re: [R] how to replace NA values in a list

2008-08-01 Thread Satoshi Takahama
- Original Message From: Shang Liu <[EMAIL PROTECTED]> Subject: [R] how to replace NA values in a list I have a matrix named "spec" (see below), it is a 6x3 matrix, and each element of spec is a list. For example, spec[1,"wavenumber"] is a list, and it contains 1876 numeric numbers and

<    1   2