R对象是否使用`dump`转储可读的跨平台? [英] Are R objects dumped using `dump` readable cross-platform?
问题描述
我正在考虑取代 save
的一些用途,这些用于输出.Rdata文件的 dump
R $对象的表示。
假设使用 I am considering replacing some uses of Is it safe to assume that files created using Even those from 这篇关于R对象是否使用`dump`转储可读的跨平台?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! dump
创建的文件可以被安装的R读取不同的操作系统(例如linux,mac,windows)?解决方案即使那些从 save()/ code>在所有平台上都是可读的 - 如果你的目标是跨平台使用而不是使用跨应用程序,我会坚持使用这种格式。你需要一个由所有应用程序读取的格式...)。
save
, which exports .Rdata files, with dump
, which produces text representations of R objects.dump
will be readable by R installed on different operating systems (e.g. linux, mac, windows)?save()
are readable on all platforms -- I would stick with that format if your goal is cross-platform use rather than cross-application use (in which case you need a format read by all applications...).