Skip to content
Prev 4880 / 12125 Next

[R-pkg-devel] Proper way to ask a user to set permanent variables?

Options are not persistent between sessions unless the user wants them to
be. You can have users set the options in their .Rprofile either in the
working directory of the project or their home directory. This is the
method that the {usethis} package has for storing default names. The only
downside to this is that any R scripts associated will not be reproducible
unless paired with the .Rprofile file.

Best,
Zhian
On Fri, Jan 17, 2020 at 8:01 AM Rainer M Krug <Rainer at krugs.de> wrote: