[R] failing to load package in R 2.7.1 patched

2008-08-01 Thread Monica Pisica
Hi, yesterday i had the surprise not to be able to load the package ca on R 2.7.0 saying that cannot find required package rgl although it was there. So today i've upgraded to 7.2.1. patched and i got the following error: local({pkg - select.list(sort(.packages(all.available = TRUE))) +

Re: [R] Memory Problems with a Simple Bootstrap

2008-08-01 Thread Tom La Bone
Here it is with the gc() in a print statement. Tom library(boot) setwd(C:/Documents and Settings/Tom/Desktop) data.in - read.csv(inputdata.csv,header=T,as.is=T) per95 - function( annual.data, b.index) { + sample.data - annual.data[b.index,] +

Re: [R] correlation between rows of data.frame

2008-08-01 Thread Christos Hatzis
Eleni, A way to do this is to group the data first using 'split' and then sapply the dist function to this list. The slower step will be the split which took a couple of minutes on my laptop but sapply should not take more than a minute or so. size - 1 df - data.frame(

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

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

[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

[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 Cl,

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

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

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

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

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 =

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

[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')

Re: [R] Colors in Sweave

2008-08-01 Thread Stephen Tucker
From: Duncan Murdoch murdoch_at_stats.uwo.ca 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

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

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 dtdV, where dt and dV are arrays

<    1   2