Using Rstudio 1.1.456 (which I can't change), on a Windows 10 box, and within an Rproject folder, the function here::here() returns the right folder to the console. But, when I am writing out code, and I want to use tab--completion to identify a folder or file, Rstudio does not start from the project root folder, but seems to be lost somewhere further down in the project file structure. It is as if here::here() knows where it is, but not the editor. Suggestions?
RStudio's autocompletion system always forms paths relative to the current working directory. We haven't taught it how to complete relative to the project root when
here() is being used.
Would you mind filing this as a feature request at https://github.com/rstudio/rstudio/issues?
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.