那么多的'down'都是什么?

經(jīng)常會看到許多以“down”結(jié)尾的單詞躺率,其中最重要的當(dāng)屬markdown玛界,但作為R語言的學(xué)習(xí)者万矾,開發(fā)了各種各樣的down,我大致梭羅了一些慎框,做一介紹良狈,

markdown

1 markdown

一款輕量級語句工具,基礎(chǔ)中的基礎(chǔ)笨枯,碼字之王薪丁。

Markdown 是一種輕量級的標記語言,可用于在純文本文檔中添加格式化元素馅精。Markdown 由 John Gruber 于 2004 年創(chuàng)建严嗜,如今已成為世界上最受歡迎的標記語言之一。

  1. 專注于文字內(nèi)容洲敢;
  2. 純文本漫玄,易讀易寫,可以方便地納入版本控制压彭;
  3. 語法簡單睦优,沒有什么學(xué)習(xí)成本,能輕松在碼字的同時做出美觀大方的排版壮不。

https://markdown.com.cn//


rmarkdown

2 R Markdown

Rstudio中高度集成的工具刨秆,可以使用markdown語句,幾乎是后續(xù)所有down都離不開它忆畅,源自謝益輝衡未,其中集成的Knit可以渲染各種效果。

The rmarkdown package (Allaire, Xie, McPherson, et al. 2021) was first created in early 2014. During the past four years, it has steadily evolved into a relatively complete ecosystem for authoring documents, so it is a good time for us to provide a definitive guide to this ecosystem now. At this point, there are a large number of tasks that you could do with R Markdown:

Compile a single R Markdown document to a report in different formats, such as PDF, HTML, or Word.

Create notebooks in which you can directly run code chunks interactively.

Make slides for presentations (HTML5, LaTeX Beamer, or PowerPoint).

Produce dashboards with flexible, interactive, and attractive layouts.

Build interactive applications based on Shiny.

Write journal articles.

Author books of multiple chapters.

Generate websites and blogs.

https://bookdown.org/yihui/rmarkdown/


bookdown

3 bookdown

同樣是謝大神的杰作家凯,基于Rmarkdown的電子書生成工具缓醋,可以生成gitbook、pdf绊诲、word和epub格式的電子書送粱,也是后續(xù)各種down的基礎(chǔ)

The bookdown package is an open-source R package that facilitates writing books and long-form articles/reports with R Markdown. Features include:

Generate printer-ready books and ebooks from R Markdown documents.

A markup language easier to learn than LaTeX, and to write elements such as section headers, lists, quotes, figures, tables, and citations.

Multiple choices of output formats: PDF, LaTeX, HTML, EPUB, and Word.

Possibility of including dynamic graphics and interactive applications (HTML widgets and Shiny apps).

Support a wide range of languages: R, C/C++, Python, Fortran, Julia, Shell scripts, and SQL, etc.

LaTeX equations, theorems, and proofs work for all output formats.

Can be published to GitHub, bookdown.org, and any web servers.

Integrated with the RStudio IDE.

One-click publishing to https://bookdown.org.


blogdown

4 blogdown

還是謝大神的巨作,使用Rmarkdown創(chuàng)建網(wǎng)站掂之,使用的是hugo主題抗俄,包括我的個人博客站也是基于此。

The goal of the blogdown package is to provide a powerful and customizable website output format for R Markdown. Use dynamic R Markdown documents to build webpages featuring:

R code (or other programming languages that knitr supports),

automatically rendered output such as graphics, tables, analysis results, and HTML widgets, and

technical writing elements such as citations, footnotes, and LaTeX math, enabled by the bookdown package.

By default, blogdown uses Hugo, a popular open-source static website generator, which provides a fast and flexible way to build your site content to be shared online. Other website generators like Jekyll and Hexo are also supported.

A useful feature of blogdown sites, compared to other R Markdown-based websites, is that you may organize your website content (including R Markdown files) within subdirectories. This makes blogdown a good solution not just for blogging or sites about R — it can also be used to create general-purpose websites to communicate about data science, statistics, data visualization, programming, or education.

https://bookdown.org/yihui/blogdown/


pagedown.png

5 pagedown

使用R標記和CSS創(chuàng)建漂亮的PDF世舰,再安裝rticles這個包以后可以集成多種模版动雹,包括個人簡歷、期刊雜志跟压、論文等等胰蝠,也是后續(xù)期刊雜志的基礎(chǔ)。

