about the possible errors in Rgraphviz Package

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

about the possible errors in Rgraphviz Package

HU,ZHENGJUN
Hi All,

  I tried to install the package of Rgraphviz in the following two
ways successfully:

source("http://bioconductor.org/biocLite.R")
biocLite("Rgraphviz")

install.packages(pkgs="C:/Progra~1/R/lib_download/Rgraphviz_1.24.0.zip",
lib="C:/Progra~1/R/R-2.10.1/library", repos=NULL)

but when I loaded the package though library(Rgraphviz) or
library("Rgraphviz"), and got the same error message below:

"Error in inDL(x, as.logical(local), as.logical(now), ...) :
  unable to load shared library
'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
  LoadLibrary failure:  The specified module could not be found."

I think that it is the error in the package because it should go
to 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll'
instead of
'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'

Could anyone help me to solve to problem?
Thank you very much for the help. Howard

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: about the possible errors in Rgraphviz Package

Duncan Murdoch
On 30/03/2010 10:44 AM, HU,ZHENGJUN wrote:

> Hi All,
>
>   I tried to install the package of Rgraphviz in the following two
> ways successfully:
>
> source("http://bioconductor.org/biocLite.R")
> biocLite("Rgraphviz")
>
> install.packages(pkgs="C:/Progra~1/R/lib_download/Rgraphviz_1.24.0.zip",
> lib="C:/Progra~1/R/R-2.10.1/library", repos=NULL)
>
> but when I loaded the package though library(Rgraphviz) or
> library("Rgraphviz"), and got the same error message below:
>
> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>   unable to load shared library
> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>   LoadLibrary failure:  The specified module could not be found."
>  

Most likely the problem is that you haven't followed the installation
instructions.  (They are pretty hard to find, but I think you can find
them on the Bioconductor site.)  It is not enough to install the
Rgraphviz package, you also need to install Graphviz.

Duncan Murdoch

> I think that it is the error in the package because it should go
> to 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll'
> instead of
> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
>
> Could anyone help me to solve to problem?
> Thank you very much for the help. Howard
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: about the possible errors in Rgraphviz Package

HU,ZHENGJUN
In reply to this post by HU,ZHENGJUN
Hi Duncan,

> (They are pretty hard to find, but I think you can find them on
> the Bioconductor site.)  It is > not enough to install the
> Rgraphviz package, you also need to install Graphviz.

  Yes I did. Before installing the Rgraphviz package successfully,
(1) I downloaded graphviz-2.26.3.msi for MS Windows (XP) and
installed it successfully and (2) I also installed the packages
from Bioconductor by: (Note: I use MS Windows XP and R 2.10.1
version)

source("http://www.bioconductor.org/biocLite.R")
biocLite()

  I got those error messages:

"Error in inDL(x, as.logical(local), as.logical(now), ...) :
  unable to load shared library
 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
   LoadLibrary failure:  The specified module could not be
found."

  Obviously, it seems it is the package problem because it should
go to
'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll'
instead of
'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'

  Thank you for the reply. Howard


On Tue Mar 30 12:50:44 EDT 2010, Duncan Murdoch
<[hidden email]> wrote:

> On 30/03/2010 10:44 AM, HU,ZHENGJUN wrote:
>> Hi All,
>>
>>   I tried to install the package of Rgraphviz in the following
>> two ways successfully:
>>
>> source("http://bioconductor.org/biocLite.R")
>> biocLite("Rgraphviz")
>>
>> install.packages(pkgs="C:/Progra~1/R/lib_download/Rgraphviz_1.24.0.zip",
>> lib="C:/Progra~1/R/R-2.10.1/library", repos=NULL)
>>
>> but when I loaded the package though library(Rgraphviz) or
>> library("Rgraphviz"), and got the same error message below:
>>
>> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>>   unable to load shared library
>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>>   LoadLibrary failure:  The specified module could not be found."
>>
>
> Most likely the problem is that you haven't followed the
> installation instructions.  (They are pretty hard to find, but I
> think you can find them on the Bioconductor site.)  It is not
> enough to install the Rgraphviz package, you also need to install
> Graphviz.
>
> Duncan Murdoch
>> I think that it is the error in the package because it should go
>> to 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll'
>> instead of
>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
>>
>> Could anyone help me to solve to problem?
>> Thank you very much for the help. Howard
>>
>> ______________________________________________
>> [hidden email] mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible
>> code.
>>
>
>
>



--
HU,ZHENGJUN

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: about the possible errors in Rgraphviz Package

Duncan Murdoch
On 30/03/2010 1:24 PM, HU,ZHENGJUN wrote:

> Hi Duncan,
>
> > (They are pretty hard to find, but I think you can find them on
> > the Bioconductor site.)  It is > not enough to install the
> > Rgraphviz package, you also need to install Graphviz.
>
>   Yes I did. Before installing the Rgraphviz package successfully,
> (1) I downloaded graphviz-2.26.3.msi for MS Windows (XP) and
> installed it successfully and (2) I also installed the packages
> from Bioconductor by: (Note: I use MS Windows XP and R 2.10.1
> version)
>
>  

 From the instructions:

The right version of Graphviz for Bioconductor 2.5 is version
2.20.3.1.

Duncan Murdoch

> source("http://www.bioconductor.org/biocLite.R")
> biocLite()
>
>   I got those error messages:
>
> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>   unable to load shared library
>  'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>    LoadLibrary failure:  The specified module could not be
> found."
>
>   Obviously, it seems it is the package problem because it should
> go to
> 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll'
> instead of
> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
>
>   Thank you for the reply. Howard
>
>
> On Tue Mar 30 12:50:44 EDT 2010, Duncan Murdoch
> <[hidden email]> wrote:
>
> > On 30/03/2010 10:44 AM, HU,ZHENGJUN wrote:
> >> Hi All,
> >>
> >>   I tried to install the package of Rgraphviz in the following
> >> two ways successfully:
> >>
> >> source("http://bioconductor.org/biocLite.R")
> >> biocLite("Rgraphviz")
> >>
> >> install.packages(pkgs="C:/Progra~1/R/lib_download/Rgraphviz_1.24.0.zip",
> >> lib="C:/Progra~1/R/R-2.10.1/library", repos=NULL)
> >>
> >> but when I loaded the package though library(Rgraphviz) or
> >> library("Rgraphviz"), and got the same error message below:
> >>
> >> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
> >>   unable to load shared library
> >> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
> >>   LoadLibrary failure:  The specified module could not be found."
> >>
> >
> > Most likely the problem is that you haven't followed the
> > installation instructions.  (They are pretty hard to find, but I
> > think you can find them on the Bioconductor site.)  It is not
> > enough to install the Rgraphviz package, you also need to install
> > Graphviz.
> >
> > Duncan Murdoch
> >> I think that it is the error in the package because it should go
> >> to 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll'
> >> instead of
> >> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
> >>
> >> Could anyone help me to solve to problem?
> >> Thank you very much for the help. Howard
> >>
> >> ______________________________________________
> >> [hidden email] mailing list
> >> https://stat.ethz.ch/mailman/listinfo/r-help
> >> PLEASE do read the posting guide
> >> http://www.R-project.org/posting-guide.html
> >> and provide commented, minimal, self-contained, reproducible
> >> code.
> >>
> >
> >
> >
>
>
>
> --
> HU,ZHENGJUN
>

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: about the possible errors in Rgraphviz Package

