updating/installing R
On Tue, 7 Sept 2021 at 02:30, Jim Lemon <drjimlemon at gmail.com> wrote:
Hi Inaki, Your instructions worked perfectly for installing "toolbox" and I could start R-4.1.1-1 in my local terminal (konsole). However, I can't seem to build a new version of plotrix: [root at jimACER jim]# toolbox run --release 35 R CMD build
Do not run toolbox as root. As explained in the instructions, the whole point of using toolbox is that it is rootless. I?aki
jimACER://home/jim/R/plotr ix Error: directory /home/jim not found in container fedora-toolbox-35 Using /root instead. During startup - Warning messages: 1: Setting LC_CTYPE failed, using "C" 2: Setting LC_TIME failed, using "C" 3: Setting LC_MESSAGES failed, using "C" 4: Setting LC_MONETARY failed, using "C" 5: Setting LC_PAPER failed, using "C" 6: Setting LC_MEASUREMENT failed, using "C" ERROR cannot change to directory 'jimACER://home/jim/R/plotrix' I also tried using "localhost" for the loopback server, got the same result. I'll try building R-4.1.1 from source on my ancient DELL desktop. If I can get a build I can then check it using --as-cran, cross my fingers and submit it. I'll get back to you if I'm still stuck. Thanks. Jim On Tue, Sep 7, 2021 at 8:43 AM I?aki Ucar <iucar at fedoraproject.org> wrote:
On Mon, 6 Sept 2021 at 00:02, Jim Lemon <drjimlemon at gmail.com> wrote:
Hi Inaki, Fedora 34 KDE spin. When I try to install/upgrade as root using dnf: [root at jimACER packages]# dnf install R Fedora 34 - x86_64 - Updates 2.4 kB/s | 3.7 kB 00:01 Fedora Modular 34 - x86_64 - Updates 5.2 kB/s | 3.6 kB 00:00 Package R-4.0.5-1.fc34.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! [root at jimACER packages]# dnf upgrade R Last metadata expiration check: 0:00:17 ago on Mon 06 Sep 2021 07:48:38. Dependencies resolved. Nothing to do. Complete!
R 4.1 is not available for Fedora 34. Instead, see https://cran.r-project.org/bin/linux/fedora/#toolbox-container-based-development
When I try to connect to: https://pagure.io/R/fedora-r-packages I get the message: pagure.io Refused to connect
Should be a temporary issue. But that's just the source of that document, a git repository, why would you want to access this?
As I used to build R from source, I tried that but couldn't get past the missing "Intrinsic.h" in configure. I switched to using a newish laptop (ACER Swift 3) some months ago, so I lost all the tools I had built up over the years. Thanks for any tips.
Again (see above) my suggestion is to use toolbox to install R 4.1 from the official repos. No need to compile. -- I?aki ?car
I?aki ?car