Skip to content
Prev 140618 / 398506 Next

Error: cannot allocate vector of size 3.0 Gb

Looks like you attach() the data frame before you try t/o plot.  Note
that in the "Details" section of ?attach, it says:

"... The database is not actually attached. Rather, a new environment is
created on the search path and the elements of a list (including columns
of a data frame) or objects in a save file or an environment are copied
into the new environment. ..."

so it's probably a bad idea to do the attach().  Have you tried:

with(DowJones, plot(Date, Close))

?

About 4 years ago I've posted an example of creating a matrix that took
up >6GB, on a dual Opteron w/ 16GB ram running 64-bit SuSE and 64-bit R.
So yes, it's possible.  Nowadays we do it nearly on a daily basis.

Andy

From: John
------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachme...{{dropped:15}}