1.

What is the output of getOption(“defaultPackages”) in R studio?(a) Installs a new package(b) Shows default packages in R(c) Error(d) Nothing will printThis question was addressed to me during an internship interview.My doubt stems from Overview of R in division History, Overview and Getting Started of R Programming

Answer»

The correct option is (b) SHOWS default packages in R

For explanation I would say: There are base packages (which come with R AUTOMATICALLY), and contributed packages. The base packages are MAINTAINED by a select GROUP of volunteers called R Core. In ADDITION to the base packages, there are over ten thousand additional contributed packages written by individuals all over the world.



Discussion

No Comment Found

Related InterviewSolutions