Rgraphviz install issues
1
0
Entering edit mode
@andrew-beckerman-935
Last seen 7.1 years ago
Hi - R1.9.1; OSX 10.3.5; Dev Tools etc install. I have installed, via darwinports, graphviz (v1.16) running in x11 (I also have the standalone aqua app...) Having done that, I have tried to install RGraphviz from the Bioconductor suite via the x11 route to R, as Rgraphviz needs graphviz in the x11 environment (I think). First, I used the Bioconductor script getBioC("graph") which installed everthing successfully except RGraphviz and Guuid.... Assuming that the build of RGraphviz would require the library path for graphviz installed by darwinports, I tried this previously posted remedy to install RGraphviz dyn092203:~ apb$ export LD_LIBRARY_PATH=/opt/local/lib/graphviz dyn092203:~ apb$ sudo R CMD INSTALL /Users/apb/Rgraphviz_1.4.0.tar.gz Password: * Installing *source* package 'Rgraphviz' ... ** libs gcc -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include `dotneato-config --cflags` -I/usr/local/include -Wall -fno-common -g -O2 -c Rgraphviz.c -o Rgraphviz.o In file included from /opt/local/include/graphviz/render.h:45, from common.h:21, from Rgraphviz.c:1: /opt/local/include/graphviz/macros.h:34:1: warning: "NEW" redefined In file included from common.h:13, from Rgraphviz.c:1: /Library/Frameworks/R.framework/Resources/include/Rdefines.h:129:1: warning: this is the location of the previous definition Rgraphviz.c: In function `Rgraphviz_agopen': Rgraphviz.c:244: warning: implicit declaration of function `GD_gvc' Rgraphviz.c:244: error: invalid lvalue in assignment make: *** [Rgraphviz.o] Error 1 ERROR: compilation failed for package 'Rgraphviz' ** Removing '/Library/Frameworks/R.framework/Versions/1.9.1/Resources/library/ Rgraphviz' Clearly, something else is missing in my effort..... Any advice would be appreciated. Cheers andrew ---------------------------------------------------------------------- -- --------- Dr. Andrew Beckerman Department of Animal and Plant Sciences, University of Sheffield, Alfred Denny Building, Western Bank, Sheffield S10 2TN, UK ph +44 (0)114 222 0026; fx +44 (0)114 222 0002 http://www.shef.ac.uk/beckslab ---------------------------------------------------------------------- -- ----------
Rgraphviz Rgraphviz • 629 views
ADD COMMENT
0
Entering edit mode
Jeff Gentry ★ 3.9k
@jeff-gentry-12
Last seen 7.1 years ago
> I have installed, via darwinports, graphviz (v1.16) running in x11 (I > dyn092203:~ apb$ sudo R CMD INSTALL /Users/apb/Rgraphviz_1.4.0.tar.gz > Rgraphviz.c:244: warning: implicit declaration of function `GD_gvc' > Rgraphviz.c:244: error: invalid lvalue in assignment > Clearly, something else is missing in my effort..... Any advice would > be appreciated. If you're using that new of a version of Graphviz, you need to use the devel version of Rgraphviz.
ADD COMMENT

Login before adding your answer.

Traffic: 397 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6