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.