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]]

_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian

Reply via email to