前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >如何做好R语言笔记

如何做好R语言笔记

原创
作者头像
用户10325578
发布2023-02-02 15:28:19
3530
发布2023-02-02 15:28:19
举报
文章被收录于专栏:R语言学习笔记

title: "Note Exercise"

output: html_document

date: "2023-02-02"


代码语言:{r setup, include=FALSE}
复制
knitr::opts_chunk$set(echo = TRUE)

R Markdown Mac快捷键

快捷键

(1) command+1\2\3\4\5\6分别代表1-6级标题

(2) 引用:>+空格

(3) 输入命令快捷键:Mac:command+option+i Windows:Ctrl+Alt+i

(4) 反引号:option+数字1前面的那个键

(5) 生成md文件:knitr::knit("tab键选择要转换的Rmd文件"),使用VScode软件看md文件

(6) 分隔线:***

(7) 腾讯云文档,需要自行插入图片

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.

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
作者已关闭评论
0 条评论
热度
最新
推荐阅读
目录
  • R Markdown Mac快捷键
    • 快捷键
    • Including Plots
    领券
    问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档