'Does the "RODBC" package need to be installed from Anaconda or from a Jupyter Notebook?

I installed the RODBC package (Windows 10) from a Jupyter notebook

install.packages("RODBC")


library(RODBC)

However when I try to connect I get this message:

Warning message in odbcDriverConnect(con.text): "[RODBC] ERROR: state IM003, code 160, message Specified driver could not be loaded due to system error 1114: A dynamic link library (DLL) initialization routine failed. (IBM DB2 ODBC DRIVER - IBMDBCL1, C:\PROGRA~1\IBM\IBMDAT~1\BIN\DB2CLIO.DLL)."Warning message in odbcDriverConnect(con.text): "ODBC connection failed"

Does the RODBC package need to be installed from Anaconda or from the Jupyter Notebook? (I installed Jupyter from Anaconda)
What could be the script to install from Anaconda?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source