Re: non-rpm R libraries not accessible now w R v 4.0.x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 18 Jul 2020, José Abílio Matos wrote:


On Saturday, 18 July 2020 21.22.17 WEST Max Pyziur wrote:

> Greetings,

>

> I've installed some R libraries that are not available as rpm packages,

> specifically matlib and a few others.

>

> Recently, R was ported to version 4.0.x and these libraries are not

> callable. When I remove them and try to install them all sorts of

> dependencies are either removed or become problematic.

>

> Any advice?

>

> Much thanks,

>

> Max Pyziur

 

What are the errors you are seeing?

As an example:
install.packages('matlib')
Installing package into ‘/usr/lib64/R/library’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
also installing the dependencies ‘crosstalk’, ‘rgl’

trying URL 'https://packages.othr.de/cran/src/contrib/crosstalk_1.1.0.1.tar.gz'
Content type 'text/plain' length 673125 bytes (657 KB)
==================================================
downloaded 657 KB

trying URL 'https://packages.othr.de/cran/src/contrib/rgl_0.100.54.tar.gz'
Content type 'text/plain' length 2952743 bytes (2.8 MB)
==================================================
downloaded 2.8 MB

trying URL 'https://packages.othr.de/cran/src/contrib/matlib_0.9.3.tar.gz'
Content type 'text/plain' length 220211 bytes (215 KB)
==================================================
downloaded 215 KB

* installing *source* package ‘crosstalk’ ...
** package ‘crosstalk’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error: package ‘R6’ was installed before R 4.0.0: please re-install it
Execution halted
ERROR: lazy loading failed for package ‘crosstalk’
* removing ‘/usr/lib64/R/library/crosstalk’
ERROR: dependency ‘crosstalk’ is not available for package ‘rgl’
* removing ‘/usr/lib64/R/library/rgl’
ERROR: dependency ‘rgl’ is not available for package ‘matlib’
* removing ‘/usr/lib64/R/library/matlib’

The downloaded source packages are in
	‘/tmp/Rtmpnvhegn/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning messages:
1: In install.packages("matlib") :
  installation of package ‘crosstalk’ had non-zero exit status
2: In install.packages("matlib") :
  installation of package ‘rgl’ had non-zero exit status
3: In install.packages("matlib") :
  installation of package ‘matlib’ had non-zero exit status


R6 is available as a F32 RPM; however, it comes back w the above error message, fyi.

  

All packages need to be rebuilt for R 4.0 be it installed from rpms or otherwise. That is a requirement from R 4.0 and not from our installation.

 

FWIW you can also install packages from cran as rpms using:

https://copr.fedorainfracloud.org/coprs/iucar/cran/

Thanks; I'll check this out.

Max

  

Regards,

--

José Matos


_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux