Displaying 1 result from an estimated 1 matches for "coastal_gebco_sands_blend".
2005 Aug 08
1
Reading large files in R
Dear R-listers:
I am trying to work with a big (262 Mb) file but apparently reach a
memory limit using R on a MacOSX as well as on a unix machine.
This is the script:
> type=list(a=0,b=0,c=0)
> tmp <- scan(file="coastal_gebco_sandS_blend.txt", what=type,
sep="\t", quote="\"", dec=".", skip=1, na.strings="-99", nmax=13669628)
Read 13669627 records
> gebco <- data.frame(tmp)
Error: cannot allocate vector of size 106793 Kb
Even tmp does not seem right:
> summary(tmp)
Er...