I am unable to install xts package on R version 3.3.0 on my macbook. I am getting following error:
install.packages("xts", repos="http://R-Forge.R-project.org")
Warning: unable to access index for repository http://R-Forge.R-project.org/bin/macosx/mavericks/contrib/3.3: cannot open URL 'http://R-Forge.R-project.org/bin/macosx/mavericks/contrib/3.3/PACKAGES'
Warning message: package ‘xts’ is not available (for R version 3.3.0)
I also tried installing through "Package Installer" and it seems to have installed with no error/warning. However when I tried following:
xts(rnorm(231),as.Date(13514:13744,origin="1970-01-01"))
Error: could not find function "xts"
Any help is much appreciated.
library
to load the package before thexts
call. It's always a good idea tocheck
the 'install dependencies" box on that panel. – IRTFM