Yorgos
Yorgos

Reputation: 30455

Error closing R commander when package rgl is loaded

library(ca)
# Loading required package: rgl
library(Rcmdr)
# 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?

Upvotes: 2

Views: 405

Answers (1)

wkmor1
wkmor1

Reputation: 7416

Try

unloadNamespace('ca')

then close the 'Rcmdr' window.

You'll need to reattach the 'ca' package if you still need to use it.

Upvotes: 1

Related Questions