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. G,> > Dirk >
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 | edd at debian.org
On 2018-07-07 00:34, Dirk Eddelbuettel wrote:> > 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.My repo is deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/ Is that wrong? G,> > Dirk >