Skip to Content
Rクックブック 第2版
book

Rクックブック 第2版

by J.D. Long, Paul Teetor, 大橋 真也, 木下 哲也
January 2020
Intermediate to advanced
584 pages
7h 18m
Japanese
O'Reilly Japan, Inc.
Content preview from Rクックブック 第2版

16章R Markdownと公開

Rだけでも信じられないほど強力なデータ分析・可視化ツールですが、ほとんどの人は分析した後にその結果を他の人に伝える必要があります。結果は、論文、ブログ投稿、PowerPoint、書籍などを使って伝えることが可能です。R Markdownは、Rで行った分析や可視化を公開可能なドキュメントにできる便利なツールです。

R Markdownは、RコードをMarkdown形式でプレーンテキストファイルに追加できるパッケージ(ツールのエコシステム)です。そして、PDF、HTML、Microsoft Word、Microsoft PowerPointなどのさまざまなフォーマットでドキュメントをレンダリングできます。レンダリング(ニッティング(knitting)とも呼ばれます)するときには、Rコードが実行され、その結果の出力と図が最終ドキュメントに入ります。

本章では、R Markdownドキュメントを作成するためのレシピを紹介します。本章のレシピを試した後、さらに詳しくR Markdownについて学ぶ一番良い方法は、ソースファイルと他の人のR Markdownの最終出力を調べることです。今あなたが読んでいるこの書籍もR Markdownで書かれています。本書のソースはGitHub(https://github.com/CerebralMastication/R-Cookbook)で確認できます。

さらに、Yihui Xie, J. J. AllaireとGarrett Grolemundの『R Markdown: The Definitive Guide』(https://bookdown.org/yihui/rmarkdown/)もR Markdownで書かれています。このソースもGitHub( ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Rクイックリファレンス 第2版

Rクイックリファレンス 第2版

Joseph Adler, 大橋 真也, 木下 哲也
ハイパフォーマンスPython 第2版

ハイパフォーマンスPython 第2版

Micha Gorelick, Ian Ozsvald, 中山 光樹
Rではじめるデータサイエンス 第2版

Rではじめるデータサイエンス 第2版

Hadley Wickham, Mine Çetinkaya-Rundel, Garrett Grolemund, 大橋 真也
Rではじめるデータサイエンス

Rではじめるデータサイエンス

Hadley Wickham, Garrett Grolemund, 黒川 利明, 大橋 真也

Publisher Resources

ISBN: 9784873118857Other