[Rcpp-devel] sourceCpp() crashes R64

Walter Gmail walter.djuric at gmail.com
Thu Dec 20 23:37:48 CET 2012


I would like to report a "bug". I am not sure, if I am right here. 
But … 
The command 
sourceCpp("source-file.cpp") 
causes R to crash, when (by mistake) your current working directory is not the one that holds this source file. 
When the working directory or is set to the directory containing the source file, all works fine. 

Configuration: 
Mac OS  10.8.2
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
R version 2.15.2 (2012-10-26) 
Rcpp 0.10.1.3 
 
Guess there is just a (small) "No such file or directory" routine missing here. 

Greetings, Walter  


More information about the Rcpp-devel mailing list