摘要:
001、 a <- 1:3 b <- letters[1:3] c <- LETTERS[1:3] d <- rep("K",3) dat <- data.frame(a, b, c, d) ## 生成测试数据框 dat library(tidyr) dat1 <- unite(dat, "cxx" 阅读全文
摘要:
001、shell实现 root@PC1:/home/test2# ls test.txt root@PC1:/home/test2# cat test.txt 3 a 8 a y a a a f y a a a a a e a a a r k root@PC1:/home/test2# awk ' 阅读全文
摘要:
001、shell实现 root@PC1:/home/test2# ls test.txt root@PC1:/home/test2# cat test.txt ## 测试数据, 删除第一次匹配xpehh以外的所有匹配xpehh的行 01 ee ff 02 ee de 03 dd ee 04 jj 阅读全文
摘要:
001、 root@PC1:/home/test2# ls a.txt root@PC1:/home/test2# cat a.txt aa dd ss dd ff xv ef 33 cc xx ee ww df ff zc xx xx ff er ed ww xx xx ee er uy vv r 阅读全文
摘要:
001、 root@PC1:/home/test2# ls a.txt root@PC1:/home/test2# cat a.txt aa dd ss dd ff xv ef 33 cc xx ee ww df ff zc xx xx ff er ed ww xx xx ee er uy vv r 阅读全文