Martin Morgan
In reply to this post by HU,ZHENGJUN
On 03/30/2010 10:24 AM, HU,ZHENGJUN wrote:

> Hi Duncan,
>
>> (They are pretty hard to find, but I think you can find them on the
>> Bioconductor site.)  It is > not enough to install the Rgraphviz
>> package, you also need to install Graphviz.
>
>  Yes I did. Before installing the Rgraphviz package successfully, (1) I
> downloaded graphviz-2.26.3.msi for MS Windows (XP) and installed it
> successfully and (2) I also installed the packages from Bioconductor by:
> (Note: I use MS Windows XP and R 2.10.1 version)

This is a bioconductor package so please ask on the Bioconductor mailing
list

http://bioconductor.org/docs/mailList.html

See the 'README' file in the 'tar.gz' file at


  http://bioconductor.org/packages/release/Software.html
  http://bioconductor.org/packages/2.5/bioc/html/Rgraphviz.html



http://bioconductor.org/packages/2.5/bioc/src/contrib/Rgraphviz_1.24.0.tar.gz

which says


o. install Graphviz ***2.20.3.1*** Windows ***binary*** distribution from


http://www.graphviz.org/pub/graphviz/stable/windows/graphviz-2.20.3.1.msi

you must use this version of graphviz. File paths must be correct.

Martin


>
> source("http://www.bioconductor.org/biocLite.R")
> biocLite()
>
>  I got those error messages:
>
> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>  unable to load shared library
> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>   LoadLibrary failure:  The specified module could not be found."
>
>  Obviously, it seems it is the package problem because it should go to
> 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll' instead of
> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
>
>  Thank you for the reply. Howard
>
>
> On Tue Mar 30 12:50:44 EDT 2010, Duncan Murdoch <[hidden email]>
> wrote:
>
>> On 30/03/2010 10:44 AM, HU,ZHENGJUN wrote:
>>> Hi All,
>>>
>>>   I tried to install the package of Rgraphviz in the following two
>>> ways successfully:
>>>
>>> source("http://bioconductor.org/biocLite.R")
>>> biocLite("Rgraphviz")
>>>
>>> install.packages(pkgs="C:/Progra~1/R/lib_download/Rgraphviz_1.24.0.zip",
>>> lib="C:/Progra~1/R/R-2.10.1/library", repos=NULL)
>>>
>>> but when I loaded the package though library(Rgraphviz) or
>>> library("Rgraphviz"), and got the same error message below:
>>>
>>> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>>>   unable to load shared library
>>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>>>   LoadLibrary failure:  The specified module could not be found."
>>>
>>
>> Most likely the problem is that you haven't followed the installation
>> instructions.  (They are pretty hard to find, but I think you can find
>> them on the Bioconductor site.)  It is not enough to install the
>> Rgraphviz package, you also need to install Graphviz.
>>
>> Duncan Murdoch
>>> I think that it is the error in the package because it should go to
>>> 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll' instead
>>> of 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
>>>
>>> Could anyone help me to solve to problem?
>>> Thank you very much for the help. Howard
>>>
>>> ______________________________________________
>>> [hidden email] mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide
>>> http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>>
>>
>>
>>
>
>
>
> --
> HU,ZHENGJUN
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.


--
Martin Morgan
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109

Location: Arnold Building M1 B861
Phone: (206) 667-2793

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: about the possible errors in Rgraphviz Package

HU,ZHENGJUN
In reply to this post by HU,ZHENGJUN
Hi Martin,

  Thank you for the reply and help. I don't think that this is the
version problem of Graphviz. All the R packages are installed
under 'C:/PROGRA~1/R/R-2.10.1/library' instead of
'C:/PROGRA~1/R/R-210~1.1/library', whereas the error messages
are:

"Error in inDL(x, as.logical(local), as.logical(now), ...) :
  unable to load shared library
 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
  LoadLibrary failure:  The specified module could not be found."

  I will contact the Bioconductor mailing list.
  Thank you again.
  Howard

On Tue Mar 30 15:36:05 EDT 2010, Martin Morgan
<[hidden email]> wrote:

> On 03/30/2010 10:24 AM, HU,ZHENGJUN wrote:
>> Hi Duncan,
>>
>>> (They are pretty hard to find, but I think you can find them on
>>> the
>>> Bioconductor site.)  It is > not enough to install the Rgraphviz
>>> package, you also need to install Graphviz.
>>
>>  Yes I did. Before installing the Rgraphviz package
>> successfully, (1) I
>> downloaded graphviz-2.26.3.msi for MS Windows (XP) and installed
>> it
>> successfully and (2) I also installed the packages from
>> Bioconductor by:
>> (Note: I use MS Windows XP and R 2.10.1 version)
>
> This is a bioconductor package so please ask on the Bioconductor
> mailing
> list
>
> http://bioconductor.org/docs/mailList.html
>
> See the 'README' file in the 'tar.gz' file at
>
>
>   http://bioconductor.org/packages/release/Software.html
>   http://bioconductor.org/packages/2.5/bioc/html/Rgraphviz.html
>
>
>
> http://bioconductor.org/packages/2.5/bioc/src/contrib/Rgraphviz_1.24.0.tar.gz
>
> which says
>
>
> o. install Graphviz ***2.20.3.1*** Windows ***binary***
> distribution from
>
>
> http://www.graphviz.org/pub/graphviz/stable/windows/graphviz-2.20.3.1.msi
>
> you must use this version of graphviz. File paths must be
> correct.
>
> Martin
>
>
>>
>> source("http://www.bioconductor.org/biocLite.R")
>> biocLite()
>>
>>  I got those error messages:
>>
>> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>>  unable to load shared library
>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>>   LoadLibrary failure:  The specified module could not be found."
>>
>>  Obviously, it seems it is the package problem because it should
>> go to
>> 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll'
>> instead of
>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
>>
>>  Thank you for the reply. Howard
>>
>>
>> On Tue Mar 30 12:50:44 EDT 2010, Duncan Murdoch
>> <[hidden email]>
>> wrote:
>>
>>> On 30/03/2010 10:44 AM, HU,ZHENGJUN wrote:
>>>> Hi All,
>>>>
>>>>   I tried to install the package of Rgraphviz in the following
>>>> two
>>>> ways successfully:
>>>>
>>>> source("http://bioconductor.org/biocLite.R")
>>>> biocLite("Rgraphviz")
>>>>
>>>> install.packages(pkgs="C:/Progra~1/R/lib_download/Rgraphviz_1.24.0.zip",
>>>> lib="C:/Progra~1/R/R-2.10.1/library", repos=NULL)
>>>>
>>>> but when I loaded the package though library(Rgraphviz) or
>>>> library("Rgraphviz"), and got the same error message below:
>>>>
>>>> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>>>>   unable to load shared library
>>>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>>>>   LoadLibrary failure:  The specified module could not be found."
>>>>
>>>
>>> Most likely the problem is that you haven't followed the
>>> installation
>>> instructions.  (They are pretty hard to find, but I think you
>>> can find
>>> them on the Bioconductor site.)  It is not enough to install the
>>> Rgraphviz package, you also need to install Graphviz.
>>>
>>> Duncan Murdoch
>>>> I think that it is the error in the package because it should
>>>> go to
>>>> 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll'
>>>> instead
>>>> of 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
>>>>
>>>> Could anyone help me to solve to problem?
>>>> Thank you very much for the help. Howard
>>>>
>>>> ______________________________________________
>>>> [hidden email] mailing list
>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>> PLEASE do read the posting guide
>>>> http://www.R-project.org/posting-guide.html
>>>> and provide commented, minimal, self-contained, reproducible
>>>> code.
>>>>
>>>
>>>
>>>
>>
>>
>>
>> -- HU,ZHENGJUN
>>
>> ______________________________________________
>> [hidden email] mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible
>> code.
>
>
> -- Martin Morgan
> Computational Biology / Fred Hutchinson Cancer Research Center
> 1100 Fairview Ave. N.
> PO Box 19024 Seattle, WA 98109
>
> Location: Arnold Building M1 B861
> Phone: (206) 667-2793
>
>



