Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
rwepa authored Sep 16, 2024
1 parent e3c3922 commit 1a4405b
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 0 deletions.
41 changes: 41 additions & 0 deletions rmarkdown-chinese.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
title: "R大數據分析"
author: "李明昌"
date: "2024-09-15"
header-includes:
- \usepackage{ctex}
output:
pdf_document:
latex_engine: xelatex
html_document: default
word_document: default
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

## 第1章 R Markdown簡介

This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.

這是一個 R Markdown 文件。 Markdown 是一種用於創作 HTML、PDF 和 MS Word 文件的簡單格式語法。有關使用 R Markdown 的更多詳細信息,請參閱 <http://rmarkdown.rstudio.com>

## 第2章 Rmarkdwon使用

When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:

```{r cars}
summary(cars)
```

## 第3章 繪圖

You can also embed plots, for example:

```{r pressure, echo=FALSE}
plot(pressure)
```

Note that the `echo = FALSE` parameter was added to the code chunk to prevent printing of the R code that generated the plot.

33 changes: 33 additions & 0 deletions rmarkdown-test.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: "R big data"
author: "ALAN LEE"
date: "2024-09-15"
output:
word_document: default
html_document: default
pdf_document: default
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

## R Markdown

This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.

When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:

```{r cars}
summary(cars)
```

## Including Plots

You can also embed plots, for example:

```{r pressure, echo=FALSE}
plot(pressure)
```

Note that the `echo = FALSE` parameter was added to the code chunk to prevent printing of the R code that generated the plot.

0 comments on commit 1a4405b

Please sign in to comment.