• R语言
  • R 2.15.0 安装时 怎么 没有 ‘message translation’ 勾选的项?

哇塞,2.15都出来了啊,刚换上2.14.2没多久

回复 第2楼 的 波波头一头:

怎么改?

我直接把R-2.15.0\share\locale下的文件夹全删除了。

回复 第4楼 的 luzifer:R\etc\Rconsole里面

## Language for messages

language = en

回复 第5楼 的 波波头一头:我说了我有万能答案,免得大家千万次地问 [s:11]

https://github.com/yihui/r-ninja/blob/master/source/01-setup.md

回复 第4楼 的 luzifer:同学,你太暴力了。

回复 第6楼 的 谢益辉:然后再把etc下个几个文件(比如 Rprofile.site, Rconsole 等)设成 只读 格式,安装时忽略错误

回复 第6楼 的 谢益辉:精辟的忍者秘籍!!忍者必备[s:11]

这次版本的安装文件可定制选项好少啊,tcl 和 doc 都不能在安装时定制是否装不装了,怎么变成这样了。。

回复 第6楼 的 谢益辉:Nice Job!. One comment and one question:

Comment: It seems that on many (but probably not all) Windows systems, .files can be manually created by using the ".files." as the filename, which tells the system that the extension is null but the main filename contains a dot.

Question: With so many tricky delicacies you mentioned, do you have a list of necessary information that needs to be recorded for the sake of duplicability? Something like

list(sessionInfo=sessionInfo(), Sys.info=Sys.info(),<br />
  Sys.getenv=Sys.getenv(names=TRUE), capabilities=capabilities(),<br />
  options=options(), RNGkind=RNGkind(), .libPaths=.libPaths())
.

Is there anything else that should be recorded?
</p>

刚在系里Windows服务器上试了一下,.files.也不行,右键重命名为这个文件名同样会被Windows禁止,所以还是命令行创建以点开头的文件比较靠谱。

我觉得这些信息有点过多了,但对于检查不可重复性的来源来说可能会有帮助,我想不出其它可补充的信息了。

回复 第11楼 的 谢益辉:It doesn't work on Win Server 03R2, but it works for Vista, Win7, etc.

I often find it so important to keep all information in the save.image call at the end of any analysis to reproduce results.

4 天 后

原因在此

/R-2.15.0/src/gnuwin32/CHANGES.Rd:

The installer has many fewer options with more files always being installed, as a few Mb of file space is nowadays no longer an issue.

具体变化可以diff一下这个文件夹

/src/gnuwin32/installer

删去了安装脚本types32.iss和types3264.iss中以前的多数选项