Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 OSX Snow Leopard 上运行 R 3.0.0。我想从编辑器中分别运行每一行,而不必复制和粘贴命令。有没有办法做到这一点?
突出显示该行,然后command-enter。
command-enter
或者,如果您想运行.R文件中的所有内容,您可以使用该source函数。
.R
source