Linux系统下如何给R软件安装软件包

 时间:2024-10-14 23:36:16

1、在Linux终端窗口打开R:liyi@liyi:~ > R

2、运用install.packages()函数安装软件包,并且选择镜像,我选择了”中国厦门“作为镜像R version 3.0.2 (2013-09-25) -- "Fr足毂忍珩isbee Sailing"Copyright (C) 2013 The R Foundation for Statistical ComputingPlatform: x86_64-pc-linux-gnu (64-bit)R is free software and comes with ABSOLUTELY NO WARRANTY.You are welcome to redistribute it under certain conditions.Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English localeR is a collaborative project with many contributors.Type 'contributors()' for more information and'citation()' on how to cite R or R packages in publications.Type 'demo()' for some demos, 'help()' for on-line help, or'help.start()' for an HTML browser interface to help.Type 'q()' to quit R.> install.packages("randomForest")

Linux系统下如何给R软件安装软件包

4、以上步骤完成以后,只需要最后一步即可:> library(random掂迎豢畦Forest) randomForest 4.6-12 Type rfNews() to see new features/changes/bug fixes. 至此randomForest软件包已经安装好了,用户即可调用软件包的函数来完成自己的数据分析工作了。

Linux系统下如何给R软件安装软件包
  • 中暑里怎样急救?
  • 直面高考迎接挑战
  • 九种食物预防心脑血管疾病
  • 中国银行企业贷款利率有什么规定
  • 非上市公司股权激励如何定行权价格?
  • 热门搜索
    冰淇淋的做法最简单的做法 鲳鱼的家常做法 红烧狮子头的做法 怎么发朋友圈 青椒的做法 椰子鸡汤的做法 甲乙丙丁戊己庚辛壬癸怎么读 迷你世界怎么驯服野人 死面饼的做法大全 卤鸡爪的做法