I am trying to install a package and that requires some info on R architecture in use i.e. 32 bit or 64 bit.
When I am using following command it is giving me 64 bit:
With other commands like
.Platform$r_arch o/p is ""
R.version$arch o/p is powerpc
When I start R i.e. when I run 'R' command, during startup it correctly tells the version i.e. 64-bit or 32-bit depending on the R version I am using.
/bar/foo> sudo R
R version 3.6.1 (2019-07-05) -- "Action of the Toes"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: powerpc-ibm-aix188.8.131.52 (64-bit)
Can someone please help with the command used to get the above "Platform" detail during R setup so that I can use the same for my own script?