Skip to content

MCA, Rcmdr, FactoMineR

6 messages · John Fox, Bert Gunter, Jeff Newmiller +1 more

#
Dear R users,

I am a beginner in R so my question may be a bit stupid. I tried to search
in forums and did not find the answer I am looking for. I should precise
that I am using Rstudio on Mac (OsX 10.10.5).

I want to run a MCA analysis on my data (with Benzecri correction, with
active and supplementary variables). It seems that the FactoMineR package
is doing this. However, it seems it is not working as it should. In Rstudio
console I call "library(Rcmdr)", and it opens a new window with XQuartz.
Then I want to upload FactoMineR package so I go in tool, I select
FactoMineR and validate. Then I am supposed to charge plug-ins but the
option is not available (see picture attached)
Do you know where it comes from?

Thank you very much for your help,
Sarah
#
Dear Sarah,

I don't entirely follow what you did, but my guess is that you installed the Rcmdr and FactoMineR packages but not the RcmdrPlugin.FactoMineR package. If that's the case, then install the RcmdrPlugin.FactoMineR, e.g., via install.packages("RcmdrPlugin.FactoMineR") and try again. 

You should be able to load the plug-in from the R Commander "Tools > Load Rcmdr Plug-in(s)" menu (it works for me). Unfortunately, you can't load the RcmdrPlugin.FactoMineR  package directly by the command library(RcmdrPlugin.FactoMineR) because the authors of the plug-in apparently didn't make it self-starting.

I hope this helps,
 John

-----------------------------
John Fox, Professor
McMaster University
Hamilton, Ontario
Canada L8S 4M4
Web: socserv.mcmaster.ca/jfox
#
Dear John and R users,

Thank you very much for your help
In my consol, i typed:
And got the following message
"Installing package(s) into '/Users/sarahcontequoi/Library/R/2.15/library'
(as 'lib' is unspecified)
Warning in install.packages :
  package 'RcmdrPlugin.FactoMineR' is not available (for R version 2.15.1)"



2016-02-10 17:39 GMT+01:00 Fox, John <jfox at mcmaster.ca>:

  
    
#
Your R is quite old -- newest version is at least 3.2.3 . As a general
rule, you should first upgrade to the current versions of both R and
packages **before posting**, as the posting guide requests I believe.
This is precisely to avoid problems like this.

If this fails to resolve your problems, re-post.

(Ignore this advice if John or others with greater expertise respond.
Mine is a general prescription only).

Cheers,
Bert


Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Wed, Feb 10, 2016 at 8:52 AM, Sarah Bortolamiol
<bortolamiol.sarah at gmail.com> wrote:
#
The Posting Guide mentioned at the bottom of every message on the list has many helpful tips.  One of these is that you should install the latest version of R before asking for help on the list.  v2.15.1 is quite old in Internet time.

BTW, if this your troubles are specific to running on MacOSX, the PG also recommends asking your question on the R-sig-mac list. That is, if you are having trouble installing the latest version of R because of your OS, you probably should be asking people more likely to be familiar with R on your OS. (You might get lucky here anyway, but targeting your question is preferred.)
#
Dear all,
I am very sorry for this mistake (I will definetly remember the lesson!),
its now working with R latest version...
Thank you very much for your help and advices
Sarah

2016-02-10 18:27 GMT+01:00 Bert Gunter <bgunter.4567 at gmail.com>: