Yes, you understand it correctly.
rrgn writes region contents to file. xrgn writes file contents to region.