ERROR when install RMySQL
1
0
Entering edit mode
5.9 years ago

Hello, when I install RMySQL, I keep getting the following error:

connection.c: In function 'RS_MySQL_moreResultSets':
connection.c:224:3: error: unknown type name 'my_bool'; did you mean '_Bool'?
   my_bool           tmp;
   ^~~~~~~
   _Bool
make: *** [connection.o] Error 1
ERROR: compilation failed for package ‘RMySQL’
* removing ‘/root/miniconda2/lib/R/library/RMySQL’
Installation failed: Command failed (1)

Would any one know why? Any help and advice is greatly appreciated!

Kai

R • 1.9k views
ADD COMMENT
0
Entering edit mode

In the future, please format your post to make it more readable, using the code sample and block quote buttons. I did some formatting to you this time.

ADD REPLY
2
Entering edit mode
5.9 years ago
h.mon 35k

What is the command you are using to install RMySQL? Did you see there is a conda r-rmysql package (in fact, two) and you can install it with conda install -c r r-rmysql or conda install -c conda-forge r-rmysql.

ADD COMMENT
0
Entering edit mode

Thanks.

I used conda install rmysql. It didn't work. Your code conda install -c r r-rmysql solved my problem.

Kai

ADD REPLY

Login before adding your answer.

Traffic: 2987 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6