Question: Problem with bnlearn and Rgraphviz
9.3 years ago by
email@example.com • 10
firstname.lastname@example.org • 10 wrote:
Dear Bioconductors, Very sorry for posting this problem. I am a new user to R and Bioconductor but I have problem loading the Rgraphviz package while exploring the bnlearn package in R. I have downloaded and installed graphviz-126.96.36.199 and also graphviz-2.20.3 but still have the error message and problem below. Can anyone help me with this problem? Thank you. Ong Penang, Malaysia. This application has failed to start because libcdt-4.dll was not found. Re-installing the application may fix this problem R version 2.11.1 (2010-05-31) Copyright (C) 2010 The R Foundation for Statistical Computing ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. [Previously saved workspace restored] > library(bnlearn) Loading required package: Rgraphviz Loading required package: graph Loading required package: grid Error : .onLoad failed in loadNamespace() for 'Rgraphviz', details: call: value[[3L]](cond) error: unable to load shared library 'C:/PROGRA~1/R/R-211~1.1/library/Rgraphviz/libs/Rgraphviz.dll': LoadLibrary failure: The specified module could not be found. Check that (1) graphviz is installed on your system; (2) the installed version of graphviz matches '2.20.3'; this is the version used to build this Rgraphviz package; (3) graphviz is accessible to R, e.g., the path to the graphviz 'bin' directory is in the system 'PATH' variable. See additional instructions in the 'README' file of the Rgraphviz 'source' distribution, available at http://bioconductor.org/packages/release/bioc/html/Rgraphviz.html Ask further questions on the Bioconductor mailing list http://bioconductor.org/docs/mailList.html Package Rgraphviz not loaded. Loading required package: lattice Package lattice loaded successfully. Attaching package: 'bnlearn' The following object(s) are masked from 'package:graph': nodes -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
ADD COMMENT • link •