First Program Using R Programming, Amazing!!!(Beginners Level)

How to write the first program using R programming:

1. Open your code editor

3. Add a new window or file

4. Feed the system with the following code:


# Display “Hello World”
cat(“I love you guys all, welcome to R programing\n”) as an example.

5. Ensure the file is saved using the .R extension (move to execute and run it to see if all is accurate)

6. Using the VSC, open the terminal

7. Or the command prompt

8. Move to the location such as where the file is saved as the R Script

9. Ensure to run the script by typing ‘Rscript hello_world.R’

10. Congratulations!!!


Using the CODE EDITOR:


1. After entering the command

2. Go to execute

3. Choose the appropriate language, for example R

4. Move to the compiler and select it if it is not automatically selected

5. Click on run

 

Good Job Done!!!

About Author


Discover more from SURFCLOUD TECHNOLOGY

Subscribe to get the latest posts sent to your email.

Leave a Reply

Your email address will not be published. Required fields are marked *

Discover more from SURFCLOUD TECHNOLOGY

Subscribe now to keep reading and get access to the full archive.

Continue reading