Re: [R] Sweave - print \n ?

2008-03-29 Thread Werner Wernersen
Thanks for your comments! I think using just one backslash for \n is correct because otherwise I get a \n literally printed out in the generated .tex code. But what I'm trying to get is just a line break, thus that the .tex code continues on a new line from the point where I put the \n. All the

Re: [R] installing a new package

2008-03-29 Thread Uwe Ligges
Don MacQueen wrote: At the risk of oversimplifying, there are three steps to developing and using a package: 1) build 2) install 3) load Evidently your package does steps 1 and 2 but not 3. Furthermore, it tells you, not a valid package, and says something that is suggestive of a

Re: [R] Error: cannot allocate vector of size 3.0 Gb

2008-03-29 Thread Uwe Ligges
Can you make the data.frame available somewhere. Actually, I am surprised it need that huge amount of memory to do the plot. Best, Uwe Ligges John wrote: Hello, I have read recent posts on this topic (Dr. Ronnen Levinson's Monday 02:39:55 pm), but before I install a 64 bit system, and

Re: [R] Error: cannot allocate vector of size 3.0 Gb

2008-03-29 Thread John
On Friday 28 March 2008 14:28, Daniel Nordlund wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Sent: Friday, March 28, 2008 12:04 PM To: r-help@r-project.org Subject: [R] Error: cannot allocate vector of size 3.0 Gb Hello, I

[R] AD-model builder under R for mix logistics model, a problem.

2008-03-29 Thread coldeyes.Rhelp
the code is list below , i can run this code for laplace approximation but not importance sampling. the code work properly if use impSamp=0 , but error for any other number 0 . could you guys help me out. thanks so much ! source(http://www.mi.uib.no/~skaug/cash/lesaffre_dat.s;)

Re: [R] Sweave - print \n ?

2008-03-29 Thread Charilaos Skiadas
Try adding strip.white=false on the code chunks: echo=false,results=tex, strip.white=false= hline() hline() @ Read ?RweaveLatex for more settings. or if you want this to happen in all code chunks add this early on in the rnw file: \SweaveOpts{strip.white=false} Haris Skiadas Department of

Re: [R] Defining reference category for a cph model summary inside of a for loop

2008-03-29 Thread Wells, Brian
Dr. Harrell, Thanks for you help. I tried: print(summary(f,parse(text=paste(i,'=1st Quartile', sep='' Same result. No error, the reference category simply doesn't change. Brian -Original Message- From: Frank E Harrell Jr [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2008

[R] AD-MB problem in package:glmmADMB

2008-03-29 Thread coldeyes.Rhelp
Hi here, i recently notice the software built by otter company know as AD-MB tools . i explore a little bit this tools under the R Package for mixed logistics model. it is a very interesting tool. but i get several questions. first question: i tried the R code below, and have the error , i

[R] S4 : the list of all the object

2008-03-29 Thread Christophe Genolini
Hi the list, Is it possible to get the list of all the S4 user define classes? I would like to set up a package.skeleton.S4 but for that, I need the list of the classes... Thanks Christophe __ R-help@r-project.org mailing list

Re: [R] Singular Gradient in nls

2008-03-29 Thread Katharine Mullen
sorry, the below should read: A QR decomposition is done on the weighted gradient matrix; if the estimate of the rank that results is less than min( the number of columns in the gradient (the number of nonlinear parameters), the number of rows (the number of observations) ) , nls stops. so

Re: [R] Error: cannot allocate vector of size 3.0 Gb

2008-03-29 Thread Uwe Ligges
Dear John, note that you Date is a factor rather than some date object. If you convert it to some date object, just a few megabytes will suffice! Best wishes, Uwe John wrote: On Friday 28 March 2008 14:28, Daniel Nordlund wrote: -Original Message- From: [EMAIL PROTECTED]

[R] Problem installing aroma.affymetrix on Solaris 9 with R-2.6.2

2008-03-29 Thread Jun Zhang
Hi List, I'm trying to install aroma.affymetrix, which depend on many packages, affyio is one of them. The task is done on 32-bit Linux without problem. The same task was done on Solaris 9 with R-2.5.1 without problem. Following is the error message when installation affyio. I did try to put a

[R] Generating maps in R

2008-03-29 Thread Aleksandr Andreev
Greetings! I am trying plot some data on a map in R. Here's the scenario. I have a variable called probworkinghealthy which contains a predicted probability of employment for every individual in my sample (about 100,000 observations). I have another variable, called a001ter, which contains the

[R] directory of R consultants for hire

2008-03-29 Thread Thomas Pujol
Does anyone know of a directory that lists consultants with expertise in R, as well as other statistical and computing skills, ideally with geographic location and other pertinent information? If one does not exist, might this be a good resource to create?

Re: [R] Problem installing aroma.affymetrix on Solaris 9 with R-2.6.2

2008-03-29 Thread Prof Brian Ripley
This is the wrong list for questions about Bioconductor packages: please do study the posting guide (and no HTML mail, please). stdint.h is part of C99. My guess is that your unspecified compiler + obsolete OS is not C99 compliant. Since Solaris 8 has inttypes.h (which is supposed by POSIX to

Re: [R] DE optimization with equality constraint

2008-03-29 Thread Paul Smith
On Sat, Mar 29, 2008 at 9:33 PM, Hans W. Borchers [EMAIL PROTECTED] wrote: Reply to Optimization with constraint on March 14, 2008 One can get an accurate solutons applying the Differential Evolution algorithm as implemented in the DEoptim package: f2 - function(x){ if

[R] Alignment and Reshaping of the matrix

2008-03-29 Thread dinesh kumar
Dear R users, I have a matrix like 85 .90 86 .89 87 .98 86 .87 88 .98 90 .78 88 .76 89 .56 90 .67 95 .67 89 .89 90 .87 91 .56 96 .87 90 .76 92.98 each pair of columns present a variable name and next the value. I have matrix with more than 500 rows and column. Now I want to convert this

Re: [R] Alignment and Reshaping of the matrix

2008-03-29 Thread jim holtman
Is this what you are after: x - read.table(textConnection(85 .90 86 .89 87 .98 86 .87 + 88 .98 90 .78 88 .76 89 .56 + 90 .67 95 .67 89 .89 90 .87 + 91 .56 96 .87 90 .76 92 .98)) closeAllConnections() odd - seq(1, ncol(x), by=2) x.r - range(x[,odd]) # create large array starting from 1 x.m -

[R] Second subsequent calls to function fails. Please help debug.

2008-03-29 Thread Michael Kubovy
Dear R-helpers, I'm running Sweave() on a file. First run: Sweave('20080331.Rnw') Writing to file 20080331.tex Processing code chunks ... 1 : term hide (label=setup) 2 : echo term verbatim (label=oatvar) 3 : echo term verbatim (label=oatvar1) 4 : echo term verbatim (label=oat2wt) 5 :

Re: [R] Second subsequent calls to function fails. Please help debug.

2008-03-29 Thread Duncan Murdoch
On 29/03/2008 9:47 PM, Michael Kubovy wrote: Dear R-helpers, I'm running Sweave() on a file. First run: Sweave('20080331.Rnw') Writing to file 20080331.tex Processing code chunks ... 1 : term hide (label=setup) 2 : echo term verbatim (label=oatvar) 3 : echo term verbatim