graphics window not working properly in `kml` package

故事扮演 提交于 2020-05-14 09:15:44

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!