Closed danielsender closed 6 years ago
Gmedian
is a package that radiant uses and for some reason it is not installing on your ubuntu system. I can't replicate the problem on systems I have access to. Can you run the command below and post back all output that is generated in Rstudio? Also, please provide the output from sessionInfo()
.
install.packages("radiant", repos = "https://radiant-rstats.github.io/minicran/")
downloaded 131 KB
The downloaded source packages are in ‘/tmp/Rtmp1txK3c/downloaded_packages’ Warning messages: 1: In install.packages("radiant", repos = "https://radiant-rstats.github.io/minicran/") : installation of package ‘Gmedian’ had non-zero exit status 2: In install.packages("radiant", repos = "https://radiant-rstats.github.io/minicran/") : installation of package ‘radiant.multivariate’ had non-zero exit status 3: In install.packages("radiant", repos = "https://radiant-rstats.github.io/minicran/") : installation of package ‘radiant’ had non-zero exit status ` Many thanks for your prompt response.
`> sessionInfo() R version 3.4.4 (2018-03-15) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 18.04 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
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] 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_3.4.4 tools_3.4.4 `
That didn't help as much as I hoped it would :) Could you try the command below and report all messages? If that doesn't provide any inspiration, I'll get in touch with the package author of Gmedian
for suggestions.
install.packages(c("Rcpp", "RSpectra", "robustbase", "RcppArmadillo", "Gmedian"))
downloaded 3.6 MB
downloaded 416 KB
downloaded 2.8 MB
downloaded 1.3 MB
downloaded 16 KB
The downloaded source packages are in ‘/tmp/Rtmp8mfm3p/downloaded_packages’ Warning messages: 1: In install.packages(c("Rcpp", "RSpectra", "robustbase", "RcppArmadillo", : installation of package ‘RSpectra’ had non-zero exit status 2: In install.packages(c("Rcpp", "RSpectra", "robustbase", "RcppArmadillo", : installation of package ‘Gmedian’ had non-zero exit status `
Problem starts with rspectra. Try removing the mentioned directory and then installing rspectra again. If that succeeds try gmedian again
Can you please tell me how to remove that directory?
rm -rf /home/benji/R/x86_64-pc-linux-gnu-library/3.4/00LOCK-RSpectra
and maybe
rm -rf /home/benji/R/x86_64-pc-linux-gnu-library/3.4/RSpectra
Great! That did the trick - When I installed Gmedian it automatically also installed RSpectra. Now I'm trying to figure out how to star Radiant - in the Addings drop-down menu I only see mentioned "Update radiant", how do I do that?
I just typed install.packages("radiant"), and after appeared in the Addins menu -
Thank you very much for your help. You saved my day (and night)!
That is, unfortunately, probably not what you want. install.packages("radiant")
installs an old version of radiant. Use the command below instead. If the install is successful, you should see options to start radiant from the Addins dropdown. You can also use radiant::radiant()
to start.
install.packages("radiant", repos = "https://radiant-rstats.github.io/minicran/")
OK - So can I type your command now or I have to do some other intermediate step? Currently I can start Radiant from the Addins menu.
Thanks.
install.packages("radiant", repos = "https://radiant-rstats.github.io/minicran/")
then start radiant from the Addins dropdown or use
radiant::radiant()
downloaded 131 KB
The downloaded source packages are in ‘/tmp/Rtmpb0rCty/downloaded_packages’
So, is this OK?
Thanks again.`
Looks like it. If you can run radiant now I'll close the issue.
Great - Now I'll let Benji run it - if there is any other issue I will post it.
Thank you very much for your time and skill.
Daniel
I'm installing Radiant for a friend of mine - I have no clue about the program, so I don't know how to fix the problem. When in Rstudio (Ubuntu 18.04) I click on Adding->Update Radiant, it would give me error messages after compilations steps, which are:
`**_ preparing package for lazy loading Warning: S3 methods ‘eigs.matrix’, ‘eigs.dgeMatrix’, ‘eigs.dgCMatrix’, ‘eigs.dgRMatrix’, ‘eigs.dsyMatrix’, ‘eigs.function’, ‘eigs_sym.matrix’, ‘eigs_sym.dgeMatrix’, ‘eigs_sym.dgCMatrix’, ‘eigs_sym.dgRMatrix’, ‘eigs_sym.function’, ‘svds.matrix’, ‘svds.dgeMatrix’, ‘svds.dgCMatrix’, ‘svds.dgRMatrix’, ‘svds.dsyMatrix’, ‘svds.function’ were declared in NAMESPACE but not found Error in namespaceExport(ns, exports) : undefined exports: eigs, eigs_sym, svds ERROR: lazy loading failed for package ‘Gmedian’
The downloaded source packages are in ‘/tmp/Rtmp5vPCUy/downloadedpackages’ Warning message: In install.packages("Gmedian") : installation of package ‘Gmedian’ had non-zero exit status****
I would appreciate any help.
Daniel `