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.
______________________________________________
R-help@r-project.org 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.