![]() onLoad failed in loadNamespace() for ‘RMySQL’, details:Ĭall: dyn.load(file, DLLpath = DLLpath, …)Įrror: unable to load shared object ‘/usr/local/Cellar/r/2.15.2/R.framework/Versions/2.15/Resources/library/RMySQL/libs/RMySQL.so’:ĭlopen(/usr/local/Cellar/r/2.15.2/R.framework/Versions/2.15/Resources/library/RMySQL/libs/RMySQL.so, 6): Library not loaded: libmysqlclient.18.dylib ** testing if installed package can be loadedĮrror. These steps will get you over these ugly errors: library(RMySQL) should know work in the R interactive shell. This is documented as one of the options in the installation guide.ħ. In terminal, use the following command to install RMySQL. R CMD INSTALL –configure-args=’–with-mysql-dir=MYSQL_HOME –with-mysql-inc=MYSQL_HOME/include –with-mysql-lib=MYSQL_HOME/lib’ RMYSQL_PATH. ![]() ![]() Before installing RMySQL, we need to place libmysqlclient.18.dylib in a place where RMySQL can find it. sudo ln -s MYSQL_HOME/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib.Ħ. We’ll refer to the path of that RMySQL_ as RMYSQL_PATH.ĥ. ![]() Download RMySQL package source from CRAN. It should contain directories such as bin, lib, and include.Ĥ. Uncompress somewhere which we’ll now refer to as MYSQL_HOME.
0 Comments
Leave a Reply. |