The traditional way to beautiful PDFs is often through LaTeX or Word, but have you ever thought of printing a web page to PDF? Web technologies (HTML/CSS/JavaScript) are becoming more and more amazing. It is entirely possible to create high-quality PDFs through Google Chrome or Chromium now. Web pages are usually single-page documents, but they can be paginated thanks to the JavaScript library Paged.js, so that you can have elements like headers, footers, and page margins for the printing purpose. In this talk, we introduce a new R package, pagedown (https://github.com/rstudio/pagedown), to create PDF documents based on R Markdown and Paged.js. Applications of pagedown includes, but not limited to, books, articles, posters, resumes, letters, and business cards. With the power of CSS and JavaScript, you can typeset your documents with amazing elegance (e.g., a single line of CSS, “tr:nth-child(even) { background: #eee; }”, will give you a striped table, and “border-radius: 50%;” gives you a circular element) and power (e.g., HTML Widgets).

https://github.com/rstudio/pagedown


pkgdown

6 pkgdown

一看為R包快速輕松地構(gòu)建網(wǎng)站的包,建立網(wǎng)站介紹你的包

pkgdown is designed to make it quick and easy to build a website for your package. You can see pkgdown in action at https://pkgdown.r-lib.org: this is the output of pkgdown applied to the latest version of pkgdown. Learn more in vignette(“pkgdown”) or ?build_site.

https://pkgdown.r-lib.org/


officedown

7 officedown

可以集成生成word和ppt的R包茸塞,基于的是R Markdown 躲庄。

Word

The package facilitates the formatting of Microsoft Word documents produced by R Markdown documents by providing a range of features:

PowerPoint

The package also enhances PowerPoint productions with R Markdown by providing a mechanism for placing results according to the slide template contained in the PowerPoint document used as “reference_doc”. It becomes easy to add several contents in the same slide.

https://github.com/davidgohel/officedown

https://ardata-fr.github.io/officeverse/officedown-for-word.html


8 ElegantBookdown

黃湘云制作的一款將ElegantBook制作成bookdown格式的模板,可以生成很好看的word

在線預(yù)覽

源碼地址:https://github.com/XiangyunHuang/ElegantBookdown


thesisdown

9 thesisdown

使用bookdown軟件包更新的R Markdown論文模板的包钾虐,是今后寫畢業(yè)論文的方向噪窘,目前衍生了若干高效的’down’,下面有各種例子效扫,有興趣的話倔监,你也可以自己制作一個。

This project was inspired by the bookdown package and is an updated version of my Senior Thesis template in the reedtemplates package here. It was originally designed to only work with the Reed College LaTeX template, but has since been adapted to work with many different institutions by many different individuals. Check out the Customizing thesisdown to your institution section below for examples.

Currently, the PDF and gitbook versions are fully-functional. The word and epub versions are developmental, have no templates behind them, and are essentially calls to the appropriate functions in bookdown.

https://github.com/ismayc/thesisdown

<colgroup style="box-sizing: border-box;"><col width="27%" style="box-sizing: border-box;"><col width="42%" style="box-sizing: border-box;"><col width="29%" style="box-sizing: border-box;"></colgroup>

College/University Repository Based on
American University SimonHeuberger/eagledown benmarwick/huskydown
Brock University brentthorne/brockdown zkamvar/beaverdown
école Doctorale de Mathématiques Hadamard abichat/hadamardown ismayc/thesisdown
Drexel University tbradley1013/dragondown ismayc/thesisdown
Duke University mine-cetinkaya-rundel/thesisdowndss ismayc/thesisdown
Graduate Institute of International and Development Studies jhollway/iheiddown ulyngs/oxforddown
Heidelberg University, Faculty of Biosciences nkurzaw/heididown phister/huwiwidown
Humboldt University of Berlin phister/huwiwidown ismayc/thesisdown
Kansas State University emraher/wildcatdown benmarwick/huskydown
Massachusetts Institute of Technology ratatstats/manusdown ismayc/thesisdown
Oregon State University zkamvar/beaverdown ismayc/thesisdown
Oxford University davidplans/oxdown ismayc/thesisdown
Queen’s University eugenesit/gaelsdown ismayc/thesisdown
Smith College SmithCollege-SDS/pioneerdown ismayc/thesisdown
Southampton University dr-harper/sotonthesis ismayc/thesisdown
Stanford University mhtess/treedown ismayc/thesisdown
Universidade Federal do Rio de Janeiro COPPE-UFRJ/coppedown ismayc/thesisdown
Université Paris-Saclay abichat/hadamardown ismayc/thesisdown
University College London benyohaiphysics/thesisdownUCL ismayc/thesisdown
University of Arizona kelseygonzalez/beardown ismayc/thesisdown
University of California, Davis ryanpeek/aggiedown DanOvando/gauchodown
University of California, Santa Barbara DanOvando/gauchodown benmarwick/huskydown
University of Florida ksauby/thesisdownufl ismayc/thesisdown
University of Freiburg vivekbhr/doctorRbite ismayc/thesisdown
University of Kansas wjakethompson/jayhawkdown ismayc/thesisdown
University of Manchester juliov/uomthesisdown ismayc/thesisdown
University of Minnesota zief0002/qmedown ismayc/thesisdown
University of New South Wales rensa/unswthesisdown ismayc/thesisdown
University of Salzburg irmingard/salzburgthesisdown ismayc/thesisdown
University of Toronto mattwarkentin/torontodown zkamvar/beaverdown
University of Washington benmarwick/huskydown ismayc/thesisdown
TU Wien ben-schwen/robotdown ismayc/thesisdown
University of Bristol mattlee821/bristolthesis ismayc/thesisdown
Universidade Federal de Santa Catarina lfpdroubi/ufscdown ismayc/thesisdown
Universiteit van Amsterdam lcreteig/amsterdown benmarwick/huskydown
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末荡短,一起剝皮案震驚了整個濱河市丐枉,隨后出現(xiàn)的幾起案子哆键,更是在濱河造成了極大的恐慌掘托,老刑警劉巖,帶你破解...
    沈念sama閱讀 217,542評論 6 504
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件籍嘹,死亡現(xiàn)場離奇詭異闪盔,居然都是意外死亡,警方通過查閱死者的電腦和手機辱士,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 92,822評論 3 394
  • 文/潘曉璐 我一進店門泪掀,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人颂碘,你說我怎么就攤上這事异赫。” “怎么了头岔?”我有些...
    開封第一講書人閱讀 163,912評論 0 354
  • 文/不壞的土叔 我叫張陵塔拳,是天一觀的道長。 經(jīng)常有香客問我峡竣,道長靠抑,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 58,449評論 1 293
  • 正文 為了忘掉前任适掰,我火速辦了婚禮颂碧,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘类浪。我一直安慰自己载城,他們只是感情好,可當(dāng)我...
    茶點故事閱讀 67,500評論 6 392
  • 文/花漫 我一把揭開白布费就。 她就那樣靜靜地躺著个曙,像睡著了一般。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上垦搬,一...
    開封第一講書人閱讀 51,370評論 1 302
  • 那天呼寸,我揣著相機與錄音,去河邊找鬼。 笑死蹬音,一個胖子當(dāng)著我的面吹牛馏鹤,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播瑟捣,決...
    沈念sama閱讀 40,193評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼栅干!你這毒婦竟也來了迈套?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 39,074評論 0 276
  • 序言:老撾萬榮一對情侶失蹤碱鳞,失蹤者是張志新(化名)和其女友劉穎桑李,沒想到半個月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體窿给,經(jīng)...
    沈念sama閱讀 45,505評論 1 314
  • 正文 獨居荒郊野嶺守林人離奇死亡贵白,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,722評論 3 335
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發(fā)現(xiàn)自己被綠了崩泡。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片禁荒。...
    茶點故事閱讀 39,841評論 1 348
  • 序言:一個原本活蹦亂跳的男人離奇死亡,死狀恐怖角撞,靈堂內(nèi)的尸體忽然破棺而出呛伴,到底是詐尸還是另有隱情,我是刑警寧澤谒所,帶...
    沈念sama閱讀 35,569評論 5 345
  • 正文 年R本政府宣布热康,位于F島的核電站,受9級特大地震影響百炬,放射性物質(zhì)發(fā)生泄漏褐隆。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點故事閱讀 41,168評論 3 328
  • 文/蒙蒙 一剖踊、第九天 我趴在偏房一處隱蔽的房頂上張望庶弃。 院中可真熱鬧,春花似錦德澈、人聲如沸歇攻。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,783評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽缴守。三九已至葬毫,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間屡穗,已是汗流浹背贴捡。 一陣腳步聲響...
    開封第一講書人閱讀 32,918評論 1 269
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留村砂,地道東北人烂斋。 一個月前我還...
    沈念sama閱讀 47,962評論 2 370
  • 正文 我出身青樓,卻偏偏與公主長得像础废,于是被迫代替她去往敵國和親汛骂。 傳聞我的和親對象是個殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 44,781評論 2 354

推薦閱讀更多精彩內(nèi)容

  • 轉(zhuǎn)載自:https://github.com/crazyhottommy/getting-started-with...
    iColors閱讀 1,328評論 0 2
  • Package Control Messages ======================== Markdow...
    SobinWong閱讀 486評論 0 0
  • 工欲善其事评腺,必先利其器帘瞭。總結(jié)一下蒿讥,方便多了蝶念。R語言還是很牛逼的,可以干很多事情诈悍。有一把順手的刀還是很重要的祸轮。 0....
    Liam_ml閱讀 4,615評論 1 60
  • 話要說起來兽埃,我接觸到的第一門現(xiàn)代語言就是Markdown了侥钳。起因是自己年輕的時候,喜歡寫作柄错,在網(wǎng)上了解到陽志平舷夺、李...
    周運來就是我閱讀 1,094評論 0 4
  • 第六章 Markdown工具一籮筐 6.1 記筆記 ??筆記軟件主要是用來幫助用戶記錄重要信息、事件及想法的售貌。在筆...
    SinkingStone閱讀 968評論 0 0