--
HU,ZHENGJUN

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: about the possible errors in Rgraphviz Package

Duncan Murdoch
On 30/03/2010 3:58 PM, HU,ZHENGJUN wrote:

> Hi Martin,
>
>   Thank you for the reply and help. I don't think that this is the
> version problem of Graphviz. All the R packages are installed
> under 'C:/PROGRA~1/R/R-2.10.1/library' instead of
> 'C:/PROGRA~1/R/R-210~1.1/library', whereas the error messages
> are:
>
> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>   unable to load shared library
>  'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>   LoadLibrary failure:  The specified module could not be found."
>  

Those are the same path.  Windows has an ancient DOS compatibility mode.

Duncan Murdoch

>   I will contact the Bioconductor mailing list.
>   Thank you again.
>   Howard
>
> On Tue Mar 30 15:36:05 EDT 2010, Martin Morgan
> <[hidden email]> wrote:
>
> > On 03/30/2010 10:24 AM, HU,ZHENGJUN wrote:
> >> Hi Duncan,
> >>
> >>> (They are pretty hard to find, but I think you can find them on
> >>> the
> >>> Bioconductor site.)  It is > not enough to install the Rgraphviz
> >>> package, you also need to install Graphviz.
> >>
> >>  Yes I did. Before installing the Rgraphviz package
> >> successfully, (1) I
> >> downloaded graphviz-2.26.3.msi for MS Windows (XP) and installed
> >> it
> >> successfully and (2) I also installed the packages from
> >> Bioconductor by:
> >> (Note: I use MS Windows XP and R 2.10.1 version)
> >
> > This is a bioconductor package so please ask on the Bioconductor
> > mailing
> > list
> >
> > http://bioconductor.org/docs/mailList.html
> >
> > See the 'README' file in the 'tar.gz' file at
> >
> >
> >   http://bioconductor.org/packages/release/Software.html
> >   http://bioconductor.org/packages/2.5/bioc/html/Rgraphviz.html
> >
> >
> >
> > http://bioconductor.org/packages/2.5/bioc/src/contrib/Rgraphviz_1.24.0.tar.gz
> >
> > which says
> >
> >
> > o. install Graphviz ***2.20.3.1*** Windows ***binary***
> > distribution from
> >
> >
> > http://www.graphviz.org/pub/graphviz/stable/windows/graphviz-2.20.3.1.msi
> >
> > you must use this version of graphviz. File paths must be
> > correct.
> >
> > Martin
> >
> >
> >>
> >> source("http://www.bioconductor.org/biocLite.R")
> >> biocLite()
> >>
> >>  I got those error messages:
> >>
> >> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
> >>  unable to load shared library
> >> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
> >>   LoadLibrary failure:  The specified module could not be found."
> >>
> >>  Obviously, it seems it is the package problem because it should
> >> go to
> >> 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll'
> >> instead of
> >> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
> >>
> >>  Thank you for the reply. Howard
> >>
> >>
> >> On Tue Mar 30 12:50:44 EDT 2010, Duncan Murdoch
> >> <[hidden email]>
> >> wrote:
> >>
> >>> On 30/03/2010 10:44 AM, HU,ZHENGJUN wrote:
> >>>> Hi All,
> >>>>
> >>>>   I tried to install the package of Rgraphviz in the following
> >>>> two
> >>>> ways successfully:
> >>>>
> >>>> source("http://bioconductor.org/biocLite.R")
> >>>> biocLite("Rgraphviz")
> >>>>
> >>>> install.packages(pkgs="C:/Progra~1/R/lib_download/Rgraphviz_1.24.0.zip",
> >>>> lib="C:/Progra~1/R/R-2.10.1/library", repos=NULL)
> >>>>
> >>>> but when I loaded the package though library(Rgraphviz) or
> >>>> library("Rgraphviz"), and got the same error message below:
> >>>>
> >>>> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
> >>>>   unable to load shared library
> >>>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
> >>>>   LoadLibrary failure:  The specified module could not be found."
> >>>>
> >>>
> >>> Most likely the problem is that you haven't followed the
> >>> installation
> >>> instructions.  (They are pretty hard to find, but I think you
> >>> can find
> >>> them on the Bioconductor site.)  It is not enough to install the
> >>> Rgraphviz package, you also need to install Graphviz.
> >>>
> >>> Duncan Murdoch
> >>>> I think that it is the error in the package because it should
> >>>> go to
> >>>> 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll'
> >>>> instead
> >>>> of 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
> >>>>
> >>>> Could anyone help me to solve to problem?
> >>>> Thank you very much for the help. Howard
> >>>>
> >>>> ______________________________________________
> >>>> [hidden email] mailing list
> >>>> https://stat.ethz.ch/mailman/listinfo/r-help
> >>>> PLEASE do read the posting guide
> >>>> http://www.R-project.org/posting-guide.html
> >>>> and provide commented, minimal, self-contained, reproducible
> >>>> code.
> >>>>
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >> -- HU,ZHENGJUN
> >>
> >> ______________________________________________
> >> [hidden email] mailing list
> >> https://stat.ethz.ch/mailman/listinfo/r-help
> >> PLEASE do read the posting guide
> >> http://www.R-project.org/posting-guide.html
> >> and provide commented, minimal, self-contained, reproducible
> >> code.
> >
> >
> > -- Martin Morgan
> > Computational Biology / Fred Hutchinson Cancer Research Center
> > 1100 Fairview Ave. N.
> > PO Box 19024 Seattle, WA 98109
> >
> > Location: Arnold Building M1 B861
> > Phone: (206) 667-2793
> >
> >
>
>
>
> --
> HU,ZHENGJUN
>

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: about the possible errors in Rgraphviz Package

