English 中文(简体)
R. 更新包裹——检查局的影响——西非信托公司
原标题:Updating packages in R - impact of checkBuilt = TRUE or FALSE

I have looked at the help for update.packages(..., checkBuilt = TRUE) and I am unclear on why one would not want to have TRUE as the default. The default is FALSE.

This question has two parts. (1) Can someone give a clear explanation of the use of this argument and rationale for either FALSE or TRUE?

据我所知,如果对R进行更新,这可能会产生不同的结果——如果包裹有点更新,那么就不会使当地图书馆改用更新的包裹,而TRUE将造成更多的(所有)包裹得到更新。 缺省方案(FALSE)可带来速效,将更新较少的包裹。 稳定不确定——新版本的R可能与新的一揽子计划更好地合作,或者(例如,如果新一揽子计划中出现倒退/ug),它可能或不可能与先前的一揽子计划(但不能保证回归的兼容性)。 其他利弊对我来说并不明显。 (这里我可能错了,因此我要求作澄清,作为部分内容。) 1)

(2) However, if one has not changed the installed version of R, then shouldn t these have the same outcome? See this post for an example where it seems that just calling update.packages() created problems, even though the version of R did not change.

最佳回答

CheckBuilt = TRUE对重大升级特别有用,如2.14.0,这给名称空间带来了巨大变化。 以前R版本所建的没有名称空间的包裹必须重新编造,否则就赢得了装船。 因此,如果你在R2.13安装了这种包件(例如ICE,并更新了R.2.14,那么你就能够再装载:

> library(ICE)
Error in library(ICE) : 
  package ‘ICE’ does not have a NAMESPACE and should be re-installed

由于没有新版本的称号空间,更新包件在没有<密码>的情况下获得提升。 CheckBuilt = TRUE。 因此,你明确指出,如果:

  • There is a more recent version on the CRAN
  • OR re-install the package if it was built with an older version of R.

<t 修改用同一版本的R汇编的包裹,不更新CRAN。 核查实际上是指“如果用旧版本汇编成,则重新输入所有包件”。

为什么它因违约而失去经济能力? 我猜测,它给国家排雷中心带来巨大负担,而且大部分时间都没有必要: 我从未看到过小升级后的问题(即R 2.13.0至2.13.1)。 我肯定会建议在任何重大升级之后,如2.13.1至2.1.4。

我认为,你在(2)中提及的具体案例是例外。 它涉及用吸收而不是从R安装的升级包裹。 确实,你无法得出这样的结论。 页: 1 支票Built = TRUE 升级,这意味着在以前的R版中建造。

问题回答

暂无回答




相关问题
Correct place to install demostration projects?

With the new Windows 7 restrictions (well, new to Windows Vista anyways), we can no longer install demo projects to %ProgramFilesFolder%OurApplicationdemo since restricted users will not be able to ...

.deb package conffiles problem

I am distributing one of my applications using a .deb package, but have a problem relating to one of the files. The distribution includes a database file which is constantly updated by the app, on a ...

Closing an application using WiX

In creating my WiX installer I have run into an issue when trying to close an application before installing the upgrade. Below is an example of how I am attempting to do this. <util:...

VS 2005 Setup - HKCU

I am trying to fix an existing application that uses a Visual Studio 2005 setup project. We are requiring it to work on limited user accounts for XP, our app is written in C# for .Net 2.0. It writes ...

Do I want Publish or Release Build in VB.net?

I wrote a little (like 40 lines little) Winforms application with VB.net in Visual Studio 2010. Now I ve released the code as a Google Code project. It s easy for a developer to get the source but I d ...

configsource and installer

I have an project csproj, with app.config file, and logging Ent.Library section using configsource attribute. The logging section is in ahother file Configloggingconfiguration.config. I have a ...

热门标签