I am going to install fpc package in R. The command I tried to intall it is:
install.packages("fpc", dependencies = TRUE)
and I got this message:
The downloaded packages are in /tmp/RTmpuM8LCb/download_packages
But when I try to use it by library("fpc") I got this error:
Erro in library("fpc"): there is no package called 'fpc'
It seems it is not installed correctly but I do not understand where is the problem? Any one have any idea to help me?
Related
So I am going to do some survivalsvm process and I need the mlr3extralearners package from GitHub. When I tried to install it locally using the tar.gz file, it said
Execution halted
Warning in install.packages: installation of package had non-zero exit status
I also tried to use the zip file, and it said
install.packages("C:/Users/Ivan/Downloads/mlr3extralearners-0.5.49.zip", repos = NULL, type = "win.binary", lib="C:/R-4.2.1/library")
then nothing happened.
I also tried using devtools::install_github("mlr-org/mlr3extralearners"), but the output was the same when I used the tar.gz file. When I checked in my library, I already have the mlr3extralearners package, but when I call it using library(mlr3extralearners), it does not work. Does anyone know how to solve this? Any help is appreciated.
https://rdrr.io/github/mlr-org/mlr3extralearners/
I believe this should work for you:
Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("mlr-org/mlr3extralearners")
Is anyone able to help with the following error code or knows a different way to install the vegan package?
Tried both codes below... Need to do some MDS plots!
Code:
install.packages('vegan')
install.packages('vegan', dependencies=TRUE, repos='http://cran.rstudio.com/')
Error Message:
Warning in install.packages :
package ‘vegan’ is not available (for R version 3.3.2)"
You are simply using a (very!) old version of R. Update to the latest version and everything should work fine.
I am trying to run sentiment analysis in R. I have installed tidytext and it is in the correct library with all other packages.
However, when I run
get_sentiments("afinn")
I get the following error:
Error in loadNamespace(name) : there is no package called ‘textdata’
Any suggestions on how to fix?
This means that the package is missing from your libraries. You need to install it with install.packages("textdata").
I am not able to work in swirl package in R. I am able to install the swirl
package correctly. But while giving the library("swirl") command the error comes up.I have tried every thing like I am not able to find the answer of this error on internet. I have reinstalled R complete. I have tried changing directory. But still this error message is coming. Please help.This is the error message:
library("swirl")
Error in get(Info[i, 1], envir = env) :
cannot open file
'C:/Users/Devender/Documents/R/win-library/3.2/httr/R/httr.rdb': No such
file or directory
Error: package or namespace load failed for ‘swirl’
Thanks alot in advance
Try installing httr package. I think it will solve your problem.
You did not say which R version you are using.
Some Swirl packages are not available for few R versions as 3.2.2. You cant even download any courses from Github repositories into the Swirl if Swirl was successfully loaded in R.
You may want to re-install a different version of R to avoid this Swirl issue, and try again.
I tried to install package ks, using code
install.packages("ks-package")
library("MASS")
library("ks")
but got next error:
Warning message:
package ‘ks-package’ is not available (for R version 2.15.2).
After that I tried to use latest R version for this code, but again got error message:
Warning message:
package ‘ks-package’ is not available (for R version 3.0.2)
Please, help me to understand, why there is this error and how can I resolve it...
With the most recent version of R, this should have succeeded:
install.packages("ks", dependencies=TRUE)
library("ks")
If you were using version 2.15.x, then yyou should have the tools for installing from source and then this should have worked:
install.packages("ks", dependencies=TRUE, type="source")
library("ks")
There are some mirrors that maintain copies of binary versions of packages for some OS, but you did not provide the needed information for specific comment on that issue.