swcarpentry / shell-novice

The Unix Shell
http://swcarpentry.github.io/shell-novice/
Other
391 stars 978 forks source link

Add shortcuts for RStudio to "all" Intro to R epsiodes/lessons #1271

Closed laureltree closed 2 years ago

laureltree commented 2 years ago

Kia ora,

I noticed that some of the "Intro to R" sessions provide (some) of the shortcuts that make working in RStudio so much faster, but not all of them do this.


Mentions some shortcuts:

E.g. in https://datacarpentry.org/R-ecology-lesson/01-intro-to-r.html it says:

In RStudio, typing Alt + - (push Alt at the same time as the - key) will write <- in a single keystroke in a PC, while typing Option + - (push Option at the same time as the - key) does the same in a Mac.

I suggest to add at least the "save script" (Ctrl + S) and "run code" shortcut (Ctrl + Enter).


Mentions no shortcuts:

E.g. other lessons such as http://swcarpentry.github.io/r-novice-inflammation/01-starting-with-data/index.html:

Here, no shortcuts are mentioned at all.


I have been asked for shortcuts in my R workshops regularly and repeatedly, so I believe adding these (maybe even as a noticeable box) to the beginning of each "Intro to R"-related episode would be useful.

What do others think?

Thanks, laureltree

gcapes commented 2 years ago

Hi @laureltree

This is the UNIX shell repo. I think your issue would be better placed in one of these repos:

https://github.com/swcarpentry/r-novice-inflammation https://github.com/swcarpentry/r-novice-gapminder

Thanks

laureltree commented 2 years ago

Good point, thank you!