The The R Primer logo Primer

Update installed R package

You want to update installed R packages

Solution: Use the update.packages function to update R packages directly from CRAN.

> update.packages() # Update packages from CRAN

See rule 5.4 in The R Primer for more information

Back to tips.