HU,ZHENGJUN
In reply to this post by HU,ZHENGJUN
Hi Martin,

  I uninstalled graphviz-2.26.3.msi and then installed
graphviz-2.20.3.1.msi. Then installed the
Rgraphviz package again. As expected, I got the same error
messages as before:

"Error in inDL(x, as.logical(local), as.logical(now), ...) :
  unable to load shared library
'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
  LoadLibrary failure:  The specified module could not be found."

  Thank you.
  Howard


On Tue Mar 30 15:36:05 EDT 2010, Martin Morgan
<[hidden email]> wrote:

> On 03/30/2010 10:24 AM, HU,ZHENGJUN wrote:
>> Hi Duncan,
>>
>>> (They are pretty hard to find, but I think you can find them on
>>> the
>>> Bioconductor site.)  It is > not enough to install the Rgraphviz
>>> package, you also need to install Graphviz.
>>
>>  Yes I did. Before installing the Rgraphviz package
>> successfully, (1) I
>> downloaded graphviz-2.26.3.msi for MS Windows (XP) and installed
>> it
>> successfully and (2) I also installed the packages from
>> Bioconductor by:
>> (Note: I use MS Windows XP and R 2.10.1 version)
>
> This is a bioconductor package so please ask on the Bioconductor
> mailing
> list
>
> http://bioconductor.org/docs/mailList.html
>
> See the 'README' file in the 'tar.gz' file at
>
>
>   http://bioconductor.org/packages/release/Software.html
>   http://bioconductor.org/packages/2.5/bioc/html/Rgraphviz.html
>
>
>
> http://bioconductor.org/packages/2.5/bioc/src/contrib/Rgraphviz_1.24.0.tar.gz
>
> which says
>
>
> o. install Graphviz ***2.20.3.1*** Windows ***binary***
> distribution from
>
>
> http://www.graphviz.org/pub/graphviz/stable/windows/graphviz-2.20.3.1.msi
>
> you must use this version of graphviz. File paths must be
> correct.
>
> Martin
>
>
>>
>> source("http://www.bioconductor.org/biocLite.R")
>> biocLite()
>>
>>  I got those error messages:
>>
>> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>>  unable to load shared library
>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>>   LoadLibrary failure:  The specified module could not be found."
>>
>>  Obviously, it seems it is the package problem because it should
>> go to
>> 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll'
>> instead of
>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
>>
>>  Thank you for the reply. Howard
>>
>>
>> On Tue Mar 30 12:50:44 EDT 2010, Duncan Murdoch
>> <[hidden email]>
>> wrote:
>>
>>> On 30/03/2010 10:44 AM, HU,ZHENGJUN wrote:
>>>> Hi All,
>>>>
>>>>   I tried to install the package of Rgraphviz in the following
>>>> two
>>>> ways successfully:
>>>>
>>>> source("http://bioconductor.org/biocLite.R")
>>>> biocLite("Rgraphviz")
>>>>
>>>> install.packages(pkgs="C:/Progra~1/R/lib_download/Rgraphviz_1.24.0.zip",
>>>> lib="C:/Progra~1/R/R-2.10.1/library", repos=NULL)
>>>>
>>>> but when I loaded the package though library(Rgraphviz) or
>>>> library("Rgraphviz"), and got the same error message below:
>>>>
>>>> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>>>>   unable to load shared library
>>>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>>>>   LoadLibrary failure:  The specified module could not be found."
>>>>
>>>
>>> Most likely the problem is that you haven't followed the
>>> installation
>>> instructions.  (They are pretty hard to find, but I think you
>>> can find
>>> them on the Bioconductor site.)  It is not enough to install the
>>> Rgraphviz package, you also need to install Graphviz.
>>>
>>> Duncan Murdoch
>>>> I think that it is the error in the package because it should
>>>> go to
>>>> 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll'
>>>> instead
>>>> of 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
>>>>
>>>> Could anyone help me to solve to problem?
>>>> Thank you very much for the help. Howard
>>>>
>>>> ______________________________________________
>>>> [hidden email] mailing list
>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>> PLEASE do read the posting guide
>>>> http://www.R-project.org/posting-guide.html
>>>> and provide commented, minimal, self-contained, reproducible
>>>> code.
>>>>
>>>
>>>
>>>
>>
>>
>>
>> -- HU,ZHENGJUN
>>
>> ______________________________________________
>> [hidden email] mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible
>> code.
>
>
> -- Martin Morgan
> Computational Biology / Fred Hutchinson Cancer Research Center
> 1100 Fairview Ave. N.
> PO Box 19024 Seattle, WA 98109
>
> Location: Arnold Building M1 B861
> Phone: (206) 667-2793
>
>



--
HU,ZHENGJUN

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: about the possible errors in Rgraphviz Package

HU,ZHENGJUN
In reply to this post by HU,ZHENGJUN
Hi All,

  Before installing the Rgraphviz package successfully [e.g.,
source("http://bioconductor.org/biocLite.R");
biocLite("Rgraphviz")], (1) I downloaded graphviz-2.20.3.1.msi
(also tried graphviz-2.26.3.msi) for MS Windows (XP) and installed
it successfully and (2) I also installed the packages from
bioconductor by: (Note: I use MS Windows XP and R 2.10.1 version)

source("http://www.bioconductor.org/biocLite.R")
biocLite()

  I got those error messages:

"Error in inDL(x, as.logical(local), as.logical(now), ...) :
 unable to load shared library
 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
  LoadLibrary failure:  The specified module could not be found."

  Obviously, it seems it is the package problem because it should
go to
'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll'
instead of
'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'

  Thank you for the reply. Howard

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: about the possible errors in Rgraphviz Package

HU,ZHENGJUN
In reply to this post by HU,ZHENGJUN
Hi All,

  Sorry that it is unclear in the last email (see below), and I
should say that:

I got the following error messages when I loaded the package
through library("Rgraphviz") or library(Rgraphviz):

"Error in inDL(x, as.logical(local), as.logical(now), ...) :
 unable to load shared library
 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
 LoadLibrary failure:  The specified module could not be found."

  Thanks, Howard



On Tue Mar 30 16:21:38 EDT 2010, "HU,ZHENGJUN" <[hidden email]>
wrote:

