Skip to content

puzzling script bug

1 message · Robert Kinley

#
Weeell ,  you were absolutely right.

Turns out I was trying to be too clever by  allowing
for a different sized array in each call to a .C dll 
within the same R script.

Changed it to the max size the script can request and 
all is gas and gaiters.

Thanks for the pointer.

	Cheers		Bob kinley


 
-----Original Message-----
From: Patrick Burns [mailto:pburns at pburns.seanet.com] 
Sent: 21 September 2012 09:27
To: Robert Douglas Kinley
Subject: Re: [R] puzzling script bug

Bob,

I haven't noticed if you've had any
responses or not.

The '.C' calls are almost surely the
problem, and the problem with them is
that there is probably a memory out of
bounds problem.

The best way to find those is to use
valgrind on Linux.  Trying to find them
under Windows is hard.  As in really hard.

Good luck,
Pat
On 20/09/2012 16:34, Robert Douglas Kinley wrote: