Entering edit mode
9.4 years ago
Debbie
▴
10
I am new in R. Trying to install XL connect to read my excel file. However when I am typing
> install.packages("XLconnect")
or
> install.packages("XLConnect", dependencies=TRUE)
I am getting the following error:
Warning in install.packages :
unable to access index for repository /src/contrib
Installing package into '/Users/banerjeed/Library/R/3.2/library'
(as 'lib' is unspecified)
Warning in install.packages :
unable to access index for repository /src/contrib
Warning in install.packages :
package 'XLconnect' is not available (for R version 3.2.1)
Warning in install.packages :
unable to access index for repository /bin/macosx/mavericks/contrib/3.2
Is it really the version is wrong? I am also tried installing RCurl got the same message. I am using a 64bit Mac, Java 8.
Cannot understand where the problem is. Kindly help.
Thanks
Debbie
Possible problem:
Watch out for capitalization. Try
XLConnect
in place ofXLconnect
.Diagnostic:
You can type
library(XLConnect)
to see whether the package is actually installed. Unless your installation worked, it'll sayError in library(XLConnect) : there is no package called 'XLConnect'
.Solutions:
If you still have trouble, you may find this page helpful: http://stackoverflow.com/questions/25721884/how-should-i-deal-with-package-xxx-is-not-available-for-r-version-x-y-z-wa
Thanks for your response. I tried with both got the same error. Then went to R and installed it. Came back to R studio, then found it available to be installed in R studio. Just tried again then, got successfully installed in R studio too. Didn't understand what the problem was , but it got solved. Thanks for your response though.
Hi,
I am using R 3.5.3 and I am unable to install xlconnect package. I get the following error:
How shall I proceed?
Please ask this over at StackExchange as this is not bioinformatics-related.