我最近将我的操作系统更新到Ubuntu 18.04并且twitteR R软件包不能再使用了.
我在setup_twitter_oauth期间收到以下错误消息.
> setup_twitter_oauth(api_key,api_secret)
[1] "Using browser based authentication"
Error in dyn.load(file,DLLpath = DLLpath,...) :
unable to load shared object '/home/my-laptop/R/x86_64-pc-linux-gnu-library/3.4/curl/libs/curl.so':
/usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /home/my-laptop/R/x86_64-pc-linux-gnu-library/3.4/curl/libs/curl.so)
我试图安装libcurl3.但是安装过程想要删除我的r安装以及libcurl4.这就是我得到的,
my-laptop:~$sudo apt-get install libcurl3
[sudo] password for my-laptop:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
cdbs dh-translations fonts-mathjax intltool jq li