Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

test

Project: test
Views: 579
---
title: "RMarkdown in CoCalc" bibliography: readme.bib
---

Introduction

RMarkdown allows you to write a HTML document, a scientific article, a presentation (interactive website or LaTeX beamer), or even a book by just using Markdown syntax and embedded programming code. The "R" in RMarkdown stands for the R statistical computing language, but it also supports Python and many other langauges.

To make full use of this approach, look at the included example documents, the articles and make sure to check out advanced concepts like the "frontmatter" -- which you can see at the top between the triple dashes -- to configure the document.

For example, you can use a bibtex file to collect other documents. Use it to include a reference in your file like for R (@R-base), SageMath (@sagemath) and CoCalc [@cocalc].

Of course, you can include formulas like f(k)=(nk)pk(1p)nkf(k) = {n \choose k} p^{k} (1-p)^{n-k} and much more ...

Included documents

  • Basic.Rmd -- this shows how to produce a simple HTML with some R code and plots.

  • html-document.Rmd -- shows how to customize an HTML document.

  • python3.Rmd -- showcase how to use Python 3 for code and plots.

  • beamer-demo.Rmd -- a LaTeX beamer presentation (produces as PDF!)

Learn more