上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 27 下一页
摘要: .na.drop("all", Seq("create_time")) 阅读全文
posted @ 2021-03-12 07:34 船长博客 阅读(374) 评论(0) 推荐(0)
摘要: i <- 3 assign(paste0('myVar', i), 1:5) myVar3 ## [1] 1 2 3 4 5 更多:https://bbs.pinggu.org/thread-6853714-1-1.html 阅读全文
posted @ 2021-03-12 07:30 船长博客 阅读(293) 评论(0) 推荐(0)
摘要: 启动隔空投送的两种方式: 访达-个人收藏-隔空投送 打开访达-顶部菜单 前往-隔空投送(或打开访达后,按快捷键 Shift + Command + R) 如果在个人收藏里隔空投送不见了: 打开访达,顶部菜单 访达 -- 偏好设置 -- 边栏 阅读全文
posted @ 2021-03-10 06:45 船长博客 阅读(2442) 评论(0) 推荐(0)
摘要: typeof()返回值: integer、double、single、float class(): 查看变量类型,vector、data.frame、matrix、factor、list 阅读全文
posted @ 2021-03-09 20:45 船长博客 阅读(2611) 评论(0) 推荐(0)
摘要: https://rstudio.github.io/DT/009-searchable.html library(DT) iris2 = iris[46:55, ] datatable( iris2, filter = 'top', options = list( # columnDefs = li 阅读全文
posted @ 2021-03-08 18:02 船长博客 阅读(946) 评论(0) 推荐(0)
摘要: Addins - Schedule R scripts on Linux/Unix 阅读全文
posted @ 2021-03-03 19:35 船长博客 阅读(233) 评论(0) 推荐(0)
摘要: 编译一个包需要一个R文件和一个DESCRIPTION 目录结构: ├── testsum │ ├── DESCRIPTION │ └── R │ └── testsum.R DESCRIPTION文件内容: Package: testsum Version: 0.1 Date: 2014-08-27 阅读全文
posted @ 2021-02-25 22:12 船长博客 阅读(250) 评论(0) 推荐(0)
摘要: sed -i '2,$d' filename 删除第2行及以后所有行 sed -i '10,20d' filename 删除第10-20行 注:-i是直接修改原文件 如果不想直接修改原文件,可以重定向到新文件: sed '2,$d' abc.txt > aaa 阅读全文
posted @ 2021-02-24 08:32 船长博客 阅读(2130) 评论(0) 推荐(0)
摘要: 新建一个和用户名同名的仓库并添加README.md README.md里是Markdown语法。 展示效果:https://github.com/captain5 README.md代码: ## 技术栈 Github 统计 <img align="right" src="https://github 阅读全文
posted @ 2021-02-10 08:58 船长博客 阅读(506) 评论(0) 推荐(1)
摘要: 1. 检查是不是在某个终端里连接了数据库忘记关闭 2. 使用SQLite Browser打开了数据库忘记关闭? 3. 直接踢掉对数据库的连接 查看哪个进程在使用: sudo fuser -v motto.db USER PID ACCESS COMMAND motto.db: test 576925 阅读全文
posted @ 2021-01-27 20:43 船长博客 阅读(4193) 评论(0) 推荐(1)
摘要: val emp = Seq((1,"Smith",-1,"2018","10","M",3000), (2,"Rose",1,"2010","20","M",4000), (1,"Williams",1,"2020","10","M",1000), (2,"Jones",2,"2005","10", 阅读全文
posted @ 2021-01-26 20:31 船长博客 阅读(499) 评论(0) 推荐(0)
摘要: select name, max(value) from out_pumptable group by name # 创建表 CREATE TABLE IF NOT EXISTS `runoob_tbl`( `runoob_id` INT UNSIGNED, `runoob_title` VARCH 阅读全文
posted @ 2021-01-26 20:14 船长博客 阅读(1382) 评论(0) 推荐(0)
摘要: id = c(1,2,1,4,2) year = c(1980, 1990, 2000, 2010, 2020) salary = c(2000, 3000, 4000, 5000, 6000) df = data.frame(id, year, salary); df # id year sala 阅读全文
posted @ 2021-01-25 22:10 船长博客 阅读(611) 评论(0) 推荐(0)
摘要: id = c(1,2,1,4,2) year = c(1980, 1990, 2000, 2010, 2020) salary = c(2000, 3000, 4000, 5000, 6000) df = data.frame(id, year, salary); df # id year sala 阅读全文
posted @ 2021-01-25 22:08 船长博客 阅读(1921) 评论(0) 推荐(0)
摘要: https://w3techs.com/sites 可以看到Sparkbyexamples.com是用wordpress实现的: Popular sites using WordPress Zoom.us Microsoft.com Wordpress.com Etsy.com Freepik.co 阅读全文
posted @ 2021-01-25 22:04 船长博客 阅读(199) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 27 下一页
永远相信美好的事情即将发生!