Re: [Rcpp-devel] R.e. loadRcppModules

2011-05-27 Thread Christoph Bergmeir
cppModules (Christoph Bergmeir) 2. Re: R.e. loadRcppModules (Romain Francois) 3. Re: R.e. loadRcppModules (baptiste auguie) -- Message: 1 Date: Wed, 25 May 2011 18:29:20 +0200 From: Christoph Bergmeir Subject: Re: [Rcpp-devel]

Re: [Rcpp-devel] R.e. loadRcppModules

2011-05-25 Thread baptiste auguie
On 26 May 2011 10:30, Romain Francois wrote: > > I think R-ints has the answers to the questions I'm not asking myself yet. This ought to be a fortune()! baptiste ___ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.

Re: [Rcpp-devel] R.e. loadRcppModules

2011-05-25 Thread Romain Francois
Hi, This is something I/we need to concentrate on, so that we find the right way to deal with it. I'm not sure at the moment how much work this will be. I think R-ints has the answers to the questions I'm not asking myself yet. Romain Le 25/05/11 18:29, Christoph Bergmeir a écrit : Hi list

Re: [Rcpp-devel] R.e. loadRcppModules

2011-05-25 Thread Christoph Bergmeir
Hi list, I remembered that this discussion was going on here about 6 weeks back, and now I have nearly the same problem. Maybe somebody has made any progress: Luckily, I have for some of my C++ objects a serialization function ready. So I'd like to make them survive the save/restart/load cycle

Re: [Rcpp-devel] R.e. loadRcppModules

2011-04-14 Thread Dirk Eddelbuettel
On 14 April 2011 at 07:49, Douglas Bates wrote: | On Thu, Apr 14, 2011 at 12:43 AM, Christian Gunning wrote: | > On Tue, Apr 12, 2011 at 11:07 PM, Romain Francois | > wrote: | >>> | >>> Just to clarify --  does your plan include storing user-modified | >>> fields and properties in objects?  E.g.

Re: [Rcpp-devel] R.e. loadRcppModules

2011-04-14 Thread Douglas Bates
On Thu, Apr 14, 2011 at 12:43 AM, Christian Gunning wrote: > On Tue, Apr 12, 2011 at 11:07 PM, Romain Francois > wrote: >>> >>> Just to clarify --  does your plan include storing user-modified >>> fields and properties in objects?  E.g. below, modtest with the msg >>> set? >> >> yes. Although the

Re: [Rcpp-devel] R.e. loadRcppModules

2011-04-13 Thread Christian Gunning
On Tue, Apr 12, 2011 at 11:07 PM, Romain Francois wrote: >> >> Just to clarify --  does your plan include storing user-modified >> fields and properties in objects?  E.g. below, modtest with the msg >> set? > > yes. Although the way I see it, this will require more work for the > developper, who w

Re: [Rcpp-devel] R.e. loadRcppModules

2011-04-12 Thread Romain Francois
Le 13/04/11 07:29, Christian Gunning a écrit : On Tue, Apr 12, 2011 at 7:06 AM, Douglas Bates wrote: The documented behavior is that an external pointer is replaced by a null pointer when an object is serialized. Thanks. Got it. I was planning to experiment with an object that has enough

Re: [Rcpp-devel] R.e. loadRcppModules

2011-04-12 Thread Christian Gunning
On Tue, Apr 12, 2011 at 7:06 AM, Douglas Bates wrote: > > The documented behavior is that an external pointer is replaced by a > null pointer when an object is serialized. Thanks. Got it. > I was planning to > experiment with an object that has enough information saved as R > objects to be able

Re: [Rcpp-devel] R.e. loadRcppModules

2011-04-12 Thread Douglas Bates
On Tue, Apr 12, 2011 at 1:11 AM, Romain Francois wrote: > Le 12/04/11 04:15, Christian Gunning a écrit : >> >> On Mon, Apr 11, 2011 at 3:00 AM, >>  wrote: >>> >>> >>> This will load the declared modules, and populate them into your >>> package's namespace. >>> >>> I will update the Rcpp-modules v

Re: [Rcpp-devel] R.e. loadRcppModules

2011-04-11 Thread Romain Francois
Le 12/04/11 04:15, Christian Gunning a écrit : On Mon, Apr 11, 2011 at 3:00 AM, wrote: This will load the declared modules, and populate them into your package's namespace. I will update the Rcpp-modules vignette accordingly. Suggestions, comments, improvements, "what are you ? nuts !", .

[Rcpp-devel] R.e. loadRcppModules

2011-04-11 Thread Christian Gunning
On Mon, Apr 11, 2011 at 3:00 AM, wrote: > > > This will load the declared modules, and populate them into your > package's namespace. > > I will update the Rcpp-modules vignette accordingly. > > Suggestions, comments, improvements, "what are you  ? nuts !", ... are > always welcome. Works great f