RStudio maximum file size reached

13,990

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:

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.

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.

Share:
13,990
Barnaby
Author by

Barnaby

Economist, R learner

Updated on June 13, 2022

Comments

  • Barnaby
    Barnaby almost 2 years

    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?