FactoMineR does not install on linux : dependency ‘car’ is not available

3,844 views
Skip to first unread message

Fred

unread,
Aug 20, 2015, 5:23:10 AM8/20/15
to FactoMineR users
Hi,

I tried to install FactoMineR on linux (kubuntu 14.10 and 15.04 as well) and I failed systematically because the 'car' dependency could not be installed. My R version is 3.1.1. 
Thank you for your help !


install.packages("FactoMineR")
essai de l
'URL 'http://mirrors.softliste.de/cran/src/contrib/FactoMineR_1.31.3.tar.gz'
Content type 'application/x-gzip' length 3225608 bytes (3.1 Mb)
URL ouverte
==================================================
downloaded
3.1 Mb


ERROR
: dependency car is not available for package FactoMineR




install
.packages("Rcmdr",dependencies = TRUE)

essai de l
'URL 'http://mirrors.softliste.de/cran/src/contrib/RcmdrMisc_1.0-3.tar.gz'
Content type 'application/x-gzip' length 20493 bytes (20 Kb)
URL ouverte
==================================================
downloaded
20 Kb


essai de l
'URL 'http://mirrors.softliste.de/cran/src/contrib/rmarkdown_0.7.tar.gz'
Content type 'application/x-gzip' length 1179156 bytes (1.1 Mb)
URL ouverte
==================================================
downloaded
1.1 Mb


essai de l
'URL 'http://mirrors.softliste.de/cran/src/contrib/Rcmdr_2.2-0.tar.gz'
Content type 'application/x-gzip' length 4907754 bytes (4.7 Mb)
URL ouverte
==================================================
downloaded
4.7 Mb
ERROR
: dependency car is not available for package RcmdrMisc


Avis : dependency car is not available



Anton Perdoncin

unread,
Aug 20, 2015, 7:55:05 AM8/20/15
to factomin...@googlegroups.com
Hi Fred,

Maybe you should upgrade to R 3.1.2 ? Could you please provide us with the result of the command sessionInfo() ?

I am running FactoMineR on Linux too (xubuntu / ubuntu trusty 14.04.2 LTS), and it works perfectly well. See below the result of sessionInfo() :


Best,

Anton
--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes "FactoMineR users".
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse factominer-use...@googlegroups.com.
Pour obtenir davantage d'options, consultez la page https://groups.google.com/d/optout.

Emma Hernandez-Sanabria

unread,
Aug 20, 2015, 8:51:55 AM8/20/15
to factomin...@googlegroups.com
Hi Fred,

I bumped into the same issue just after I installed the new version of R and R studio. In the end I had to install all the dependencies separately but after that FactoMineR works just fine. 

Good luck!

Emma
--
Emma Hernandez Sanabria

Fred

unread,
Aug 20, 2015, 9:10:18 AM8/20/15
to FactoMineR users
Thank you Anton !

I don't know a "secure" way to upgrade R and I am afraid to break everything :-/

this is my session info :

> sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: x86_64-pc-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=fr_FR.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=fr_FR.UTF-8        LC_COLLATE=fr_FR.UTF-8    
 [5] LC_MONETARY=fr_FR.UTF-8    LC_MESSAGES=fr_FR.UTF-8   
 [7] LC_PAPER=fr_FR.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=fr_FR.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] tcltk_3.1.1 tools_3.1.1

Fred

unread,
Aug 20, 2015, 9:12:59 AM8/20/15
to FactoMineR users
Thank You Emma !

I tried to install the dependencies separately, but the problem is that I never succeeded to install the package 'car'  which is required for many other dependencies...


Le jeudi 20 août 2015 14:51:55 UTC+2, Emma Hernandez-Sanabria a écrit :
Hi Fred,

I bumped into the same issue just after I installed the new version of R and R studio. In the end I had to install all the dependencies separately but after that FactoMineR works just fine. 

Good luck!

Emma

Anton Perdoncin

unread,
Aug 20, 2015, 9:41:12 AM8/20/15
to factomin...@googlegroups.com
Several possibilities:

1/ check out here : https://github.com/swirldev/swirl/issues/253 ; it might solve your problem (the download link might be broken).

2/ if 1/ does not work, you will have to update R (and maybe RStudio?). Don't worry, nothing will be broken or lost, provided that you saveguard all your editors.
First solution: updating all your Ubuntu Packages. Can take a few minutes, but it should be done from time to time. On a terminal : sudo apt-get update && sudo apt-get dist-upgrade
Second solution: updating only R. On a terminal : sudo apt-get install --only-upgrade r
Or, if you are not comfortable with terminal instructions, you can use the Ubuntu Software Updater (through the Ubuntu Dash).

Once this is done you will have to reinstall he lastest versions of your R packages.

Hope it helps !

Fred

unread,
Aug 20, 2015, 10:05:35 AM8/20/15
to FactoMineR users
Thank you again Anton !

Since my system is up to date, I will try manual install.

Fred

unread,
Aug 21, 2015, 7:52:34 AM8/21/15
to FactoMineR users
I finally succeeded after R update to version 3.2.1 (2015-06-18) described here :

http://lib.stat.cmu.edu/R/CRAN/bin/linux/ubuntu/

and then install.packages()

Thanks for your help !
Reply all
Reply to author
Forward
0 new messages