Antonio Paredes skreiv: > I'm hoping to get a response from some of the R gurus in this list. Is my > assumption that R is not designed or build to deal with high levels (a > lots of simulated data) simulation correct. For example, how to minimize > system time; do one have to call a lower level language like C or Fortran; > or just, like many of you have done, do a lots of programing in R and > eventually the tricks will be learned.
Please supply example code of what you are trying to do, and what the difficulty is. As I mentioned, there should be no problem in generating all the random variables at once, as R generates the same values if you do it in chunks or all at once, but the latter method is much faster. (The example code should be runnable without us having to have access to any private or undefined dataset. The example code you mentioned in your first post contains many undefined variables, and it is not clear what it is trying to accomplish.) -- Karl Ove Hufthammer E-mail: k...@huftis.org Jabber: huf...@jabber.no ______________________________________________ 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.