Win7 (RHDF5) bioconduct installation tips and installed directory not writable problem resolution

Source: Internet
Author: User

In order to read and write HDF5 files in R, the RHDF5 package needs to be installed. The general method is to run in R:

However, this will automatically download the required packages for installation from foreign servers. And my method of improvement is as follows:

1. Access Http://bioconductor.org/biocLite.R with a browser, save the file to a local


2, edit the local BIOCLITE.R, the third row and the eighth line of the comment, the content is changed to:

Options ("Repos" = C (cran= "Http://mirror.bjtu.edu.cn/cran") options ("Bioc_mirror" = "http://mirrors.ustc.edu.cn/bioc/")
This will be even the domestic server download package, the speed will be relatively fast.

3. Running in R

> Source ("BIOCLITE.R") > Bioclite ("Rhdf5")

You can install the RHDF5 package.


Additional installation may encounter error: Installed directory not writable,cannot update packages ...

My workaround is to start the R run environment or Rstudio as an administrator before installing.



Win7 (RHDF5) bioconduct installation tips and installed directory not writable problem resolution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.