[R] Error of 'memory not mapped' in ff Package with VirtualBox

Wonsang You you at ifn-magdeburg.de
Wed Feb 2 12:55:05 CET 2011


Dear R Helpers,

I would like to report on an error in the ff package here.
The ff package is an R package which enables us to store large data on disk
systematically and have fast access to the database.
I used the package in Linux as a guest OS of VirtualBox, and executed the
following commands.

library(ff)
x<-ff(1:5,length=5,update=TRUE,vmode="double",filename="header.ff",overwrite=TRUE)

Afterwards, I got the following error message.

*** caught segfault ***
address 0xffffffff, cause 'memory not mapped'

Traceback:
 1: .Call("get_vector", .ffmode[vmode], attr(x, "physical"), index,    
nreturn, PACKAGE = "ff")
 2: `[.ff`(ret, 1)
 3: ret[1]
 4: as.vector(ret[1])
 5: identical(as.vector(initdata[1]), as.vector(ret[1]))
 6: ff(1:5, length = 5, update = TRUE, vmode = "double", filename =
"header.ff",     overwrite = TRUE)

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection:

Can anyone give an advice to solve the problem?

Best Regards,
Ryan

-----
Wonsang You
Leibniz Institute for Neurobiology
-- 
View this message in context: http://r.789695.n4.nabble.com/Error-of-memory-not-mapped-in-ff-Package-with-VirtualBox-tp3253856p3253856.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list