[R-SIG-Finance] Problem when installing quantmod package

amol gupta @molgupt@87 @ending from gm@il@com
Mon Oct 29 15:12:50 CET 2018


This might help
try

options(repos = c(CRAN = "http://cran.rstudio.com"))



Source:
https://support.rstudio.com/hc/en-us/community/posts/205198138-packages-installation-problem

On Mon, Oct 29, 2018 at 7:13 PM Frank <frankm60606 using gmail.com> wrote:

> I right click on the R executable and select "Run as administrator" to
> install new packages or update R.
>
> Frank
> Chicago
>
> -----Original Message-----
> From: R-SIG-Finance <r-sig-finance-bounces using r-project.org> On Behalf Of
> Baki UNAL via R-SIG-Finance
> Sent: Monday, October 29, 2018 7:51 AM
> To: R-sig-finance <r-sig-finance using r-project.org>
> Subject: [R-SIG-Finance] Problem when installing quantmod package
>
> Hello
> I tried to install "quantmod" package. But I got the following error:
> > install.packages("quantmod")Warning in install.packages :  unable to
> access index for repository https://cran.rstudio.com/src/contrib:  cannot
> open URL 'https://cran.rstudio.com/src/contrib/PACKAGES'Installing
> package into ‘C:/Users/win7120/Documents/R/win-library/3.2’(as ‘lib’ is
> unspecified)Warning in install.packages :  unable to access index for
> repository https://cran.rstudio.com/src/contrib:  cannot open URL '
> https://cran.rstudio.com/src/contrib/PACKAGES'Warning in install.packages
> :  package ‘quantmod’ is not available (for R version 3.5.1)Warning in
> install.packages :  unable to access index for repository
> https://cran.rstudio.com/bin/windows/contrib/3.5:  cannot open URL '
> https://cran.rstudio.com/bin/windows/contrib/3.5/PACKAGES'
> What is the problem?
> Best regards
> Baki Ünal
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Finance using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions
> should go.
>
> _______________________________________________
> R-SIG-Finance using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions
> should go.
>


-- 
Regards
Amol
+91-9897860992

	[[alternative HTML version deleted]]



More information about the R-SIG-Finance mailing list