Skip to content
Prev 23236 / 63421 Next

Segfault in pure R code

On 12/13/06, Peter Dalgaard <p.dalgaard at biostat.ku.dk> wrote:
[...]
I moved the relevant files to a new, empty directory to keep things
clean, and it resulted in a variation of the error:
++++++++++++++++++++++++++++++++++
Error: syntax error in "?xtable)"
Making links in per-session dir ...
If '/usr/bin/firefox' is already running, it is *not* restarted, and
    you must switch to its window.
Otherwise, be patient ...
Error in attributes(.Data) <- c(attributes(.Data), attrib) :
        value of 'SET_ATTRIB' must be a pairlist or NULL, not a 'raw'
Program received signal SIGSEGV, Segmentation fault.
0x08148cd0 in Rstrlen (s=0x0, quote=34) at printutils.c:342
342         return Rstrwid(CHAR(s), LENGTH(s), quote);
++++++++++++++++++++++++++++++++++++++++

('gu' is a data frame in 'bemanning07-32.rda', used by 'courses')

Does that throw any light on the matters?

Also tried to move things to my job machine, with other versions of R
and bemanning, but no errors there.

G?ran