Install Prophet in R

I am trying to install prophet in R but its giving me error and unable to install after lots of attempts.
I have installed all associated packages such as rstan, loo, BH but still it gives error.

Error as follows:
package ‘prophet’ is not available (for R version 3.5.1)
Please any help on this ..

Can you post the complete error message you get? I suspect you are omitting something important.

I am getting Error as:
Prophet is not available for R version 3.5 and if try to install from source also getting same error

As I said , please post the complete error message. We need more information to help you out.

Hi Andresrcs,

Please find the error message which I got from Rstudio,

install.packages('prophet',repos = "https://CRAN.R-project.org/package=prophet")
Installing package into ‘Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
Warning in install.packages :
  unable to access index for repository https://CRAN.R-project.org/package=prophet/src/contrib:
  cannot open URL 'https://CRAN.R-project.org/package=prophet/src/contrib/PACKAGES'
Warning in install.packages :
  package ‘prophet’ is not available (for R version 3.5.1)
Warning in install.packages :
  unable to access index for repository https://CRAN.R-project.org/package=prophet/bin/windows/contrib/3.5:
  cannot open URL 'https://CRAN.R-project.org/package=prophet/bin/windows/contrib/3.5/PACKAGES'

This seems like a connectivity issue, R is not being able to connect to the CRAN repository you have selected, these are some things to try.

  • Choose a different CRAN repository, RStudios repository is a good choice (http://cran.rstudio.com/) or you could choose one that is geographically closer to you.
  • Disable secure download setting.
  • Check if your internet connection has traffic restrictions of some kind, like a firewall, proxy server, etc. This is usually the case when you are at work or school.

Thank you Andresrcs.. I tried both ways but couldnt .
Choosed the Geo am in and tried but unable to install also

Disabled the secure download but same error

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.