What to do about "package ‘plotly’ is not available (for R version 3.2.3)"?

I just saw an email that alerted me to the plotly R API being available on CRAN and all I had to do was install.packages(“plotly”). Yet that command in RStudio Version 0.99.840 with R 3.2.3 resulted in: "Warning in install.packages :package ‘plotly’ is not available (for R version 3.2.3)"
I have not found any directions on how to overcome this situation by internet searches, and I see no help at the plotly Help pages, so I am posting this topic here.
What can I do to get plotly for R running on my system (MacBook Pro running OS X 10.11.2) with RStudio and R 3.2.3?

Thank you.



install.packages(“plotly”, repos=“http://cran.rstudio.com/”, dependencies=TRUE)

if that doesn’t work, try with other mirrors
(from https://cran.rstudio.com/mirrors.html)

1 Like

“install.packages(“plotly”, repos=“http://cran.rstudio.com/”, dependencies=TRUE)” worked.
Thank you.

Np, your default mirror was probably not set to CRAN. You can change it at RStudio -> Preferences -> Packages.

Thanks. Your former solution worked.