[R-sig-DB] Error: package 'RODBC' was built before R 3.0.0: please re-install it
Dirk Eddelbuettel
edd @end|ng |rom deb|@n@org
Thu Feb 27 15:57:21 CET 2014
On 27 February 2014 at 14:09, Luis Ridao wrote:
|
| I'm trying to install the RODBC on Ubuntu 12.04 (64 bits)
| By doing within R:
|
| > install.packages('RODBC')
| configure: error: "ODBC headers sql.h and sqlext.h not found"
| ERROR: configuration failed for package ?RODBC?
| * removing ?/home/luisr/R/x86_64-pc-linux-gnu-library/3.0/RODBC?
|
| The downloaded source packages are in
| ?/tmp/Rtmp6uZtxC/downloaded_packages?
| Warning message:
| In install.packages("RODBC") :
| installation of package ?RODBC? had non-zero exit status
|
| by doing outside R:
|
| > sudo apt-get install r-cran-rodbc
|
| it works but back in R i get this message:
Sorry. Missed that. Then do
sudo apt-get install unixodbc-dev
to be able to compile ROBDC from source and proceed with (from within R)
install.packages('RODBC')
which should now work.
Dirk
| > library(RODBC)
| Error: package ?RODBC? was built before R 3.0.0: please re-install it
|
|
| Can anyone help?
|
| best,
| Luis
--
Dirk Eddelbuettel | edd using debian.org | http://dirk.eddelbuettel.com
More information about the R-sig-DB
mailing list