[R] bus error macosx/off-topic

Ingmar Visser i.visser at uva.nl
Mon May 17 12:32:33 CEST 2004


On 5/13/04 12:46 PM, "Prof Brian Ripley" <ripley at stats.ox.ac.uk> wrote:

> On Thu, 13 May 2004, Ingmar Visser wrote:
> 
>> Dear Prof Ripley,
>> Thanks for your answer.
>> 
>> On 5/12/04 2:52 PM, "Prof Brian Ripley" <ripley at stats.ox.ac.uk> wrote:
>> 
>>> These normally occur (at that point) from having written off one end of an
>>> array. (If you are using .C/.Fortran, they try to copy back the
>>> arguments.) Compiling with bounds checking turned on can help, at least
>>> with Fortran.
>> 
>> Can I invoke compile options if/when I use R cmd install etc. to install
>> packages? 
> 
> By using a Makevars file: see Writing R Extensions.


I got Makevars to work with bounds checking for the fortran files. Does
something similar exist for C/C++ code?

ingmar visser




More information about the R-help mailing list