markvanderloo / extremevalues

An R-package for distribution-based outlier detection
17 stars 11 forks source link

Installing difficulty #2

Open patnatha opened 6 years ago

patnatha commented 6 years ago

having problems installing this package on a unix machine without X11 and only command line access. Is there away to disable the graphing functions for installation? Having problems with the gWidgetstcltk?

markvanderloo commented 6 years ago

I think you need to run R using the X virtual frame buffer xvfb-run. This is also what CRAN does (but don't ask me for specific options and so on)

affans commented 4 years ago

Hi @markvanderloo Unfortunately, we don't have xvfb installed on our servers. We are looking to install the package ImputeRobust which depends on extremevalues and things are failing.

Is there an alternative?

markvanderloo commented 4 years ago

Unfortunately, not that I know of. You could download this repository, remove evGui.r and dependence on the GUI packages and then build from source. I recently had to install many packages on a headless server and also used xvfb to run R. It is what both CRAN and r-hub use.

There is a related blog post at the RStudio Support forum that might help you. This issue is not unique to extremeValues, but any package requiring X11.