[R] bus error macosx/off-topic

Ingmar Visser i.visser at uva.nl
Thu May 13 12:12:23 CEST 2004


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? 

The situation is this: I pass arguments from R to C, then most of these are
passed on to a Fortran routine, and then the same way back.

I suppose that at the end of the C-routine the arguments are copied back to
R. Where/who or what decides what the length of a vector is that is passed
back to R?

Best, ingmar




More information about the R-help mailing list