Skip to content
Back to formatted view

Raw Message

Message-ID: <86e2a1d30905230630n815a008pa26b2c340410a853@mail.gmail.com>
Date: 2009-05-23T13:30:54Z
From: Rock Ouimet
Subject: Problem to read file with filehash

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]]