Set R mirror variable.