Marc Schwartz
2020-Jan-14 21:32 UTC
[Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!
> On Jan 14, 2020, at 3:29 PM, Abby Spurdle <spurdle.a at gmail.com> wrote: > >> I do want to entice people to have a long look beyond closed >> source OS into the world of Free Software where not only R is >> FOSS (Free and Open Source Software) but (all / almost) all the >> tools you use are of that same spirit. > > And while everyone is talking about operating systems... > > Recently, I tried to install R on Fedora. > However, it only gave me the option of downloading and installing R > 3.6.1, when the current release is/was R 3.6.2. > I decided to wait, and may try again later, over the next week. > > Is it possible for things to be free *and* simple?Abby, Which version of Fedora are you on? The Fedora RPM build system for R: https://koji.fedoraproject.org/koji/packageinfo?packageID=1230 would seem to suggest that R 3.6.2 may not be available for Fedora 29 or earlier, which is not a surprise, given the rapid update cycle used on Fedora. R 3.6.2 is available for Fedora 30, 31 and 32 per the above page. If you are on Fedora >=30, you might check your yum repo to see if it has been properly updated. Otherwise, if you are on Fedora <=29, you should think about updating your Fedora installation. You may or may not be aware that there is a dedicated list for R on Fedora/RHEL and derivatives: https://stat.ethz.ch/mailman/listinfo/r-sig-fedora Tom Callaway, who is the RH/Fedora maintainer for R is on that list, so you can pose queries to him via that list for any issues with R on Fedora. Regards, Marc Schwartz
Henrik Bengtsson
2020-Jan-14 21:48 UTC
[Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!
On Tue, Jan 14, 2020 at 1:32 PM Marc Schwartz via R-devel <r-devel at r-project.org> wrote:> > > On Jan 14, 2020, at 3:29 PM, Abby Spurdle <spurdle.a at gmail.com> wrote: > > > >> I do want to entice people to have a long look beyond closed > >> source OS into the world of Free Software where not only R is > >> FOSS (Free and Open Source Software) but (all / almost) all the > >> tools you use are of that same spirit. > > > > And while everyone is talking about operating systems... > > > > Recently, I tried to install R on Fedora. > > However, it only gave me the option of downloading and installing R > > 3.6.1, when the current release is/was R 3.6.2. > > I decided to wait, and may try again later, over the next week. > > > > Is it possible for things to be free *and* simple? > > Abby, > > Which version of Fedora are you on? > > The Fedora RPM build system for R: > > https://koji.fedoraproject.org/koji/packageinfo?packageID=1230 > > would seem to suggest that R 3.6.2 may not be available for Fedora 29 or earlier, which is not a surprise, given the rapid update cycle used on Fedora. > > R 3.6.2 is available for Fedora 30, 31 and 32 per the above page. > > If you are on Fedora >=30, you might check your yum repo to see if it has been properly updated. > > Otherwise, if you are on Fedora <=29, you should think about updating your Fedora installation. > > You may or may not be aware that there is a dedicated list for R on Fedora/RHEL and derivatives: > > https://stat.ethz.ch/mailman/listinfo/r-sig-fedora > > Tom Callaway, who is the RH/Fedora maintainer for R is on that list, so you can pose queries to him via that list for any issues with R on Fedora.We inquired about R 3.6.1 on CentOS 7 EPEL, which is currently stuck on R 3.6.0, and go the following reply (https://bugzilla.redhat.com/show_bug.cgi?id=1727281#c19):>>> Tom "spot" Callaway 2019-11-12 19:41:25 UTC >>> >>> The challenge is this: >>> >>> R 3.6.1 cannot build with the stock EL-7 toolchain, due to the C++ support level required. In order to build it, we need to use devtoolset-8-toolchain. When R 3.6.1 is built, it assumes that same level of C++ support is available, and any EL-7 setups using it which do not have devtoolset-8-toolchain will not successfully build modules from CRAN which depend on that C++ support (which is not a small number these days). Thus, I made the R-3.6.1 build for EL-7 depend on devtoolset-8-toolchain, but this is not acceptable (apparently). >>> >>> So, I'm caught between either: >>> >>> 1. Dropping the dependency on devtoolset-8-toolchain and having bugs flow in which I'm forced to close as CANTFIX >>> >>> or >>> >>> 2. Leaving R in EL-7 at the last release which did not depend on devtoolset-8-toolchain >>> >>> I'm really unwilling to do #1.It sounds odd to me that R would update hard requirements during R 3.6.x releases; I'd except them to be optional (OTH, it might something I just made up). I meant to find time to look into this, but there's this thing called time so it never happened. Maybe someone else with more knowledge can comment on this. /Henrik> > Regards, > > Marc Schwartz > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
Abby Spurdle
2020-Jan-15 04:44 UTC
[Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!
> Which version of Fedora are you on?I've got Fedora 31. I just checked, and R 3.6.2 is available now. Progress... ...however, there's another problem.>From the dependencies:R-java x86_64 3.6.2-1.fc31 updates 10 k R-java-devel x86_64 3.6.2-1.fc31 updates 9.9 k java-1.8.0-openjdk x86_64 1:1.8.0.232.b09-0.fc31 updates 281 k java-1.8.0-openjdk-devel x86_64 1:1.8.0.232.b09-0.fc31 updates 9.3 M java-1.8.0-openjdk-headless x86_64 1:1.8.0.232.b09-0.fc31 updates 32 M So, Linux's R (or at least Fedora's R) is dependent on Java. -> Bad idea... I'm using OpenJ9, so I can't install R like this without causing significant problems. (But please someone correct me if I'm wrong). I will allocate some time to investigate Dirk's suggestions, however, I'm thinking the best option is to continue using *Windows* as my primary OS, and build Linux versions of R from source. [[alternative HTML version deleted]]
Ralf Stubner
2020-Jan-15 07:14 UTC
[Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!
On Wed, Jan 15, 2020 at 5:45 AM Abby Spurdle <spurdle.a at gmail.com> wrote:> ...however, there's another problem. > > From the dependencies: > R-java x86_64 3.6.2-1.fc31 updates 10 k > R-java-devel x86_64 3.6.2-1.fc31 updates 9.9 k > java-1.8.0-openjdk x86_64 1:1.8.0.232.b09-0.fc31 updates 281 k > java-1.8.0-openjdk-devel x86_64 1:1.8.0.232.b09-0.fc31 updates 9.3 M > java-1.8.0-openjdk-headless > x86_64 1:1.8.0.232.b09-0.fc31 updates 32 M > > So, Linux's R (or at least Fedora's R) is dependent on Java. > -> Bad idea...You could install R-core (and probably R-core-devel) to get R without the Java dependency. cheerio ralf
IƱaki Ucar
2020-Jan-15 09:59 UTC
[Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!
A bit off-topic, but... On Wed, 15 Jan 2020 at 05:45, Abby Spurdle <spurdle.a at gmail.com> wrote:> > > Which version of Fedora are you on? > > I've got Fedora 31. > I just checked, and R 3.6.2 is available now.R 3.6.2 was submitted a month ago for testing and reached stable 19 days ago [1]. At any time, you can see which version is available in stable (updates repo) and in testing for all supported Fedora and EPEL versions in [2].> Progress... > ...however, there's another problem. > > From the dependencies: > R-java x86_64 3.6.2-1.fc31 updates 10 k > R-java-devel x86_64 3.6.2-1.fc31 updates 9.9 k > java-1.8.0-openjdk x86_64 1:1.8.0.232.b09-0.fc31 updates 281 k > java-1.8.0-openjdk-devel x86_64 1:1.8.0.232.b09-0.fc31 updates 9.3 M > java-1.8.0-openjdk-headless > x86_64 1:1.8.0.232.b09-0.fc31 updates 32 M > > So, Linux's R (or at least Fedora's R) is dependent on Java. > -> Bad idea...(Not so) fresh news: R officially supports Java [3], and many packages on CRAN use Java (at least 170 by my count). So if you simply install "R", you are requesting a *full* R installation, which of course includes Java. However, if you don't want Java nor any of these packages, R-core and R-core-devel do not depend on Java, as Ralf pointed out.> I'm using OpenJ9, so I can't install R like this without causing > significant problems. > (But please someone correct me if I'm wrong).Note though that the R-java bits do not depend on any specific version of Java. Several versions of Java can coexist, and then you can switch between them using alternatives [4]. [1] https://bodhi.fedoraproject.org/updates/FEDORA-2019-3d6f517d22 [2] https://src.fedoraproject.org/rpms/R [3] https://cran.r-project.org/doc/manuals/r-devel/R-admin.html#Java-support [4] https://fedoraproject.org/wiki/Java -- I?aki ?car