Comments (10)
I think this issue can be closed out of the Rcpp tracker as the project has taken root over at Rcpp11/attributes.
Please close. (Tagging #506)
from rcpp.
@jjallaire what would you think about factoring (part of) attributes in a standalone R package.
from rcpp.
I think that's a reasonable idea, but it is going to make maintaining and
updating Rcpp on CRAN more complicated (i.e. might require more
synchronized releases like the recent Rcpp & RcppArmadillo one).
Is there another way to allow Rcpp to use attributes in it's implementation
such as arranging for Makevars to call an R script to pre-process source
files? If so that might be the best of both worlds.
On Sat, Nov 9, 2013 at 2:15 AM, Romain François [email protected]:
@jjallaire https://github.com/jjallaire what would you think about
factoring (part of) attributes in a standalone R package.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/37#issuecomment-28121747
.
from rcpp.
chicken and the egg problem, if attributes are in Rcpp and we need attributes to build Rcpp, then we need Rcpp to build Rcpp ...
from rcpp.
I'm thinking that you might have an R script within the package that could
be sourced and invoked by Makevars. i.e. you could have an R code
dependency but not a package dependency on the attributes implementation.
That might be impossible or undesirable for many reasons I'm not
considering though.
On Sun, Nov 10, 2013 at 8:41 AM, Romain François
[email protected]:
chicken and the egg problem, if attributes are in Rcpp and we need
attributes to build Rcpp, then we need Rcpp to build Rcpp ...—
Reply to this email directly or view it on GitHubhttps://github.com//issues/37#issuecomment-28150768
.
from rcpp.
Working on this separately on the https://github.com/RcppCore/attributes repo.
from rcpp.
I'm wondering if factoring attributes into their own package will force users of Rcpp to do this:
LinkingTo: Rcpp, attributes
Is that correct? If so I think that's an unfortunate side effect of splitting them out. I continue to think that if there is a way to keep the code inside Rcpp but still achieve the extensibility and Rcpp build enhancements you are seeking that would be best.
from rcpp.
Not sure we would need to add attributes to LinkingTo. I certainly would not like that either.
One of the reason I'd like attributes to be apart is that the Rcpp
package is no longer the only Rcpp
implementation. It would be nice to be able to benefit from changes in attributes from either Rcpp or Rcpp11, and perhaps Rcpp98
from rcpp.
I am less concerned about this now that I understand that libRcpp.so is
still around (I had previously thought that LinkingTo would imply a
build-time only dependency and that the user might need an extra Depends or
LinkingTo to pull in the attributes package explicitly).
On Fri, Nov 15, 2013 at 4:10 PM, Romain François
[email protected]:
Not sure we would need to add attributes to LinkingTo. I certainly would
not like that either.One of the reason I'd like attributes to be apart is that the Rcpppackage is no longer the only
Rcpp implementation. It would be nice to be able to benefit from changes
in attributes from either Rcpp or Rcpp11, and perhaps Rcpp98—
Reply to this email directly or view it on GitHubhttps://github.com//issues/37#issuecomment-28603582
.
from rcpp.
I'm moving this to the next milestone. I think the "header mostly" feature on its own is enough material for a new release.
from rcpp.
Related Issues (20)
- New R-devel nags on 'R_forceSymbols' and `compileAttributes()` HOT 1
- sourceCpp compile error stderr cannot be caught/suppressed HOT 10
- rcpp name export error when installing packages that depend on rcpp HOT 5
- Can't use std::shared_ptr in Rcpp R 4.3 beta, Rcpp 1.0.10, using (specifically) C++23 HOT 17
- Document Rcpp functions with default arguments that appear in their header files HOT 3
- Memory management questions HOT 12
- Unexpected error-handling since 1.0.10 HOT 9
- Avoid readability-avoid-const-params-in-decls? HOT 5
- Add support for check.names HOT 5
- Compiler warning on windows-arm64 (libc++) HOT 3
- Figure 3 incorrect caption in Rcpp-introduction vignette HOT 2
- Upstreaming `std::tuple<>` support HOT 10
- sourceCpp crashes R when called about 1000 times on same code HOT 10
- Integer overflow in `MatrixRow` offset calculations for large matrices HOT 8
- Switch from S4SXP to OBJSXP HOT 2
- pass by const refererence HOT 1
- A fresh -Wformat-security issue under r-devel HOT 9
- 'CRAN package Rcpp' notice HOT 5
- Installation/Compiling Error for Package with Rcpp dependency - Ubuntu (rvmf.cpp?) HOT 5
- Exporting classes using `Rcpp::interfaces(cpp)` that are shared among multiple cpp files through header file HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rcpp.