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?

Ask again, and this time include any error messages.

-Don

At 10:54 PM +0200 7/16/09, Jose Narillos de Santos wrote:
Hi I want to simulate random numbers normal distributed with this size
(2000,10000).

I tried this but my computer exhaust there is a fast way to make it?


randz<-matrix(rnorm(2000000),2000,10000)

        [[alternative HTML version deleted]]

______________________________________________
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.


--
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
925-423-1062

______________________________________________
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.

Reply via email to