> Hi All,
>
>   Before installing the Rgraphviz package successfully [e.g.,
> source("http://bioconductor.org/biocLite.R");
> biocLite("Rgraphviz")], (1) I downloaded graphviz-2.20.3.1.msi
> (also tried graphviz-2.26.3.msi) for MS Windows (XP) and
> installed it successfully and (2) I also installed the packages
> from bioconductor by: (Note: I use MS Windows XP and R 2.10.1
> version)
>
> source("http://www.bioconductor.org/biocLite.R")
> biocLite()
>
>   I got those error messages:
>
> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>  unable to load shared library
>  'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>   LoadLibrary failure:  The specified module could not be found."
>
>   Obviously, it seems it is the package problem because it should
> go to
> 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll'
> instead of
> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
>
>   Thank you for the reply. Howard

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: about the possible errors in Rgraphviz Package

Prof Brian Ripley
In reply to this post by Duncan Murdoch
Let me add that not only do you need to match binary versions, even if
you install from the sources, Rgraphviz does not work with
graphviz-2.26.3.msi which is built with an incompatible compiler.

You need to follow the instructions exactly: they are in the Rgraphviz
source package.

Idealy Rgraphviz would be statically linked against the right version
of graphviz: that looks to be possible but very tricky as graphviz
uses plugins (and Rgraphviz uses those plugins and will crash R if
they are not present).

[Comments derived from the scars acquired in building Rgraphviz for
64-bit Windows: there is a build on CRANextras.]

On Tue, 30 Mar 2010, Duncan Murdoch wrote:

> On 30/03/2010 3:58 PM, HU,ZHENGJUN wrote:
>> Hi Martin,
>>
>>   Thank you for the reply and help. I don't think that this is the version
>> problem of Graphviz. All the R packages are installed under
>> 'C:/PROGRA~1/R/R-2.10.1/library' instead of
>> 'C:/PROGRA~1/R/R-210~1.1/library', whereas the error messages are:
>>
>> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>>   unable to load shared library
>>  'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>>   LoadLibrary failure:  The specified module could not be found."
>>
>
> Those are the same path.  Windows has an ancient DOS compatibility mode.
>
> Duncan Murdoch
>
>>   I will contact the Bioconductor mailing list.
>>   Thank you again.
>>   Howard
>>
>> On Tue Mar 30 15:36:05 EDT 2010, Martin Morgan <[hidden email]> wrote:
>>
>> > On 03/30/2010 10:24 AM, HU,ZHENGJUN wrote:
>> >> Hi Duncan,
>> >> >>> (They are pretty hard to find, but I think you can find them on >>>
>> the
>> >>> Bioconductor site.)  It is > not enough to install the Rgraphviz
>> >>> package, you also need to install Graphviz.
>> >> >>  Yes I did. Before installing the Rgraphviz package >> successfully,
>> (1) I
>> >> downloaded graphviz-2.26.3.msi for MS Windows (XP) and installed >> it
>> >> successfully and (2) I also installed the packages from >> Bioconductor
>> by:
>> >> (Note: I use MS Windows XP and R 2.10.1 version)
>> > > This is a bioconductor package so please ask on the Bioconductor >
>> mailing
>> > list
>> > > http://bioconductor.org/docs/mailList.html
>> > > See the 'README' file in the 'tar.gz' file at
>> > > >   http://bioconductor.org/packages/release/Software.html
>> >   http://bioconductor.org/packages/2.5/bioc/html/Rgraphviz.html
>> > > > >
>> http://bioconductor.org/packages/2.5/bioc/src/contrib/Rgraphviz_1.24.0.tar.gz
>> > > which says
>> > > > o. install Graphviz ***2.20.3.1*** Windows ***binary*** >
>> distribution from
>> > > >
>> http://www.graphviz.org/pub/graphviz/stable/windows/graphviz-2.20.3.1.msi
>> > > you must use this version of graphviz. File paths must be > correct.
>> > > Martin
>> > > >> >> source("http://www.bioconductor.org/biocLite.R")
>> >> biocLite()
>> >> >>  I got those error messages:
>> >> >> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>> >>  unable to load shared library
>> >> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>> >>   LoadLibrary failure:  The specified module could not be found."
>> >> >>  Obviously, it seems it is the package problem because it should >>
>> go to
>> >> 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll' >> instead
>> of
>> >> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
>> >> >>  Thank you for the reply. Howard
>> >> >> >> On Tue Mar 30 12:50:44 EDT 2010, Duncan Murdoch >>
>> <[hidden email]>
>> >> wrote:
>> >> >>> On 30/03/2010 10:44 AM, HU,ZHENGJUN wrote:
>> >>>> Hi All,
>> >>>> >>>>   I tried to install the package of Rgraphviz in the following
>> >>>> two
>> >>>> ways successfully:
>> >>>> >>>> source("http://bioconductor.org/biocLite.R")
>> >>>> biocLite("Rgraphviz")
>> >>>> >>>>
>> install.packages(pkgs="C:/Progra~1/R/lib_download/Rgraphviz_1.24.0.zip",
>> >>>> lib="C:/Progra~1/R/R-2.10.1/library", repos=NULL)
>> >>>> >>>> but when I loaded the package though library(Rgraphviz) or
>> >>>> library("Rgraphviz"), and got the same error message below:
>> >>>> >>>> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>> >>>>   unable to load shared library
>> >>>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>> >>>>   LoadLibrary failure:  The specified module could not be found."
>> >>>> >>> >>> Most likely the problem is that you haven't followed the >>>
>> installation
>> >>> instructions.  (They are pretty hard to find, but I think you >>> can
>> find
>> >>> them on the Bioconductor site.)  It is not enough to install the
>> >>> Rgraphviz package, you also need to install Graphviz.
>> >>> >>> Duncan Murdoch
>> >>>> I think that it is the error in the package because it should >>>> go
>> to
>> >>>> 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll' >>>>
>> instead
>> >>>> of 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
>> >>>> >>>> Could anyone help me to solve to problem?
>> >>>> Thank you very much for the help. Howard
>> >>>> >>>> ______________________________________________
>> >>>> [hidden email] mailing list
>> >>>> https://stat.ethz.ch/mailman/listinfo/r-help
>> >>>> PLEASE do read the posting guide
>> >>>> http://www.R-project.org/posting-guide.html
>> >>>> and provide commented, minimal, self-contained, reproducible >>>>
>> code.
>> >>>> >>> >>> >>> >> >> >> >> -- HU,ZHENGJUN
>> >> >> ______________________________________________
>> >> [hidden email] mailing list
>> >> https://stat.ethz.ch/mailman/listinfo/r-help
>> >> PLEASE do read the posting guide
>> >> http://www.R-project.org/posting-guide.html
>> >> and provide commented, minimal, self-contained, reproducible >> code.
>> > > > -- Martin Morgan
>> > Computational Biology / Fred Hutchinson Cancer Research Center
>> > 1100 Fairview Ave. N.
>> > PO Box 19024 Seattle, WA 98109
>> > > Location: Arnold Building M1 B861
>> > Phone: (206) 667-2793
>> > >
>>
>>
>> --
>> HU,ZHENGJUN
>>
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

