18.12.2012 Views

Embedding R Tutorial

Embedding R Tutorial

Embedding R Tutorial

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Debugging: R‘s Error Text<br />

� check the error code<br />

– error text as returned by GetErrorText might give a hint<br />

– especially useful for debugging startup problems<br />

(installation)<br />

� if Evaluate or EvaluateNoReturn fails,<br />

check R‘s error output<br />

� install a StringLogDevice<br />

� check the StringLogDevice<br />

� use rcom and check the console window

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!