[R] Rgui crashes when calling odbcClose()

Robert Sams robert at sanctumfi.com
Tue Jan 16 20:44:23 CET 2007


Hi,

I'm running Rgui v2.4.0, RODBC v1.1-8, and psqlODBC v8.2.0002. Whenever
I do the following

chan <- odbcConnect("mydatabase", uid="admin") # connection to a
postgresql db on a linux box
tmp <- sqlQuery(chan, "select * from sometable;") # this is successfull
odbcClose(chan)  # this crashes Rgui and raises an error window
containing the following MS error signature:

	AppName: rgui.exe AppVer 2.4.39566.0 	ModName: psqlodbc35w.dll
	ModVer: 8.2.0.2    Offset: 00003248

I didn't find anything relevant in the R Windows FAQ or a few queries of
the help archives; appologies if this has been addressed before.

Robert



More information about the R-help mailing list