--
Brian D. Ripley,                  [hidden email]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: about the possible errors in Rgraphviz Package

Martin Morgan
In reply to this post by HU,ZHENGJUN
On 03/30/2010 01:13 PM, HU,ZHENGJUN wrote:

> Hi Martin,
>
>  I uninstalled graphviz-2.26.3.msi and then installed
> graphviz-2.20.3.1.msi. Then installed the
> Rgraphviz package again. As expected, I got the same error messages as
> before:
>
> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>  unable to load shared library
> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>  LoadLibrary failure:  The specified module could not be found."

'LoadLibrary' is being vague, the 'specified modules' are the DLLs from
graphviz.

Have you checked that your 'PATH' environment variable is set correctly?
In R

  > strsplit(Sys.getenv("PATH"), ";")
$PATH
 ...
 [14] "C:\\Program Files\\Graphviz2.20\\bin"
...

The relevant files in this directory might look like

> list.files(strsplit(Sys.getenv("PATH"), ";")[[1]][[14]], "dll")
 [1] "iconv.dll"                      "intl.dll"
 [3] "jpeg62.dll"                     "libcairo-2.dll"
 [5] "libcdt-4.dll"                   "libcgraph-4.dll"
 [7] "libexpat.dll"                   "libfontconfig-1.dll"
 [9] "libfreetype-6.dll"              "libgdk_pixbuf-2.0-0.dll"
[11] "libglib-2.0-0.dll"              "libgmodule-2.0-0.dll"
[13] "libgobject-2.0-0.dll"           "libgraph-4.dll"
[15] "libgvc-4.dll"                   "libgvplugin_core-5.dll"
[17] "libgvplugin_dot_layout-5.dll"   "libgvplugin_gd-5.dll"
[19] "libgvplugin_neato_layout-5.dll" "libgvplugin_pango-5.dll"
[21] "libltdl-3.dll"                  "libpango-1.0-0.dll"
[23] "libpangocairo-1.0-0.dll"        "libpangoft2-1.0-0.dll"
[25] "libpangowin32-1.0-0.dll"        "libpathplan-4.dll"
[27] "libpng12.dll"                   "libxml2.dll"

Martin

>
>  Thank you.
>  Howard
>
>
> On Tue Mar 30 15:36:05 EDT 2010, Martin Morgan <[hidden email]> wrote:
>
>> On 03/30/2010 10:24 AM, HU,ZHENGJUN wrote:
>>> Hi Duncan,
>>>
>>>> (They are pretty hard to find, but I think you can find them on the
>>>> Bioconductor site.)  It is > not enough to install the Rgraphviz
>>>> package, you also need to install Graphviz.
>>>
>>>  Yes I did. Before installing the Rgraphviz package successfully, (1) I
>>> downloaded graphviz-2.26.3.msi for MS Windows (XP) and installed it
>>> successfully and (2) I also installed the packages from Bioconductor by:
>>> (Note: I use MS Windows XP and R 2.10.1 version)
>>
>> This is a bioconductor package so please ask on the Bioconductor mailing
>> list
>>
>> http://bioconductor.org/docs/mailList.html
>>
>> See the 'README' file in the 'tar.gz' file at
>>
>>
>>   http://bioconductor.org/packages/release/Software.html
>>   http://bioconductor.org/packages/2.5/bioc/html/Rgraphviz.html
>>
>>
>>
>> http://bioconductor.org/packages/2.5/bioc/src/contrib/Rgraphviz_1.24.0.tar.gz
>>
>>
>> which says
>>
>>
>> o. install Graphviz ***2.20.3.1*** Windows ***binary*** distribution from
>>
>>
>> http://www.graphviz.org/pub/graphviz/stable/windows/graphviz-2.20.3.1.msi
>>
>> you must use this version of graphviz. File paths must be correct.
>>
>> Martin
>>
>>
>>>
>>> source("http://www.bioconductor.org/biocLite.R")
>>> biocLite()
>>>
>>>  I got those error messages:
>>>
>>> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>>>  unable to load shared library
>>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>>>   LoadLibrary failure:  The specified module could not be found."
>>>
>>>  Obviously, it seems it is the package problem because it should go to
>>> 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll' instead of
>>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
>>>
>>>  Thank you for the reply. Howard
>>>
>>>
>>> On Tue Mar 30 12:50:44 EDT 2010, Duncan Murdoch <[hidden email]>
>>> wrote:
>>>
>>>> On 30/03/2010 10:44 AM, HU,ZHENGJUN wrote:
>>>>> Hi All,
>>>>>
>>>>>   I tried to install the package of Rgraphviz in the following two
>>>>> ways successfully:
>>>>>
>>>>> source("http://bioconductor.org/biocLite.R")
>>>>> biocLite("Rgraphviz")
>>>>>
>>>>> install.packages(pkgs="C:/Progra~1/R/lib_download/Rgraphviz_1.24.0.zip",
>>>>>
>>>>> lib="C:/Progra~1/R/R-2.10.1/library", repos=NULL)
>>>>>
>>>>> but when I loaded the package though library(Rgraphviz) or
>>>>> library("Rgraphviz"), and got the same error message below:
>>>>>
>>>>> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>>>>>   unable to load shared library
>>>>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>>>>>   LoadLibrary failure:  The specified module could not be found."
>>>>>
>>>>
>>>> Most likely the problem is that you haven't followed the installation
>>>> instructions.  (They are pretty hard to find, but I think you can find
>>>> them on the Bioconductor site.)  It is not enough to install the
>>>> Rgraphviz package, you also need to install Graphviz.
>>>>
>>>> Duncan Murdoch
>>>>> I think that it is the error in the package because it should go to
>>>>> 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll' instead
>>>>> of 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
>>>>>
>>>>> Could anyone help me to solve to problem?
>>>>> Thank you very much for the help. Howard
>>>>>
>>>>> ______________________________________________
>>>>> [hidden email] mailing list
>>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>>> PLEASE do read the posting guide
>>>>> http://www.R-project.org/posting-guide.html
>>>>> and provide commented, minimal, self-contained, reproducible code.
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> -- HU,ZHENGJUN
>>>
>>> ______________________________________________
>>> [hidden email] mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide
>>> http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>> -- Martin Morgan
>> Computational Biology / Fred Hutchinson Cancer Research Center
>> 1100 Fairview Ave. N.
>> PO Box 19024 Seattle, WA 98109
>>
>> Location: Arnold Building M1 B861
>> Phone: (206) 667-2793
>>
>>
>
>
>
> --
> HU,ZHENGJUN
>


