(Session > Set Working Directory > To Source File Location) Keyboard Shortcut

I often find myself working with many files not using packages and wanting to set the working directory to the source file's directory. I can type in the setwd() manually or go through the toolbar to click the button. This is tedious. Is there a way to create a shortcut for this in RStudio? I went through the shortcut menu and I do not see this.

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