I typically use mtext to add labels to figures. I often wish to plot labels in the upper left corner of a figure. This is easy using par('usr')[1], except that the text is centered instead of right-oriented as I want it. When using 'text,' I would use pos=4, but there does not seem to be an equivalent of this for mtext. Example:
plot(1)
text(par('usr')[1], 1.5, "test", xpd=TRUE, pos=4)
mtext('test', 3, at=par('usr')[1])
I would like to avoid simply adding values to at= or using adj=, since I often am plotting multiple panels with different axes.