R 包 安装 卸载 查看版本


R 查看包的版本 version
> packageVersion("snow")

卸载包
remove.packages

从源码安装包
install.packages(path_to_file, repos = NULL, type="source")
http://stackoverflow.com/questions/1474081/how-do-i-install-an-r-package-from-source


生成随机数 正太分布
For uniformly distributed (flat) random numbers, use runif(). By default, its range is from 0 to 1.


安装R时出错:
checking for history_truncate_file... no
configure: error: --with-readline=yes (default) and headers/libs are not available
./configure --with-readline=no --with-x=no

http://stackoverflow.com/questions/17473547/error-with-readline-yes-default-and-headers-libs-are-not-available
http://kuxingseng2016.blog.51cto.com/1374617/1846326


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM