官术网_书友最值得收藏!

Installing R packages from inside RStudio

To install R packages from RStudio, follow these steps:

  1. Open RStudio
  2. Click on Tools from the menu bar and then click on Install Packages...:
  1. In the Install Packages dialog box, type in the package name in the Packages text box and click on the Install button:

You can also install multiple packages at the same time with both the R command line and RStudio. Just separate the individual packages with commas:

install.packages("packagename1", "packagename2")

Make sure to install all the packages that are covered in this chapter before proceeding to the next chapter.

主站蜘蛛池模板: 靖远县| 乐东| 滨州市| 潜山县| 苗栗县| 石景山区| 扶绥县| 波密县| 台湾省| 青龙| 华阴市| 昌吉市| 镇宁| 连平县| 类乌齐县| 神农架林区| 林芝县| 扬中市| 崇文区| 札达县| 太仓市| 西青区| 大英县| 襄樊市| 龙海市| 仁寿县| 沂源县| 玉树县| 佳木斯市| 祁连县| 新化县| 平潭县| 朝阳市| 达孜县| 江华| 永平县| 舞阳县| 锡林浩特市| 宝鸡市| 宣武区| 子洲县|