When using the RStudio IDE git client, I keep receiving the "This diff is extremely large and may cause RStudio to slow down or even hang" warning even with very small changes (<1MB) Is this a bug?
Is that something like 8k lines of code ?
It's a 500 line RMarkdown doc and associated HTML knitr output. I assume the "large" changes are from updates to encoded plot images in the HTML file output.
As a general advice, I would say only your inputs and not your ouputs should be git archived, as your outputs should be products of running your code, they are backed up by the code, and git is optimised for tracking source code, above all else; though git_lfs might be used to extend git to work better with binary blobs.
This is a good recommendation. I have to push the html at some point since it is the source for the Github Pages website that displays the analysis notebook. But I undesrstand why this is is causing this behaviour now, thanks for the insight.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.