R
文章平均质量分 52
Trance_Fu63
别再熬夜伤身体。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Error: package or namespace load failed for ‘tidycensus’ in dyn.load(file, DLLpath = DLLpath, ...)
max更新big sur后无法运行tidycensus原创 2021-02-24 17:58:13 · 2661 阅读 · 0 评论 -
Mac更新后,Rstudio “Git was not detected on the system path“
我的情况:command line可以使用git,但是 rstudio的version control无法使用,显示信息为:Git was not detected on the system path参照文章 Rstudio cant detect git打开Rstudio -> Tools -> Global Options -> Git/SVN在preference里找也一样然后重新填上正确的git的地址。神奇的是在这一步,我原来的地址是可以找到一个git的执行原创 2021-02-04 16:39:42 · 997 阅读 · 0 评论 -
R语言ggplot画世界地图并根据条件给国家上色
Rstudio, world map, ggplot原创 2020-12-21 14:21:32 · 24337 阅读 · 13 评论 -
Rstudio URL ‘...‘: status was ‘Couldn‘t resolve host name‘
今天下老师的一个数据包一直下不下来,报错> getHdata(nhgh)Error in file(file, "r") : cannot open the connection to 'https://hbiostat.org/data/repo/Rcontents.txt'In addition: Warning message:In file(file, "r") : URL 'https://hbiostat.org/data/repo/Rcontents.txt': sta原创 2020-12-11 22:22:13 · 2505 阅读 · 0 评论 -
R语言常用代码:重命名,去除na,删除重复行等...
R语言常用小代码:重命名,缺失值(NA)的去除,删除重复行等原创 2020-12-02 14:05:56 · 12288 阅读 · 0 评论 -
Error in factor() : invalid ‘labels‘; length 3 should be 1| ggplot2: invalid graphics state error
Error in factor()) :invalid 'labels'; length 4 should be 1 or 1和ggplot2 invalid graphics state error...原创 2020-09-23 00:53:02 · 3488 阅读 · 0 评论 -
Rstudio 常用快捷键
使用一些R Studio常见的快捷键,会让你书写R 时事半功倍:注释/取消注释当前行(代码块): Ctrl+Shift+C插入代码块:Ctrl+Alt+I;Mac:option + cmd + i运行光标所在行的代码:Ctrl+Enter;Mac:cmd + enter运行当前光标所在行的代码块:Ctrl+Shift+Enter。在终端中 运行当前 代码:Mac option + cmd + entertidyverse pipeline %>%: Mac shift + cmd +原创 2020-09-20 23:14:47 · 3261 阅读 · 0 评论 -
R 安装 GitHub上的包
R 安装GitHub包 devtools / remote原创 2020-09-09 16:10:03 · 934 阅读 · 1 评论 -
R `summarise()` ungrouping output (override with `.groups` argument)
group_by()summarize()原创 2020-09-09 16:02:09 · 1872 阅读 · 0 评论
分享