Displaying 6 results from an estimated 6 matches for "evalcpp".
Did you mean:
  evalcmd
  
2018 Aug 25
1
Where does L come from?
...ters given that R has precisely one integer type so I am
unsure where you see the confusion between long int and int.
 
| The fact that nowadays "int" and "long int" have the same size on most
| platforms is only anecdotal here.
|
| Just my 2 cents.
Are you sure?
  R> Rcpp::evalCpp("sizeof(long int)")
  [1] 8
  R> Rcpp::evalCpp("sizeof(int)")
  [1] 4
  R> 
Dirk
| H.
| 
| On 08/25/2018 10:01 AM, Dirk Eddelbuettel wrote:
| > 
| > On 25 August 2018 at 09:28, Carl Boettiger wrote:
| > | I always thought it meant "Long" (I'm assum...
2018 Aug 25
3
Where does L come from?
On 25 August 2018 at 09:28, Carl Boettiger wrote:
| I always thought it meant "Long" (I'm assuming R's integers are long
| integers in C sense (iirrc one can declare 'long x', and it being common to
| refer to integers as "longs"  in the same way we use "doubles" to mean
| double precision floating point).  But pure speculation on my part, so I'm
|
2018 Feb 27
0
Problem with R_registerRoutines
...ckage to freshly generated packages by Rcpp.package.skeleton() and RcppArmadillo.package.skeleton().
(Since I had old-ish version of R and Rdevel, I updated them too. )
I believe that you also need to import something from Rcpp (but not from RcppArmadillo). Try the following line
importFrom(Rcpp, evalCpp)
in NAMESPACE (I believe that it is generated by both, Rcpp.package.skeleton() and RcppArmadillo.package.skeleton()).
The path issue on Windows is a separate one. I typically start a command window from a batch file which sets the paths and environment variables maybe more defensively,  and the...
2018 Feb 27
0
R-devel Digest, Vol 180, Issue 24
...ckage to freshly generated packages by Rcpp.package.skeleton() and RcppArmadillo.package.skeleton().
(Since I had old-ish version of R and Rdevel, I updated them too. )
I believe that you also need to import something from Rcpp (but not from RcppArmadillo). Try the following line
importFrom(Rcpp, evalCpp)
in NAMESPACE (I believe that it is generated by both, Rcpp.package.skeleton() and RcppArmadillo.package.skeleton()).
The path issue on Windows is a separate one. I typically start a command window from a batch file which sets the paths and environment variables maybe more defensively,  and the...
2012 Nov 14
0
Rcpp 0.10.0
...and can also be adapted to other C++ types and libraries as described
in the Rcpp-extending vignette.
Rcpp attributes and their supporting functions include: 
 - Rcpp::export attribute to export a C++ function to R
 - sourceCpp function to source exported functions from a file
 - cppFunction and evalCpp functions for inline declarations and execution
 - Rcpp::depends attribute for specifying additional build dependencies
   for sourceCpp
Attributes can also be used for package development via the `compileAttributes`
function, which generates an Rcpp module for all exported functions within
an R p...
2012 Nov 14
0
Rcpp 0.10.0
...and can also be adapted to other C++ types and libraries as described
in the Rcpp-extending vignette.
Rcpp attributes and their supporting functions include: 
 - Rcpp::export attribute to export a C++ function to R
 - sourceCpp function to source exported functions from a file
 - cppFunction and evalCpp functions for inline declarations and execution
 - Rcpp::depends attribute for specifying additional build dependencies
   for sourceCpp
Attributes can also be used for package development via the `compileAttributes`
function, which generates an Rcpp module for all exported functions within
an R p...