[Rcpp-devel] sourceCpp() crashes R64
zhouyan at me.com
Fri Dec 21 01:34:17 CET 2012
I am not sure about the R-forge build, but at least the CRAN Mac binaries (R and packages) are built with toolchains no longer exists in recent Mac OS X (such as 10.8.2, well there are ways to get them though not from Apple). That may cause issues I guess.
On Dec 21, 2012, at 8:26 AM, JJ Allaire <jj.allaire at gmail.com> wrote:
> So perhaps there's an issue with the way Mac binaries are built on R-forge? Perhaps a divergent set of headers or some difference in the way the C++ standard library is linked to?
> Glad things are working for you. We'll investigate further to see if we can figure out how and why this crops up. Thanks for your help!
> On Thu, Dec 20, 2012 at 7:18 PM, Walter Gmail <walter.djuric at gmail.com> wrote:
> I have to step one step back. When installing from source - everything green!
> Installing binary packages seemed to cause that issue.
> Thank you very much for the assistance.
> On Dec 21, 2012, at 1:00 AM, JJ Allaire <jj.allaire at gmail.com> wrote:
>> I am unable to reproduce locally -- could you send along all of the details of your case (filename, file contents if possible, directory names, etc.
>> On Dec 20, 2012, at 6:43 PM, Walter Gmail <walter.djuric at gmail.com> wrote:
>>> 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.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)
>>>> 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
>>>> 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.
>>>> 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 at lists.r-forge.r-project.org
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rcpp-devel