On 05/03/2010 9:45 AM, Rob Helpert wrote:
Hi.
Is there an easy way (analogous to the $^O variable in perl) to find
out what operating system R is currently using?
.Platform is probably what you want. R.version gives related
information. I don't think there's anything built in to determine
platform version numbers.
For instance, running 32-bit R on 64-bit Windows 7 .Platform says
> .Platform
$OS.type
[1] "windows"
$file.sep
[1] "/"
$dynlib.ext
[1] ".dll"
$GUI
[1] "Rgui"
$endian
[1] "little"
$pkgType
[1] "win.binary"
$path.sep
[1] ";"
$r_arch
[1] ""
Duncan Murdoch
______________________________________________
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.