One way is to look at .Machine$sizeof.pointer -- 4 on 32-bit and 8 on 64-bit.
luke On Fri, 18 Aug 2006, McGehee, Robert wrote: > Hello, > Is there a way to query whether R has been compiled using 32- or > 64-bits? A certain memory-intensive simulation will need to be optimized > differently depending on the memory constraints of the architecture such > that it will run quickly in 64-bits, and will run within ~3GB under > 32-bits. And as I'd like to distribute the simulation across a > mixed-architecture cluster using the snow package, I'd like each R > process to be optimized accordingly. > > Thanks, > Robert > > Robert McGehee > Quantitative Analyst > Geode Capital Management, LLC > 53 State Street, 5th Floor | Boston, MA | 02109 > Tel: 617/392-8396 Fax:617/476-6389 > mailto:[EMAIL PROTECTED] > > > >> This e-mail, and any attachments hereto, are intended for ...{{dropped}} > > ______________________________________________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Luke Tierney Chair, Statistics and Actuarial Science Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics and Fax: 319-335-3017 Actuarial Science 241 Schaeffer Hall email: [EMAIL PROTECTED] Iowa City, IA 52242 WWW: http://www.stat.uiowa.edu ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel