恋恋不舍的意思是什么| 2049年是什么年| 右眼皮跳是什么预兆女| total什么意思| 什么而去的四字词语| 疏通血管吃什么药最好| 5.20什么星座| 李子吃多了有什么坏处| 如是什么意思| hrv什么意思| 康熙的儿子叫什么| 补办身份证需要什么| 女性腰疼去医院挂什么科| 喊麦是什么意思| pgr是什么意思| 梦到车坏了是什么意思| 什么是风湿热| 画是什么生肖| 农历今天属什么生肖| 鼻炎是什么| 桑葚有什么好处| 金箔金命是什么意思| 一厢情愿是什么生肖| 有痔疮不能吃什么食物| 胡萝卜是什么科| 为什么一进去就想射| 用什么拖地最干净| 王大锤真名叫什么| 人中龙凤是什么意思| 牙髓炎是什么原因引起的| 缺钙有什么症状| 梦见打牌是什么意思| 海之蓝是什么香型| 给小孩办身份证需要什么| 支气管炎吃什么| 文殊菩萨是管什么的| 什么口袋| 网球肘吃什么药| 苍蝇吃什么食物| 什么是情感障碍| 脂蛋白高说明什么问题| 治疗白斑最有效的方法是什么| 慢性阑尾炎吃什么消炎药| 做水煮鱼用什么鱼最好| 不置可否什么意思| 男大三后面一句是什么| 脾气暴躁易怒是什么病| 机械键盘什么轴最好| 五十八岁属什么生肖| 情窦初开是什么意思| 步履维艰是什么意思| 嗜睡什么意思| 梦见捡板栗是什么意思| 怀孕初期怕冷是什么原因| 停车坐爱枫林晚中的坐是什么意思| 蹼是什么意思| 艾附暖宫丸什么时候吃| 什么是品质| 女左上眼皮跳是什么预兆| 种植什么最赚钱农村| 关帝庙求什么最灵| 人类是什么动物| 乌梅有什么功效| 光是什么生肖| 10.21是什么星座| 阳历1月份是什么星座| 匈奴是什么民族| 浅黄色是什么颜色| 公安局局长什么级别| 三和大神是什么意思| 什么一现| 什么是基础病| 喜金是什么意思| 红花有什么作用| 男孩学什么专业有前途| 司法鉴定是干什么的| 蝉蜕是什么| 胃痉挛是什么| 祛湿喝什么| 烤麸是用什么做的| 口疮反复发作什么原因| 教头菜有什么功效| 莲子是什么| 7到9点是什么时辰| 前列腺炎是什么原因引起的| 女命劫财代表什么| 篮球中锋是干什么的| 孩子鼻子出血什么原因造成的| 一九七八年属什么生肖| 肝火旺吃什么中成药| 老公是什么意思| 系带断了有什么影响| 喝水都长肉是什么原因| 上嘴唇发白是因为什么原因| 胆固醇高是什么意思| 老人嗜睡是什么原因| 坎宅是什么意思| 金刚石是由什么构成的| 陈晓和赵丽颖为什么分手| 存款准备金率下调意味着什么| bayer是什么药| 92年是什么年| 骨科属于什么科| 游龙斑是什么鱼| 蒲公英有什么药效| 手腕疼挂什么科| 视野是什么意思| 火红的什么| 老戏骨是什么意思| 办理暂住证需要什么材料| 胰岛素起什么作用| 魏大勋和李沁什么关系| 红色药片一般是什么药| 致五行属什么| 七夕节干什么| 火花塞坏了有什么症状| 老花镜什么品牌好| 肠道功能紊乱吃什么药效果好| 漫游什么意思| 老人吃什么水果对身体好| 便秘吃什么可以调理| 腿脚发麻是什么原因| 东北是什么气候| aww是什么意思| 俄罗斯什么东西值得买| 肾阳虚有什么症状男性| 梦见狐狸是什么预兆| 八月底什么星座| 上朝是什么意思| 孕期什么时候补钙| 肠胃炎吃什么药| 甲状腺癌有什么症状| 1月24日是什么星座| 欲钱看正月初一是什么生肖| 忽然流鼻血是什么原因引起的| 严重脱发是什么病先兆| 吃火锅都吃什么菜| 饮料喝多了有什么危害| 红色血痣是什么原因| 去医院验血挂什么科| 睡觉流眼泪是什么原因| 主理人是什么意思| rebecca什么意思| 智商140是什么水平| 正常的白带是什么样的| 胸为什么会胀痛| 七月十二是什么星座| 6月6号是什么星座| 沉的右边念什么| 咳嗽两个月了一直不好是什么原因| 懿代表什么意思| 蜂蜜什么时候喝比较好| c反应蛋白偏高说明什么| 私奔是什么意思| 1.8是什么星座| 246是什么意思| 为什么会流鼻涕| 怀孕是什么脉象| 乌龟下蛋预示着什么| 铝中毒有什么症状| 石榴什么时候开花| 牛蛙和青蛙有什么区别| 蒲公英茶有什么功效| 什么都不怕| 老枞水仙属于什么茶| 越南古代叫什么| 红润润的什么| 改姓氏需要什么手续| 熟络是什么意思| 暂住证和居住证有什么区别| 韬字五行属什么| 胆囊病变是什么意思| 过敏性鼻炎有什么症状| 6月30日是什么座| 梦见老婆出轨是什么预兆| 一个令一个瓦念什么| 梦见摘果子是什么意思| 喝酒会得什么病| 泽什么意思| 属马的男生和什么属相最配| 金庸的原名叫什么| 少阳病是什么意思| 云是什么生肖| 生化有什么症状和反应| 睡衣什么面料最好| 什么样的西瓜| 神经衰弱吃什么好| 吃鸭蛋有什么好处和坏处| 哥弟属于什么档次| 血常规查什么| 什么叫集体户口| t恤搭配什么裤子好看| 勃不起来吃什么药| 蛋白粉适合什么人群吃| 打喷嚏很臭是什么原因| 65岁属什么| 什么和什么丽| 孕妇吃什么牌子奶粉| 胸口不舒服是什么原因| 糖类抗原125偏高是什么原因| 牙根发炎吃什么药| 下面瘙痒用什么药膏| 伤官是什么意思| 乖乖是什么意思| 幽门螺旋杆菌阳性代表什么| btc是什么意思| 脖子粗挂什么科| 胃难受想吐是什么原因| 角加斗念什么| 扁平疣是什么原因引起的| 新生儿晚上哭闹不睡觉是什么原因| 女人经常喝什么汤养颜| 哥伦比亚牌子什么档次| 天蝎座和什么星座不合| 达菲是什么药| 静待佳音什么意思| 挽联是什么意思| 肝实质弥漫性回声改变什么意思| 冷喷机喷脸有什么好处| 痰核流注什么意思| 鱼胶是什么| 空囊是什么原因造成的| 收缩压低是什么原因| 雪对什么| 孕妇吃海带有什么好处| 胃癌手术后吃什么补品| 捂脸表情什么意思| 吃什么会变白| 直肠增生性的息肉是什么意思| 增加白细胞吃什么食物最好| 梦到老公出轨是什么意思| 经期血量少是什么原因| 得不偿失是什么意思| 字什么意思| 阳历1月份是什么星座| 清远车牌是粤什么| 胖大海是什么东西| 酸菜鱼可以放什么配菜| 霉菌性阴道炎是什么原因引起的| 传说中的狮身人面像叫什么名字| 狗为什么吃屎| 今年流行什么颜色头发| 血脂高喝什么茶好| 高血压吃什么药效果好| 放屁多是什么原因| 痢疾吃什么药效果最好| 乐高是什么| 尿正常是什么颜色| 宫颈囊肿有什么症状表现| 什么叫子宫肌瘤| 外伤用什么药愈合最快| 青色是什么样的颜色| 天天喝啤酒对身体有什么危害| 夏天适合喝什么养生茶| 一姐是什么意思| 北京市副市长是什么级别| 内分泌紊乱是什么症状| 走马观花是什么意思| 一加是什么品牌| 琬字五行属什么| 孕妇适合吃什么| 什么犹如什么造句| 狗狗拉稀是什么原因| 吃什么止咳| 百度
Skip to content

