a) package b) workspace c) list d) task Answer: b Explanation: All objects created during an R session can ...
View QuestionWhich of the following can be used to display the names of (most of) the objects which are currently stored within R?
a) object() b) objects() c) list() d) class() Answer: b Explanation: During an R session, objects are ...
View QuestionThe entities that R creates and manipulates are known as ________
a) objects b) task c) container d) packages Answer: a Explanation: These may be variables, arrays of numbers, character ...
View Question_______ will divert all subsequent output from the console to an external file.
a) sink b) div c) exp d) exc Answer: a Explanation: sink() restores it to the console once again.
View QuestionIf commands are stored in an external file, say commands.R in the working directory work, they may be executed at any time in an R session with the command ____________
a) source(“commands.R”) b) exec(“commands.R”) c) execute(“commands.R”) d) exect(“command.R”) Answer: a Explanation: For Windows, Source is also available ...
View QuestionPoint out the wrong statement?
a) : operator is used to create integer sequences b) The numbers in the square brackets are part ...
View QuestionFiles containing R scripts ends with extension ____________
a) .S b) .R c) .Rp d) .SP Answer: b Explanation: Under many versions of UNIX and on ...
View QuestionWhich of the R following code is example of explicit printing?
a) > x <- 5 > x b) > x <- 5 > print(x) c) > x ...
View QuestionPoint out the wrong statement?
a) The grammar of the language determines whether an expression is complete or not b) The ...
View Question
What will be the output of the following R code?
> x <- 1
> print(x)
What will be the output of the following R code? > x <- 1 > print(x) a) 1 b) 2
View Question