add auxiliary code for plotting with R