[R] [External] Re: Package installation help: Stuck at "** byte-compile and prepare package for lazy loading"

iuke-tier@ey m@iii@g oii uiow@@edu iuke-tier@ey m@iii@g oii uiow@@edu
Thu Sep 30 19:37:13 CEST 2021

When I do full CRAN/BIOC installs I use Xvfb via something like

Xvfb :5 -screen 0 1280x1024x24 &
setenv DISPLAY :5



On Thu, 30 Sep 2021, Brodie, Kent via R-help wrote:

> Bill--   BINGO.    You have found the answer.     After some testing on one of my environments where it was always hanging, connecting to the same server with an X-Sever running on my workstation did indeed allow the package to be installed.
> **GOOD LORD THAT’S RIDICULOUS**   But---- at least I know.    And why it doesn’t error out without X running, who knows.
> After a ton more research, I ALSO discovered that there IS a timeout thing I can make use of, should I decide to continue just building things and ignoring the X-Server requirement for this (and probably some other?) packages.
> Before executing R and installing things, set this:
> (value is seconds).   So, the previously-hanging R CMD INSTALL inside of the install.packages call will eventually die, and then move on to the next package.
> This is buried in the documentation but- it’s there and I confirmed it works.    My example above times out a package install  at 5 minutes.
> While knowing the X requirement is a huge win (thanks again!), I will probably stick with just using the timeout thing for what I’m trying to accomplish.    Installing EVERYTHING from cran will take forever, and more than likely my VPN connection to my data center will be disconnected (thank you internal IT department) before it finishes.    They have some sort of internal “you’ve been connected too long” timer that disconnects things overnight.   Grr.
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

Luke Tierney
Ralph E. Wareham Professor of Mathematical Sciences
University of Iowa                  Phone:             319-335-3386
Department of Statistics and        Fax:               319-335-3017
    Actuarial Science
241 Schaeffer Hall                  email:   luke-tierney using uiowa.edu
Iowa City, IA 52242                 WWW:  http://www.stat.uiowa.edu

More information about the R-help mailing list