[R-sig-Debian] R-3.4.0 and recommended packages
Dirk Eddelbuettel
edd at debian.org
Tue Apr 25 15:50:34 CEST 2017
On 25 April 2017 at 14:58, Göran Broström wrote:
| hello,
|
| I just installed R-3.4.0 from scratch:
|
| $ sudo apt install r-base
|
| but when I try
|
| > library(survival, lib.loc = "/usr/lib/R/library")
| > fit <- coxph(Surv(exit, event) ~ x, data = mort)
|
| I get
|
| Error in fitter(X, Y, strats, offset, init, control, weights = weights, :
| object 'Ccoxmart' not found
|
| I was told on R-help that I need to
|
| > update.packages(checkBuilt = TRUE)
|
| (and it works), but
|
| 1. I get two versions of recommended packages, one in
| /usr/lib/R/library, and one in
That is from apt / dpkg -- ie pre-packaged.
| ~/R/x86_64-pc-linux-gnu-library/3.4
| I could fix a write permission in /usr/lib/R or run R as root.
That is from you.
The two have ALWAYS been independent.
| 2. Installing from scratch should have this fixed automatically, right?
False.
Dirk
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
More information about the R-SIG-Debian
mailing list