Hi, I'm fairly new to R, so any help would be appreciated. So if I define a variable, but found there's a mistake in the code, if I type the correct code, since it is new, will then take the place of the older code.
But if I am in the middle of entering in a function, and then I found a mistake, do I need to start typing in the whole function again? What are some options I can choose from? There has to be another way to do it other than restarting the whole script.
Anther question I have is, why does all the objects from a previous session be in the environment every time I open a new Rstudio session, when I've done the rm function ? How do I permanently erase the old objects from the environment?