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  
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to