[Rd] add sessionInfo() option to "save"

2012-05-04 Thread Robert M. Flight
Hi All, I was wondering if there would be any interest in adding an option to the "save" function in R that I think would be useful. I was thinking that it might be useful to have an option that would generate a ".sessionInfo" variable that contains the output of "sessionInfo()", and adds it to th

Re: [Rd] Proposal: model.data

2012-05-04 Thread Paul Johnson
On Thu, May 3, 2012 at 12:19 PM, Brian G. Peterson wrote: > On Thu, 2012-05-03 at 12:09 -0500, Paul Johnson wrote: >> Greetings: >> >> On Thu, May 3, 2012 at 11:36 AM, Brian G. Peterson >> wrote: >> > On Thu, 2012-05-03 at 10:51 -0500, Paul Johnson wrote: >> >> If somebody in R Core would like t

Re: [Rd] Proposal: model.data

2012-05-04 Thread Martin Maechler
> "PJ" == Paul Johnson > on Thu, 3 May 2012 12:09:08 -0500 writes: PJ> Greetings: On Thu, May 3, 2012 at 11:36 AM, Brian PJ> G. Peterson wrote: >> On Thu, 2012-05-03 at 10:51 -0500, Paul Johnson wrote: >>> If somebody in R Core would like this and think about >>>

Re: [Rd] add sessionInfo() option to "save"

2012-05-04 Thread Yihui Xie
My 2 cents in the last section of this page: http://yihui.name/knitr/demo/cache/ You can set something like opts_knit$set(cache.extra = sapply(c('boot', 'ggplot2', 'splines'), packageVersion)) so that each time these packages are updated, the cache of your document will be rebuilt. That is not ex

[Rd] [patch] Behavior of .C() and .Fortran() when given double(0) or integer(0).

2012-05-04 Thread Pavel N. Krivitsky
Dear R-devel, While tracking down some hard-to-reproduce bugs in a package I maintain, I stumbled on a behavior change between R 2.15.0 and the current R-devel (or SVN trunk). In 2.15.0 and earlier, if you passed an 0-length vector of the right mode (e.g., double(0) or integer(0)) as one of the a

Re: [Rd] How to create data frame column name in a function

2012-05-04 Thread pvshankar
Thank you. It worked beautifully :) -- View this message in context: http://r.789695.n4.nabble.com/How-to-create-data-frame-column-name-in-a-function-tp4605358p4608663.html Sent from the R devel mailing list archive at Nabble.com. __ R-devel@r-project.

[Rd] f951.exe: sorry, unimplemented: 64-bit mode not compiled

2012-05-04 Thread Spencer Graves
Hello: Under my Windows 7 system, "R CMD check DiercxkSpline_1.1-5.tar.gz" fails because: f951.exe: sorry, unimplemented: 64-bit mode not compiled in make: *** [bispev.o] Error 1 gfortran -m64 -O2 -mtune=core2 -c bispev.f -o bispev.o f951.exe: sorry, unimplemented: 64-bit mode no

[Rd] looking for adice on bigmemory framework with C++ and java interoperability

2012-05-04 Thread andre zege
I work with problems that have rather large data requirements -- typically a bunch of multigig arrays. Given how generous R is with using memory, the only way for me to work with R has been to use bigmatrices from bigmemory package. One thing that is missing a bit is interoperability of bigmatrices

Re: [Rd] f951.exe: sorry, unimplemented: 64-bit mode not compiled

2012-05-04 Thread Simon Urbanek
On May 4, 2012, at 8:48 PM, Spencer Graves wrote: > Hello: > > > Under my Windows 7 system, "R CMD check DiercxkSpline_1.1-5.tar.gz" > fails because: > > > f951.exe: sorry, unimplemented: 64-bit mode not compiled in > This typically means that you're using the wrong (old) compiler. Th

Re: [Rd] looking for adice on bigmemory framework with C++ and java interoperability

2012-05-04 Thread Simon Urbanek
Andre, On May 4, 2012, at 9:50 PM, andre zege wrote: > I work with problems that have rather large data requirements -- typically > a bunch of multigig arrays. Given how generous R is with using memory, the > only way for me to work with R has been to use bigmatrices from bigmemory > package. One

Re: [Rd] looking for adice on bigmemory framework with C++ and java interoperability

2012-05-04 Thread andre zege
> > bigmemory matrices are simply arrays of native types (typically doubles, > but bm supports other types, too) so they are trivially readable/writable > from both C++ (just read into memory and cast to the array type) and Java > (e.g, DoubleBuffer view on a ByteBuffer). So the question is what ex

Re: [Rd] looking for adice on bigmemory framework with C++ and java interoperability

2012-05-04 Thread Dirk Eddelbuettel
On 4 May 2012 at 22:31, andre zege wrote: | Simon, thanks for your comment. I guess there is no problem, i am | apparently being lazy/busy and wondered if there is ready code that does | it. You are right, i suppose -- i'll look at the c++ code for bigmatrix and | will try to hack a solution. Yo