Re: [Rd] print.closure at the R level

2009-04-19 Thread Romain Francois
Yesterday's patch did not print the attributes. This one seems fine: > f <- function(){} > attr( f, "yada" ) <- function( ) "lobster bisk" > f function(){} attr(,"yada") function( ) "lobster bisk" Romain Romain Francois wrote: Duncan Murdoch wrote: On 18/04/2009 10:12 AM, Romain Francois wrot

Re: [Rd] wish list: automatic package installation

2009-04-19 Thread Hiroyuki Kawakatsu
Hi, Apologies for using this thread for something that is only tangentially related. Is there a mechanism in R to ensure that the configure.args used to build R is also used when installing packages? If not, I would like to add this as wish (perhaps we can grab this info from config.log?) At the

Re: [Rd] export C++ array to R

2009-04-19 Thread Simon Urbanek
On Apr 18, 2009, at 4:12 AM, whizvast wrote: Hi, I am a newbie on C++ Right now I have an array of doubles in C++. Is there a way to "export" that array into R? Of course, I can allocate the memory block first using "allocVector" and copying the array contents one by one. But, what if