[Rcpp-devel] How to modifying the elements of a list in the global environment?

2012-10-20 Thread Christian Gunning
> What I would really do here is to create a simple struct or rather class that > upon initialization creates the workspace and holds it. > > Doesn't fit as easily in the inline paradigm though. Can one place object definitions in includes and then use them in the body? I'm rusty on inline -- I r

Re: [Rcpp-devel] How to modifying the elements of a list in the global environment?

2012-10-20 Thread Dirk Eddelbuettel
On 20 October 2012 at 03:11, Christian Gunning wrote: | > What I would really do here is to create a simple struct or rather class that | > upon initialization creates the workspace and holds it. | > | > Doesn't fit as easily in the inline paradigm though. | | Can one place object definitions in