Skip to content
Prev 42926 / 398503 Next

memory limitation with Fortran interface

On Mon, Jan 19, 2004 at 12:19:06PM +0100, Guillot Gilles wrote:
^^^^^^^^^^^

Two errors here:

1. You must allocate memory for x in the calling R function and have x as
an argument to 'test'

2. Use double precision ('double' in R)

Another recommendation is to write an  R  package for tasks like yours.
It is easier than you may think; see 'Writing R extensions'.

G?ran