R Open不显示/更新最新版本的MRAN包

时间:2018-01-10 16:25:58

标签: r package version microsoft-r dbplyr

我想使用Microsoft R Open通过Microsoft R Server更新R包。我可以在MRAN包repo中看到包版本是1.2.0,但是当我在RStudio中尝试更新时,它说所有包都是最新的,尽管相应的包仍然是1.1.0版(在我的情况下是dbplyr)。为什么R没有更新包? RStudio指向C:\Program Files\Microsoft\ML Server\R_SERVER

sessionInfo()
 #>R version 3.4.1 (2017-06-30)
 #>Platform: x86_64-w64-mingw32/x64 (64-bit)
 #>Running under: Windows 7 x64 (build 7601) Service Pack 1

 #Matrix products: default

 #>locale:
 #>[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252
 #>[4] LC_NUMERIC=C                           LC_TIME=English_United States.1252    

 #>attached base packages:
 #>[1] stats     graphics  grDevices utils     datasets  methods   base     

 #>other attached packages:
 #>[1] RevoUtilsMath_10.0.0 RevoUtils_10.0.5     RevoMods_11.0.0      MicrosoftML_1.5.0    mrsdeploy_1.1.2      RevoScaleR_9.2.1    
 #>[7] lattice_0.20-35      rpart_4.1-11        

 #>loaded via a namespace (and not attached):
  #>[1] codetools_0.2-15       CompatibilityAPI_1.1.0 foreach_1.4.4          grid_3.4.1             R6_2.2.0              
  #>[6] jsonlite_1.4           curl_2.6               iterators_1.0.8        tools_3.4.1            yaml_2.1.14           
 #>[11] compiler_3.4.1         mrupdate_1.0.1

packageVersion("dbplyr")
 #>‘1.1.0’

RStudio IDE具有镜像Global (CDN) - RStudio,但我想这被MRAN否决了?

enter image description here

1 个答案:

答案 0 :(得分:2)

因此,您运行的是Microsoft R Server,其R版本为3.4.1。我相信当你尝试使用MRAN进行升级时,升级会考虑到你所使用的R版本 - 而且(我相信)dbplyr for R 3.4.1的最新版本是1.1.0。您可以阅读有关快照和检查点的更多信息here

如果您愿意,可以使用以下代码直接从CRAN仓库安装软件包:

<!doctype html>

<html lang="en">
	<head>
		<title>About Us</title>
		<link href="styles/main.css" rel="stylesheet" type="text/css"/>
		<meta charset="utf-8">

		<link href="about.html" rel="alternate" hreflang="en"/>
		<link href="about_pt.html" rel="alternate" hreflang="pt"/>
	</head>

	<body>
		<div id="imageback" class="fadeImage"></div>

		<header id="aboutus">
			<h1>About Us</h1>
		</header>

		<div class="divcenter">
			<p>
				this is just really long text this is just really long text this is just really long text this is just really long text this is just really long text this is just really long text this is just really long text this is just really long text this is just really long text this is just really long text this is just really long text this is just really long text this is just really long text this is just really long text this is just really long text this is just really long text
			</p>
		</div>
	</body>

</html>

希望这有帮助!

尼尔斯

相关问题