In a recent twitter-storm about project-based thinking and file paths, a really good point was raised that I too have felt (sorry, I can't find the tweet now).
RStudio, for example, does tab completion on filenames within a Project, which is very handy.
But then here::here() expects the path parts separated out into a character vector.
Is there a way to have our cake and eat it too? Could the relative paths produced by RStudio be acceptable to here::here()? Or could there be a helper function or add-in that converts these easy-to-get paths into the proper form?
In a recent twitter-storm about project-based thinking and file paths, a really good point was raised that I too have felt (sorry, I can't find the tweet now).
RStudio, for example, does tab completion on filenames within a Project, which is very handy.
But then
here::here()expects the path parts separated out into a character vector.Is there a way to have our cake and eat it too? Could the relative paths produced by RStudio be acceptable to
here::here()? Or could there be a helper function or add-in that converts these easy-to-get paths into the proper form?