Re: [Rcpp-devel] Cross-compiling packages for Windows from Linux?

2011-03-28 Thread Dirk Eddelbuettel
On 28 March 2011 at 18:10, Tim Triche, Jr. wrote: | Does anyone have any experience building Windows packages on Linux?  This | seems like a tall order, but I have cross-compiled working binaries in the past | with some effort, and if I could compile Windows binaries of Rcpp-linked | packages fro

[Rcpp-devel] Cross-compiling packages for Windows from Linux?

2011-03-28 Thread Tim Triche, Jr.
Does anyone have any experience building Windows packages on Linux? This seems like a tall order, but I have cross-compiled working binaries in the past with some effort, and if I could compile Windows binaries of Rcpp-linked packages from Linux, I'd probably bite the bullet and do it. Otherwise

Re: [Rcpp-devel] error while calling function in loop

2011-03-28 Thread nandan amar
Thanks Sean. Its really helpful. On 29 March 2011 00:00, Sean Robert McGuffee wrote: > > RInside R(argc, argv); //this would appear to be a class called RInside > definining a variable called R initialized with argc and argv variables. > > To declare it globally, you would need to define it insid

Re: [Rcpp-devel] error while calling function in loop

2011-03-28 Thread Sean Robert McGuffee
Judging from Dirk's "Reply on the damn list. How hard is that?" statement, I imagine his is already convinced... On 3/28/11 2:49 PM, "Douglas Bates" wrote: > On Mon, Mar 28, 2011 at 1:31 PM, Sean Robert McGuffee > wrote: >> How hard is it to set up the list with a default reply to address of t

Re: [Rcpp-devel] error while calling function in loop

2011-03-28 Thread Douglas Bates
On Mon, Mar 28, 2011 at 1:31 PM, Sean Robert McGuffee wrote: > How hard is it to set up the list with a default reply to address of the > list? Making the change, not difficult. Convincing Dirk to make the change, very difficult. Google the phrase "Reply-to munging considered harmful". > > > O

Re: [Rcpp-devel] error while calling function in loop

2011-03-28 Thread Sean Robert McGuffee
How hard is it to set up the list with a default reply to address of the list? On 3/26/11 9:36 AM, "nandan amar" wrote: > Ohh Then i sud select reply to all > > Thanks Dirk, > But RInside R(argc, argv) is not a variable . > How can I declare it globally or share its instance. > If it is not re

Re: [Rcpp-devel] error while calling function in loop

2011-03-28 Thread Sean Robert McGuffee
RInside R(argc, argv); //this would appear to be a class called RInside definining a variable called R initialized with argc and argv variables. To declare it globally, you would need to define it inside a *.cpp file once, and only once. Usually this is easiest to do at the top of a *.cpp file th