> install.packages("quantmod")
Installing package into ‘/home/yugandhar/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
also installing the dependencies ‘xts’, ‘zoo’, ‘TTR’
trying URL 'https://cloud.r-project.org/src/contrib/xts_0.12-0.tar.gz'
Content type 'application/x-gzip' length 540698 bytes (528 KB)
==================================================
downloaded 528 KB
trying URL 'https://cloud.r-project.org/src/contrib/zoo_1.8-7.tar.gz'
Content type 'application/x-gzip' length 861309 bytes (841 KB)
==================================================
downloaded 841 KB
trying URL 'https://cloud.r-project.org/src/contrib/TTR_0.23-6.tar.gz'
Content type 'application/x-gzip' length 309148 bytes (301 KB)
==================================================
downloaded 301 KB
trying URL 'https://cloud.r-project.org/src/contrib/quantmod_0.4-15.tar.gz'
Content type 'application/x-gzip' length 150327 bytes (146 KB)
==================================================
downloaded 146 KB
* installing *source* package ‘zoo’ ...
** package ‘zoo’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I../inst/include -fpic -g -O2 -fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c coredata.c -o coredata.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I../inst/include -fpic -g -O2 -fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c init.c -o init.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I../inst/include -fpic -g -O2 -fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c lag.c -o lag.o
gcc -std=gnu99 -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o zoo.so coredata.o init.o lag.o -L/usr/lib/R/lib -lR
installing to /home/yugandhar/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-zoo/00new/zoo/libs
** R
** demo
** inst
** byte-compile and prepare package for lazy loading
Error: package ‘lattice’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version
Execution halted
ERROR: lazy loading failed for package ‘zoo’
* removing ‘/home/yugandhar/R/x86_64-pc-linux-gnu-library/3.6/zoo’
Warning in install.packages :
installation of package ‘zoo’ had non-zero exit status
ERROR: dependency ‘zoo’ is not available for package ‘xts’
* removing ‘/home/yugandhar/R/x86_64-pc-linux-gnu-library/3.6/xts’
Warning in install.packages :
installation of package ‘xts’ had non-zero exit status
ERROR: dependencies ‘xts’, ‘zoo’ are not available for package ‘TTR’
* removing ‘/home/yugandhar/R/x86_64-pc-linux-gnu-library/3.6/TTR’
Warning in install.packages :
installation of package ‘TTR’ had non-zero exit status
ERROR: dependencies ‘xts’, ‘zoo’, ‘TTR’ are not available for package ‘quantmod’
* removing ‘/home/yugandhar/R/x86_64-pc-linux-gnu-library/3.6/quantmod’
Warning in install.packages :
installation of package ‘quantmod’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpncnfvK/downloaded_packages’
↧
How to install 'quantmod' package in R on os UBUNTU?
↧