Redhat Installing the RODBC and Rmysql packages under R

Source: Internet
Author: User

R in the connection database of the package is quite many, these two are more commonly used. Redhat system, directly in the R program with the install.packages command to install the two packages will be wrong, unpredictable error, it may be that it needs to rely on other software.

RODBC need to install the following two first:

Yum Install UnixODBC

Yum Install Unixodbc-devel

Rmysql need to install MySQL first:

Yum Install Mysql-devel

Yum Install Mysql-server

This is my redhat situation, everyone's situation may be different, the specific may want to see prompts you in the Install.packages installation prompt message, or to the omnipotent Internet to find the answer.

Before Yum installs, check to see if there are unixodbc or MySQL methods on your system as follows:

Yum List installed UnixODBC *

Yum List installed mysql*

These two are listed in the installed program, with UNIXODBC and MySQL in the name.

At different times, the names of these software may vary, looking at the relevant installation package methods available under the Yum Source:

Yum List UnixODBC *

Yum List mysql*

Choose the installation you need based on the results.

Depending on the software installation is complete, then open R software, run the Install.packages method, run OK!


Have any questions or suggestions welcome to point out!

Reprint please indicate the source, thank you!

Redhat Installing the RODBC and Rmysql packages under R

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.