I'm trying to load rsample package in R but i get this error:
Error: package or namespace load failed for ‘rsample’ in loadNamespace(i,
c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘sfsmisc’
I can't not find a solution to this anywhere.
You can download the source file from here: https://cran.r-project.org/web/packages/rsample/index.html
I also could not get it to install by simply using install.packages ("rsample").
Reading the reference manual, it imports dplyr, purrr, tibble, rlang, methods, and recipes
Once I installed these, I was able to get the library to load from the local rsample_0.0.2.tar.gz file using the following line.
install.packages ("C:/Users/johndoe/Desktop/rsample_0.0.2.tar.gz", repos = NULL, type="source")
try install.packages("sfsmisc")
Related
I cannot manage to get the car package to download on RStudio Workbench version R 4.1.1. I am attempting to use the stat_cor function and get the error that it could not find function stat_cor, and from looking things up online, I need to download the ggpubr package and when I download it, I get the error:
Error: package or namespace load failed for ‘ggpubr’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘car’
So my next step is to download car but I get another error from there essentially saying "Configuration failed for package 'nloptr'" and also "dependency 'nloptr' is not available for package 'lme4'" and lastly "dependency 'lme4' is not available for package 'car'". I tried installing nloptr and get the same error.
I am new with this, but if I want to use the stat_cor function I need ggpubr, and for ggpubr I need car to work right? Any help would be great.
install.packages("ggpubr")
install.packages("car")
library('ggplot2')
library('ggpubr')
library('car')
I've had the following error for the package Hmisc. I read another thread which asked more about the error message however it said not to post this as a comment. I've installed the package and received the following error when calling in the library:
> library(Hmisc)
Error: package or namespace load failed for ‘Hmisc’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘checkmate’
In addition: Warning message:
package ‘Hmisc’ was built under R version 3.4.4
I've tried deleting the install and then installing checkmate separately and manually installing this from a browser rather than through R directly. However the same error message is returning. Does anyone know how to overcome this? Or similar packages to Hmisc. I need to package for a wtd.quantile function.
install.packages('lattice')
library('lattice')
install.packages('survival')
library('survival')
install.packages('Formula')
library('Formula')
install.packages('ggplot2')
library('ggplot2')
install.packages('checkmate')
library('checkmate')
install.packages('htmlwidgets')
library('htmlwidgets')
install.packages('stringi')
library('stringi')
install.packages('Hmisc')
library('Hmisc')
I am receiving the below error when calling the 'C50' package. It has been installed correctly.
Error: package or namespace load failed for ‘C50’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘inum’
I have also ran the following .lib path code prior to installing and calling the library:
.libPaths(c("C:/Users/danhu/OneDrive/Documents/R/win-library/3.4", .libPaths()))
Any thoughts on why this might be happening?
You can install by using a code:
install.packages("C50", repos="http://R-Forge.R-project.org")
library(C50)
visit:https://rdrr.io/rforge/C50/
I tried installing rtweet() in R but it shows the following error:
Error: package or namespace load failed for ‘rtweet’ in
loadNamespace(j <- imp[[1L]], c(lib.loc, .libPaths()), versionCheck =
vI[[j]]): there is no package called ‘Rcpp’
As Russ said, you should try to install Rcpp before:
install.packages("Rcpp")
Or you could use the line:
install.packages("rtweet", dependencies = TRUE)
It will install rtweet and all dependencies like Rcpp
You could also, try to install it directly from URL:
install.packages("https://cran.r-project.org/web/packages/rtweet/index.html")
And if still fails, go directly to issues from rtweet (https://github.com/mkearney/rtweet/issues) ;-)
And also be careful, because R packages are case-sensitive!
Have a nice day!
I have gone through the threads related to qdap but their problem is not the same as mine. Moreover, many of them do not have accepted answers. I installed 'qdap' package but when I load it using library(qdap), it returns the following error:
Error: package or namespace load failed for ‘qdap’ in loadNamespace(i,
c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package
called ‘openNLPdata’
I have even tried install.packages("qdap", dependencies = TRUE) but that did not make any difference. Any information in this regard will be helpful.
I met the same problem, too. I listed by solution as below.
First, you can try to install package(qdap) as this way.
library(devtools)
install_github("trinker/qdapDictionaries")
install_github("trinker/qdapRegex")
install_github("trinker/qdapTools")
install_github("trinker/qdap")
If "install_github("trinker/qdap")" is failed, you have to check the version of package "tm", which is "0.7.6". After updating this, you can install package "qdap" successfully.