R: is there any way that I can automatically update my R in Windows?

前端 未结 1 2017
情书的邮戳
情书的邮戳 2021-01-06 14:46

Yeah, I am too lazy to download the pack of the newest version. I want to know how to set my R, or is there some code that I can automatically update my R in Windows. Any as

相关标签:
1条回答
  • 2021-01-06 15:48

    Maybe this will help you to solve your problem:)

    # 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.
    
    0 讨论(0)
提交回复
热议问题