-1

I have encountered problem installing quantmod in my RStudio Ubuntu VM, which I need help in

enter image description here

Mureinik
  • 297,002
  • 52
  • 306
  • 350
Roy.L
  • 1
  • 1
  • 1
  • 3

1 Answers1

0

Installation of quantmod need curl & TTR packages. You should do something like this.

install.packages("curl")
install.packages("TTR"")
install.packages("quantmod")
Zedex7
  • 1,624
  • 1
  • 12
  • 21
  • > install.packages("curl") Installing package(s) into ‘/home/rstudio/R/i686-pc-linux-gnu-library/2.14’ (as ‘lib’ is unspecified) Warning in install.packages : package ‘curl’ is not available (for R version 2.14.1) How do I continue from here? – Roy.L Sep 22 '17 at 02:02
  • You need to upgrade R. Install New From Scratch or Upgrade existing one.. This question might help you in Upgrading https://stackoverflow.com/questions/1401904/painless-way-to-install-a-new-version-of-r – Zedex7 Sep 22 '17 at 05:02
  • I tried to install curl and TTR packages it still gives me an error, will have to update R version. But the link given too many comments to follow-up, any short and sweet remedy to my current problem to recommend? – Roy.L Sep 28 '17 at 05:11