user2946746
user2946746

Reputation: 1780

Problems with XLConnect library

I'm getting the following error when trying to load the XLConnect library.

library(XLConnect)

Gives me the following error: Error: package ‘XLConnectJars’ 0.2.12 was found, but == 0.2.13 is required by ‘XLConnect’

How do I fix this problem?

I have tried:

update.packages("XLConnect")
install.packages("XLConnect")

Upvotes: 1

Views: 2475

Answers (1)

sconfluentus
sconfluentus

Reputation: 4993

XLConnect is twitchy and has some special needs, one of them is the package: ‘XLConnectJars’ if you have a copy, it is too old. You need to update it, either using install.packages("XLConnectJars") or by using Tools>check for updates in RStudio.

You will also need to verify that you have Java 1.6...properly and fully installed. Once you do those two things, I think this error will disipate

Upvotes: 2

Related Questions