CentOS installation and Configuration R language

Source: Internet
Author: User

Install R language under Linux

First, compile and install

As a result of compiling the installation, it is necessary to use the gcc compilation environment, in the pre-compilation check file will also use the libxt-devel and Readline-devel Two dependencies, so when compiling the R Language source code, these tools and dependencies are ready first. readline-devel can also not install, do not install this package in the R language programming environment, the auto-completion function is obsolete.

Note: You can use yum to install more easily.

1. Installation Environment:

Centos 6.5

2. Installation steps:

(1) Open a Command line window and enter a directory

wget http://ftp.ctex.org/mirrors/CRAN/src/base/R-2/R-2.13.1.tar.gz ( recommended download link, many of the old posts on the web link has expired, can also be accessed through the browser R language website Download Linux version of the source code compression package ).

Note: Since many of the mirrors are foreign sources, there are times when FQ is required and it is recommended to use the Siego recommended flagship VPN tool for FQ.

(2) Use the command TAR-ZXVF r-2.13.1.tar.gz decompression.

(3) CD R-2.13.1 into the catalogue.

(4)./configure This will check the file.

(5) Make ( This step takes a longer time )

(6) Make install

After compiling the installation, it will automatically enter the R Language programming environment, you can use install.packages ("xxx") and library (XXX) to load the required packages.

Exit command is Q ()

CentOS installation and Configuration R language

Related Article

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.