Skip to content
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 DiagrammeR on Ubuntu 18.04 - xml and rgexf error #297

Closed
kaktux opened this issue Jul 2, 2018 · 1 comment
Closed

Install DiagrammeR on Ubuntu 18.04 - xml and rgexf error #297

kaktux opened this issue Jul 2, 2018 · 1 comment

Comments

@kaktux
Copy link

kaktux commented Jul 2, 2018

Hi,

i am new to R (and RStudio) and trying to install DiagrammerR the "normal" way (via Rstudio) got me an error - xml and rgexf couldn't be installed.
I use Kubuntu 18.04 and the RStudio Server

To solve it i had to install the ubuntu package
r-cran-xml
via terminal. xml is a dependency of rgexf - so this error disappeared afterwards

After this DiagrammeR could be installed in RStudio.

Just in case someone has the same problem.

Edit:
this works for the R version included in the Ubuntu package repository.

If you use a newer version via cran-mirror you need to
sudo apt-get install libxml2-dev
to be able to install the missing xml dependency DiagrammR needs.

@kaktux kaktux changed the title Installa DiagrammeR on Ubuntu 18.04 - xml and rgexf error [solved] Install DiagrammeR on Ubuntu 18.04 - xml and rgexf error [solved] Jul 2, 2018
@kaktux kaktux changed the title Install DiagrammeR on Ubuntu 18.04 - xml and rgexf error [solved] Install DiagrammeR on Ubuntu 18.04 - xml and rgexf error Jul 2, 2018
@TPei
Copy link

TPei commented Feb 26, 2019

Nice, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants