学习笔记182—如何在Rstudio中加载其他软件包

如何在Rstudio中加载其他软件包

方法一:(命令行)

1) install.packages("D:/soft/toolbox_new/NbClust_3.0.zip", repos = NULL, type = "win.binary"); 

2) Library(NbClust)

方法二:(界面操作)

1)打开Rstudio ----> 点击 “Tools” ----> 点击“Install Packages”

  2)点击“Browse”

3) 点击需要加载包的.zip文件---> 点击“open”

4)点击“install”即可,

5)出现下图所示,加载成功。

 6) 用命令再对包进行链接:Library(NbClust)

原文地址:https://www.cnblogs.com/hechangchun/p/13936436.html