New To R: Saving Code & Suppress Commands

Just started working with R and am having some difficulty.
I am able to use the command line with no problem. My question is, how do I open an editor so I can write several lines of code, save it and be able to use it later? Also, once I am able to do that, what command should I use so when the program is run, the code is not displayed, only the output from the program?


Hi ,

Are you using Rstudio or RGui?
With Rstudio is fast to find. you have the file bottom, new file R, save , etc..
To run the code you can use control + enter or control + R.
The best using R :slight_smile:

Hi..Using RGui. If Rstudio is easier to use, I'll switch over to that.


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.