RMySQL is the database interface and MySQL driver for R. If you don’t already have MySQL libraries and try to install it, you could get an error like:
1 |
This is because the installation don’t find the required MySQL C API libraries. You can manually download them and specify the path as arguments, but a much simpler way is to use apt-get:
1 |
sudo apt-get install libmysqlclient-dev |
Then, in your R environment you can reinstall the package!