4

Is there a way to write my R errors to a file? I run R on bash via:

R --vanilla < myprogram > myprogram.out &

When my program encounters an error (not a syntax error...like an illegal replacement or something) it stops but the error line isn't written to the output file and I don't know what the program was and a lot of the time I log out from the server while it runs.

Thanks, Josh

1 Answer 1

3

Use the R CMD BATCH <infile> <outfile> syntax instead.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.