rstudio/gt

CRAN status License: MIT R-CMD-check Codecov test coverage

Best Practices The project has reached a stable, usable state and is being actively developed. Monthly Downloads Total Downloads

Follow on Bluesky Posit Cloud

Discord

Contributor Covenant



With the gt package, anyone can make wonderful-looking tables using the R programming language. The gt philosophy: we can construct a wide variety of useful tables with a cohesive set of table parts. These include the table header, the stub, the column labels and spanner column labels, the table body, and the table footer.

It all begins with table data (be it a tibble or a data frame). You then decide how to compose your gt table with the elements and formatting you need for the task at hand. Finally, the table is rendered by printing it at the console, including it in an R Markdown document, or exporting to a file using gtsave(). Currently, gt supports the HTML, LaTeX, and RTF output formats.


The gt package is designed to be both straightforward yet powerful. The emphasis is on simple functions for the everyday display table needs. Here is a brief example of how to use gt to create a table from the included sp500 dataset:

library(gt)

# Define the start and end dates for the data range
start_date <- "2025-08-04"
end_date <- "2025-08-04"

# Create a gt table based on preprocessed
# `sp500` table data
sp500 |>
  dplyr::filter(date >= start_date & date <= end_date) |>
  dplyr::select(-adj_close) |>
  gt() |>
  tab_header(
    title = "S&P 500",
    subtitle = glue::glue("{start_date} to {end_date}")
  ) |>
  fmt_currency() |>
  fmt_date(columns = date, date_style = "wd_m_day_year") |>
  fmt_number(columns = volume, suffixing = TRUE)

