Bug 16226 - install.packages option to install into user library when in non-interactive mode
Summary: install.packages option to install into user library when in non-interactive ...
Status: NEW
Alias: None
Product: R
Classification: Unclassified
Component: Wishlist (show other bugs)
Version: R 3.1.2
Hardware: Other Other
: P5 enhancement
Assignee: R-core
URL:
Depends on:
Blocks:
 
Reported: 2015-02-27 19:30 UTC by Louis Bergelson
Modified: 2015-02-27 19:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Louis Bergelson 2015-02-27 19:30:50 UTC
running install.packages("<package>") will fail if run non-interactively without permissions to install into the site packages

when running interactively it will instead prompt you to create a personal library to install into

there should be an optional parameter to install.packages which lets you automatically create/install into a personal library if running non-interactively

there are workarounds for scripted installations, but they are more cumbersome than they need to be, and would be avoided with a single boolean parameter