问题
I started working with the package kml to perform longitudinal cluster analysis. The package claims to have an interactive graphics window that lets you explore the clusterings found by kml. The window can be opened (according to the docs) by calling the function choice.
But: That window does not open. Instead I get an error:
Error in setGraphicsEventEnv(which, as.environment(list(...))) :this graphics device does not support event handling
From the docs ?choice:
At first, choice opens a graphics window (for Linux user, the windows should be explicitly open using x11(type = "Xlib")).
Note: I'm under Windows 10, R3.6.3
Minimal example:
cld <- generateArtificialLongData(25)
kml(cld,3)
choice(cld)
- What am I missing?
- How can that graphics window be opened?
来源:https://stackoverflow.com/questions/61323240/graphics-window-not-working-properly-in-kml-package