已达到 RStudio 最大文件大小 [英] RStudio maximum file size reached

查看:59
本文介绍了已达到 RStudio 最大文件大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了 RStudio,在打开我的代码所在的文件时,我似乎达到了容量限制:

I have downloaded RStudio and in opening a file where my code resides it seems I have reached a capacity constraint:

The file is 2.3MB the maximum file size is 2MB
The file is too large to open at the source

除了减小文件大小或将文件切成两份或类似的文件之外,还有什么办法可以解决这个问题吗?

Is there any way around this besides reducing the size of the file or slicing the file in two or similar?

推荐答案

答案很可能不是,你不能这样做.我推荐你 这个问题 在 RStudio 支持论坛上,他们建议编辑器无法处理此类文件:

The answer is very likely no, you cannot do this. I refer you to this question on the RStudio support forum, where they suggest that the editor is not capable of handling such files:

您的文件是否远大于 5MB?你的极限在那里保护——对于不是无限的编辑器组件可扩展,而且在恢复会话时您可能会挂起.

Is your file much larger than 5MB? The limit is there for your protection--for both the editor component which is not infinitely scaleable, and also when resuming your session you may appear to hang.

我完全同意这些评论:正确编写的代码能否达到这种规模是值得怀疑的.我怀疑您所做的只是将数百行代码复制了数百次,而不是对其进行迭代.

I fully agree with the comments: it is doubtful that properly written code could reach this size. I suspect that what you have done is simply copied hundreds of lines of codes hundreds of times rather than iterating through it.

如果你真的需要这样做,你可以使用 Notepad++、NpptoR 和普通 R,这是处理大量代码文件的合理组合.

If you really need to do this, you can use Notepad++, NpptoR, and plain R which is a reasonable combination to work with enormous code files.

这篇关于已达到 RStudio 最大文件大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