[Rd] Return values from .Call and garbage collection

Jon Senior jon at restlesslemon.co.uk
Tue Jan 27 18:18:30 CET 2009


On Tue, 27 Jan 2009 12:25:12 -0000
"Sklyar, Oleg \(London\)" <osklyar at maninvestments.com> wrote:

> Most likely issue is your code itself, out of range indexing, failure to
> initialise all elements of the allocated structure correctly, 1 and not
> 0-based indexing, use of other R variables for initialisation that
> should have been protected but were not etc. 

Apologies one and all. Oleg was right. I was writing into a Matrix but my method for doing so was wrong. Error fixed, and now it's all behaving. Thanks.

-- 
Jon Senior <jon at restlesslemon.co.uk>



More information about the R-devel mailing list