MCQs R Vectors 5 March 17, 2021 | No Comments This quiz contains MCQs R Vectors. Online MCQs R Language Test 1. Identify the wrong statement: $R is used to start the R Program R is case insensitive as are most UNIX based packages, so A and a are the same symbols and would refer to same variables Windows versions of R have other optional help systems also The help.search( ) (or ??) command allows searching for help in various ways 2. ________ operator is used to create integer sequences. ; : – ~ 3. What is the output of the following R code? r <- 0:10 r[2] 2 1 0 3 4. How one can define ‘infinity’ in R Language? Sup NaN Und Inf 5. Which of the describe R Language best Available for free trial only Testing Free Paid 6. If a command is incomplete at the end of a line, R will give a different prompt, by default it is _____ + / * – 7. What is the output of the following R code?x <- c("a", "b")as.numeric(x) 1 2 NAN c) NA NA (Warning message: NAs introduced by coercion) TRUE TRUE 8. The following command can be used to print an object “x” in R? print(x) cout(x) printf(x) print x 9. How can one define ‘undefined value’ in R Language? Sup Inf Und NaN 10. What is the output of the following R code?y <- 0:5vector(y)y[3] 1 3 4 Error in vectory(y): invalid ‘mode’ argument Loading … R Language Quiz