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