2009年3月17日星期二

Install Rgraphivz package

    I'm learning bioconductor these days, and today I came with a problem when I try to install "Rgraphviz" package using biocLite('Rgraphivz'). It generated a warning message and told me ' installation of package 'Rgraphviz' had non-zero exit status' .I download it (wget http://bioconductor.org/packages/2.3/bioc/src/contrib/Rgraphviz_1.20.3.tar.gz) and used R CMD INSTALL Rgraphviz_1.20.3.tar.gz,but it didn't work either. This time,it told me 'libgvc not found', I realized maybe some certain libs are missing,but when type sudo apt-get install libgvc, same problem occured---package not found.

    After a while,I realized may this package depend on '
graphviz' package,so I type sudo apt-get istall graphviz graphviz-dev, and then R CMD INSTALL Rgraphviz_1.20.3.tar.gz. Cheer, It works.

    Go on learning!



没有评论: