<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I updated to 0.10.1.5 (from r-forge)<div>Sorry to disappoint but still the same behaviour … </div><div><br></div><div>BUT … when "downgrading" to 0.10.1 I get expected behaviour i.e. command results in: </div><div>Error in sourceCpp("source-file.cpp") : file not found: 'source-file.cpp'<br><div><br></div><div>Cheers, W</div><div> <br><div><div>On Dec 20, 2012, at 11:57 PM, JJ Allaire <<a href="mailto:jj.allaire@gmail.com">jj.allaire@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><font face="arial,helvetica,sans-serif">Hi Walter,</font><div><font face="arial,helvetica,sans-serif"><br></font></div><div><font face="arial,helvetica,sans-serif">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 (<a href="http://r-forge.r-project.org/R/?group_id=155">http://r-forge.r-project.org/R/?group_id=155</a>)</font></div>
<div><font face="arial,helvetica,sans-serif"><br></font></div><div><font face="arial,helvetica,sans-serif">Thanks!</font></div><div><font face="arial,helvetica,sans-serif"><br></font></div><div><font face="arial,helvetica,sans-serif">J.J.<br>
</font><br><div class="gmail_quote">On Thu, Dec 20, 2012 at 5:37 PM, Walter Gmail <span dir="ltr"><<a href="mailto:walter.djuric@gmail.com" target="_blank">walter.djuric@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I would like to report a "bug". I am not sure, if I am right here.<br>
But …<br>
The command<br>
sourceCpp("source-file.cpp")<br>
causes R to crash, when (by mistake) your current working directory is not the one that holds this source file.<br>
When the working directory or is set to the directory containing the source file, all works fine.<br>
<br>
Configuration:<br>
Mac OS  10.8.2<br>
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)<br>
R version 2.15.2 (2012-10-26)<br>
Rcpp 0.10.1.3<br>
<br>
Guess there is just a (small) "No such file or directory" routine missing here.<br>
<br>
Greetings, Walter<br>
_______________________________________________<br>
Rcpp-devel mailing list<br>
<a href="mailto:Rcpp-devel@lists.r-forge.r-project.org">Rcpp-devel@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a><br>
</blockquote></div><br></div>
</blockquote></div><br></div></div></body></html>