4
In the rstudio (IDE to r) it is possible to run the current line instead of the entire file using ctrl
(or cmd
) + enter
. This is very useful for when you want to test just one piece of code separate from the rest of the file.
I recently started using Sublime Text 2 with Python. I know it is possible to run the code directly from Sublime Text 2 with cmd
+ b
(but I first had to adjust the python.sublime-build file so that it could get the correct path).
But it would be nice also to have the option to run only the current line instead of the entire file. It is possible to do this?
If not possible in Sublime Text 2, there is another IDE that does this?
Thanks, it worked! Now, another problem, Sublimerepl is using another Python (maybe the Sublime Text 2) and not the Anaconda I have installed. How to change the
path
of him (as I had to do in thebuild
sublime)?– Carlos Cinelli
Try http://stackoverflow.com/questions/20861176/how-do-i-setup-sublimerepl-with-anacondas-interpreter
– rodrigorgs
Beauty, thanks! I’ll bring this question to SOPT too, I think it’s important to document here if you want to answer there! Abs
– Carlos Cinelli
I think you’d better answer it yourself, because I haven’t been using Python in my day-to-day life and haven’t even tested the answer.
– rodrigorgs
All right, I’m trying this solution you suggested, if it works I put it there!
– Carlos Cinelli