πŸ“Š R Programming
Q. What will be the output of the following R code?
> x <- 1
> print(x)
  • (A) 1
  • (B) 2
  • (C) 3
  • (D) 5
πŸ’¬ Discuss
βœ… Correct Answer: (A) 1
πŸ“Š R Programming
Q. Collection of objects currently stored in R is called as . . . . . . . .
  • (A) package
  • (B) workspace
  • (C) list
  • (D) task
πŸ’¬ Discuss
βœ… Correct Answer: (B) workspace
πŸ“Š R Programming
Q. You can download "base" R system from . . . . . . . .
  • (A) A
  • (B) B
  • (C) CRAN
  • (D) D
πŸ’¬ Discuss
βœ… Correct Answer: (C) CRAN
πŸ“Š R Programming
Q. Matrices can be created by row-binding with the help of the following function.
  • (A) rjoin()
  • (B) rbind()
  • (C) rowbind()
  • (D) rbinding()
πŸ’¬ Discuss
βœ… Correct Answer: (B) rbind()
πŸ“Š R Programming
Q. If the code is stored in the external file, which of the following function is used to call them to a working directory?
  • (A) exec()
  • (B) source()
  • (C) execute()
  • (D) sourcefile()
πŸ’¬ Discuss
βœ… Correct Answer: (B) source()
πŸ“Š R Programming
Q. Which of the following operator is used to create integer sequences?
  • (A) :
  • (B) ;
  • (C)
  • (D) ~
πŸ’¬ Discuss
βœ… Correct Answer: (A) :
πŸ“Š R Programming
Q. The primary source code copyright for R is held by the . . . . . . . .
  • (A) R Foundation
  • (B) S Foundation
  • (C) R and S foundation
  • (D) C Foundation
πŸ’¬ Discuss
βœ… Correct Answer: (A) R Foundation
πŸ“Š R Programming
Q. Which of the following is default prompt for UNIX environment?
  • (A) >
  • (B) >>
  • (C) <
  • (D) <<
πŸ’¬ Discuss
βœ… Correct Answer: (A) >
πŸ“Š R Programming
Q. The open source . . . . . . . . software is available for Unix, Linux, and Windows platforms.
  • (A) Rserve
  • (B) BServe
  • (C) CServe
  • (D) Dserve
πŸ’¬ Discuss
βœ… Correct Answer: (A) Rserve
πŸ“Š R Programming
Q. What is output of getOption("defaultPackages") in R studio?
  • (A) Installs a new package
  • (B) Shows default packages in R
  • (C) Error
  • (D) Nothing will print
πŸ’¬ Discuss
βœ… Correct Answer: (B) Shows default packages in R