Re:Snippets of code for things you do all the time in R
by ltjohnson on Thursday January 13, 2011 @11:58AM
(#2100417)
You gotta do what you gotta do, but your example probably doesn't do what you want in R.
My computer takes .2 seconds to generate the million random normals and assign them to vec1.
My computer only takes 0 seconds to evaluate the existing vec1 of length one million.
[ Parent
| on HN ]
Re:Snippets of code for things you do all the time in R
by hessenwolf on Thursday January 13, 2011 @12:19PM
(#2100510)
Ah - sorry - I was being a bit t'ick, and didn't twig the time thing. Should I require it, I will keep it in mind. Thank you.