From dmurdoch@pair.com  Thu Jul 25 16:16:00 2002
From: dmurdoch@pair.com (Duncan Murdoch)
Date: Thu, 25 Jul 2002 11:16:00 -0400
Subject: Platforms with MSB (Most Significant Byte)
In-Reply-To: <Pine.LNX.4.31.0207251608440.30303-100000@matheron.estadi.uv.es>
References: <Pine.LNX.4.31.0207251608440.30303-100000@matheron.estadi.uv.es>
Message-ID: <r750ku8bvr0qm5fftsgcvj9kcqditsmeho@4ax.com>

On Thu, 25 Jul 2002 16:15:31 +0200 (CEST), you wrote:

>Hi,
>
>I asked some days ago how to guess the o.s. the machine is running. I
>found that it is stored in a variable called  R_PLATFORM. Now I need a
>full list of  all the values this variable can have because I need to set
>an option  depending on the endianness of the platform in which we are
>compiling the package.
>
> Anyone can help me? Thanks,

I don't think a complete list exists.  I'd suggest running R to find
out:  Platform()$endian gives the result you need, so something like
this works in Windows:

 echo cat(Platform()$endian) | Rterm --slave

Duncan Murdoch

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Platforms with MSB (Most Significant Byte)
Duncan Murdoch