Create and Run the Hello World Program in R Programming
R programs can be written in a very easy manner, follow the below two steps to create and run the program.
1. Open a text editor, write the following "Hello World" program and save the file with .r extension i.e. HelloWorld.r
Hello World Program - HelloWorld.r
print("Hello World")
2. Run the r file (i.e. r program) using the command Rscript HelloWorld.r.
