Removed R export. Fixed PDF save.