Question: You accidentally display a large data frame on the R console, losing all the statements you entered during the current session. What is the best way to get the prior 25 statements back?
- console(-25)
- console(reverse=TRUE)
- history()
- history(max.show = 25)
Answer: The correct answer of the above question is Option D:history(max.show = 25)