[R] R hangs on startup

William Dunlap wdunlap at tibco.com
Mon Apr 3 18:27:37 CEST 2017


Starting R with the --vanilla flag will cause it to ignore startup
files.  This is usually a quicker way to rule out such issues than
tracking down where the startup files are stored.  'R --help' tells
about other command line arguments that help home in on which file may
be the problem.

  --no-environ          Don't read the site and user environment files
  --no-site-file        Don't read the site-wide Rprofile
  --no-init-file        Don't read the user R profile
  --restore             Do restore previously saved objects at startup
  --no-restore-data     Don't restore previously saved objects
  --no-restore-history  Don't restore the R history file
  --no-restore          Don't restore anything
  --vanilla             Combine --no-save, --no-restore, --no-site-file,
                        --no-init-file and --no-environ

I don't know of a good way to make R report exactly which file it is
processing as it starts up.  Should --verbose do that?



More information about the R-help mailing list