根据任务、主题或包搜索R教程。很多都有视频在Facebook上分享在Twitter上分享在LinkedIn上分享在Reddit上分享通过电子邮件分享打印资源
你在学习R编程语言吗?你想学习如何用R完成更多的任务吗?看看我们下面的“用R做更多”教程——许多视频都不到10分钟。在下表中,您可以轻松地按任务、一般主题和特定R包搜索所有教程。
可选类别:大数据、协作、数据可视化、数据分析、数据导出、数据导入、数据争吵、ggplot、GIS、微软、编程、RStudio和vscode。一些例子:
一、ggplot和其他R数据可视化
你需要用R画静态图吗?交互式图形?动画吗?搜索下面的术语,如ggplot、dataviz和颜色。您将获得诸如使用ggtext包为ggplot2可视化添加颜色、如何使用ggiraph创建交互式可视化和链接交互式图形以及如何使用内置R颜色和外部调色板等结果。如果你正在使用地理空间工具,有几个关于R的GIS教程,包括使用mapview包非常简单的映射。
二、微软
了解如何通过将Microsoft Office与R配对来获得更多的功能,包括如何从R生成PowerPoint幻灯片,从R发送Outlook电子邮件,或使用Quarto从R或Python创建Word文档。
三、数据争吵
学习如何以r3方式合并数据:基R、dplyr和数据。表和永远不要忘记语法,以更宽和更长的枢轴。如果你是一个tidyverse用户,这里有很多关于tidyr和dplyr的内容。如果您正在寻找提高数据争论和分析性能的新方法,请参阅数据介绍。表包,最终R数据。表小抄和其他数据。表教程。
下表中还有很多R教程。搜索下面的表格
按任务、包或类别搜索“用R做更多”
TASK
CATEGORY
PACKAGES/SOFTWARE
Write and run R code in Microsoft Visual Studio Code
programming, vscode, Microsoft
Visual Studio Code, VSCode
Use git and GitHub with R
programming
usethis, Rstudio
Send text messages with R
collaboration
twilio
Remember tidyr pivot_wider and pivot_longer
data wrangling
tidyr, RStudio
Reshape data with tidyr’s new pivot functions
data wrangling
tidyr
Reshape data with tidyr
data wrangling
tidyr
Automated code tests
programming, functions
testthat
Create interactive scatter plots with taucharts
dataviz
taucharts
Send Slack messages with R
collaboration
slackr
Create maps
GIS, dataviz
sf, tmap, tmaptools, leaflet
What’s that ZIP Code? Points in polygons geospatial analysis in R
GIS, data analysis
sf, tmap, tmaptools
Twitter: Search, sort, and filter tweets by hashtag with rtweet and reactable
programming
rtweet, reactable
Full text search your Mastodon posts
programming, APIs
rtoot
Preview color-matched parentheses, brackets, and braces in RStudio alpha version
programming
RStudio
Run lengthy scripts as RStudio background jobs
programming, Rstudio
RStudio
Write your own RStudio addins
programming
Rstudio
Save time with Rstudio addins and keyboard shortcuts
programming
Rstudio
Save time with RStudio code snippets
programming
Rstudio
Create PowerPoint files straight from R – or HTML slide presentations
dataviz, data export
rmarkdown, xaringan, Microsoft 365, PowerPoint, Microsoft Office
Generate HTML, Word docs and more with R Markdown
data display
rmarkdown, Microsoft Office, Microsoft 365, Word
Write your own ggplot2 functions
programming
rlang, ggplot2
Install and run Python with Rstudio
programming
reticulate, python
Run Python in R code
programming
reticulate, python
Create interactive tables with expandable rows
data display
reactable
Use built-in R colors and external palettes
dataviz
rcolorutils, scales, tmaptools, paletteer, paletti
R 4.0 new features and running R and Rstudio in a Docker container
programming
R, RStudio, Docker
Create Word documents with R
programming, Microsoft
quarto, Microsoft Word
Error check when iterating
programming
purrr
Access nested list items
data wrangling
purrr
Iterate without for loops using purrr’s map_df
programming
purrr
Export data from R to Excel with Excel formatting or multiple sheets
data export
openxlsx, rio, Microsoft Office, Excel, Microsoft 365
Connect R with Outlook email and Teams collaboration
programming, Microsoft
Microsoft365R, Microsoft 365, Outlook, Teams, Microsoft Office
Boost R Markdown interactivity
data display
markdown, shiny
Astonishingly easy mapping with mapview
GIS, dataviz, data analysis
mapview
Create an election map in R color coded by winner and victory margin
GIS, data analysis
leaflet
Keep passwords and tokens secure
security, programming
keyring
Count and visualize data by groups in R
programming, dataviz
janitor, vtree, CGPfunctions, ggplot2, dplyr, data.table
Import API data with httr
programming
httr
Create an interactive drilldown graph
dataviz
highcharter
Send email with R and Gmail
collaboration
gmailr
Add color to ggplot2 visualization with the ggtext package
dataviz
ggplot2, ggtext
Add text labels to your ggplot2 graphs
dataviz
ggplot2, ggrepel
12 ggplot extensions worth knowing
dataviz, ggplot
ggplot2, ggpackets, ggblankets, ggeasy, gghighlight, ggthemes, ggsci, hrbrthemes, ggtext, ggdist, plotly, ggiraph, ggstatsplot, esquisse, patchwork, cowplot, ggforce
Easier ggplot with ggeasy
dataviz, ggplot
ggplot2, ggeasy
Create interactive visualizations and linked interactive graphics
dataviz
ggiraph, albersusa
Easier ggplot with ggcharts
dataviz, ggplot
ggcharts, ggplot2, ggeasy, esquisse
Create color-coded calendars
dataviz
ggcal, ggplot2
Create animations in R
dataviz
gganimate, ggplot2
Create dashboards
dataviz
flexdashboard
Drag-and-drop ggplot
dataviz
esquisse, ggplot2
Create interactive plots and graphs
dataviz
echarts4r
Get data.table speed with dplyr syntax using dtplyr
programming
dtplyr, dplyr, data.table
Add sparklines to HTML tables
dataviz
DT, sparkline
Make a quick interactive table
data display
DT
Merge data in R 3 ways: base R, dplyr, and data.table
data wrangling
dplyr, data.table, dtplyr
dplyr’s new across function
data wrangling
dplyr
Calculate month-over-month comparisons
programming
dplyr
Conditional values with case_when
data wrangling
dplyr
Write your own R package
programming
devtools, usethis, roxygen2
Create racing bar charts
dataviz
ddplot
The ultimate R data.table cheat sheet – with tidyverse code too (no video)
programming
data.table, tidyverse
5 useful fread options and features you might not know
data import
data.table
data.table symbols and operators, plus new fcase function
data wrangling, data analysis
data.table
Intro to data.table
data wrangling, data analysis
data.table
Group and summarize with data.table and .SD
programming
data.table
Schedule R scripts on a Mac
programming
cronR
Send email with blastula
programming
blastula
How to use R with Google BigQuery
data import, big data
bigrquery, BigQuery
Customize ggplot with bbplot
dataviz
bbplot, ggplot2
Use the new R 4.1 pipe; run R 4.1 in Docker
programming
base R
Create lookup tables with named vectors
programming
base R
原文:
Are you learning the R programming language? Do you want to learn how to do more tasks with R? Check out our Do More With R tutorials below — many with videos shorter than 10 minutes.
In the table below, you can easily search all the tutorials by task, general topic, and specific R packages.
Available categories: big data, collaboration, dataviz, data analysis, data export, data import, data wrangling, ggplot, GIS, Microsoft, programming, RStudio, and vscode.
Some examples:
ggplot and other R data visualizations
Do you need to make static plots with R? Interactive graphs? Animations? Search below for terms such as ggplot, dataviz, and color. You’ll get results such as Add color to ggplot2 visualization with the ggtext package, How to create interactive visualizations and linked interactive graphics with ggiraph and How to use built-in R colors and external palettes
If you’re working with geospatial tools, there are several tutorials on GIS with R including Astonishingly easy mapping with the mapview package.
Microsoft
See how to get more out of Microsoft Office by pairing it with R, including how to generate PowerPoint slides from R, send Outlook email from R, or create Word documents from R or Python with Quarto.[ Attend Virtual Summit on November 8 – CIO’s Future of Cloud Summit: Mastering Complexity & Digital Innovation – Register Today! ]
Data wrangling
Learn how to merge data in R 3 ways: base R, dplyr, and data.tableand never forget syntax to pivot wider and pivot longer.
If you’re a tidyverse user, there’s plenty here on tidyr and dplyr. And if you’re looking for new ways to boost data wrangling and analysis performance, check out Intro to the data.table package, the ultimate R data.table cheat sheet, and other data.table tutorials.
There are plenty more R tutorials in the table below.
本文由数字化转型网(www.szhzxw.cn)翻译而成,作者:Sharon Machlis;翻译:数字化转型网宁檬树;翻译审核:数字化转型网默然。