install.graphviz {ndtv}R Documentation

Instructions for installing the Graphviz libraries on various platforms

Description

The network.layout.animate.Graphviz layout provides an interface for calling the various layouts provided by the Graphviz library (http://www.graphviz.org) if it is installed on your system. Since Graphviz is not an R package, you must manually install it on your system to get it to work.

Usage

install.graphviz()

Details

This function doesn't actually install Graphviz, it just points to these docs which give a very brief overview of how to do it on each platform.

Installing on Windows

Installing on a Mac

It seems that there is no longer a .pkg for the mac, but it can be installed easily via homebrew

Installing in Linux/unix

When Graphviz is installed correctly on any platform the R command Sys.which('neato') should print out the path to the installed libraries.

Value

On some platforms this function will open a web browser pointing to the download page for Graphviz.

Author(s)

skyebend

References

John Ellson et.al (2001) "Graphviz – open source graph drawing tools" Lecture Notes in Computer Science. Springer-Verlag. p483-484 http://www.graphviz.org

See Also

See network.layout.animate.Graphviz for more details about how ndtv usees Graphviz.


[Package ndtv version 0.13.3 Index]