Jeffrey Horner <jeffrey.horner <at> gmail.com> writes: > Is this sufficient? > > if (.Machine$sizeof.pointer==4){ > cat('32\n') > } else { > cat('64\n') > } > > Or is it better to test something in R.version, say os?
No, the above is perfect, as it also works on other platforms to distinguish 32-bit and 64-bit. Regards, Martin ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel