copy directory or file path as text from files pane?

In the RStudio IDE the files pane shows the current directory path at the top of the window, if you hover over the end of the path a box containing the correctly formatted path appears ( see image below)

Is there a way to capture the contents of this box as text that can then be pasted into the source or console window?

Ideally is there any way to get this same information in pastable for for each file in the directory too? so that the full file path can be pasted into your code?

I don't think this is currently possible. It seems there is some related Feature Request for Rstudio currently. You can give them a :+1:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.