1.

How to install for a package and all of the other packages on which for depends?(a) install.packages (for, depends = TRUE)(b) R.install.packages (“for”, depends = TRUE)(c) install.packages (“for”, depends = TRUE)(d) install (“for”, depends = FALSE)I got this question in an online quiz.My doubt stems from Basics topic in portion History, Overview and Getting Started of R Programming

Answer»

The correct OPTION is (c) install.packages (“for”, depends = TRUE)

EASIEST EXPLANATION: To install a package named for, open up R and type install.packages(“for”). To install foo and additionally install all of the other packages on which for depends, INSTEAD type install.packages (“for”, depends = TRUE).



Discussion

No Comment Found

Related InterviewSolutions