There are 18 datasets provided by gt: countrypops, sza, gtcars, sp500, pizzaplace, exibble, towny, peeps, films, metro, gibraltar, constants, illness, reactions, photolysis, nuclides, rx_adsl, and rx_addv.


All of this tabular data is great for experimenting with gt’s functions and we make extensive use of these datasets in our documentation.

Beyond the functions shown in the simple sp500-based example, there are many functions available in gt for creating super-customized tables. Check out the documentation website to get started via introductory articles for making gt tables. There's a handy Reference section that has detailed help for every function in the package.

Documentation Site

With the gt Test Drive, you can try gt in the Posit Cloud environment that features the RStudio IDE and a large collection of ready-to-run examples. Visit the publicly available Posit Cloud project and try out the package in your browser. There's no charge to use this platform and you'll learn a lot about what the package can do!

Posit Cloud



Let's talk about making tables with gt! There are a few locations where there is much potential for discussion.

One such place is in GitHub Discussions. This discussion board is especially great for Q&A, and many people have had their problems solved in there.

GitHub Discussions

Another fine venue for discussion is in the gt_package Discord server. This is a good option for asking about the development of gt, pitching ideas that may become features, and sharing your table creations!

Discord Server

Finally, there is the gt-package Bluesky account. There you'll find posts about gt (including sneak previews about in-development features) and other table-generation packages.

Follow on Bluesky

These are all great places to ask questions about how to use the package, discuss some ideas, engage with others, and much more!

INSTALLATION

The gt package can be installed from CRAN with:

install.packages("gt")

You can also choose to install the development version of gt from GitHub:

devtools::install_github("rstudio/gt")

If you encounter a bug, have usage questions, or want to share ideas to make this package better, please feel free to file an issue.


Packages that use or extend gt

There are several R packages that either use gt to generate tabular outputs or extend gt in amazing ways. Here is a short list of some of these great packages:


Code of Conduct

Please note that the gt project is released with a contributor code of conduct.
By participating in this project you agree to abide by its terms.

?? License

gt is licensed under the MIT license. See the LICENSE.md file for more details.

? Posit Software, PBC.

??? Governance

This project is primarily maintained by Rich Iannone. Other authors may occasionally assist with some of these duties.



办出国护照需要什么手续 1月21是什么星座 11月24日是什么星座 排骨和什么一起炖好吃 放化疗是什么意思
甲状腺发炎有什么症状 老年人全身无力是什么原因 甲苯是什么 尿素氮偏低是什么意思 2岁属什么生肖
为什么纯牛奶容易爆痘 总是感觉口渴是什么原因 风湿病吃什么药 手心脚心出汗是什么原因 食管憩室是什么病
蜜蜂是什么生肖 耳朵背后有痣代表什么 邮箱是什么 小腹左侧疼是什么原因 破除是什么意思
牛肉和什么包饺子好吃hcv7jop9ns0r.cn 荨麻疹吃什么药hcv8jop8ns6r.cn 包皮是什么hcv8jop7ns6r.cn 又当又立是什么意思hcv9jop1ns0r.cn 苒字五行属什么hcv9jop8ns3r.cn
杨梅有什么功效和作用hcv8jop4ns4r.cn 严重贫血的人吃什么补血最快hcv7jop4ns5r.cn 老人肚子胀是什么原因hcv8jop6ns6r.cn 9.20号是什么星座hcv7jop9ns2r.cn 正常人的尿液是什么颜色hcv8jop8ns7r.cn
土加一笔是什么字hcv8jop4ns4r.cn 羊蛋是什么hcv9jop2ns0r.cn 大便不成形是什么原因造成的1949doufunao.com 支气管病变什么意思hcv9jop1ns1r.cn 女人五行缺水是什么命hcv8jop9ns6r.cn
惹上官司是犯了什么煞inbungee.com 眼睛雾化的作用是什么hcv8jop4ns6r.cn 指甲黑是什么原因hcv8jop0ns6r.cn 虫草泡水喝有什么功效hcv8jop0ns1r.cn 丹字五行属什么adwl56.com
百度