On 6 July 2018 at 22:57, Göran Broström wrote: | | | On 2018-07-06 22:44, Dirk Eddelbuettel wrote: | > | > On 6 July 2018 at 21:52, Göran Broström wrote: | > | I did this and removed anything related to R and reinstalled. Then, in R, | > | | > | > install.packages("curl") | > | | > | and got | > | | > | Error: package or namespace load failed for 'curl' in dyn.load(file, | > | DLLpath = DLLpath, ...): | > | unable to load shared object | > | '/usr/local/lib/R/site-library/curl/libs/curl.so': | > | /usr/local/lib/R/site-library/curl/libs/curl.so: undefined symbol: | > | curl_easy_escape | > | Error: loading failed | > | | > | I have installed curl, libcurl4, libcurl4-openssl-dev. | > | > We should also have r-cran-curl prebuilt for you. | | $ sudo apt install r-cran-curl | Reading package lists... Done | Building dependency tree | Reading state information... Done | Some packages could not be installed. This may mean that you have | requested an impossible situation or if you are using the unstable | distribution that some required packages have not yet been created | or been moved out of Incoming. | The following information may help to resolve the situation: | | The following packages have unmet dependencies: | r-cran-curl : Depends: r-api-3.4 | E: Unable to correct problems, you have held broken packages.
You are looking at the wrong repo (or no add-on repo); all that was discussed in detail here and CRAN has instructions. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _______________________________________________ R-SIG-Debian mailing list R-SIG-Debian@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-debian