Which of the following statement will install shiny?

all of the mentioned

The correct answer is: A. install.packages(“shiny”)

The other options are incorrect because they do not install the shiny package.

  • B. install.library(“shiny”) is incorrect because it only loads the shiny package, it does not install it.
  • C. install.lib(“shiny”) is incorrect because it does not exist.

To install the shiny package, you can use the following command:

install.packages("shiny")

This will install the shiny package from CRAN. Once the package is installed, you can load it into your R session using the following command:

library(shiny)

You can then create shiny apps using the shiny package.