Use of .onLoad suggested (by Bernd Bischl, pertaining to crs but also
valid for np)