Write R Code Faster With These RStudio Shortcuts and Settings | Step-By-Step Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024

ความคิดเห็น • 13

  • @rappa753
    @rappa753  2 หลายเดือนก่อน

    If you enjoyed this video and want to level up your R skills even further, check out my latest video courses:
    📍Data Cleaning Master Class at data-cleaning.albert-rapp.de/
    📍Insightful Data Visualizations for "Uncreative" R Users at arapp.thinkific.com/courses/insightful-data-visualizations-for-uncreative-r-users

  • @djangoworldwide7925
    @djangoworldwide7925 3 หลายเดือนก่อน +9

    I also like Ctrl Shift C for commenting (and un-comment) a line or multiple lines at once
    Also i use the sme shortcut to shift between file and console. Its redundant to have two different ones..
    Also: i have a rule of thumb: operations that add things are usually Shift, and operations to ommit are usually with Alt.
    So i use Alt R to restart the session and Alt+O to collapse all, and Shift+O to expand all.
    It just reduces some mental load off of my memory because it takes time to remember and make these shortcuts really usefull.
    I wish i knew a short cut to close the search bar. Open it (ctrl F) is easy but i always need the mouse to close it
    And of course snippets. They are my best friends. Snippets for code templates or for loading a set of packages (say plotting packages, modeling, etc..)

    • @rappa753
      @rappa753  3 หลายเดือนก่อน

      Thank you for this great comment! ♥️ Commenting blocks is also a great shortcut. I totally forgot about that one. As for switching between panes? Is it possible in RStudio to set custom conditional shortcuts depending on whether a certain window is in focus? 🤯

    • @rappa753
      @rappa753  3 หลายเดือนก่อน

      And yeah not being able to close the search bar without the mouse is a pain 😭 Also, do you mind sharing your snippets? I'm looking for inspiration for how to use them effectively 😁

  • @muhammedhadedy4570
    @muhammedhadedy4570 3 หลายเดือนก่อน +4

    Excellent tutorial as usual.
    One of my favourite shortcuts is
    CTRL + Shift + R
    For creating a comment title. It's very important, especially if you are using R scripts.

    • @rappa753
      @rappa753  3 หลายเดือนก่อน

      Thank you 🤗 and nice shortcut! I didn't know that one 🤯

  • @jeandenys7
    @jeandenys7 หลายเดือนก่อน +1

    Great share!
    Thank you.

  • @MKhan-zo8xo
    @MKhan-zo8xo 3 หลายเดือนก่อน +2

    needed this video, THANK YOU!!

    • @rappa753
      @rappa753  3 หลายเดือนก่อน

      You're very welcome 🤗

  • @paul.v.leeuwen
    @paul.v.leeuwen 3 หลายเดือนก่อน +1

    Excellent video! I use Ctrl - D to delete a line (or multiple lines) every now and then.

    • @rappa753
      @rappa753  3 หลายเดือนก่อน

      Interesting. I didn't know that there was an built-in shortcut for this. I use the vim key bindings in RStudio for this. But that's a whole different habit hole :D

  • @mazyarmohammadi1575
    @mazyarmohammadi1575 3 หลายเดือนก่อน +1

    very useful

    • @rappa753
      @rappa753  3 หลายเดือนก่อน

      Glad that you think so 🤗