Hi,
I am trying to run the bigmemory example provided on the
http://www.bigmemory.org/
The example runs on the "airline data" and generates summary of the csv
files:-
library(bigmemory)
library(biganalytics)
x <- read.big.matrix("2005.csv", type="integer", header=TRUE,
backingfile="airline.bin",
descriptorfile="airline.desc",
extraCols="Age")
summary(x)
This runs fine for the provided csv for year 1987 (size=121MB). However, for
big files like for year 2005 (size=639MB), it gives following errors:-
Error in filebacked.big.matrix(nrow = nrow, ncol = ncol, type = type, :
Problem creating filebacked matrix.
Error: object 'x' not found
Error in summary(x) :
error in evaluating the argument 'object' in selecting a method for
function 'summary'
Here is the output from running the memory.limit() :-
[1] 2047
Here is the output from running the memory.profile() :-
NULL symbol pairlist closure environment promise
1 9381 325570 6477 744 3710
language special builtin char logical integer
121940 178 1600 15068 9518 8981
double complex character ... any list
7983 17 47593 0 0 4073
expression bytecode externalptr weakref raw S4
2 0 618 117 119 1838
Anyone who has previously worked with bigmemory before could throw some
light on it.
Were you able to run the examples successfully?
Thanks in advance.
Harsh Yadav
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.