Skip to content

Rcmdr, RODBC and XLConnect conflict cause R to crash

2 messages · Jeremy MAZET, John Fox

#
Dear Jeremy,

I'm not sure why loading all three packages creates a problem, but I can explain how the Rcmdr uses each of the other two. 

RODBC is more general than XLConnect, in that it allows the Rcmdr to read dBase and Access files in addition to Excel files. On the other hand, RODBC cannot read these kinds of files under 64-bit R for Windows, only under 32-bit R. Consequently, when the Rcmdr runs under 64-bit R for Windows, it instead uses the XLConnect package to read Excel files (but cannot read dBase or Access files).

I'm not sure why you would have all three of these packages loaded at once. I consider (at least from the point of view of the Rcmdr), the RODBC and XLConnect packages to be alternatives, and the proper package will be loaded when the corresponding menu item is first invoked.

I hope this helps,
 John

------------------------------------------------
John Fox
Sen. William McMaster Prof. of Social Statistics
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/
	
On Thu, 14 Feb 2013 21:43:21 +0100
Jeremy MAZET <jeremy.mazet at soredab.org> wrote: