This is a little post about how I use R when I want to make changes in my code or test things and can’t sit in front of a big screen.
I have installed the following:
R
SSH/Mosh. To access my iMac from my iPhone. Just SSH works fine and you don’t need to install anything but Mosh keeps the connection when moving between networks (Wi-Fi and cellular).
radian An alternative console for R with multiline editing and rich syntax highlight (requires R, python).
Textastic. Code editor to edit scripts.
Blink. An iOS terminal, with SSH and Mosh. I use it for Mosh, Textastic has built-in SSH terminal as well. I use it to connect to my iMac, start radian, run the scripts or test code in radian.
Simple workflow:
When working with bigger scripts, I first write the script in RStudio on my iMac. When I want to write more code or change it on my iPhone: