Hi Douglas,
I've tried that: Rcpp::S4 res(Rcpp::clone(Rcpp::S4(obj.slot("results")));
But it doesn't solve the problem because you actually clone the reference
returned by the copy constructor...
Rémi
Le 16 févr. 2012 à 17:25, Douglas Bates a écrit :
> On Thu, Feb 16, 2012 at 9:25 AM, Rémi Le
On 16/02/2012 13:38, Dirk Eddelbuettel wrote:
On 16 February 2012 at 11:00, Patrick Burns wrote:
| Success.
Nice.
| I'll tentatively offer this summary of the
| important things to do. There are three
| environment variables to set:
I should document some of this. Maybe in Makefile.win? Bet
On Thu, Feb 16, 2012 at 9:25 AM, Rémi Lebret
wrote:
> Hi,
>
> I've got some issues by using the copy constructor of the S4 class.
>
> I want to make a copy of a S4 object but it looks like the copy constructor
> returns a reference instead of a new instance of the S4 class.
>
> I made a dummy exam
Hi,
I've got some issues by using the copy constructor of the S4 class.
I want to make a copy of a S4 object but it looks like the copy constructor
returns a reference instead of a new instance of the S4 class.
I made a dummy example to illustrate my problem:
##
On 16 February 2012 at 11:00, Patrick Burns wrote:
| Success.
Nice.
| I'll tentatively offer this summary of the
| important things to do. There are three
| environment variables to set:
I should document some of this. Maybe in Makefile.win? Better ideas?
| * PATH needs to include the path
Success.
I'll tentatively offer this summary of the
important things to do. There are three
environment variables to set:
* PATH needs to include the path to the R DLLs
for example the bin\i386 under your R_HOME.
* R_HOME needs to be set.
* R_LIBS_USER needs to be set. (Trying to do it
in .R