library(ca)
# Loading required package: rgl
library(Rcmdr)
#开发者_StackOverflow社区 R Commander starts
# When trying to close R Commander window
Error in unloadNamespace("rgl") : name space 'rgl' is still used by: 'ca'
What is the suggested way to close R Commander in such a situation?
Try
unloadNamespace('ca')
then close the 'Rcmdr' window.
You'll need to reattach the 'ca' package if you still need to use it.
精彩评论