Skip to content
Prev 390896 / 398506 Next

How to automatically set R to read the files from a specific location

YAA (Yet Another Approach)
If the data is part of the assignment then the instructor presumably has a
copy of the data file(s).
Your script could get the location of these files via an environment
variable using Sys.getenv().
The instructor would need to set the environment variable prior to running
your script.
Your script should issue an error if the environment variable has not been
set.


On Thu, Mar 3, 2022 at 3:12 AM Avi Gross via R-help <r-help at r-project.org>
wrote: