{"action":"opened","issue":{"url":"https://api.github.com/repos/rstudio/rmarkdown/issues/519","labels_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/519/comments","events_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/519/events","html_url":"https://github.com/rstudio/rmarkdown/issues/519","id":108196797,"number":519,"title":"Enable YAML support for R scripts","user":{"login":"jennybc","id":599454,"avatar_url":"https://avatars.githubusercontent.com/u/599454?v=3","gravatar_id":"","url":"https://api.github.com/users/jennybc","html_url":"https://github.com/jennybc","followers_url":"https://api.github.com/users/jennybc/followers","following_url":"https://api.github.com/users/jennybc/following{/other_user}","gists_url":"https://api.github.com/users/jennybc/gists{/gist_id}","starred_url":"https://api.github.com/users/jennybc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jennybc/subscriptions","organizations_url":"https://api.github.com/users/jennybc/orgs","repos_url":"https://api.github.com/users/jennybc/repos","events_url":"https://api.github.com/users/jennybc/events{/privacy}","received_events_url":"https://api.github.com/users/jennybc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-24T19:24:30Z","updated_at":"2015-09-24T19:24:30Z","closed_at":null,"body":"Feature request: offer the same YAML authoring support for R scripts that is offered for Rmd. But, obviously, with `#' ` prepended to each line. I guess one wouldn't want the upfront dialogue upon creation, but the YAML authoring stuff in *(gear thing) > Output Options...* when editing Rmd would really nice.\r\n\r\nWould a snippet be the best way to approximate this today?"}}