Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
123 lines (108 sloc) 2.38 KB
# NOTE
# As long as you keep 'do.test = TRUE', you are only testing.
# Absolutely *nothing* will happen to your Windows PATH.
#-------------------------------------------------------------------------------
# R
#-------------------------------------------------------------------------------
pathWindowsUpdate(
h.scope="r",
h.relict="keep",
h.pos="prepend",
do.32bit=TRUE,
do.ask=TRUE,
do.sort=TRUE,
do.test=TRUE,
.do.verbose=TRUE
)
pathWindowsUpdate(
h.scope="r",
h.relict="keep",
h.pos="prepend",
do.32bit=FALSE,
do.ask=TRUE,
do.sort=TRUE,
do.test=TRUE,
.do.verbose=TRUE
)
pathWindowsUpdate(
h.scope="r",
h.relict="keep",
h.pos="append",
do.32bit=TRUE,
do.ask=TRUE,
do.sort=TRUE,
do.test=TRUE,
.do.verbose=TRUE
)
pathWindowsUpdate(
h.scope="r",
h.relict="remove",
h.pos="prepend",
do.32bit=TRUE,
do.ask=TRUE,
do.sort=TRUE,
do.test=TRUE,
.do.verbose=TRUE
)
pathWindowsUpdate(
h.scope="r",
h.relict="remove",
h.pos="append",
do.32bit=TRUE,
do.ask=TRUE,
do.sort=TRUE,
do.test=TRUE,
.do.verbose=TRUE
)
# /R ----------
#-------------------------------------------------------------------------------
# RTools
#-------------------------------------------------------------------------------
pathWindowsUpdate(
h.scope="rtools",
h.relict="keep",
h.pos="prepend",
path.rtools="C:/Rtools/2.14",
do.32bit=TRUE,
do.ask=TRUE,
do.sort=TRUE,
do.test=TRUE,
.do.verbose=TRUE
)
pathWindowsUpdate(
h.scope="rtools",
h.relict="remove",
h.pos="prepend",
path.rtools="C:/Rtools/2.14",
do.32bit=TRUE,
do.ask=TRUE,
do.sort=TRUE,
do.test=TRUE,
.do.verbose=TRUE
)
# /RTools ----------
#-------------------------------------------------------------------------------
# R + RTools
#-------------------------------------------------------------------------------
pathWindowsUpdate(
h.scope=c("r", "rtools"),
h.relict="remove",
h.pos="prepend",
path.rtools="C:/Rtools/2.14",
do.32bit=TRUE,
do.ask=TRUE,
do.sort=TRUE,
do.test=TRUE,
.do.verbose=TRUE
)
pathWindowsUpdate(
h.scope=c("r", "rtools"),
h.relict="remove",
h.pos="prepend",
path.rtools="C:/Rtools/2.14",
do.32bit=TRUE,
do.ask=FALSE,
do.sort=TRUE,
do.test=TRUE
)
# /R + RTools ----------