I use R 3.6.1 in macOSX 10.15.1 (Catalina). I cannot install the last version (3.0-7) of the package raster from source or from binary. In both cases I get ??*** caught segfault *** address 0x31, cause 'memory not mapped' when I try to load it. Same occurs when I use the development version using: library(devtools) install_github("rspatial/raster") This is the same bug as described here: https://github.com/rspatial/raster/issues/63 The last working version for me is the 2.5-8 require(devtools) install_version("raster", version = "2.5-8", repos = "http://cran.us.r-project.org") However, each time that I use update.packages(), raster wants to be updated. So here my three questions: - Does someone has a solution to have raster 3.0-7 working in MacOSX ? - Do others have raster 3.0-7 working in R 3.6.1 and Catalina MacOSX ? - How to prevent raster package to be updated ? Thanks a lot Marc
Just install Older R from the project R archives in a separate directory Best Regards Please excuse the brevity of the message. This message was sent from a mobile device. ________________________________ From: R-help <r-help-bounces at r-project.org> on behalf of Marc Girondot via R-help <r-help at r-project.org> Sent: Friday, December 6, 2019 1:09 PM To: R-help Mailing List Subject: [R] How prevent update of a package I use R 3.6.1 in macOSX 10.15.1 (Catalina). I cannot install the last version (3.0-7) of the package raster from source or from binary. In both cases I get ??*** caught segfault *** address 0x31, cause 'memory not mapped' when I try to load it. Same occurs when I use the development version using: library(devtools) install_github("rspatial/raster") This is the same bug as described here: https://github.com/rspatial/raster/issues/63 The last working version for me is the 2.5-8 require(devtools) install_version("raster", version = "2.5-8", repos "http://cran.us.r-project.org") However, each time that I use update.packages(), raster wants to be updated. So here my three questions: - Does someone has a solution to have raster 3.0-7 working in MacOSX ? - Do others have raster 3.0-7 working in R 3.6.1 and Catalina MacOSX ? - How to prevent raster package to be updated ? Thanks a lot Marc ______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]]
Thanks for your answer. I try this trick: mkdir packages sudo chmod -R a+w packages ls -al drwxrwxrwx??? 2 marcgirondot staff????? 64? 6 d?c 17:20 packages Now in R > require(devtools) > > install_version("raster", version = "2.5-8", repos ="http://cran.us.r-project.org", ??????? lib="/Users/marcgirondot/ Here the full path /packages") And I get: Erreur : Failed to install 'unknown package' from URL: ? (converti depuis l'avis) 'lib = "/Users/marcgirondot/Documents/Espace_de_travail_R/packages "' is not writable Not sure were I do something wrong. Thanks if you have an idea. Marc Le 06/12/2019 ? 08:42, Amit Mittal a ?crit?:> Just install Older R from the project R archives in a separate directory > > Best Regards > > Please excuse the brevity of the message. This message was sent from a > mobile device. > ------------------------------------------------------------------------ > *From:* R-help <r-help-bounces at r-project.org> on behalf of Marc > Girondot via R-help <r-help at r-project.org> > *Sent:* Friday, December 6, 2019 1:09 PM > *To:* R-help Mailing List > *Subject:* [R] How prevent update of a package > I use R 3.6.1 in macOSX 10.15.1 (Catalina). > > I cannot install the last version (3.0-7) of the package raster from > source or from binary. In both cases I get > > ??*** caught segfault *** > address 0x31, cause 'memory not mapped' > > when I try to load it. > > Same occurs when I use the development version using: > > library(devtools) > install_github("rspatial/raster") > > This is the same bug as described here: > https://github.com/rspatial/raster/issues/63 > > The last working version for me is the 2.5-8 > > require(devtools) > install_version("raster", version = "2.5-8", repos > "http://cran.us.r-project.org") > > However, each time that I use update.packages(), raster wants to be > updated. > > So here my three questions: > > - Does someone has a solution to have raster 3.0-7 working in MacOSX ? > > - Do others have raster 3.0-7 working in R 3.6.1 and Catalina MacOSX ? > > - How to prevent raster package to be updated ? > > Thanks a lot > > Marc > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.[[alternative HTML version deleted]]