Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/76.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在Mac上构建libRmath.dylib_R_Macos - Fatal编程技术网

如何在Mac上构建libRmath.dylib

如何在Mac上构建libRmath.dylib,r,macos,R,Macos,我是Mac用户。我正在尝试安装libRmath.dylib,这是R中的独立Rmath库。我发现R默认情况下不编译libRmath。所以我试着从源代码编译Rmath库。但我只能在CRAN上找到Windows/Unix的.tar文件,而“/configure”命令给了我一大堆“否”和“错误” 有没有办法在Mac上安装libRmath.dylib?多谢各位 这有帮助吗?看起来您需要必要的标题和更好的编译器,但是上面链接的自制选项可能是最快的解决方案。对不起,我应该在终端中写什么?“brew安装r-仅限

我是Mac用户。我正在尝试安装libRmath.dylib,这是R中的独立Rmath库。我发现R默认情况下不编译libRmath。所以我试着从源代码编译Rmath库。但我只能在CRAN上找到Windows/Unix的.tar文件,而“/configure”命令给了我一大堆“否”和“错误”


有没有办法在Mac上安装libRmath.dylib?多谢各位

这有帮助吗?看起来您需要必要的标题和更好的编译器,但是上面链接的自制选项可能是最快的解决方案。对不起,我应该在终端中写什么?“brew安装r-仅限使用librmath”?很好的“brew安装r-仅限使用librmath”功能。非常感谢你!!!
checking whether C runtime needs -D__NO_MATH_INLINES... no
checking for xmkmf... no
checking whether linker supports dynamic lookup... yes
checking whether g++  supports C++98 features by default... yes
checking whether g++  supports C++11 features by default... no
checking whether g++  supports C++11 features with -std=gnu++11... yes
checking whether g++  supports C++14 features by default... no
checking whether g++  supports C++14 features with -std=gnu++14... no
checking whether g++  supports C++14 features with -std=gnu++1y... no
checking whether g++  supports C++14 features with -std=c++14... no
checking whether g++  supports C++14 features with -std=c++1y... no
configure: No compiler with C++14 support was found
checking whether   supports C++17 features by default... no
checking whether   supports C++17 features with -std=gnu++17... no
checking whether   supports C++17 features with -std=gnu++1z... no
checking whether   supports C++17 features with -std=c++17... no
checking whether   supports C++17 features with -std=c++1z... no
configure: No compiler with C++17 support was found
checking for off_t... yes
...
checking if bzip2 version >= 1.0.6... yes
checking whether bzip2 support suffices... yes
checking for lzma_version_number in -llzma... yes
checking lzma.h usability... no
checking lzma.h presence... no
checking for lzma.h... no
configure: error: "liblzma library and headers are required"