rstudio execute code & Notes

 

Performing cursor line

Ctrl + Enter or Run

execute multiple lines of code

(Run button or use the Source window title bar) selected lines of code, press Ctrl + Enter key.

After running a piece of code, press Ctrl + Shift + P keys (or buttons corresponding to the title bar), the code segment can be re-run on the first run (single or multiple rows). This is not a simple command to re-read the history of the implementation of the implementation, but will re-executed version of the current code segment (even if one has been modified and compared to the past).

To perform the entire file, you can press Ctrl + Shift + Enter keys (or use the Source button on the title bar). The advantage of this is that the entire document can be saved as a temporary file, and then enter the Console, Console, the code will not be there again (select Source with Echo is displayed).

Comment # number

Ctrl + C the Shift +
---------------------  
Author: NAN_WHY  
Source: CSDN  
Original: https: //blog.csdn.net/nan_why/article / details / 78759033  
copyright: This article is a blogger original article, reproduced, please attach Bowen link!

Guess you like

Origin www.cnblogs.com/jwg-fendi/p/11095712.html