Entering edit mode
I was trying to run the function runPCA()
but I got the error
function 'sexp_as_cholmod_sparse' doesn't exist in the package 'Matrix'
I looked online and found that installing Matrix
and irlba
from source is a solution. However, I wasn't able to do so due to this error
process_begin: CreateProcess(NULL, basename irlba.dll .dll, ...) failed.
C:/PROGRA~1/R/R-43~1.2/share/make/winshlib.mk:16: pipe: No error
process_begin: CreateProcess(NULL, basename irlba.dll .dll, ...) failed.
C:/PROGRA~1/R/R-43~1.2/share/make/winshlib.mk:16: pipe: No error
process_begin: CreateProcess(NULL, basename irlba.dll .dll, ...) failed.
C:/PROGRA~1/R/R-43~1.2/share/make/winshlib.mk:16: pipe: No error
"zirlb.o utility.o" was unexpected.
make: *** [C:/PROGRA~1/R/R-43~1.2/share/make/winshlib.mk:16: irlba.dll] Error 255
ERROR: compilation failed for package 'irlba'
* removing 'C:/Users/Lenovo/AppData/Local/R/win-library/4.3/irlba'
Warning in install.packages:
installation of package 'irlba' had non-zero exit status
which makes me think that I have another underlying error. Some links point to installing gfortran but I already did and still have my original problem.
Anyone has an idea on how to proceed? Thanks!
sessionInfo( )
R version 4.3.2 (2023-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)
Matrix products: default
locale:
[1] LC_COLLATE=French_France.utf8 LC_CTYPE=French_France.utf8 LC_MONETARY=French_France.utf8
[4] LC_NUMERIC=C LC_TIME=French_France.utf8
time zone: Europe/Paris
tzcode source: internal
attached base packages:
[1] stats4 stats graphics grDevices utils datasets methods base
other attached packages:
[1] SingleCellExperiment_1.24.0 SummarizedExperiment_1.32.0 Biobase_2.62.0
[4] GenomicRanges_1.54.1 GenomeInfoDb_1.38.5 IRanges_2.36.0
[7] S4Vectors_0.40.2 BiocGenerics_0.48.1 MatrixGenerics_1.14.0
[10] matrixStats_1.2.0
loaded via a namespace (and not attached):
[1] Matrix_1.6-1.1 crayon_1.5.2 dplyr_1.1.4
[4] compiler_4.3.2 tidyselect_1.2.0 bitops_1.0-7
[7] fastmap_1.1.1 lattice_0.21-9 R6_2.5.1
[10] XVector_0.42.0 S4Arrays_1.2.1 generics_0.1.3
[13] knitr_1.45 DelayedArray_0.28.0 tibble_3.2.1
[16] GenomeInfoDbData_1.2.11 DBI_1.2.1 pillar_1.9.0
[19] rlang_1.1.2 utf8_1.2.4 xfun_0.41
[22] SparseArray_1.2.4 cli_3.6.2 magrittr_2.0.3
[25] zlibbioc_1.48.0 grid_4.3.2 digest_0.6.33
[28] rstudioapi_0.15.0 dbplyr_2.4.0 lifecycle_1.0.4
[31] vctrs_0.6.5 glue_1.6.2 abind_1.4-5
[34] RCurl_1.98-1.13 fansi_1.0.6 tools_4.3.2
[37] pkgconfig_2.0.3 htmltools_0.5.7
I'm not really familiar with installing from source on Windows. My only suggestion is to ensure you've got all of the relevant bits installed, ie
RTools
and such. Or perhaps see if you can find any info posted by theirlba
devs. As I've posted elsewhere there's not anything I can do toscater
to fix this issue, and I've already asked if a solution can be pushed for the generalMatrix
issue.That's exactly right. I have RTools installed, and this is what happens.