install - How to fix this error in R while installing packages? -
this did:
install.packages("tsa",lib="d:/r/packages") library(tsa,lib.loc="d:/r/packages") install.packages("leaps",lib="d:/r/packages") still getting error:
library(tsa,lib.loc="d:/r/packages") #error: package ‘leaps’ required ‘tsa’ not found
there package tsa cran. if want install it:
install.packages("tsa")
if have .tar.gz files. suggest using hadley wickham's devtoolspackage. allows loading package given directory:
library(devtools) # load package w/o installing load_all('d:/r/packages') # or invoke 'r cmd install' install('d:/r/packages')
Comments
Post a Comment