Dear all,
I am running a simulation in which I randomly generate a series of vectors
to test whether they fulfill a certain condition. In most cases, there is no
problem. But from time to time, the (randomly) generated vectors are too
large for my system and I get the error message: Cannot
2011 11:54
Para: r-help@r-project.org
Asunto: [R] Cannot allocate vector of size x
Dear all,
I am running a simulation in which I randomly generate a series of vectors to
test whether they fulfill a certain condition. In most cases, there is no
problem. But from time to time, the (randomly
how much memory do you have on your system? How large are the vectors you are
creating? How many other large vectors do you have in memory? Remove all
unused objects and do gc() to reclaim some of the memory. Remember all objects
are in memory and you have to understand how large they are and
allocate vector of size x
how much memory do you have on your system? How large are the vectors you are
creating? How many other large vectors do you have in memory? Remove all
unused objects and do gc() to reclaim some of the memory. Remember all objects
are in memory and you have to understand how
4 matches
Mail list logo