Re: [Rd] read.table segfaults

2011-08-27 Thread Göran Broström
On Fri, Aug 26, 2011 at 9:41 PM, Scott wrote: > It does look like you've got a memory issue. perhaps using >  as.is=TRUE, and/or stringsAsFactors=FALSE will help as optional arguments > to read.table > > if you don't specify these sorts of things, R can have to look through the > file and figure o

Re: [Rd] read.table segfaults

2011-08-27 Thread Göran Broström
On Fri, Aug 26, 2011 at 11:55 PM, Ben Bolker wrote: > Scott googlemail.com> writes: > >> >> It does look like you've got a memory issue. perhaps using >>   as.is=TRUE, and/or stringsAsFactors=FALSE will help as optional arguments >> to read.table >> >> if you don't specify these sorts of things,

Re: [Rd] read.table segfaults

2011-08-26 Thread Ben Bolker
Scott googlemail.com> writes: > > It does look like you've got a memory issue. perhaps using > as.is=TRUE, and/or stringsAsFactors=FALSE will help as optional arguments > to read.table > > if you don't specify these sorts of things, R can have to look through the > file and figure out which

Re: [Rd] read.table segfaults

2011-08-26 Thread Scott
It does look like you've got a memory issue. perhaps using as.is=TRUE, and/or stringsAsFactors=FALSE will help as optional arguments to read.table if you don't specify these sorts of things, R can have to look through the file and figure out which columns are characters/factors etc and so the l

Re: [Rd] read.table segfaults

2011-08-26 Thread Göran Broström
One further note: No problem with R version 2.13.0 (2011-04-13) Göran 2011/8/26 Göran Broström : > Another one: > > The 'death.RData' was created about a year ago, but ...? Same info as below. > > Göran > >> load("../Data/death.RData") >> summary(death) > >  *** caught segfault *** > address 0x

Re: [Rd] read.table segfaults

2011-08-26 Thread Göran Broström
Another one: The 'death.RData' was created about a year ago, but ...? Same info as below. Göran > load("../Data/death.RData") > summary(death) *** caught segfault *** address 0x4e04959, cause 'memory not mapped' Traceback: 1: match(x, levels) 2: factor(a, levels = ll[!(ll %in% exclude)]

[Rd] read.table segfaults

2011-08-26 Thread Göran Broström
> fil2s <- read.table("../Data/fil2_s.txt", header = FALSE, sep = "\t") Program received signal SIGSEGV, Segmentation fault. 0x0041c2e1 in RunGenCollect (size_needed=8192000) at memory.c:1514 1514PROCESS_NODES(); (gdb) > sessionInfo() R version 2.13.1 Patched (2011-08-25 r56798)