-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install error on oracle rstudio server xml load #12
Comments
Thanks for reporting this. My first suggestion would be to try to install the XML package but I imagine you would find a similar problem there. So it may be a dependency related to your particular configuration, see for instance, https://community.rstudio.com/t/can-not-install-xml-package/48854 |
I was blown away by your very quick response.
Installing package into ‘/usr/local/lib/R/site-library’
|
Can I have a patch to make it work? Thanks. |
OK, I see. I'm still unsure whether this is an issue with covid19.analytics or xml. Other than that, at the moment I can't really think of anything else as I haven't seen this error myself even when working in different systems. Actually, now I'm a little bit puzzle... as far as I can recall covid19.analytics does not require XML. Would you mind telling me which OS and R version are you using? |
Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
Hi, you are very intelligent.
|
Hi = the same to xml2 = failed
|
OK, so I think the issue is the xml system libraries XML packages and sometime the system libraries have some reputation of being "tricky", see Alternatively you could try to install covid19.analytics from source, e.g. |
@mponce0 = tried source = failed see here.
The downloaded source packages are in |
@mponce0 = your package is my lifeline to report to the Grand Round |
Nop, it is not doing the compilation... you can see that when it states
BTW which repo are you using? Alternatively, you can do the following: |
Tried from your advice via http.
It failed. It also said = illegal URL 0-Cloud [https] = why? Thanks. |
@mponce0 = my home pc windows system rtools42 has libxml2 |
rtools is needed on Windows systems as they usually don't bring along compilers but I don't think they will help much in your case. Although you may want to try... Focusing on the ubuntu system, did you install libxml2-dev using
After this you want to launch R, and do the following: # remove XML
remove.packages("XML")
# reinstall XML
remove.packages("XML") try to load XML and see what the error says. The "0-Cloud" repository is one of the options, the first one, offered when you interactively run "install.packages(...)" BTW I just noticed that the installation is referring to the "/usr/local/lib/R/site-library/..." this is usually a system path, ie. unless you are dong the installation as root it may not have permissions to write to it. |
Yes, I will try all you advise above. |
Hi Sir, I still can't solve this package install. one thing = our state has around 30K new cases and 100 deaths every week.
The downloaded source packages are in
The downloaded source packages are in
The downloaded source packages are in
The downloaded source packages are in
|
OK, I'm seeing a new type of problem here pointing to the lack of X11. Then you also need to install XQuartz -- https://www.xquartz.org -- this is a program that provides support for graphics in linux-type of OSes. Please install XQuartz, you may need to reboot your system, then reinstall both the XML and covid19.analytics packages. |
Thanks for your kind advice. I am not using MacOS though. |
Hi, I have setup an Oracle RStudio Server yesterday to have this covid19.analytics package accessible anywhere anytime on web.
Sadly, other such as EpiEstim and other packages installed smoothly but failed multiple times in your package with the following error.
** package ‘covid19.analytics’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error: .onLoad failed in loadNamespace() for 'XML', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/usr/local/lib/R/site-library/XML/libs/XML.so':
libxml2.so.2: cannot open shared object file: No such file or directory
Execution halted
ERROR: lazy loading failed for package ‘covid19.analytics’
Warning in install.packages :
installation of package ‘covid19.analytics’ had non-zero exit status
Please advise how to solve.
Thank you very much.
The text was updated successfully, but these errors were encountered: