Back

Explore Courses Blog Tutorials Interview Questions
0 votes
4 views
in R Programming by (7.3k points)
Can anyone tell me how to run an R program in RStudio?

1 Answer

0 votes
by (41.4k points)

You can run an R program in RStudio in two ways:

1. You can write the line of code in the console. Then, you have to hit ‘Enter’ to run the R code that you have written to get the output in the console itself.

2. Another way is to write the R code using the R script editor. You can write the code and hit ‘Ctrl+Enter’ to run the code. Now, you can see the output in the console window.

If you are looking for an online course to learn R programming, check out this R Programming Course by Intellipaat.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Jul 10, 2020 in R Programming by leealex956 (7.3k points)
0 votes
1 answer

Browse Categories

...