make R Markdown format edit a dynamic command
fix restoration of default values; improve file option behavior