Q. Which of the following R code will print "Hello, world!"?
β
Correct Answer: (A)
> f <- function() {
+ cat("Hello, world!\n")
+ }
> f()
You must be Logged in to update hint/solution