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")]) best P.J. 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. > > ______________________________________________ > [email protected] 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: [EMAIL PROTECTED] http://www.est.ufpr.br/~paulojus ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
