Entering edit mode
4.7 years ago
n,n
▴
370
I'm trying to fetch files using the getGEO()
function from the GEOQuery
package in R. Upon loading the package and trying, I get a known error which can be solved via a patcher function as described in this post: Patch for GEOquery package error: getGEO Error in download.file, cannot open destfile
However, after following the steps to solve the error I get a new error:
gset <- getGEO("GSE134231" , GSEMatrix =TRUE, destdir=".")
Error in getAndParseGSEMatrices(GEO, destdir, AnnotGPL = AnnotGPL, getGPL = getGPL, :
unused argument (parseCharacteristics = parseCharacteristics)
What could possibly be wrong here? Here is my session info:
R version 3.6.3 (2020-02-29)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=Spanish_Mexico.1252 LC_CTYPE=Spanish_Mexico.1252
[3] LC_MONETARY=Spanish_Mexico.1252 LC_NUMERIC=C
[5] LC_TIME=Spanish_Mexico.1252
attached base packages:
[1] parallel stats graphics grDevices utils datasets methods base
other attached packages:
[1] GEOquery_2.52.0 Biobase_2.44.0 BiocGenerics_0.30.0
loaded via a namespace (and not attached):
[1] Rcpp_1.0.3 tidyr_1.0.2 crayon_1.3.4 dplyr_0.8.4 assertthat_0.2.1
[6] R6_2.4.1 lifecycle_0.2.0 magrittr_1.5 pillar_1.4.3 rlang_0.4.4
[11] rstudioapi_0.11 limma_3.40.6 xml2_1.2.2 vctrs_0.2.2 tools_3.6.3
[16] readr_1.3.1 glue_1.3.1 purrr_0.3.3 hms_0.5.3 compiler_3.6.3
[21] pkgconfig_2.0.3 tidyselect_1.0.0 tibble_2.1.3
Estoy usando / I am using the same version of R, but GEOquery v2.54. The command works for me:
I would continue without the patcher function. Do you have write access to the current working directory, i.e., the one specified as
destdir="."
?yes, I do have the appropriate permissions. For some reason I can't get the 2.54 version of the package by updating bioconductor.
Have you tried the development version via
devtools::install_github()
?I successfully installed with
devtools::install_github("https://github.com/seandavi/GEOquery")
. The version is now 2.55 as shown in the session info, however the same exact problem in the original post persists.I see... and you're running Windows 8? I wonder if this does not support some key library that is required. Have you any other system to use?
The files are just located here, by the way; so, you can just download them and read them into R:
Tried it on a macOS system without trouble, weird that it just doesn't work in the windows machine.
GEOquery needs to pull data from the web, so, I'd say that it relates to some library issue surrounding that, but not sure. Windows 8 is somewhat old, at this stage.