在安装curl包装时
install.packages("curl")
Installing package into ‘/home/mrshekar/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/curl_3.2.tar.gz'
Content type 'application/x-gzip' length 367047 bytes (358 KB)
==================================================
downloaded 358 KB
* installing *source* package ‘curl’ ...
** package ‘curl’ successfully unpacked and MD5 sums checked
’
Run Code Online (Sandbox Code Playgroud)
之后,我从https://packages.ubuntu.com/xenial/amd64/libcurl4-openssl-dev/download安装了libcurl软件包。然后,我还将整个packae文件夹复制到r的库文件夹中。仍然在安装curl包装时出现错误
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
Package libcurl was not found in the pkg-config search …Run Code Online (Sandbox Code Playgroud)