Keyboard Shortcuts in DataCamp

Follow
Was this article helpful?
8 out of 17 found this helpful
Have more questions? Submit a request
Return to top

Comments

4 comments

  • Avatar
    Chase Blakeley

    Why does clicking "Run Code" only spit out and output for the last line of code entered in the script?

    Is there a keyboard shortcut to run all code without submitting an answer?

    2
    Comment actions Permalink
  • Avatar
    Phillip Perin

    Chase,

    Hitting CTRL+ Enter ran all the code up until very recently, I'm not sure why it changed but it's straight awful now. I hope it was a mistake and they fix it sooner rather than later.

    0
    Comment actions Permalink
  • Avatar
    Ed Lob

    As the post says you could try:

    ctrl/⌘ + a : Select all.

    ctrl/⌘ + enter : Execute line or selected code.

     

     

    0
    Comment actions Permalink
  • Avatar
    Ed Lob

    I also find useful:

    ctrl/⌘ + j : Last excercise.

    ctrl/⌘ + k : Next exercise.

    It works for me mostly when I want to clean my console, and also I don't lose the code I wrote already. Does anyone knows other way to clean the console (right now I'm working on different R courses) in DataCamp?

    0
    Comment actions Permalink

Please sign in to leave a comment.