In windows try this: Sys.getenv('NUMBER_OF_PROCESSORS')
On Sun, Oct 3, 2010 at 2:03 PM, Ajay Ohri <ohri2...@gmail.com> wrote: > Dear List > > Sorry if this question seems very basic. > > Is there a function to pro grammatically find number of processors in > my system _ I want to pass this as a parameter to snow in some serial > code to parallel code functions > > Regards > > Ajay > > > > Websites- > http://decisionstats.com > http://dudeofdata.com > > > Linkedin- www.linkedin.com/in/ajayohri > > ______________________________________________ > 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. > -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O [[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.