[R] How to Trace Back the Warning Messages

rolf at math.unb.ca rolf at math.unb.ca
Thu Nov 2 22:55:17 CET 2006


I think this is something of an FAQ, though it may
not appear in the official listings of such.

Execute

	> options(warn=2)

That converts warnings to errors; then you can use traceback()
to discern where the errors occurred.

			cheers,

				Rolf Turner
				rolf at math.unb.ca



More information about the R-help mailing list