Re: [R] Operating System Variable

2010-03-05 Thread Prof Brian Ripley
See ?R.version ?Sys.info ?.Platform On Windows, ?win.version It all depends what you mean by 'Operating System'. On Fri, 5 Mar 2010, Rob Helpert wrote: Hi. Is there an easy way (analogous to the $^O variable in perl) to find That's a pretty basic description. Even R.version$os often gives

Re: [R] Operating System Variable

2010-03-05 Thread Duncan Murdoch
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 p

Re: [R] Operating System Variable

2010-03-05 Thread Rob Helpert
Excellent! Thank you. On Fri, Mar 5, 2010 at 9:52 AM, Henrique Dallazuanna wrote: > Try: > > .Platform$OS.type > > On Fri, Mar 5, 2010 at 11: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 us

Re: [R] Operating System Variable

2010-03-05 Thread Henrique Dallazuanna
Try: .Platform$OS.type On Fri, Mar 5, 2010 at 11: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? > > Thanks. > > __ > R-help@r-project.org mailin