Installing a CRAN package for R language - r

I would like to install the following package for R,
https://thlfi.github.io/read.gt3x/index.html
When I run this command on the R command line, I get the following message,
remotes::install_github("THLfi/read.gt3x")
Error in loadNamespace(name) : there is no package called ‘remotes’

Related

Is there any way to install RMongo package as its officially removed from CRAN?

I need to install RMongo to connect to my local MongoDB database. On installing RMongo I am getting this error:
Warning in install.packages :
package ‘RMongo’ is not available (for R version 3.5.3)
I also downloaded RMongo tar file and stored in R directory where all packages get installed and tried to install the package by writing this command in R environment
install.packages("C:/Users/Akash/Documents/R/win-library/3.5/RMongo_0.0.25.tar", repos = NULL, type="source")
On trying to download the package through tar file I am getting this error,
Warning: invalid package 'C:/Users/Akash/Documents/R/win-library/3.5/RMongo_0.0.25.tar'
Error: ERROR: no packages specified
In R CMD INSTALL
Warning in install.packages :
installation of package ‘C:/Users/Akash/Documents/R/win-library/3.5/RMongo_0.0.25.tar’ had non-zero exit status
Any help is appreciated
Thanks in Advance

Can't install devtools in R

I'm trying to use a script that needs the devtools package in R. I already fail installing the package. As far as I understood, this is what I should do
install.packages("devtools")
devtools::install_github("hadley/devtools")
Just those two lines in a script result in the error
Warning in install.packages("devtools") :
'lib = "/usr/local/R/3.0/lib/x86_64-linux-gnu/R/library"' is not writable
Error in install.packages("devtools") : unable to install packages
Execution halted
So the library doesn't have the permission for me to install the package? I don't have Rstudio, the version I'm using R version 3.0

R Not able to install CHAID

I am trying to install CHAID package into R using the command below.
install.packages("CHAID", repos="http://R-Forge.R-project.org")
I keep getting the response
Error in dev.off() : could not find function "dev.off"
Execution halted
In R CMD INSTALL
Warning in install.packages :
installation of package ‘CHAID’ had non-zero exit status
The OS is Windows10. R is running the latest 3.5.1
I tried to google the error and find a fix but without success.
Make sure you have the partykit package installed first before installing CHAID. That worked for me.

issue in installing a package in bioconductor package : scater

I am trying to install an R package called "scater". this is a bioconductor package. the version of R I have is: R version 3.4.0.
I tried this command:
source("https://bioconductor.org/biocLite.R")
biocLite("scater")
but still gives this error:
installation of package ‘scater’ had non-zero exit status
do you know how to solve this problem?

Installing readtext package

I cannot install the readtext package, and I have tried two ways:
when trying 'install.packages (readtext)' a message is displayed saying that this is not available for R version 3.3.3
When trying to install it from github through devtools, it shows up the following message:
ERROR: dependency 'stringi' is not available for package 'readtext'
* removing [readtext from my library]
Error: Command failed (1)
This is weird because the stringr package is installed...
Thanks

Resources