安装依赖 [root@tingnan-DB3 ~]# yum install mysql-devel 安装包 install.packages("DBI") install.packages("RMySQL") library(DBI) library(RMySQL)