2010-10-29 15 views
-1

J'installe rJava sur une machine 64 bits, exécutant Windows XP, et je rencontre le message le plus étrange. Voici le journal. Quelqu'un a-t-il déjà vu cela avant? Merci d'avance.Problème avec l'espace de noms lors de l'installation rJava

> install.packages("rJava") 
    --- Please select a CRAN mirror for use in this session --- 
    trying URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.12/rJava_0.8-8.zip' 
    Content type 'application/zip' length 636680 bytes (621 Kb) 
    opened URL 
    downloaded 621 Kb 


The downloaded packages are in 
     C:\Documents and Settings\wdeng\Local Settings\Temp\RtmpYb4lzb\downloaded_packages 
> library("rJava") 
Error : .onLoad failed in loadNamespace() for 'rJava', details: 
    call: inDL(x, as.logical(local), as.logical(now), ...) 
    error: unable to load shared object 'C:/PROGRA~1/R/R-212~1.0/library/rJava/libs/x64/rJava.dll': 
    LoadLibrary failure: The specified module could not be found. 


Error: package/namespace load failed for 'rJava' 

Répondre

1

Cela me semble une incompatibilité binaire de type jardin. Le NAMESPACE est un hareng rouge car il arrive de charger la bibliothèque dynamique, et c'est là que se situe le problème.

0

Le fichier DLL existe-t-il à ce chemin? Si c'est le cas, c'est peut-être l'une de ses dépendances qui manque. Essayez http://www.dependencywalker.com/ pour identifier lequel.

Après cela ...?