[Rcpp-devel] sourceCpp() crashes R64

Walter Gmail walter.djuric at gmail.com
Fri Dec 21 00:43:53 CET 2012

I updated to (from r-forge)
Sorry to disappoint but still the same behaviour … 

BUT … when "downgrading" to 0.10.1 I get expected behaviour i.e. command results in: 
Error in sourceCpp("source-file.cpp") : file not found: 'source-file.cpp'

Cheers, W
On Dec 20, 2012, at 11:57 PM, JJ Allaire <jj.allaire at gmail.com> wrote:

> Hi Walter,
> I believe this has been fixed but it would be great if you could verify in your setup. Could you try with the very latest Rcpp from either svn or R-forge (http://r-forge.r-project.org/R/?group_id=155)
> Thanks!
> J.J.
> On Thu, Dec 20, 2012 at 5:37 PM, Walter Gmail <walter.djuric at gmail.com> wrote:
> 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
> Guess there is just a (small) "No such file or directory" routine missing here.
> Greetings, Walter
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20121221/c664bbae/attachment.html>

More information about the Rcpp-devel mailing list