Skip to content

How to load Rcmd without Commander() ?

2 messages · ronggui, John Fox

#
I would like to use the reliability() function in Rcmdr package, but
not the GUI, so I would to load Rcmd without Commander() running
automatically.

Is there any easy way to get it? Thanks.
#
Dear Ronggui,

The Commander() function is called in the Rcmdr .onAttach() function, so
library(Rcmdr) automatically starts up the GUI. You could use
Rcmdr:::reliability(S), where S is the covariance matrix among the items,
without libraryI(Rcmdr). Perhaps somewhat better would be to make a copy of
the function in the global environment via reliability <-
Rcmdr:::reliability.

I hope this helps,
 John

--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox 
--------------------------------