How to run R script line by line from linux command line?

I'm used to working with my R-scripts with some GUI, so I can easily run commands in turn, and then pause and inspect my objects as they are created and modified.

Currently, I need to work with some data on a remote server. Is it possible to run line by line using the R console or some other application (please do not vi) that does not require a real graphical interface?

+3
source share
2 answers

In ESS , the R mode for Emacs, it is trivial to run R code step by step.

Emacs , , ESS, ( emacs -nw), .

. ESS. , , :

C-c M-j (ess-eval-line-and-go): , ESS, ESS.

C-c M-r (ess-eval-region): ​​ ESS ESS.

+4

, debug, . ?debug.

0

Source: https://habr.com/ru/post/1763587/


All Articles