Search code examples
rplotlydevtools

How to install recent packages?


I'm trying to install the more recent packages devtools and plotly, but I can't download recent packages. For example, the more recent version of devtools is 1.12.0 and for plotly is 4.5.5.9000. How to install these recent packages?

session_info()
Session info ---------------------------------------------------------------
 setting  value                       
 version  R version 3.2.4 (2016-03-16)
 system   x86_64, mingw32             
 ui       RStudio (0.99.896)          
 language (EN)                        
 collate  Portuguese_Brazil.1252      
 tz       America/Sao_Paulo           
 date     2016-11-15                  

Packages -------------------------------------------------------------------
 package       * version date       source        
 devtools      * 1.10.0  2016-01-23 CRAN (R 3.2.4)
 digest          0.6.9   2016-01-08 CRAN (R 3.2.4)
 memoise         0.2.1   2014-04-22 CRAN (R 3.2.0)
 RevoUtilsMath * 3.2.4   2016-04-20 local  

Solution

  • I think your mirror takes their time in adding the newer versions. Try this

    repos='http://cran.us.r-project.org' in your install.packages statement