Questions tagged [rcpp11]

Rcpp11 is an R package shipping a C++11 library facilitating integration between R and C++.

49 questions
0
votes
1 answer

Call one Rcpp function inside another passing through DataFrame

I've been converting some R code to Rcpp functions recently. I'm simulating people parking their cars in parking lots. I have a function which picks which lot a person will park in based on what gate they enter through and the fullness of the…
Mark
  • 4,387
  • 2
  • 28
  • 48
0
votes
1 answer

Compiling under Rcpp11 fails, cannot find 'future'

I'm attempting to compile an R package using the Rcpp11 bindings to use a C++11 binary under the hood. I have successfully compiled and used this package on my Mac (OSX 10.9.5, the compiler is clang++): Apple LLVM version 6.0 (clang-600.0.51) (based…
Wesley
  • 1,324
  • 1
  • 11
  • 27
-1
votes
1 answer

cpp11 gives error "object not found" for all c++ functions

I am trying to write a package using C++11 and have succeeded in writing code that runs correctly when sourced with cpp11::cpp_source(). However, when I try to load the functions using devtools, I get an error stating that the function cannot be…
Peter
  • 1
  • 1
-1
votes
2 answers

Rcpp WARNING: The tools required to build C++ code for R were not found

I just used Rcpp Rcpp::sourceCpp('D:\\6_R_tool\\04_track_cluster\\line_cluster_c.cpp') and error occcurs: It works Ok some days ago, but failed today suddenly. My R version is 4.0.2. C:/PROGRA~1/R/R-40~1.2/etc/x64/Makeconf:244: warning: overriding…
Justin
  • 327
  • 3
  • 13
1 2 3
4