I am trying to do a scatter3d(y ~ x1+ x2), but I am getting the following error:
Loading required namespace: rgl
Failed with error: ‘there is no package called ‘shiny’’
Error in scatter3d(Vent ~ O2 + CO2) : rgl package missing
I have tried to install rgl in the following way:
install.packages("rgl", repos = c("http://rstudio.org/_packages", "http://cran.rstudio.com"))
install.packages("rgl", depositories = TRUE)
Getting this error:
Errore: package or namespace load failed for ‘rgl’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘shiny’
And if I try to install shiny in the same way that I did for rgl, I get the following
ERROR: dependency 'htmltools' is not available for package 'shiny'
* removing 'C:/Users/franc/Documents/R/win-library/3.5/shiny'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘shiny’ had non-zero exit status
ERROR: dependency 'shiny' is not available for package 'shinytest'
* removing 'C:/Users/franc/Documents/R/win-library/3.5/shinytest'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘shinytest’ had non-zero exit status
Does anyone know what is going on and how I can solve this?
Thank you in advance!
Related
I just updated the R version from 4.0.4 to 4.1.3.
I have successfully installed
install.packages("agricolae").
But, when I run the syntax
library(agricolae),
The output in RGUI shown:
Warning message: package ‘agricolae’ was built under R version 4.0.5.
Then, the output in RStudio shown:
Error: package or namespace load failed for ‘agricolae’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘magrittr’.
So, I tried to install the packages of "magrittr", but failed. The output in RStudio shown:
The system cannot find the path specified. make: \*\*\* \[pipe.o\] Error 1 ERROR: compilation failed for package 'magrittr'
* removing 'C:/Users/Anna/Documents/R/win-library/4.1/magrittr' Warning in install.packages : installation of package ‘magrittr’ had non-zero exit status\.
How can I install the package of agricolae?
here is the code I am using:
install.packages("jaccard")
library("jaccard")
The error code I receive is:
Error: package or namespace load failed for ‘jaccard’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘qvalue’
In addition: Warning message:
package ‘jaccard’ was built under R version 3.6.3
I try to install the package qvalue and receive the error:
Warning in install.packages :
package ‘qvalue’ is not available (for R version 3.6.2)
I've also tried installing jaccard and qvalue using the code:
install.packages("jaccard", repos="http://cran.rstudio.com/", dependencies=TRUE)
install.packages("qvalue", repos="http://cran.rstudio.com/", dependencies=TRUE)
None of this seems to work and I receive the same errors.
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'xfun' 0.13 is being loaded, but >= 0.15 is required
ERROR: lazy loading failed for package 'knitr'
* removing 'C:/Users/mazen/Documents/R/win-library/3.5/knitr'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘knitr’ had non-zero exit status
ERROR: dependency 'knitr' is not available for package 'rmarkdown'
* removing 'C:/Users/mazen/Documents/R/win-library/3.5/rmarkdown'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘rmarkdown’ had non-zero exit status
You need to install a more recent version of xfun:
install.packages('xfun')
However, your R version is too old (3.5.x). With this old version of R, you don't have access to CRAN's prebuilt binary version of xfun. Your two choices are:
Either upgrade R;
or install Rtools.
Unless you are in a locked environment that prevents you from upgrading R, I strongly recommend that you upgrade R, instead of installing Rtools for an old version of R.
I have installed DESeq 2 and it gives this error message:
Error: package or namespace load failed for ‘DESeq2’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘Rcpp’
I have then tried to install RCPP but it gives the following error message:
1 error generated.
make: *** [api.o] Error 1
ERROR: compilation failed for package ‘Rcpp’
* removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rcpp’
Warning in install.packages :
installation of package ‘Rcpp’ had non-zero exit status
I have updated everything I could, R and R studio as well as my mac but the error persists.
Therefore when I try to run the following function of DESeq2 I can't run it and it gives me the following error which I guess is due to not having Rcpp:
dds <- DESeqDataSetFromHTSeqCount(sampleTable = sampleTable,
+ directory = getwd(),
+ design= ~ replicate + condition )
Error in DESeqDataSetFromHTSeqCount(sampleTable = sampleTable, directory = getwd(), :
could not find function "DESeqDataSetFromHTSeqCount"
Any help or solution on how to solve this?
Thanks a lot!!
Alerie
I am trying to install package called plm and i am getting the following error. I already have it installed and I am getting some messy error. any suggestions what I should do?
install.packages("plm", repos="http://R-Forge.R-project.org")
> Error in install.packages : Line starting '<!DOCTYPE HTML PUBLI ...' is malformed!
> library(plm)
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace ‘pbkrtest’ 0.4-2 is being loaded, but >= 0.4.4 is required
In addition: Warning message:
package ‘plm’ was built under R version 3.2.5
Error: package or namespace load failed for ‘plm’
install.packages("plm", dependencies = TRUE)