Re: [Rcpp-devel] Compilation ERROR

2013-03-07 Thread Kevin Ushey
By default, g++.exe is installed into /gcc-/bin; and you want to make sure that folder is in your path (not just C:\R\Rtools\bin, so I guess in your case, assuming an up-to-date version of R/Rtools, you want to make sure C:\R\tools\gcc-4.6.3\bin is also in your path). Note that this is done by defa

Re: [Rcpp-devel] extend to cover exporting non-reference S4 objects?

2013-03-07 Thread Greg Minshall
Dirk, thanks for the reply. i'll think about Nice Additions as i become more familiar with the magic of Rcpp. i would guess, since reference classes can make it, so can pass-by-value S4 objects. > In general, though, it helps to remember that we have to play the hand > we've been dealt. This i

[Rcpp-devel] constructors taking the same number of arguments

2013-03-07 Thread Greg Minshall
hi. the Rcpp-modules document, section 2.2.2, mentions that one can write a routine to disambiguate between different constructors taking the same number of arguments. i wonder, in the case one has *not* provided such a disambiguator, would it be possible to offer up an error message, maybe at co

Re: [Rcpp-devel] extend to cover exporting non-reference S4 objects?

2013-03-07 Thread Dirk Eddelbuettel
On 7 March 2013 at 21:16, Greg Minshall wrote: | hi. i'm having a grand time with Rcpp. (though it's amazing how Really glad to hear that. | annoying procedural+non-REPL languages have become in the last decade | that i've ignored them! ;-) | | in my application, some of my classes are a go

[Rcpp-devel] extend to cover exporting non-reference S4 objects?

2013-03-07 Thread Greg Minshall
hi. i'm having a grand time with Rcpp. (though it's amazing how annoying procedural+non-REPL languages have become in the last decade that i've ignored them! ;-) in my application, some of my classes are a good fit for reference classes (large arrays). however, some of my classes are better as