Displaying 2 results from an estimated 2 matches for "_complitely_".
Did you mean:
_completely_
2017 Dec 03
0
Rcpp, dyn.load and C++ problems
...t;Rcpp calling C++ functions from R" gives a lot
| of result but I think
| some of them are outdated and others don't agree with each other.
|
| Can you point to a specific good on-line guide for me?
6) Call me crazy but maybe the nine vignettes included with the package?
In essence you _complitely_ missed what Rcpp Attributes does and shows, as
does the (newer) Rcpp Introduction vignette.
More crazy, your file was actually 100% correct. I just added three lines to
_also_ execute R code (and I indented just for clarity)
/*** R
res <- compute_values_cpp()
str(res)
*/
Then...
2017 Dec 03
5
Rcpp, dyn.load and C++ problems
Hi,
I have written a small C++ function and compile it.
However in R I can't see the function I have defined in C++.
I have read some web-pages about Rcpp and C++ but it is a bit confusion
for me.
Anyway,
This is the C++-code:
#include <Rcpp.h>
using namespace Rcpp;
// [[Rcpp::export]]
List compute_values_cpp(int totalPoints = 1e5, double angle_increment =
0.01, int radius =