[R] update.packages

Paulo Justiniano Ribeiro Jr paulojus at est.ufpr.br
Fri Dec 31 12:45:51 CET 2004

One possible solution is given by the function packageStatus()
In order to check and install new packages in our system here we use:

x <- packageStatus(repositories="http://cran.br.r-project.org/src/contrib")
st <- x$avai["Status"]
install.packages(rownames(st)[which(st$Status=="not installed")])


On Fri, 31 Dec 2004, Bernardo Rangel Tura wrote:

> Hi R-masters!
> First of All: Happy new Year !
> I have one doubt. I one time for week command in R update.packages() for
> recive new versions of packages in my R, I also subscribe R-pkgs for recive
> notices of new packages.
> But I discover other packages in CRAN without notices in R-pkgs. So How to
> I mantain my R- system update with all packages in CRAN (New versions of my
> packages and install New packages)
> Thanks in advance
> Bernardo Rangel Tura, MD, MSc
> National Institute of Cardiology Laranjeiras
> Rio de Janeiro Brazil
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Paulo Justiniano Ribeiro Jr
LEG (Laboratório de Estatística e Geoinformação)
Departamento de Estatística
Universidade Federal do Paraná
Caixa Postal 19.081
CEP 81.531-990
Curitiba, PR  -  Brasil
Tel: (+55) 41 361 3573
Fax: (+55) 41 361 3141
e-mail: paulojus at est.ufpr.br

More information about the R-help mailing list