I vaguely remember someone mentioning R startup settings that would do this at a course 2 years ago.
What I want is a log file of each R session, but I don’t want to save commands that fail and the resulting error messages.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
See the
txtStartfunction and friends in theTeachingDemospackage. These create a log of your session and optionally a file of just the commands. Currently only succesful commands are included (due to the way the task callback system currently works). Future versions may included the commands that cause errors, but an option or small modification will keep the current behavior.