Question: error installing cummerbund in R studio
0
gravatar for sangita_b
2.0 years ago by
sangita_b70
United Kingdom
sangita_b70 wrote:

Hi I have installed R (for Windows) and R studio (desktop version). I am trying to install cummerbund however the package won't install. I have tried a number of things based on forum posts but nothing has worked so far- can anyone offer any advice? Please see script for details:

R version 3.4.0 (2017-04-21) -- "You Stupid Darkness"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> source('http://www.bioconductor.org/biocLite.R')
Bioconductor version 3.5 (BiocInstaller 1.26.0), ?biocLite for help
> biocLite('cummeRbund')
BioC_mirror: https://bioconductor.org
Using Bioconductor 3.5 (BiocInstaller 1.26.0), R 3.4.0 (2017-04-21).
Installing package(s) ‘cummeRbund’
trying URL 'https://bioconductor.org/packages/3.5/bioc/bin/windows/contrib/3.4/cummeRbund_2.18.0.zip'
Content type 'application/zip' length 7699754 bytes (7.3 MB)
downloaded 7.3 MB

package ‘cummeRbund’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    C:\Users\mszskb\AppData\Local\Temp\RtmpAbsKsF\downloaded_packages
Old packages: 'foreign', 'Matrix'
Update all/some/none? [a/s/n]: 
a
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/foreign_0.8-68.zip'
Content type 'application/zip' length 308971 bytes (301 KB)
downloaded 301 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/Matrix_1.2-10.zip'
Content type 'application/zip' length 2839443 bytes (2.7 MB)
downloaded 2.7 MB

package ‘foreign’ successfully unpacked and MD5 sums checked
package ‘Matrix’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    C:\Users\mszskb\AppData\Local\Temp\RtmpAbsKsF\downloaded_packages
> library(cummeRbund)
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: ‘BiocGenerics’

The following objects are masked from ‘package:parallel’:

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from ‘package:stats’:

    IQR, mad, sd, var, xtabs

The following objects are masked from ‘package:base’:

    anyDuplicated, append, as.data.frame, cbind, colMeans, colnames,
    colSums, do.call, duplicated, eval, evalq, Filter, Find, get, grep,
    grepl, intersect, is.unsorted, lapply, lengths, Map, mapply, match,
    mget, order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank,
    rbind, Reduce, rowMeans, rownames, rowSums, sapply, setdiff, sort,
    table, tapply, union, unique, unsplit, which, which.max, which.min

Loading required package: RSQLite
Error: package or namespace load failed for ‘RSQLite’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 there is no package called ‘digest’
Error: package ‘RSQLite’ could not be loaded

Thanks Sangita

error cummerbund r studio • 1.7k views
ADD COMMENTlink modified 22 months ago by Biostar ♦♦ 20 • written 2.0 years ago by sangita_b70
1
 **there is no package called ‘digest’
ADD REPLYlink written 2.0 years ago by cpad011211k

https://cran.r-project.org/web/packages/digest/index.html

check this

ADD REPLYlink written 2.0 years ago by barrypraveen20

Cummerbund needs lot of dependencies so make sure with dependencies. Download source zip file and then extract.

ADD REPLYlink written 2.0 years ago by barrypraveen20

Thank you, I have done this. How do I install digest to R?

ADD REPLYlink written 2.0 years ago by sangita_b70

Follow the above mentioned link and download. Download Zip file and install through Rstudio (select the Zip file through the Rstudio)

ADD REPLYlink modified 2.0 years ago • written 2.0 years ago by barrypraveen20

but how should I select the zip file and then install it. please help??

ADD REPLYlink written 19 months ago by garimav890

you don't need to do that i.e download source file etc. In R studio, type "setRepositories()" and press enter. Several repositories appear with following heading: --- Please select repositories for use in this session ---. Type : 1 2 3 4 5 6 7 and press enter. Then type in " install.packages("cummeRbund", dependencies=TRUE)" This should download all the dependency packages as well.

As for your question, how to install via source zip file in windows, follow this post on SO: https://stackoverflow.com/questions/7075709/install-binary-zipped-r-package-via-command-line

ADD REPLYlink modified 19 months ago • written 19 months ago by cpad011211k

What is the output of

library(RSQLite)
ADD REPLYlink written 2.0 years ago by Vijay Lakhujani4.2k

Thank you. I have tried this, the following error comes up Error: package or namespace load failed for ‘RSQLite’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘digest’

ADD REPLYlink written 2.0 years ago by sangita_b70
1

You still don't have digest package installed.

if you have downloaded "digest" package, run following command in linux terminal (assuming that you are using linux and current directory is where digest package is located) You still don't have digest package installed.

$ R CMD INSTALL <digest package>

If you are still in R console/R studio, type in

$ install.packages("digest")

This should install digest package.

ADD REPLYlink modified 2.0 years ago • written 2.0 years ago by cpad011211k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 986 users visited in the last hour