[R] rnorm
Ben Bolker
bolker at ufl.edu
Fri Jul 17 05:08:36 CEST 2009
Don MacQueen wrote:
>
> When I try this:
>
>> tmp <- randz<-matrix(rnorm(2000000),2000,10000)
>> dim(tmp)
> [1] 2000 10000
>
> It gives a result in less than one second. Very quick. And the
> resulting matrix is not alarmingly big.
>
> There must be some other problem. Perhaps your computer has only a
> very small amount of memory?
>
>
> print(object.size(randz),units="Mb")
152.6 Mb
Once upon a time this would have been a big object, but not really any more
...
What do you get with gc() ? Do you have lots of other stuff lying around in
your workspace?
--
View this message in context: http://www.nabble.com/rnorm-tp24524329p24527925.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list