IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

R Discussion :

package ‘xlsx’ is not available (for R version 3.4.3)


Sujet :

R

  1. #1
    Candidat au Club
    Femme Profil pro
    Architecte technique
    Inscrit en
    Juin 2017
    Messages
    2
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : Afghanistan

    Informations professionnelles :
    Activité : Architecte technique

    Informations forums :
    Inscription : Juin 2017
    Messages : 2
    Points : 2
    Points
    2
    Par défaut package ‘xlsx’ is not available (for R version 3.4.3)
    Bonjour à tous,


    J'essaye désespérément d'installer le package xlsx.

    Voici le message obtenu
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    Warning in install.packages :
      unable to access index for repository https://cran.rstudio.com/bin/windows/contrib/3.4:
      internet routines cannot be loaded
    Warning in install.packages :
      unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.4:
      internet routines cannot be loaded
    J'ai tenté également ceci :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    install.packages("C:/Program Files/R/R-3.4.3/library/rJava_0.9-9.tar.gz", type = "source", repos = NULL)
    * installing *source* package 'rJava' ...
    ** package 'rJava' successfully unpacked and MD5 sums checked
    Warning: running command 'sh ./configure.win' had status 127
    ERROR: configuration failed for package 'rJava'
    * removing 'C:/Program Files/R/R-3.4.3/library/rJava'
    In R CMD INSTALL
    Warning in install.packages :
      running command '"C:/PROGRA~1/R/R-34~1.3/bin/i386/R" CMD INSTALL -l "C:\Program Files\R\R-3.4.3\library" "C:/PROGRA~1/R/R-34~1.3/library/rJava_0.9-9.tar.gz"' had status 1
    Warning in install.packages :
      installation of package ‘C:/PROGRA~1/R/R-34~1.3/library/rJava_0.9-9.tar.gz’ had non-zero exit status
    Je fais le tour des forum mais je ne trouve pas mon bonheur

    Voici la version de mon ordi :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
     
    platform       i386-w64-mingw32            
    arch           i386                        
    os             mingw32                     
    system         i386, mingw32               
    status                                     
    major          3                           
    minor          4.3                         
    year           2017                        
    month          11                          
    day            30                          
    svn rev        73796                       
    language       R                           
    version.string R version 3.4.3 (2017-11-30)
    nickname       Kite-Eating Tree


    Merci pour toute l'aide du monde

  2. #2
    Membre expérimenté
    Inscrit en
    Novembre 2009
    Messages
    703
    Détails du profil
    Informations forums :
    Inscription : Novembre 2009
    Messages : 703
    Points : 1 311
    Points
    1 311
    Par défaut package ‘xlsx’ is not available (for R version 3.4.3)
    Bonjour,

    Votre message date un peu. Avez-vous réussi à installer le package ? Je n'ai pas rencontré de problème particulier sous R 3.4.4 :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    R version 3.4.4 (2018-03-15) -- "Someone to Lean On"
    Copyright (C) 2018 The R Foundation for Statistical Computing
    Platform: i386-w64-mingw32/i386 (32-bit)
     
    > install.packages("xlsx",dep=TRUE)
    Installing package into ‘C:/Users/dondon/Documents/R/win-library/3.4(as ‘lib’ is unspecified)
    also installing the dependencies ‘rJava’, ‘xlsxjars’
     
    trying URL 'https://cran.univ-paris1.fr/bin/windows/contrib/3.4/rJava_0.9-9.zip'
    Content type 'application/zip' length 720033 bytes (703 KB)
    downloaded 703 KB
     
    trying URL 'https://cran.univ-paris1.fr/bin/windows/contrib/3.4/xlsxjars_0.6.1.zip'
    Content type 'application/zip' length 9485450 bytes (9.0 MB)
    downloaded 9.0 MB
     
    trying URL 'https://cran.univ-paris1.fr/bin/windows/contrib/3.4/xlsx_0.5.7.zip'
    Content type 'application/zip' length 401236 bytes (391 KB)
    downloaded 391 KB
     
    package ‘rJava’ successfully unpacked and MD5 sums checked
    package ‘xlsxjars’ successfully unpacked and MD5 sums checked
    package ‘xlsx’ successfully unpacked and MD5 sums checked
     
    The downloaded binary packages are in
            C:\Users\dondon\AppData\Local\Temp\RtmpSEahja\downloaded_packages
    > library(xlsx)
    Loading required package: rJava
    Loading required package: xlsxjars
    Cordialement,

Discussions similaires

  1. Package required but not available: 'Rcpp'
    Par Matthieu76 dans le forum R
    Réponses: 8
    Dernier message: 30/03/2016, 19h06
  2. Réponses: 10
    Dernier message: 20/05/2011, 09h25
  3. Réponses: 1
    Dernier message: 29/09/2010, 16h33
  4. Mapping qname not fond for the package: org.apache.axis2.saaj
    Par dino ortolani dans le forum Services Web
    Réponses: 0
    Dernier message: 11/05/2009, 15h06
  5. [JCreator] "package tools does not exists"
    Par snyper147 dans le forum Environnement de Développement Intégré (EDI)
    Réponses: 2
    Dernier message: 04/05/2003, 20h08

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo