I think you want file.path(). you can use that to make a directory that
includes a path to it.
See ?file.path for more details. Then, you can do something like
mydir ,- file.path(whatever)1, whatever2).
setwd(mydir)
but mydir needs to exist before you do that so check existence first using
file.
Hi All,
I am updating my R package that is currently on CRAN.
I am looking to have my main package function iterate through some files in
a directory, but am having some issues. In my function, I do the following
(I might switch to 'replicate()' instead since non-preallocated for loops
can be ve