Author: Admin 03/10/2023
Tags: r hello world
Hello world program example using print.
In this program, we have used the built-in function
print() to print the string
The quotes are printed by default. To avoid this we can pass the argument
quote = FALSE.
If there are more than one item, we can use the
cat() function to concatenate the strings together.
> # We can use the print() function > print("Hello World!")  "Hello World!" > # Quotes can be suppressed in the output > print("Hello World!", quote = FALSE)  Hello World! > # If there are more than 1 item, we can concatenate using paste() > print(paste("How","are","you?"))  "How are you?"