R is using /private/tmp/*
to install libraries and compile C scripts. I need to change where that is done because of permission issues on my machine. How can I change this?
I remember there is a solution and I believe it involved setting something in .Renviron, but I cannot find it.
* installing *source* package ‘stringi’ ...
** package ‘stringi’ successfully unpacked and MD5 sums checked
** using staged installation
checking for R_HOME... /opt/homebrew/Cellar/r/4.4.0_1/lib/R
checking for R... /opt/homebrew/Cellar/r/4.4.0_1/lib/R/bin/R
checking for endianness... little
checking for cat... /bin/cat
checking whether the C++ compiler works... no
configure: error: in `/private/tmp/RtmpFvn4n8/R.INSTALL1707236046/stringi':
configure: error: C++ compiler cannot create executables
See `config.log' for more details