[R] User R to create MySQL database and table

Waverley @ Palo Alto waverley.paloalto at gmail.com
Sun May 23 03:04:19 CEST 2010


I am thinking about using R to create a database, then create table in
MySQL server.  Can I do that using RMySQL package?

I am familiar with RMySQL, and in the online help most of the sample
code assumes the database exists and transact with the table inside
the database.

Can someone provide me some sample code to create a database and
table?  Specifically create a database first, then create a table
inside the database.

Thanks a lot in advance.

Waverley @ Palo Alto

More information about the R-help mailing list