[R-sig-Debian] getting started with r2u

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Sat May 17 20:42:05 CEST 2025


On 17 May 2025 at 21:18, Ivan Krylov via R-SIG-Debian wrote:
| В Sat, 17 May 2025 17:17:09 +0000 (UTC)
| ravi via R-SIG-Debian <r-sig-debian using r-project.org> пишет:
| 
| > 7. Anyway, the bspm package has now been installed in
| > /usr/local/lib/R/site-library. No namespace error is returned.
| 
| Try running bspm::enable() in a fresh R session. After that, do calls
| to install.packages() in the same R session go through r2u? If yes,
| feel free to restore the lines "suppressMessages(bspm::enable())" and
| "options(bspm.version.check=FALSE)" in ${RHOME}/etc/Rprofile.site. If
| no, maybe the resulting error messages provide more of a hint.

That's actually a good debugging step:
- check if you can use r2u without bspm, ie try to run
     sudo apt install r-cran-digest
  or any other package with more depenendies
- if that works try to see why involving bspm does create an issue

As Ivan noted, it matters to re-enable bspm in /etc/R/Rprofile.site

Dirk

-- 
dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-SIG-Debian mailing list