How to install the r package in Linux

Source: Internet
Author: User
Then install biocondupackagesright now, the easiest way to install bioconductor packages is using the bioclite. r installation script. Here's how to use it:
In an R command window, type the following:
Xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Source (">
Download the package and run the following command:
> R cmd install-l the directory you want to install *. GZ (your package)
My method is:
Download the package to your local device
> Install. Packages ("package_path", repos = NULL)
Commands:
Install install add-on packages
Please use 'r cmd command -- help' to obtain further information about
The usage of 'command '.
We recommend that you use this method.
Source ("http://www.bioconductor.org/biocLite.R ")
Bioclite (C ("pkg1", "pkg2 "))
# Where "pkg1" and "pkg2" are the names of the packages you wowould like to install.

Because the r package involves the R version and the version of the dependency package that has been installed, it is hard
When the package is down, it may not match at all. The bioclite script can automatically process these operations to ensure that the installed package is available.
R CMD is a cool command. But Linux is prone to common faults and complicated dependencies.
Bioclite is very similar to Yum in fc6 Linux. As long as the network is good, such installation is undoubtedly manual.

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.