You don’t really have to. You could save the workspace along with the history of you commands to load it at a later time, and never have a script at all.
The reason nobody really does that (except maybe if they use R once in every decade) is that it’s not really viable in the middle-term. That is because it doesn’t distinguish between failed attempts and actual, final code and so quickly becomes a mess.
You don’t really have to. You could save the workspace along with the history of you commands to load it at a later time, and never have a script at all.
The reason nobody really does that (except maybe if they use R once in every decade) is that it’s not really viable in the middle-term. That is because it doesn’t distinguish between failed attempts and actual, final code and so quickly becomes a mess.