This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error with library("GEOquery") in R

I am try to load GEOquery using the command library(GEOquery) and I am getting the following error

Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called 'XML'
Error: package or namespace load failed for 'GEOquery'

I am new in R. I am using R 3.2.2 and GEOquery_2.34.0.

geoquery r

1 answer

Looks like you need to install the XML package ...

install.packages("XML")

Log in to answer this question.