I find it very hard to get PythonInR setup to also work well with Python 3.6 under mac.
By default it will take the 2.7 version even though I changed the path to look for 3.6
Python 3.6.3 :: Anaconda, Inc.
I set the variable as suggested:
However, when installing from source:
install.packages("PythonInR", type = "source")
I get a compiler error:
ld: library not found for -lpython3.6m clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [PythonInR.so] Error
i think it would be much better if you could specify which python you could use like in the new package from RStudio reticulate.
Help is appreciated.