Re: [Rd] Including local dynamic libraries

2009-11-20 Thread Simon Urbanek
On Nov 20, 2009, at 3:07 PM, Romain Francois wrote: On 11/20/2009 08:43 PM, Elana Fertig wrote: Hi All, I am trying to install the package rjags into a local library on a machine for which I do not have root permissions. Using the command: R CMD INSTALL --configure-args="--with-jags-include=

Re: [Rd] Including local dynamic libraries

2009-11-20 Thread Romain Francois
On 11/20/2009 08:43 PM, Elana Fertig wrote: Hi All, I am trying to install the package rjags into a local library on a machine for which I do not have root permissions. Using the command: R CMD INSTALL --configure-args="--with-jags-include=${JAGSBIN}/include/JAGS --with-jags-lib=${JAGSBIN}/lib/

[Rd] Including local dynamic libraries

2009-11-20 Thread Elana Fertig
Hi All, I am trying to install the package rjags into a local library on a machine for which I do not have root permissions. Using the command: R CMD INSTALL --configure-args="--with-jags-include= ${JAGSBIN}/include/JAGS --with-jags-lib=${JAGSBIN}/lib/ --with-jags- modules=${JAGSBIN}/lib/JA

[Rd] Suggestion for the reproducibility of R home page figure

2009-11-20 Thread Jean lobry
Dear R-devel, googling for the single letter R yields R-home page as the firt hit, which is extremly nice. By clicking on the figure you get the code of the "Winner of the R Homepage graphics competition 2004." By copy/pasting in your R console it doesn't work because it is impossible to instal

Re: [Rd] Surprising length() of POSIXlt vector (PR#14073)

2009-11-20 Thread maechler
> "PD" == Peter Dalgaard > on Fri, 20 Nov 2009 09:54:34 +0100 writes: PD> m...@celos.net wrote: >> Arrays of POSIXlt dates always return a length of 9. This >> is correct (they're really lists of vectors of seconds, >> hours, and so forth), but other methods disguise

Re: [Rd] R Usage Statistics

2009-11-20 Thread Michael Dewey
At 18:47 19/11/2009, Kevin R. Coombes wrote: Hi, I got the following comment from the reviewer of a paper (describing an algorithm implemented in R) that I submitted to BMC Bioinformatics: "Finally, which useful for exploratory work and some prototyping, neither R nor S-Plus are appropriate

Re: [Rd] make fails on R r50499 ( openSuSE 11.0 x86-64)

2009-11-20 Thread Simone Giannerini
Thank you, now it works kind regards, Simone 2009/11/20 Prof Brian Ripley : > What has happened is that mgcv now depends on Matrix, but the author hasn't > told us that.  Add to the line in src/library/Recommended/Makefile.in so it > becomes > > mgcv.ts: nlme.ts MASS.ts Matrix.ts > > and it sho

Re: [Rd] make fails on R r50499 ( openSuSE 11.0 x86-64)

2009-11-20 Thread Prof Brian Ripley
What has happened is that mgcv now depends on Matrix, but the author hasn't told us that. Add to the line in src/library/Recommended/Makefile.in so it becomes mgcv.ts: nlme.ts MASS.ts Matrix.ts and it should work. The tarballs will catch up in due course. On Fri, 20 Nov 2009, Simone Gianner

[Rd] make fails on R r50499 ( openSuSE 11.0 x86-64)

2009-11-20 Thread Simone Giannerini
Dear all, I encountered a problem when compiling the source of R patched 2.10.0 r50499 (19-11-2009) linked to ACML single threaded (4.2.0 or 4.3.0) OS: openSuSE 11.0 x86-64 make fails when it comes to installing mgcv with the following [snip] ** R ** inst ** preparing package for lazy loading Er

Re: [Rd] Surprising length() of POSIXlt vector (PR#14073)

2009-11-20 Thread mark
Benilton Carvalho writes: > I'm no expert on this, but my understanding is that the choice was > to stick to the definition. > > The help file for length() [1] says: > > "For vectors (including lists) and factors the length is the number > of elements." > > The help file for POSIXlt [2] (for exa

Re: [Rd] Surprising length() of POSIXlt vector (PR#14073)

2009-11-20 Thread Mark White
Benilton Carvalho writes: > I'm no expert on this, but my understanding is that the choice was > to stick to the definition. > > The help file for length() [1] says: > > "For vectors (including lists) and factors the length is the number > of elements." > > The help file for POSIXlt [2] (for exa

[Rd] ISOdate and strptime results are not interoperable (PR#14076)

2009-11-20 Thread mariotomo
Full_Name: Mario Frasca Version: 2.9.2, 2.10.0, 2.8.1 OS: ubuntu 9.10, Debian sid, MacOSX 10.4 Submission from: (NULL) (194.151.158.193) The objects being returned by the functions strptime and ISOdate look the same (to me) but behave differently. The difference is influenced by the current time

[Rd] Suggestion: Clarification in Rd for utils::getAnywhere()

2009-11-20 Thread Henrik Bengtsson
In order to clarify that getAnywhere(str) where str is a character string object, will look for object with name "str" and not the value of 'str', I suggest the following Rd updated for utils::getAnywhere(): Update the argument list: \item{x}{a [literal] character string or name.} The term 'lite

Re: [Rd] Surprising length() of POSIXlt vector (PR#14073)

2009-11-20 Thread Romain Francois
On 11/20/2009 09:54 AM, Peter Dalgaard wrote: m...@celos.net wrote: Arrays of POSIXlt dates always return a length of 9. This is correct (they're really lists of vectors of seconds, hours, and so forth), but other methods disguise them as flat vectors, giving superficially surprising behaviour:

Re: [Rd] Surprising length() of POSIXlt vector (PR#14073)

2009-11-20 Thread Peter Dalgaard
m...@celos.net wrote: Arrays of POSIXlt dates always return a length of 9. This is correct (they're really lists of vectors of seconds, hours, and so forth), but other methods disguise them as flat vectors, giving superficially surprising behaviour: strings <- paste('2009-1-', 1:31, sep='')

[Rd] How do I bundle R with my Win32 Application?

2009-11-20 Thread Abhijit Bera
Hi I have managed to link R with my VC++ Project by generating a lib file from R.dll using dumpbin. Reference: http://www.coderetard.com/2009/01/21/generate-a-lib-from-a-dll-with-visual-studio/ My Win32 front end works perfectly with R provided R, my package and the dependencies of my package ar