Ulrich KELLER
2018-Aug-14 08:04 UTC
[R-sig-Debian] Xenial rpart package on CRAN built with wrong R version?
Hello, I just upgraded my Ubuntu Xenial system to R 3.5.1 (from 3.4.?) by changing the sources.list entry and doing an "apt-get dist-upgrade". Everything works except loading the rpart package in R:> library(rpart)Error: package or namespace load failed for ?rpart?: package ?rpart? was installed by an R version with different internals; it needs to be reinstalled for use with this R version> installed.packages()['rpart',]Package "rpart" LibPath "/usr/lib/R/library" Version "4.1-13" Priority "recommended" Depends "R (>= 2.15.0), graphics, stats, grDevices" Imports NA LinkingTo NA Suggests "survival" Enhances NA License "GPL-2 | GPL-3" License_is_FOSS NA License_restricts_use NA OS_type NA MD5sum NA NeedsCompilation "yes" Built ?3.4.3" Package r-cran-rpart was updated though, as "apt-cache show r-cran-rpart" lists the package file as "xenial-cran35/r-cran-rpart_4.1-13-1cran1xenial0_amd64.deb". No other version of rpart is installed. It seems that this Ubuntu Xenial package has to be updated with a version of rpart what was built with R 3.5 (instead of 3.4.3). Thank you for the otherwise great work and kind regards, Uli Keller [[alternative HTML version deleted]]
George N. White III
2018-Aug-14 10:25 UTC
[R-sig-Debian] Xenial rpart package on CRAN built with wrong R version?
qOn Tue, 14 Aug 2018 at 05:04, Ulrich KELLER <ulrich.keller at uni.lu> wrote:> Hello, > > I just upgraded my Ubuntu Xenial system to R 3.5.1 (from 3.4.?) by > changing the sources.list entry and doing an "apt-get dist-upgrade". > Everything works except loading the rpart package in R: >What sources.list entry did you use?> library(rpart) > Error: package or namespace load failed for ?rpart?: > package ?rpart? was installed by an R version with different internals; > it needs to be reinstalled for use with this R version > [...] > Package r-cran-rpart was updated though, as "apt-cache show r-cran-rpart" > lists the package file as > "xenial-cran35/r-cran-rpart_4.1-13-1cran1xenial0_amd64.deb". No other > version of rpart is installed. It seems that this Ubuntu Xenial package has > to be updated with a version of rpart what was built with R 3.5 (instead of > 3.4.3). >I have a working rpart: Filename: pool/main/r/rpart/r-cran-rpart_4.1-13-3cran1ppa0xenial0_amd64.deb -- George N. White III [[alternative HTML version deleted]]
Ulrich KELLER
2018-Aug-14 10:42 UTC
[R-sig-Debian] Xenial rpart package on CRAN built with wrong R version?
I?m not using the PPA, but the CRAN mirror from https://cran.r-project.org/bin/linux/ubuntu/#installation: deb https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/ On 14 Aug 2018, at 12:25, George N. White III <gnwiii at gmail.com<mailto:gnwiii at gmail.com>> wrote: qOn Tue, 14 Aug 2018 at 05:04, Ulrich KELLER <ulrich.keller at uni.lu<mailto:ulrich.keller at uni.lu>> wrote: Hello, I just upgraded my Ubuntu Xenial system to R 3.5.1 (from 3.4.?) by changing the sources.list entry and doing an "apt-get dist-upgrade". Everything works except loading the rpart package in R: What sources.list entry did you use?> library(rpart)Error: package or namespace load failed for ?rpart?: package ?rpart? was installed by an R version with different internals; it needs to be reinstalled for use with this R version [...] Package r-cran-rpart was updated though, as "apt-cache show r-cran-rpart" lists the package file as "xenial-cran35/r-cran-rpart_4.1-13-1cran1xenial0_amd64.deb". No other version of rpart is installed. It seems that this Ubuntu Xenial package has to be updated with a version of rpart what was built with R 3.5 (instead of 3.4.3). I have a working rpart: Filename: pool/main/r/rpart/r-cran-rpart_4.1-13-3cran1ppa0xenial0_amd64.deb -- George N. White III [[alternative HTML version deleted]]