【问题标题】:R: is there any way that I can automatically update my R in Windows?R:有什么方法可以在 Windows 中自动更新我的 R?
【发布时间】:2014-04-15 19:41:27
【问题描述】:

是的,我懒得下载最新版本的包。我想知道如何设置我的 R,或者是否有一些代码可以在 Windows 中自动更新我的 R。感谢您提供任何帮助。

【问题讨论】:

    标签: r


    【解决方案1】:

    也许这会帮助你解决你的问题:)

    # 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.
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-09-06
      • 2020-01-05
      • 1970-01-01
      • 2012-10-11
      相关资源
      最近更新 更多