Gets the current RStudio project directory.
String separator between directory levels in the output.
A string giving the path to the current RStudio project directory, or character vector with length zero if you are running RStudio without a project open.
This only works when your IDE is RStudio. Otherwise an error is thrown.