问题描述
在 RStudio 中,您可以在代码编辑窗口中运行部分代码,结果会出现在控制台中.
In RStudio, you can run parts of code in the code editing window, and the results appear in the console.
您还可以做一些很酷的事情,例如选择是否要运行光标之前的所有内容,或者光标之后的所有内容,或者只是您选择的部分,等等.所有这些东西都有热键.
You can also do cool stuff like selecting whether you want everything up to the cursor to run, or everything after the cursor, or just the part that you selected, and so on. And there are hot keys for all that stuff.
这就像 Python 中交互式 shell 的一个步骤——在那里你可以使用 readline 回到前面的单独的行,但它没有任何关于函数是什么、一段代码等的概念".
It's like a step above the interactive shell in Python -- there you can use readline to go back to previous individual lines, but it doesn't have any "concept" of what a function is, a section of code, etc.
有没有类似 Python 的工具?或者,您是否有某种类似的解决方法,例如在 vim 中使用?
Is there a tool like that for Python? Or, do you have some sort of similar workaround that you use, say, in vim?
推荐答案
IPython Notebooks 很棒.这是我最近发现的另一个基于浏览器的更新工具:Rodeo.我的印象是它似乎更好地支持了类似 RStudio 的工作流程.
IPython Notebooks are awesome. Here's another, newer browser-based tool I've recently discovered: Rodeo. My impression is that it seems to better support an RStudio-like workflow.
这篇关于有没有类似 RStudio for Python 的东西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!