[R-sig-DB] Problem to read file with filehash

Rock Ouimet rock@ou|met @end|ng |rom gm@||@com
Sat May 23 15:30:54 CEST 2009


Dear R users,

I try to use a very large file (~3 Gib) with the *filehash* package. The
length of the dataset is around 4,000,000 obs. I get this message from R
while trying to "load" the dataset (named "cc084.csv"):

I launched the following codes:
library(*filehash*)
dumpDF(read.csv("cc084.csv", header=T), dbName="db01")
mydb <- db2env("db01")

R replied:

> dumpDF(read.csv("cc084.csv", header=T), dbName="db01")
Erreur : impossible d'allouer un vecteur de taille 15.6 Mo (French)
Error: impossible to allow a vector of size 15.6 Meg (my English
translation)

There must be something I'm doing wrong...  I would appreciate any help.
Thank you.
My R version is 2.8.1.

Rock

	[[alternative HTML version deleted]]




More information about the R-sig-DB mailing list