How To Run R Script In Visual Studio Code

First, find the USB device name via 'diskutil list' command. This will help you identify your USB drive from the list. It will be something like /dev/diskN, where N is the disk number.