160k views
1 vote
What will happen in R if you run: print("StatsCourse")

A) R will send "StatsCourse" to your local printer
B) R will display: "StatsCourse"
C) R will show the full data file named "StatsCourse"
D) R will return an error message. R is a programming language, not a printer interface

1 Answer

4 votes

Answer:

If you run: print("StatsCourse") in R, R will display: "StatsCourse", Option B.

Step-by-step explanation:

R is a language,mostly written in C and environment for statistical computing and graphics.

Out of the given options, R will display StatsCourse, If we run print("StatsCourse"). It is a command to display what is given in the brackets and the command will be followed.

It will not send "StatsCourse" to local printer, as per Option A. Thew command for printing is different. It will not show full data in the file named "StatsCourse", as there is no such file, as per Option C. Option D is also incorrect as no error message will be returned.

User James Martineau
by
6.1k points