Hi,
Im on a Windows 10 machine, using R 3.2.3. and when I try to source a cpp file using rcpp11 it throws an error:
in R:
devtools::install_github("Rcpp11/attributes")
library(Rcpp11)
attributes::sourceCpp('RSFTOptimal.cpp')
where the file RSFTOptimal.cpp contains only the header
#include <Rcpp11>
#include <exception>
The error reads (sorry German) that it cant find a file in Temp
kann shared object 'C:/Users/JANAJA~1/AppData/Local/Temp/Rtmp6FPAJ4/file40802ef27b94.dll' nicht laden:
LoadLibrary failure: Das angegebene Modul wurde nicht gefunden.
This stackoverflow post could not really help: http://stackoverflow.com/questions/23927305/include-rcpp11-file-not-found-error
What am I doing wrong?
Hi,
Im on a Windows 10 machine, using R 3.2.3. and when I try to source a cpp file using rcpp11 it throws an error:
in R:
where the file RSFTOptimal.cpp contains only the header
The error reads (sorry German) that it cant find a file in Temp
This stackoverflow post could not really help: http://stackoverflow.com/questions/23927305/include-rcpp11-file-not-found-error
What am I doing wrong?