R Window to edit and execute R commands

Type code in RGui console:

Create script:

Type the code in script editor :

Save the script code :

Load script code to run/execute :

It will ask to select the file to load :

Output looks like this ;