--
Martin Morgan
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109

Location: Arnold Building M1 B861
Phone: (206) 667-2793

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: about the possible errors in Rgraphviz Package

Gabor Grothendieck
In reply to this post by HU,ZHENGJUN
I have also installed numerous different versions of
Rgraphviz/graphviz  in an attempt to get it to work and so far have
been unsuccessful in getting it to install as well.  Some time ago I
used it successfully but have had no luck with recent versions.  Its
too bad there are so many installation problems since its otherwise a
very useful package.

On Tue, Mar 30, 2010 at 4:13 PM, HU,ZHENGJUN <[hidden email]> wrote:

> Hi Martin,
>
>  I uninstalled graphviz-2.26.3.msi and then installed graphviz-2.20.3.1.msi.
> Then installed the
> Rgraphviz package again. As expected, I got the same error messages as
> before:
>
> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>  unable to load shared library
> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>  LoadLibrary failure:  The specified module could not be found."
>
>  Thank you.
>  Howard
>
>
> On Tue Mar 30 15:36:05 EDT 2010, Martin Morgan <[hidden email]> wrote:
>
>> On 03/30/2010 10:24 AM, HU,ZHENGJUN wrote:
>>>
>>> Hi Duncan,
>>>
>>>> (They are pretty hard to find, but I think you can find them on the
>>>> Bioconductor site.)  It is > not enough to install the Rgraphviz
>>>> package, you also need to install Graphviz.
>>>
>>>  Yes I did. Before installing the Rgraphviz package successfully, (1) I
>>> downloaded graphviz-2.26.3.msi for MS Windows (XP) and installed it
>>> successfully and (2) I also installed the packages from Bioconductor by:
>>> (Note: I use MS Windows XP and R 2.10.1 version)
>>
>> This is a bioconductor package so please ask on the Bioconductor mailing
>> list
>>
>> http://bioconductor.org/docs/mailList.html
>>
>> See the 'README' file in the 'tar.gz' file at
>>
>>
>>  http://bioconductor.org/packages/release/Software.html
>>  http://bioconductor.org/packages/2.5/bioc/html/Rgraphviz.html
>>
>>
>>
>>
>> http://bioconductor.org/packages/2.5/bioc/src/contrib/Rgraphviz_1.24.0.tar.gz
>>
>> which says
>>
>>
>> o. install Graphviz ***2.20.3.1*** Windows ***binary*** distribution from
>>
>>
>> http://www.graphviz.org/pub/graphviz/stable/windows/graphviz-2.20.3.1.msi
>>
>> you must use this version of graphviz. File paths must be correct.
>>
>> Martin
>>
>>
>>>
>>> source("http://www.bioconductor.org/biocLite.R")
>>> biocLite()
>>>
>>>  I got those error messages:
>>>
>>> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>>>  unable to load shared library
>>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>>>  LoadLibrary failure:  The specified module could not be found."
>>>
>>>  Obviously, it seems it is the package problem because it should go to
>>> 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll' instead of
>>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
>>>
>>>  Thank you for the reply. Howard
>>>
>>>
>>> On Tue Mar 30 12:50:44 EDT 2010, Duncan Murdoch <[hidden email]>
>>> wrote:
>>>
>>>> On 30/03/2010 10:44 AM, HU,ZHENGJUN wrote:
>>>>>
>>>>> Hi All,
>>>>>
>>>>>  I tried to install the package of Rgraphviz in the following two
>>>>> ways successfully:
>>>>>
>>>>> source("http://bioconductor.org/biocLite.R")
>>>>> biocLite("Rgraphviz")
>>>>>
>>>>>
>>>>> install.packages(pkgs="C:/Progra~1/R/lib_download/Rgraphviz_1.24.0.zip",
>>>>> lib="C:/Progra~1/R/R-2.10.1/library", repos=NULL)
>>>>>
>>>>> but when I loaded the package though library(Rgraphviz) or
>>>>> library("Rgraphviz"), and got the same error message below:
>>>>>
>>>>> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>>>>>  unable to load shared library
>>>>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>>>>>  LoadLibrary failure:  The specified module could not be found."
>>>>>
>>>>
>>>> Most likely the problem is that you haven't followed the installation
>>>> instructions.  (They are pretty hard to find, but I think you can find
>>>> them on the Bioconductor site.)  It is not enough to install the
>>>> Rgraphviz package, you also need to install Graphviz.
>>>>
>>>> Duncan Murdoch
>>>>>
>>>>> I think that it is the error in the package because it should go to
>>>>> 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll' instead
>>>>> of 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
>>>>>
>>>>> Could anyone help me to solve to problem?
>>>>> Thank you very much for the help. Howard
>>>>>
>>>>> ______________________________________________
>>>>> [hidden email] mailing list
>>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>>> PLEASE do read the posting guide
>>>>> http://www.R-project.org/posting-guide.html
>>>>> and provide commented, minimal, self-contained, reproducible code.
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> -- HU,ZHENGJUN
>>>
>>> ______________________________________________
>>> [hidden email] mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide
>>> http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>> -- Martin Morgan
>> Computational Biology / Fred Hutchinson Cancer Research Center
>> 1100 Fairview Ave. N.
>> PO Box 19024 Seattle, WA 98109
>>
>> Location: Arnold Building M1 B861
>> Phone: (206) 667-2793
>>
>>
>
>
>
> --
> HU,ZHENGJUN
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: about the possible errors in Rgraphviz Package

HU,ZHENGJUN
In reply to this post by HU,ZHENGJUN
Hi Martin,

  I am 100% sure that I set my 'PATH' environment variable
correctly because all other packages can loaded correctly as well
as because R can be run correctly under both MS DOS and MS Windows
XP. Also, I can create some simple R packages correctly.

  Thanks.
  Howard


On Tue Mar 30 16:58:55 EDT 2010, Martin Morgan
<[hidden email]> wrote:

