O'Reilly logo

R Data Analysis Cookbook - Second Edition by Kuntal Ganguly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using RJDBC

With JDBC, we can connect to any database. Hence, we need to tell R which driver to use. Once the driver is assigned in R, we use this later to create a connection to the database using the appropriate .jar files.

When connecting to a MySQL database, all the statements after getting the connection object are identical to those in the RMySQL scenario.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required