tag:blogger.com,1999:blog-885973649032225385.post673790511410371327..comments2011-01-23T13:29:59.686-08:00Comments on [the] joint posterior distribution: Disable auto-update from R (Windows)Numeratorhttp://www.blogger.com/profile/05898053361772582080noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-885973649032225385.post-82119882324478738902011-01-23T13:29:59.686-08:002011-01-23T13:29:59.686-08:00I have to think about how to check the status of w...I have to think about how to check the status of windows update. In the meantime, I updated the main function and added a parameter "set" which can be set "on" or "off".Numeratorhttps://www.blogger.com/profile/05898053361772582080noreply@blogger.comtag:blogger.com,1999:blog-885973649032225385.post-68892213524801111012011-01-23T09:32:21.298-08:002011-01-23T09:32:21.298-08:00So, in the spirit of best practice, it looks like ...So, in the spirit of best practice, it looks like you would need to do the reverse as well, right? So an opposite function (or option within this function) to net start wuauserv, which is run after the MCMC is over. Is there a way to get the state of Windows update within R so that you can find you can turn it off and then restore it only if it was on?<br /><br />Just thinking out loud here.Anonymoushttps://www.blogger.com/profile/14261298787122614322noreply@blogger.comtag:blogger.com,1999:blog-885973649032225385.post-13644556187459228132011-01-22T08:25:02.637-08:002011-01-22T08:25:02.637-08:00write("Net stop wuauserv",file="dis...write("Net stop wuauserv",file="disauto.bat") it's created from within, the net stop command does not work with runas, thus the bat file is needed.Numeratorhttps://www.blogger.com/profile/05898053361772582080noreply@blogger.comtag:blogger.com,1999:blog-885973649032225385.post-34120192777371032722011-01-22T07:58:09.695-08:002011-01-22T07:58:09.695-08:00Would love to see the disauto.bat file...Would love to see the disauto.bat file...jrminterhttps://www.blogger.com/profile/04268720692381991410noreply@blogger.com