> On 03/30/2010 01:13 PM, HU,ZHENGJUN wrote:
>> Hi Martin,
>>
>>  I uninstalled graphviz-2.26.3.msi and then installed
>> graphviz-2.20.3.1.msi. Then installed the
>> Rgraphviz package again. As expected, I got the same error
>> messages as
>> before:
>>
>> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>>  unable to load shared library
>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>>  LoadLibrary failure:  The specified module could not be found."
>
> 'LoadLibrary' is being vague, the 'specified modules' are the
> DLLs from
> graphviz.
>
> Have you checked that your 'PATH' environment variable is set
> correctly?
> In R
>
>   > strsplit(Sys.getenv("PATH"), ";")
> $PATH
>  ...
>  [14] "C:\\Program Files\\Graphviz2.20\\bin"
> ...
>
> The relevant files in this directory might look like
>
>> list.files(strsplit(Sys.getenv("PATH"), ";")[[1]][[14]], "dll")
>  [1] "iconv.dll"                      "intl.dll"
>  [3] "jpeg62.dll"                     "libcairo-2.dll"
>  [5] "libcdt-4.dll"                   "libcgraph-4.dll"
>  [7] "libexpat.dll"                   "libfontconfig-1.dll"
>  [9] "libfreetype-6.dll"              "libgdk_pixbuf-2.0-0.dll"
> [11] "libglib-2.0-0.dll"              "libgmodule-2.0-0.dll"
> [13] "libgobject-2.0-0.dll"           "libgraph-4.dll"
> [15] "libgvc-4.dll"                   "libgvplugin_core-5.dll"
> [17] "libgvplugin_dot_layout-5.dll"   "libgvplugin_gd-5.dll"
> [19] "libgvplugin_neato_layout-5.dll" "libgvplugin_pango-5.dll"
> [21] "libltdl-3.dll"                  "libpango-1.0-0.dll"
> [23] "libpangocairo-1.0-0.dll"        "libpangoft2-1.0-0.dll"
> [25] "libpangowin32-1.0-0.dll"        "libpathplan-4.dll"
> [27] "libpng12.dll"                   "libxml2.dll"
>
> Martin
>
>>
>>  Thank you.
>>  Howard
>>
>>
>> On Tue Mar 30 15:36:05 EDT 2010, Martin Morgan
>> <[hidden email]> wrote:
>>
>>> On 03/30/2010 10:24 AM, HU,ZHENGJUN wrote:
>>>> Hi Duncan,
>>>>
>>>>> (They are pretty hard to find, but I think you can find them
>>>>> on the
>>>>> Bioconductor site.)  It is > not enough to install the Rgraphviz
>>>>> package, you also need to install Graphviz.
>>>>
>>>>  Yes I did. Before installing the Rgraphviz package
>>>> successfully, (1) I
>>>> downloaded graphviz-2.26.3.msi for MS Windows (XP) and
>>>> installed it
>>>> successfully and (2) I also installed the packages from
>>>> Bioconductor by:
>>>> (Note: I use MS Windows XP and R 2.10.1 version)
>>>
>>> This is a bioconductor package so please ask on the
>>> Bioconductor mailing
>>> list
>>>
>>> http://bioconductor.org/docs/mailList.html
>>>
>>> See the 'README' file in the 'tar.gz' file at
>>>
>>>
>>>   http://bioconductor.org/packages/release/Software.html
>>>   http://bioconductor.org/packages/2.5/bioc/html/Rgraphviz.html
>>>
>>>
>>>
>>> http://bioconductor.org/packages/2.5/bioc/src/contrib/Rgraphviz_1.24.0.tar.gz
>>>
>>>
>>> which says
>>>
>>>
>>> o. install Graphviz ***2.20.3.1*** Windows ***binary***
>>> distribution from
>>>
>>>
>>> http://www.graphviz.org/pub/graphviz/stable/windows/graphviz-2.20.3.1.msi
>>>
>>> you must use this version of graphviz. File paths must be
>>> correct.
>>>
>>> Martin
>>>
>>>
>>>>
>>>> source("http://www.bioconductor.org/biocLite.R")
>>>> biocLite()
>>>>
>>>>  I got those error messages:
>>>>
>>>> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>>>>  unable to load shared library
>>>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>>>>   LoadLibrary failure:  The specified module could not be found."
>>>>
>>>>  Obviously, it seems it is the package problem because it
>>>> should go to
>>>> 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll'
>>>> instead of
>>>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
>>>>
>>>>  Thank you for the reply. Howard
>>>>
>>>>
>>>> On Tue Mar 30 12:50:44 EDT 2010, Duncan Murdoch
>>>> <[hidden email]>
>>>> wrote:
>>>>
>>>>> On 30/03/2010 10:44 AM, HU,ZHENGJUN wrote:
>>>>>> Hi All,
>>>>>>
>>>>>>   I tried to install the package of Rgraphviz in the
>>>>>> following two
>>>>>> ways successfully:
>>>>>>
>>>>>> source("http://bioconductor.org/biocLite.R")
>>>>>> biocLite("Rgraphviz")
>>>>>>
>>>>>> install.packages(pkgs="C:/Progra~1/R/lib_download/Rgraphviz_1.24.0.zip",
>>>>>>
>>>>>> lib="C:/Progra~1/R/R-2.10.1/library", repos=NULL)
>>>>>>
>>>>>> but when I loaded the package though library(Rgraphviz) or
>>>>>> library("Rgraphviz"), and got the same error message below:
>>>>>>
>>>>>> "Error in inDL(x, as.logical(local), as.logical(now), ...) :
>>>>>>   unable to load shared library
>>>>>> 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll':
>>>>>>   LoadLibrary failure:  The specified module could not be found."
>>>>>>
>>>>>
>>>>> Most likely the problem is that you haven't followed the
>>>>> installation
>>>>> instructions.  (They are pretty hard to find, but I think you
>>>>> can find
>>>>> them on the Bioconductor site.)  It is not enough to install the
>>>>> Rgraphviz package, you also need to install Graphviz.
>>>>>
>>>>> Duncan Murdoch
>>>>>> I think that it is the error in the package because it
>>>>>> should go to
>>>>>> 'C:/PROGRA~1/R/R-2.10.1/library/Rgraphviz/libs/Rgraphviz.dll'
>>>>>> instead
>>>>>> of 'C:/PROGRA~1/R/R-210~1.1/library/Rgraphviz/libs/Rgraphviz.dll'
>>>>>>
>>>>>> Could anyone help me to solve to problem?
>>>>>> Thank you very much for the help. Howard
>>>>>>
>>>>>> ______________________________________________
>>>>>> [hidden email] mailing list
>>>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>>>> PLEASE do read the posting guide
>>>>>> http://www.R-project.org/posting-guide.html
>>>>>> and provide commented, minimal, self-contained, reproducible
>>>>>> code.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> -- HU,ZHENGJUN
>>>>
>>>> ______________________________________________
>>>> [hidden email] mailing list
>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>> PLEASE do read the posting guide
>>>> http://www.R-project.org/posting-guide.html
>>>> and provide commented, minimal, self-contained, reproducible
>>>> code.
>>>
>>>
>>> -- Martin Morgan
>>> Computational Biology / Fred Hutchinson Cancer Research Center
>>> 1100 Fairview Ave. N.
>>> PO Box 19024 Seattle, WA 98109
>>>
>>> Location: Arnold Building M1 B861
>>> Phone: (206) 667-2793
>>>
>>>
>>
>>
>>
>> -- HU,ZHENGJUN
>>
>
>
> -- Martin Morgan
> Computational Biology / Fred Hutchinson Cancer Research Center
> 1100 Fairview Ave. N.
> PO Box 19024 Seattle, WA 98109
>
> Location: Arnold Building M1 B861
> Phone: (206) 667-2793
>
>



--
HU,ZHENGJUN

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.