//, How to run an R script from the built-in RStudio console?

I assume this is like a Python operator import, but I would like to get a quick answer, since now I am in the middle of an implementation class.

It was the closest I was, but it did not seem to correspond to this question, since it shows how to run R Script from the CLI system, and not the blue RStudio prompt >:

Run the R-script from the command line and save the results in a subdirectory

+4
source share
2 answers

Short answer using source () function

download, RStudio, ,

+5

R script, - + enter ( , , ctrl + enter). script , + .

+1

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


All Articles