Learn R Programming

⚠️There's a newer version (0.11.1) of this package.Take me there.

RMySQL (version 0.4-6)

R interface to the MySQL database

Description

Database interface and MySQL driver for R. This is a transitional version meant to fix some compatibility problems with the library(methods) and to port to Windows. The next major version will be entirely based on the DBI (see the package DBI 0.1-3) and Version 4 classes and methods, library(methods).

Copy Link

Version

Install

install.packages('RMySQL')

Monthly Downloads

70,047

Version

0.4-6

License

GPL

Maintainer

David James

Last Published

April 1st, 2025

Functions in RMySQL (0.4-6)

describe

Describe an object through its meta-data
getNumRows

Get number of rows/columns of an SQL table
dbConnect

Create a connection to a RDBMS
dbManager

Instantiate a database manager
load

Load/unload the client part of a database interface
isSQLKeyword

Is a name an SQL keyword?
dbApply.MySQLResultSet

Apply R/S functions to remote groups of DBMS rows (experimental)
commit

RDBMS Transaction Management
setDataMappings

Set data mappings between an RDBMS and R/S
make.SQL.names

Make R/S identifiers into legal SQL identifiers.
dbExecStatement

Execute an SQL statement on a given database connection
getTable

Convenience functions for Importing/Exporting DBMS tables into R/S.
getManager

Get a database manager object from a derived handle
SQLDataType

Determine the SQL Data Type of an R/S object
methods.MySQL

Support MySQL methods
quickSQL

Quick SQL Execution
callProc

Call an SQL stored procedure
isIdCurrent

Check whether a database handle object is valid or not
dbExec

Execute an SQL script on a given database connection
dbApply

Apply R/S functions to remote groups of DBMS rows (experimental)
metaData

R/S database interface meta-data
fetch

Fetch records from a previously executed SELECT statement
MySQL

Instantiate a MySQL client from the current R or S session
S4R

R compatibility with S version 4/Splus5+ support functions
supportObjects

Support objects for RS-DBI