Am Dienstag, 14. Juli 2020, 13:57:01 CEST schrieb Luigi Marongiu: > I don't know about the configuration. I installed R using the standard > protocol for Chromebook > http://blog.sellorm.com/2018/12/20/installing-r-and-rstudio-on-a-chromebook/
Hi Luigi, I would not call this a standard protocol. I would say, it is a 1.5 year old blog telling you how to use a beta feature (at the time of writing) of ChromeOS to install R and RStudio on ChromeOS. This would have been interesting to know the last time you had a question for this mailing list. On 27 May you mentioned that you are using this line deb http://cloud.r-project.org/bin/linux/debian buster-cran40/ In the blog, it is suggested that the Linux distribution that the Chromebook runs is Debian stretch. If your Chrombook runs Debian stretch, you need to use a backport for stretch, not for buster. However, I am currently not providing R 4 packages for stretch, as I do not run stretch systems any more. What is the output of lsb_release -a on your system? Johannes > the rest, it was done by the system itself... > > On Tue, Jul 14, 2020 at 1:30 PM Dirk Eddelbuettel <e...@debian.org> wrote: > > There is something wrong with your system / setup I did not notice first: > > > > On 14 July 2020 at 13:08, Luigi Marongiu wrote: > > | Thank you, it looks like I have already libisl: > > | ``` > > | apt search libisl > > | Sorting... Done > > | Full Text Search... Done > > | libisl-dbg/oldstable 0.18-1 amd64 > > | > > | manipulating sets and relations of integer points bounded by linear > > | > > | constraints > > | > > | libisl-dev/oldstable 0.18-1 amd64 > > | > > | manipulating sets and relations of integer points bounded by linear > > | > > | constraints > > | > > | libisl15/oldstable,now 0.18-1 amd64 [installed,automatic] > > | > > | manipulating sets and relations of integer points bounded by linear > > | > > | constraints > > | > > | libisl19/now 0.19-1 amd64 [installed,local] > > | > > | manipulating sets and relations of integer points bounded by linear > > | > > | constraints > > | ``` > > | thus the problem must be with the installation step: I should tell the > > | compiler to look for libisl19 instead of libisl.so.19... > > | > > | On Tue, Jul 14, 2020 at 12:54 PM Dirk Eddelbuettel <e...@debian.org> wrote: > > | > On 14 July 2020 at 12:26, Luigi Marongiu wrote: > > | > | I am trying to install minpack.lm on R 3.3.3 (Debian version) on a > > | > | Chromebook. But I get this error: > > | > | ``` > > | > | > > | > | > install.packages("minpack.lm") > > | > | > > | > | Installing package into > > | > | ‘/home/marongiuluigi/R/x86_64-pc-linux-gnu-library/3.3’ (as ‘lib’ > > | > | is unspecified) > > | > | trying URL > > | > | 'https://cran.rstudio.com/src/contrib/minpack.lm_1.2-1.tar.gz' > > | > | Content type 'application/x-gzip' length 43029 bytes (42 KB) > > | > | ================================================== > > | > | downloaded 42 KB > > | > | > > | > | * installing *source* package ‘minpack.lm’ ... > > | > | ** package ‘minpack.lm’ successfully unpacked and MD5 sums checked > > | > | ** libs > > | > | gfortran -fpic -g -O2 -fdebug-prefix-map=/build/r-base-3.3.3=. > > | > | -fstack-protector-strong -c chkder.f -o chkder.o > > | > | /usr/local/libexec/gcc/x86_64-cros-linux-gnu/8.3.0/f951: error while > > > > Why is gfortran calling into /usr/local? > > > > You are outside of the package management system here. Can you not use > > the > > package gfortran (and gcc, g++, ...) because ... > > > > | > | loading shared libraries: libisl.so.19: cannot open shared object > > | > | file: No such file or directory > > | > | /usr/lib/R/etc/Makeconf:155: recipe for target 'chkder.o' failed > > > > ... you are trying the packaged R. > > > > Dirk > > > > | > | make: *** [chkder.o] Error 1 > > | > | ERROR: compilation failed for package ‘minpack.lm’ > > | > | * removing > > | > | ‘/home/marongiuluigi/R/x86_64-pc-linux-gnu-library/3.3/minpack.lm’> | > | > > | > | Warning in install.packages : > > | > | installation of package ‘minpack.lm’ had non-zero exit status > > | > | > > | > | ``` > > | > | I tried to install libisl.so.19 but: > > | > | ``` > > | > | $ sudo apt-get install libisl.so.19 > > | > | Reading package lists... Done > > | > | Building dependency tree > > | > | Reading state information... Done > > | > | E: Unable to locate package libisl.so.19 > > | > | E: Couldn't find any package by glob 'libisl.so.19' > > | > | E: Couldn't find any package by regex 'libisl.so.19' > > | > | ``` > > | > | I downloaded libisl.so.19 for debian, but where shall I place it? > > | > | Is there an easier way to install this library? > > | > | Thank you > > | > > > | > That is not the correct package name as it is a _file name_. > > | > > > | > Use eg > > | > > > | > https://packages.debian.org/ > > | > > > | > to search (go to Search the contents of packages) or search directly > > | > via > > | > > > | > apt search libisl > > | > > > | > which will lead you to packages > > | > > > | > libisl-dev > > | > libisl22 # on the release I run on Ubuntu right now > > | > > > | > with a major name reflecting the current release. For an older version > > | > I find the package search above useful, there are other pages too. > > | > > > | > Hope this helps, Dirk > > | > > > | > -- > > | > https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org > > | > > | -- > > | Best regards, > > | Luigi > > > > -- > > https://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