![]() ![]() Install clang: go to R page, and there is a list of r tools for Mac, pick correct version of clang for the current R version. Once only the appropriate Java version is present in above folder, re-run R CMD javareconf. Do not attempt to uninstall Java by removing the Java tools from /usr/bin. Sometimes the latest Java JDK doesn’t work (e.g., current Java JDK 12 is not supported, while version 11 is), so install the appropriate version of Java JDK again, then go to /Library/Java/JavaVirtualMachines and remove the directory whose name matches the following format /Library/Java/JavaVirtualMachines/. This requires root user to be enabled so java can access and write (type in Terminal the following: dsenableroot to enable root user). Install Java JDK, then go to Terminal, sign in as root user, type in R CMD javareconf so it's set up. After installation, open it to accept terms then need to install command line tools: go to terminal, type in xcode-select -install. ![]() Please google for the latest download links the texts refer to. Here are the steps that led to successful installation of R on a new Mac lately, with no issues compiling from source. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |