Sage-Bionetworks / synapser

An R package providing programmatic access to Synapse
Apache License 2.0
32 stars 21 forks source link

Installation issue #291

Closed france-hub closed 3 years ago

france-hub commented 3 years ago

Hi developers!

I have some installation issues.

My OS is 18.04.1-Ubuntu. Yesterday I've tried to install synapser after having installed all the system dependencies as required for Ubuntu in the documentation. But I have been unsuccessful. Reading some previous issues and posts I've thought to remove reticulate since I am not using it and the compatibility issues.

Now when I try to install synapser I get the following:

install.packages("synapser", repos = c("http://ran.synapse.org", "http://cran.fhcrc.org")) Installing package into ‘/home/francesco/R/x86_64-pc-linux-gnu-library/4.0’ (as ‘lib’ is unspecified) also installing the dependency ‘PythonEmbedInR’

[...]

Error in loadNamespace(name) : there is no package called ‘reticulate’ Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Warning in install.packages : installation of package ‘PythonEmbedInR’ had non-zero exit status Error in loadNamespace(name) : there is no package called ‘reticulate’ Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Warning in install.packages : installation of package ‘synapser’ had non-zero exit status

The downloaded source packages are in ‘/tmp/RtmpaLllNY/downloaded_packages’

I don't understand the meaning of the error.

sessionInfo() R version 4.0.2 (2020-06-22) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 18.04.4 LTS

Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1 LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1

locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8
[4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages: [1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached): [1] compiler_4.0.2 tools_4.0.2

Can you help me?

Thank you Francesco

france-hub commented 3 years ago

Apologize. I solved it. I had an Rprofile file to remove.

Thanks