[R-SIG-Mac] Problems with R CMD config

Ken Beath ken at kjbeath.com.au
Thu Sep 1 01:43:20 CEST 2016

I’m trying to use STAN which uses R CMD config to check the availability of the compilers.

This works fine on my MacBook but on my iMac I have the documents on a separate hard drive. Within R CMD config it uses the location of the home  folder which because of my choice of name of hard drive has a space in it, and that causes problems with the batch file. In the following the volume should be Ken Main.

Kens-iMac:~ kjbeath1$ R CMD config CXX
make: /Volumes/Ken: No such file or directory
make: *** No rule to make target `/Volumes/Ken'.  Stop.

For those who are wondering why I don’t just change the name, this produces problems with other software.

Any ideas on a solution?

More information about the R-SIG-Mac mailing list