我想安装ggalt需要proj4安装软件包的软件包,但是当我安装时proj4它会抛出错误libproj and/or proj_api.h not found in standard search locations。
我的电脑是Mac,安装时PROJ.4使用的brew install proj是R的版本是3.6.0_2。我在网上搜索了这个问题,但没有找到解决的方法。我不是编码员,刚刚开始学习R,所以我现在不知道该怎么做。
错误显示如下:
\n\n* installing *source* package \xe2\x80\x98proj4\xe2\x80\x99 ...\n** package \xe2\x80\x98proj4\xe2\x80\x99 successfully unpacked and MD5 sums checked\n** using staged installation\nchecking for gcc... clang\nchecking whether the C compiler works... yes\nchecking for C compiler default output file name... a.out\nchecking for suffix of executables... \nchecking whether we are cross compiling... no\nchecking for suffix of object files... …Run Code Online (Sandbox Code Playgroud)