Skip to content

[Rcpp-devel] cxxfunplus

3 messages · Jiqiang Guo, Dirk Eddelbuettel

#
The CRANberries service (http://dirk.eddelbuettel.com/cranberries/ just
reported this new package:

  New package cxxfunplus with initial version 1.0
  from CRANberries

  Package: cxxfunplus
  Type: Package
  Title: extend cxxfunction by saving the dynamic shared objects
  Version: 1.0
  Date: 2012-08-16
  Depends: inline
  Imports: methods
  Suggests: Rcpp (>= 0.8.0)
  Author: Jiqiang Guo 
  Maintainer: Jiqiang Guo 
  Description: extend cxxfunction by saving the dynamic shared objects for reusing across R sessions
  License: GPL-3
  URL: https://github.com/maverickg/cxxfunplus
  Packaged: 2012-08-19 01:57:39 UTC; jq
  Repository: CRAN
  Date/Publication: 2012-08-19 05:26:34

I am not really sure if that is a good idea or not -- as we have argued for
years that persistent storage of shared object is best done in a package --
but some of you may find this useful.

Dirk
#
While developing R interface for Stan http://Stan.googlecode.com, we really want to save the compiled objects.  So I isolated some code out and put it into a tiny package and would like to see comments.  

The thing is that Dirk said there were arguments, but I did not know that.  It would be nice to have them easily found.

Jiqiang
On Aug 19, 2012, at 8:51 AM, Dirk Eddelbuettel <edd at debian.org> wrote:

            
#
On 19 August 2012 at 10:41, Jiqiang Guo wrote:
| While developing R interface for Stan http://Stan.googlecode.com, we really want to save the compiled objects.  So I isolated some code out and put it into a tiny package and would like to see comments.  

Well, I am the de-facto maintainer of inline and could incorporate changes
and extensions there. That's how cxxfunction got into inline.  The last four
or five minor versions of inline were all done by people other that Oleg (who
is the original author).  

I still feel pretty strongly that for anything beyond ad-hoc work and tests,
a package (rather than an inline "hack") should be used. In my view, that is
particularly true for a multi-person, multi-year effort such as Stan. But
what do I know...
 
| The thing is that Dirk said there were arguments, but I did not know that.  It would be nice to have them easily found.

I do not understand what you are trying to say here.

Dirk

| 
| Jiqiang
|
| On Aug 19, 2012, at 8:51 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
| 
| > 
| > The CRANberries service (http://dirk.eddelbuettel.com/cranberries/ just
| > reported this new package:
| > 
| >  New package cxxfunplus with initial version 1.0
| >  from CRANberries
| > 
| >  Package: cxxfunplus
| >  Type: Package
| >  Title: extend cxxfunction by saving the dynamic shared objects
| >  Version: 1.0
| >  Date: 2012-08-16
| >  Depends: inline
| >  Imports: methods
| >  Suggests: Rcpp (>= 0.8.0)
| >  Author: Jiqiang Guo 
| >  Maintainer: Jiqiang Guo 
| >  Description: extend cxxfunction by saving the dynamic shared objects for reusing across R sessions
| >  License: GPL-3
| >  URL: https://github.com/maverickg/cxxfunplus
| >  Packaged: 2012-08-19 01:57:39 UTC; jq
| >  Repository: CRAN
| >  Date/Publication: 2012-08-19 05:26:34
| > 
| > I am not really sure if that is a good idea or not -- as we have argued for
| > years that persistent storage of shared object is best done in a package --
| > but some of you may find this useful.
| > 
| > Dirk
| > 
| > -- 
| > Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com  
| > _______________________________________________
| > Rcpp-devel mailing list
| > Rcpp-devel at lists.r-forge.r-project.org
| > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel