When installing the R package RODBC in RStudio on OS X Yosemite, I get the following error:
configure: error: "ODBC headers sql.h and sqlext.h not found"
This is a common error and indicates that ODBC drivers haven't been installed (iODBC headers aren't included in OS 10.9 hence the separate install required). So, I install unixODBC and confirm that the header files are present in the PATH.
Sys.getenv("PATH")
gives me the correct path including where the two files are found.
However, when I try install.packages("RODBC",type = "source")
again, the same error persists. Have tested this with iODBC as well as unixODBC.
Are there any other tests I can perform to help diagnose the issue?