I updated to 0.10.1.5 (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.alla...@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.dju...@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 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
> 

_______________________________________________
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