[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] igraph 5.2 does not load in R 2.9.0, causes DLL error
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] igraph 5.2 does not load in R 2.9.0, causes DLL error |
Date: |
Wed, 6 May 2009 17:19:50 +0200 |
I think that rebuilding/reinstalling igraph should solve the problem.
My understanding is that there is only a problem if you load a package
with R 2.9.0, but the package was built on 2.8.1. Some CRAN mirrors
have igraph packages that were built with R 2.8.1, but they should
disappear soon. Use e.g. the Austrian mirror, that should be always
up-to-date.
I will also replace the R package on the igraph homepage with one that
was built with R 2.9.0.
Gabor
On Wed, May 6, 2009 at 5:06 PM, Lapointe, Pierre <address@hidden> wrote:
> This is it. It seems that in R 2.9.0, iconv.dll has been replaced by
> Rinconv.dll in the /bin directory. In prior R version,iconv.dll was present
> in the /bin. You might want to check the line in igraph that requires
> iconv.dll.
>
> I fixed the problem by copying the iconv.dll from an earlier R version into
> the /bin of R 2.9.0
>
> Regards,
>
> Pierre Lapointe
> Market Strategist &
> Quantitative Analyst
> National Bank Financial
> 1155 Metcalfe Street, 5th Floor
> Montreal (Qc)
> H3B 4S9
> (514) 879-2378
>
>
> -----Original Message-----
> From: address@hidden [mailto:address@hidden On Behalf Of Gábor Csárdi
> Sent: Wednesday, May 06, 2009 10:53
> To: Help for igraph users
> Cc: Lapointe, Pierre
> Subject: Re: [igraph] igraph 5.2 does not load in R 2.9.0, causes DLL error
>
> Pierre, this might happen because R cannot find some DLL igraph.dll
> depends on. In the past the most frequent reason for this was
> installing R in a non-standard place. (I.e. not the default one
> offered at installation.)
>
> You can check that you indeed have igraph.dll at the right place and
> then check which other dlls it depends on (e.g. by using dependency
> walker), and that they are available to R as well.
>
> My guess would be that you are missing iconv.dll, but that is just a guess.
>
> Best,
> Gabor
>
> On Tue, May 5, 2009 at 5:35 PM, Gábor Csárdi <address@hidden> wrote:
>> Pierre,
>>
>> I cannot reproduce this on XP SP3, I have the same version of R as
>> your and igraph loads fine. What is your operating system?
>>
>> Thanks,
>> Gabor
>>
>> On Tue, May 5, 2009 at 5:01 PM, Lapointe, Pierre <address@hidden> wrote:
>>> Igraph 5.2 causes a DLL error in R 2.9.0. Here's the log of a clean R and
>>> igraph install. I also included the version info.
>>>
>>> R version 2.9.0 (2009-04-17)
>>> Copyright (C) 2009 The R Foundation for Statistical Computing
>>> ISBN 3-900051-07-0
>>> [...]
>>>
>>>> utils:::menuInstallPkgs()
>>> --- Please select a CRAN mirror for use in this session ---
>>> trying URL
>>> 'http://lib.stat.cmu.edu/R/CRAN/bin/windows/contrib/2.9/igraph_0.5.2.zip'
>>> Content type 'application/zip' length 2653603 bytes (2.5 Mb)
>>> opened URL
>>> downloaded 2.5 Mb
>>>
>>> package 'igraph' successfully unpacked and MD5 sums checked
>>>
>>> The downloaded packages are in
>>> C:\Documents and Settings\lapoinpi\Local
>>> Settings\Temp\RtmpTbbYgV\downloaded_packages
>>> updating HTML package descriptions
>>>
>>>> library(igraph)
>>> Error in inDL(x, as.logical(local), as.logical(now), ...) :
>>> unable to load shared library
>>> 'C:/PROGRA~1/R/R-29~1.0/library/igraph/libs/igraph.dll':
>>> LoadLibrary failure: The specified procedure could not be found.
>>> Error : .onLoad failed in 'loadNamespace' for 'igraph'
>>> Error: package/namespace load failed for 'igraph'
>>>>
>>>
>>>> version
>>> _
>>> platform i386-pc-mingw32
>>> arch i386
>>> os mingw32
>>> system i386, mingw32
>>> status
>>> major 2
>>> minor 9.0
>>> year 2009
>>> month 04
>>> day 17
>>> svn rev 48333
>>> language R
>>> version.string R version 2.9.0 (2009-04-17)
>>>
>>> Regards,
>>>
>>> Pierre Lapointe
>>>
>>>
>>> ****************************************************************************************
>>> AVIS DE NON-RESPONSABILITÉ: Ce document transmis par courrier électronique
>>> est destiné uniquement à la personne ou à l'entité à qui il est adressé et
>>> peut contenir des renseignements confidentiels et assujettis au secret
>>> professionnel. La confidentialité et le secret professionnel demeurent
>>> malgré l'envoi de ce document à la mauvaise adresse électronique. Si vous
>>> n'êtes pas le destinataire visé ou la personne chargée de remettre ce
>>> document à son destinataire, veuillez nous en informer sans délai et
>>> détruire ce document ainsi que toute copie qui en aurait été faite. Toute
>>> distribution, reproduction ou autre utilisation de ce document est
>>> strictement interdite. Tout ordre ou toute instruction reçu par courrier
>>> électronique ne peut être garanti et pourrait ne pas être lu en temps
>>> opportun ou ne pas être exécuté advenant le cas où il serait incomplet ou
>>> contiendrait des erreurs. Financière Banque Nationale et ses filiales ne
>>> peuvent pas être tenues responsables des dommages pouvant être causés par
>>> des virus ou des erreurs de transmission. DISCLAIMER: This documentation
>>> transmitted by electronic mail is intended solely for the use of the
>>> individual to whom or the entity to which it is addressed and may contain
>>> information which is confidential and privileged. Confidentiality and
>>> privilege are not lost by this documentation having been sent to the wrong
>>> electronic mail address. If you are not the intended recipient or the person
>>> responsible for delivering it to the intended recipient please notify the
>>> sender immediately and destroy this document as well as any copies of it.
>>> Any distribution, reproduction or other use of this document is strictly
>>> prohibited. We cannot guarantee any order or instruction received by
>>> electronic mail: it may not be read at the opportune moment or it may not be
>>> executed should it be incomplete or contain errors. National Bank Financial
>>> and its affiliates cannot be held liable for any damage that may be caused
>>> by viruses or transmission errors.
>>> ****************************************************************************************v1.2
>>> _______________________________________________
>>> igraph-help mailing list
>>> address@hidden
>>> http://lists.nongnu.org/mailman/listinfo/igraph-help
>>>
>>>
>>
>>
>>
>> --
>> Gabor Csardi <address@hidden> UNIL DGM
>>
>
>
>
> --
> Gabor Csardi <address@hidden> UNIL DGM
>
>
> ****************************************************************************************
> AVIS DE NON-RESPONSABILITE: Ce document transmis par courrier electronique
> est destine uniquement a la personne ou a l'entite a qui il est adresse et
> peut contenir des renseignements confidentiels et assujettis au secret
> professionnel. La confidentialite et le secret professionnel demeurent malgre
> l'envoi de ce document a la mauvaise adresse electronique. Si vous n'etes pas
> le destinataire vise ou la personne chargee de remettre ce document a son
> destinataire, veuillez nous en informer sans delai et detruire ce document
> ainsi que toute copie qui en aurait ete faite. Toute distribution,
> reproduction ou autre utilisation de ce document est strictement interdite.
> Tout ordre ou toute instruction recu par courrier electronique ne peut etre
> garanti et pourrait ne pas etre lu en temps opportun ou ne pas etre execute
> advenant le cas où il serait incomplet ou contiendrait des erreurs.
> Financiere Banque Nationale et ses filiales ne peuvent pas etre tenues
> responsables des dommages pouvant etre causes par des virus ou des erreurs de
> transmission.
>
>
> DISCLAIMER: This documentation transmitted by electronic mail is intended
> solely for the use of the individual to whom or the entity to which it is
> addressed and may contain information which is confidential and privileged.
> Confidentiality and privilege are not lost by this documentation having been
> sent to the wrong electronic mail address. If you are not the intended
> recipient or the person responsible for delivering it to the intended
> recipient please notify the sender immediately and destroy this document as
> well as any copies of it. Any distribution, reproduction or other use of this
> document is strictly prohibited. We cannot guarantee any order or instruction
> received by electronic mail: it may not be read at the opportune moment or it
> may not be executed should it be incomplete or contain errors. National Bank
> Financial and its affiliates cannot be held liable for any damage that may be
> caused by viruses or transmission errors.
> ****************************************************************************************v1.2
>
>
>
--
Gabor Csardi <address@hidden> UNIL DGM