Home > Enterprise >  Problem after trying to connect with database
Problem after trying to connect with database

Time:07-29

The German text says the data source name was not found and no default driver was specified.

Being fairly new to programming in R, I have absolutely no idea how to fix the problem. The database query is supposed to fill an Excel, which is output empty due to the error. The error does not occur with my colleagues, but no one can explain why it is the case with me. error

CodePudding user response:

The connectDB function looks like something created inhouse. Try stepping through it to see if you can get more details on the error. It is possible that you PC has not been setup for the ODBC connection, or some other environment variable is missing on your machine.

  • Related