Skip to content
Prev 278058 / 398502 Next

Setting hostname in the .Renvironment

On 21.11.2011 01:32, Jonathan Greenberg wrote:
Depends on the shells you are using and where it is defined, but you 
definitely need braces rather than quotes as in:


R_LIBS_USER="~/lib/R/library/${HOSTNAME}"


and I have to

export HOSTNAME ${HOSTNAME}

at first on the machines I am using to have it accessible for R.

Best,
Uwe Ligges