issue in installing a package in bioconductor package : scater - r

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?

Related

I can't install survminer package

I want to install surminer package but I see this code in R console
Warning in install.packages :
package ‘surminer’ 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-package
How can i install surminer package?
have you tried installing via Github? (I'm guessing you mean survminer, not surminer)
library(devtools)
install_github('kassambara/survminer')

Unable to install ggm package un R language

I'm currently operating in macOS with the R version of 3.6.3.
When I tried to install the package ggm, a warning occurred as follows.
Warning in install.packages :
dependency ‘graph’ is not available
also installing the dependency ‘igraph’
Then when it completed installing, it seemed not to work either:
ERROR: compilation failed for package ‘igraph’
* removing ‘/usr/local/lib/R/3.6/site-library/igraph’
ERROR: dependencies ‘igraph’, ‘graph’ are not available for package ‘ggm’
* removing ‘/usr/local/lib/R/3.6/site-library/ggm’
What is happening? I have searched for this error and didn't find anything that helps. Please help me. I'll be much appreciated!
I had the same problem.
To install the package graph you need to install the latest version of Bioconductor (i.e. package called BioManager).
Then you install the package graph and then simply run the installation for the ggm package.
install.packages("BiocManager")
BiocManager::install("graph")
install.packages("ggm")
library(ggm)
The package is then loaded into your R enviroment.

how to install rgdal package

I have been faced a problem when I tried ti install rgdal package in rstudio. Terminal caught this: Warning in install.packages :
installation of package ‘rgdal’ had non-zero exit status
I tried this: > install.packages('rgdal',repos="http://www.stats.ox.ac.uk/pub/RWin")
but terminal caught: Warning in install.packages :
package ‘rgdal’ is not available (for R version 3.5.2)
I tried to reinstal sp. No reslut. How to fix it??
OS - Elementary OS 5.0
r version - 3.5.2
It should be sufficient to run install.packages('rgdal'). R will ask you to select a mirror where the "0-Cloud [https]" mirror should work. The package rgdal is available there. The mentioned repository http://www.stats.ox.ac.uk/pub/RWin does not provide the R package.

Not able to install TwitteR2Mongo Package in R

I am trying to install an R package for autonomous processing of Twitter data with the help of TwitteR2Mongo, but I'm getting the following error:
Warning in install.packages :
package ‘TwitteR2Mongo’ is not available (for R version 3.4.3)
package may not have been published to CRAN. but it builds from github for me on 3.4.3.
try
install.packages("devtools")
library(devtools)
install_github("ProjectTw/TwitteR2Mongo")

installation of package 'RHmm_2.0.3.tar.gz' had non-zero exit status in R

Actually, I would like to use the function “HMMFit” of package ”Rhmm” in R, but it cannot find the package. Then, I try to download this package in https://cran.r-project.org/. The version is RHmm_2.0.3.tar.gz. When I install this package, it warning me that “installation of package ‘RHmm_2.0.3.tar.gz’ had non-zero exit status”, and I cannot install it. I had search it in google, but I cannot find a useful solution.
Do you have some suggestion?
Thanks
P.S. I am using RStudio verison 0.99.491, R version 3.2.3 and MAC OX.

Resources