Connection to db2 database


I'd like to connect R-Studio to a db2 database via db2 runtime client.
R-Studio and the database run on Linux VMs.
How do I have to bulid the connection string?

IBM has a knowledge base article that describes how to connect to a DB2 instance at Connecting an R development environment to a Db2 database

That article recommends you use the ibmdbR package, which has a vignette USE IBM IN-DATABASE ANALYTICS WITH R.

Good luck.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.