Re: [Rd] Have you ever experienced this problem with REAL in a C code

2008-05-09 Thread Prof Brian Ripley
These messages mean that R's internal code is encountering the wrong SEXPTYPE. This almost always means one of - lact of PROTECTion, so objects have been garbage-collected before use. - memory corruption, most often by writing outside array bounds. See the chapter in 'Writing R Extensions'

Re: [Rd] Have you ever experienced this problem with REAL in a C code

2008-05-09 Thread Mathieu Ribatet
Thanks. These are good suggestions. I'll have a closer look (again) at the code. Best, Mathieu Prof Brian Ripley a écrit : These messages mean that R's internal code is encountering the wrong SEXPTYPE. This almost always means one of - lact of PROTECTion, so objects have been