{"id":2096,"date":"2022-01-09T06:23:11","date_gmt":"2022-01-08T22:23:11","guid":{"rendered":"http:\/\/cnliutz.uicp.io\/?p=2096"},"modified":"2022-01-09T06:23:11","modified_gmt":"2022-01-08T22:23:11","slug":"rstudio%e7%9a%84-rmarkdown%e6%96%87%e6%a1%a3%e5%8f%af%e4%bb%a5%e4%b8%8a%e4%bc%a0rpubs","status":"publish","type":"post","link":"http:\/\/strawberry.ipyingshe.net:5347\/?p=2096","title":{"rendered":"Rstudio\u7684 rmarkdown\u6587\u6863\u53ef\u4ee5\u4e0a\u4f20RPubs"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Getting Started with RPubs<\/h1>\n\n\n\n<p><a href=\"http:\/\/rstudio.com\/\">RStudio<\/a>&nbsp;lets you harness the power of&nbsp;<a href=\"https:\/\/rmarkdown.rstudio.com\/\">R Markdown<\/a>&nbsp;to create documents that weave together your writing and the output of your R code. And now, with RPubs, you can publish those documents on the web with the click of a button!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p>You&#8217;ll need&nbsp;<a href=\"http:\/\/www.r-project.org\/\">R<\/a>&nbsp;itself,&nbsp;<a href=\"http:\/\/rstudio.com\/\">RStudio<\/a>&nbsp;(v0.96.230 or later), and the&nbsp;<a href=\"https:\/\/github.com\/yihui\/knitr#readme\">knitr<\/a>&nbsp;package (v0.5 or later).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Instructions<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>In RStudio, create a new R Markdown document by choosing\u00a0File | New | R Markdown.<\/li><li>Click the\u00a0Knit HTML\u00a0button in the doc toolbar to preview your document.<\/li><li>In the preview window, click the\u00a0Publish\u00a0button<\/li><\/ol>\n\n\n\n<p><strong><span class=\"has-inline-color has-vivid-purple-color\">\u6211\u7684\u4e0a\u4f20\u7f51\u5740<\/span><\/strong> <a rel=\"noreferrer noopener\" href=\"https:\/\/rpubs.com\/czliutz\" target=\"_blank\">https:\/\/rpubs.com\/czliutz<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Getting Started with RPubs RStudio&nbsp; <span class=\"readmore\"><a href=\"http:\/\/strawberry.ipyingshe.net:5347\/?p=2096\">Continue Reading<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-2096","post","type-post","status-publish","format-standard","hentry","category-r"],"_links":{"self":[{"href":"http:\/\/strawberry.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts\/2096","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/strawberry.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/strawberry.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/strawberry.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/strawberry.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2096"}],"version-history":[{"count":0,"href":"http:\/\/strawberry.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts\/2096\/revisions"}],"wp:attachment":[{"href":"http:\/\/strawberry.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2096"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/strawberry.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2096"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/strawberry.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2096"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}