I am getting error while installing package KernSmooth. How can I install this pacakge ?
Getting warning messages on not able to access index for repository and one with package not available. Below are example warning message-
Warning: unable to access index for repository
http://lib.stat.cmu.edu/R/CRAN/src/contrib Warning message: package
‘KernSmooth’ is not available (for R version 3.2.1)
Related
Trying to instal SPARQL in Rstudio and got this error:
ERROR: dependency ‘SPARQL’ is not available for package ‘disgenet2r’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/disgenet2r’
Warning messages:
1: package ‘SPARQL’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
2: In i.p(...) :
installation of package ‘/var/folders/43/7hr3j7q17tn0ns1g67l5vbq80000gn/T//Rtmptk5KoF/file2d1b24460f94/disgenet2r_0.99.2.tar.gz’ had non-zero exit status
I am getting the following error when I am loading a few libraries in R:
library(forecast)
Error : object ‘f_eval’ is not exported by 'namespace:lazyeval'
In addition: Warning message:
package ‘forecast’ was built under R version 3.3.2
Error: package or namespace load failed for ‘forecast’
library(tsoutliers)
Error : object ‘f_eval’ is not exported by 'namespace:lazyeval'
In addition: Warning message:
package ‘tsoutliers’ was built under R version 3.3.2
Error: package or namespace load failed for ‘tsoutliers’
I have tried reinstalling the packages but it didn't help. Also, I was able to use the forecast package previously but I started facing this error post the installation of tsoutliers package.
How can I resolve this issue?
This should do the job for you:
install.packages('lazyeval')
In the future, try and provide a bit more about your system and install, using the output from:
sessionInfo()
I'm having the following problem:
When I try to install any R package, at first it downloads the package just fine into a temporal location, and then the following error message appears:
Error: package ‘usethis’ required by ‘devtools’ could not be found
Execution halted
Warning in install.packages :
installation of package ‘lattice’ had non-zero exit status
The wierd part of this is that package usethis is installed and loaded.
Any advise on what can be happening here? I'm a lost there..
I am using R 3.1.3 and had installed Rcplex via tar.gz file at http://cran.at.r-project.org/web/packages/Rcplex/index.html
When I load the library I get following error:
library (Rcplex)
Error in library(Rcplex) : ‘Rcplex’ is not a valid installed package
EDIT:
The package was installed by extracting the contents of the tar.gz file where other libraries are stored /installed.
Also tried installing it through the source:
install.packages ("<file path>/Rcplex_0.3-2.tar.gz", repos=NULL,type="source")
In install.packages("("<file path>//Rcplex_0.3-2.tar.gz",: installation of package ‘("<file path>/Rcplex_0.3-2.tar.gz’ had non-zero exit status
Lastly, tried via CRAN url.
install.packages ("Rcplex", repos="http://cran.us.r-project.org",type="source")
Warning: unable to access index for repository http://cran.us.r-project.org/src/contrib
Warning message: package ‘Rcplex’ is not available (for R version 3.1.3)
I tried installing base64enc:
install.packages('base64enc',,'http://www.rforge.net/base64enc')
I am getting this error:
Warning: unable to access index for repository http://www.rforge.net/base64enc/bin/windows/contrib/3.1
Warning message:
package ‘base64enc’ is not available (for R version 3.1.2)