How to intall Rsubread, Edge R and limma packages in R in Cygwin?

0

I'm new to Cygwin and want to install three packages called Rsubread EdgeR and limma in R in Cygwin. I typed R in Cygwin console and once in the R environment, then I installed the packages as:

source("https://bioconductor.org/biocLite.R")

biocLite("Rsubread")

But once I'm done with the installation, I can not load the package using library (Rsubread) and it gives me that there is no package called Rsubread.

Any idea what the problem is?

Thanks a lot for the help

hamid

Posted 2015-11-26T01:38:46.277

Reputation: 1

send a mail to "cygwin (at) cygwin (dot) com" link. Possible include the installation log and follow the suggested link guidelines

– matzeri – 2015-12-02T07:02:56.160

Answers

0

the following is from a draft-manuscript. It worked in the past, but a recent update of Rsubread seems to cause problems (see my question on bioconductor). Well - if you use the right version of R/Bioconductor, it should work though. And I hope that the current problem will be fixed in future.

Download the Cygwin-installer and start the setup. Go through the dialog until you can select the packages you would like to install. Select the following packages in addition to what is per default selected (for the libraries ending on "-devel", double check if the version without "-devel" is selected as well).

  • Archive:
    • libbz2-devel: BZip file de/compressor
  • Devel:
    • gcc-core: GNU Compiler Collection (C, OpenMP)
    • gcc-g++: GNU Compiler Collection (C++)
    • gcc-fortran: GNU Compiler Collection (Fortran)
    • make: The GNU version of the 'make' utility
  • Libs:
    • libcurl-devel: Multi-protocol file transfer library (development)
    • libiconv-devel: Unicode iconv() implementation
    • libicu-devel: IBM Internationalization Component for Unicode
    • libintl-devel: GNU Internationalization runtime library
    • liblzma-devel: LZMA de/compressor library (development)
    • libpcre-devel: Perl Compatible Regular Expressions library development
    • libtirpc-devel: A port of Sun's Transport-Independent RPC library
    • libxml2-devel: GNOME XML library (development)
    • zlib-devel: Gzip de/compression library (development)
  • Science:
    • R: R Statistical computing language

After completing the Cygwin installation, start Cygwin, type "R" and press enter to start an R console. At least for the alignment of the short reads (i.e. usage of Rsubread), you need to use this console. Note that packages installed in the Cygwin R console are not available to any other native R installation (i.e. R installed with the installer available on cran.r-project.org).

And well - this should be clear, to install Rsubread in the Cygwin-R:

source("THE BIOCONDUCTOR LINK - yes, I'm not allowed to post more than 2 links")
biocLite()
biocLite("Rsubread")

With the steps above, this packages will work as well:

biocLite(c("SRAdb", "Rsamtools", "biomaRt", "DESeq2", "edgeR", "limma"))

MWS

Posted 2015-11-26T01:38:46.277

Reputation: 1