1. The most convenient way to use R is at a graphics workstation running a ________ system.
Correct Answer is : windowing
2. Point out the wrong statement :
Correct Answer is : q() is used to quit the R program
3. Which of the following statement is alternative to
?solve
Correct Answer is : help(solve)
4. Which of the following is default prompt for UNIX environment ?
5. Which of the following will start the R program ?
6. Point out the wrong statement :
Correct Answer is : R is case insensitive as are most UNIX based packages, so A and a are different symbols and would refer to different variables
7. Elementary commands in R consist of either _______ or assignments.
Correct Answer is : expressions
8. If a command is not complete at the end of a line, R will give a different prompt, by default it is :
Correct Answer is : #ERROR!
9. Command lines entered at the console are limited to about ________ bytes.
10. ._____ text editor provides more general support mechanisms via ESS for working interactively with R.
Correct Answer is : Emacs
11. What is output of getOption(“defaultPackages”) in R studio?
Correct Answer is : Shows default packages in R
12. What is the output of the following code?
x <- c(3, 7, NA, 4, 7)
y <- c(5, NA, 1, 2, 2)
x + y
Correct Answer is : Missing Data
13. R language is a dialect of which of the following languages?
14. R language has superficial similarity with _________
15. What is the mode of ‘a’ in the following code?
a <- c(1,” a”, FALSE)
Correct Answer is : Character
16. What is the length of b?
b <- 2:7
17. What is the mode of b in the following code?
b <- c(TRUE, TRUE, 1)
Correct Answer is : Numeric
18. What are the typeof(x) and mode(x) in the following syntax?
x<-1:3
Correct Answer is : Integer, Numeric
19. How many atomic vector types does R have?
20. What is the function to set row names for a data frame?
Correct Answer is : row.names()