![]() ![]() I've tried setting it in ~/.R/Makevars, but RStudio doesn't seem to use this file. Warranty not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This is free software see the source for copying conditions. InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/binīut within standalone R: > system("gcc -version")Ĭopyright (C) 2019 Free Software Foundation, Inc. ![]() For example, within RStudio: > system("gcc -version")Ĭonfigured with: -prefix=/Applications/Xcode.app/Contents/Developer/usr -with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1Īpple clang version 11.0.0 (clang-1100.0.33.17) I've got gcc and ancillary tools installed via homebrew on my system, which works fine in standalone R, but when I try to install packages in RStudio, it uses the XCode version, which often leads to errors since it doesn't link the the right libraries, etc. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |