Question: how to import library in rstudio?
Answer: Open RStudio. ...  In the lower-right pane of RStudio, select the Packages tab and the Install button. Type the name of the packages to be installed in the “Packages (separate multiple packages with a space or comma):” box. ...  Press Install .