{"action":"opened","issue":{"url":"https://api.github.com/repos/gingi99/HowToR/issues/6","repository_url":"https://api.github.com/repos/gingi99/HowToR","labels_url":"https://api.github.com/repos/gingi99/HowToR/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/gingi99/HowToR/issues/6/comments","events_url":"https://api.github.com/repos/gingi99/HowToR/issues/6/events","html_url":"https://github.com/gingi99/HowToR/issues/6","id":359024562,"node_id":"MDU6SXNzdWUzNTkwMjQ1NjI=","number":6,"title":"Rmarkdown","user":{"login":"gingi99","id":1721212,"node_id":"MDQ6VXNlcjE3MjEyMTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1721212?v=4","gravatar_id":"","url":"https://api.github.com/users/gingi99","html_url":"https://github.com/gingi99","followers_url":"https://api.github.com/users/gingi99/followers","following_url":"https://api.github.com/users/gingi99/following{/other_user}","gists_url":"https://api.github.com/users/gingi99/gists{/gist_id}","starred_url":"https://api.github.com/users/gingi99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gingi99/subscriptions","organizations_url":"https://api.github.com/users/gingi99/orgs","repos_url":"https://api.github.com/users/gingi99/repos","events_url":"https://api.github.com/users/gingi99/events{/privacy}","received_events_url":"https://api.github.com/users/gingi99/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-11T12:29:31Z","updated_at":"2018-09-11T12:29:31Z","closed_at":null,"author_association":"OWNER","body":"#### Chunkオプション\r\n- 画面幅の最大に合わす : `out.width='\\\\maxwidth'`\r\n\r\n#### ループでPlotを作る\r\n\r\n```\r\n```{r, results = 'asis'}\r\nfor(yt in Y){\r\n  for(ds in D){\r\n      g <- ggplot(...)\r\n      cat('\\n')\r\n      cat(\"## Y：\", yt, \" D：\",ds, \" \\n\")\r\n      print(g)\r\n      cat('\\n')\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n#### 出力するディレクトリの変更\r\n```R\r\nRscript -e 'rmarkdown::render(\"hoge.Rmd\", output_dir=\"hoge_dir\", output_file=\"hoge.html\")'\r\n```\r\n\r\n#### テンプレ\r\n- http://rmarkdown.rstudio.com/developer_document_templates.html\r\n- uribo/lab.note\r\n- rstudio/rticles\r\n\r\n"}}
{"actor":{"display_login":"gingi99"}}