【发布时间】:2014-04-15 19:41:27
【问题描述】:
是的,我懒得下载最新版本的包。我想知道如何设置我的 R,或者是否有一些代码可以在 Windows 中自动更新我的 R。感谢您提供任何帮助。
【问题讨论】:
标签: r
是的,我懒得下载最新版本的包。我想知道如何设置我的 R,或者是否有一些代码可以在 Windows 中自动更新我的 R。感谢您提供任何帮助。
【问题讨论】:
标签: r
也许这会帮助你解决你的问题:)
# installing/loading the package:
if(!require(installr)) {
install.packages("installr"); require(installr)} #load / install+load installr
# using the package:
updateR() # this will start the updating process of your R installation. It will check for newer versions, and if one is available, will guide you through the decisions you'd need to make.
【讨论】: