Skip to content

remote connection to an Oracle database - using RODBC - RMySQL..?

4 messages · Marc Schwartz, Raffaello Vardavas

#
On Nov 21, 2012, at 1:52 PM, Raffaello Vardavas <r_vardavas at hotmail.com> wrote:

            
Several comments:

1. Future posts on this subject should be made to R-SIG-DB, not here. More info:

  https://stat.ethz.ch/mailman/listinfo/r-sig-db

2. Why would you expect to use an R package and driver for MySQL when attempting to access an Oracle server?

3. There is a good starting point on this subject generally in the R Data Import/Export manual:

  http://cran.r-project.org/doc/manuals/r-release/R-data.html#Relational-databases

4. I would recommend using RODBC, which is what I use. You will of course need to have an ODBC driver for Oracle installed on your system and properly configured. You may need to get that from Oracle or other parties depending upon your OS which is unstated here. You may also need to get assistance with that process from your SysAdmin or DBAdmin.

5. If you use RODBC, there is additional, quite good information in the package vignette, which is accessible by using:

  vignette("RODBC")

post package installation.

6. I don't have any experience using Kerberos authentication on my Oracle server here, so you may have to follow up on the R-SIG-DB list on that point. A search of the archives did not reveal anything material on that point.

7. Alternatives to RODBC would include ROracle and RJDBC via CRAN.

Regards,

Marc Schwartz
4 days later