上一页 1 ··· 204 205 206 207 208 209 210 211 212 ··· 337 下一页
摘要: 字符串长度: nchar("hello world") #字符串连接:paste() #paste(..., sep = " ", collapse = NULL)#字符串分割:strsplit() #strsplit(x, split, extended = TRUE, fixed = FALSE 阅读全文
posted @ 2014-02-04 15:23 emanlee 阅读(2551) 评论(0) 推荐(0)
摘要: 匹配: ABC任意数量的字符123模式: ABC.*123 阅读全文
posted @ 2014-01-31 21:11 emanlee 阅读(261) 评论(0) 推荐(0)
摘要: 1、系统管理 查看数据库的大小use 数据库名SELECT sum(DATA_LENGTH)+sum(INDEX_LENGTH)FROM information_schema.TABLES where TABLE_SCHEMA='数据库名';得到的结果是以字节为单位1.1 连接MySQL 格式: ... 阅读全文
posted @ 2014-01-28 18:51 emanlee 阅读(620) 评论(0) 推荐(0)
摘要: (1)统计当前目录下的 *txt 文件du -c -h *txt (2)统计当前目录下的 *txt 文件, 并求出总大小du *txt |awk 'BEGIN{count=0;size=0;} \ {count = count + 1; size = size + $1/1024;} \ END{p... 阅读全文
posted @ 2014-01-20 17:35 emanlee 阅读(4453) 评论(0) 推荐(0)
摘要: (1)查看某目录下文件的个数: ls -l |grep "^-"|wc -l 或 find ./company -type f | wc -l (2)查看某目录下文件的个数,包括子目录里的: ls -lR|grep "^-"|wc -l (3)查看某文件夹下目录的个数,包括子目录里的... 阅读全文
posted @ 2014-01-20 17:01 emanlee 阅读(2212) 评论(0) 推荐(0)
摘要: numbers <- c(4,23,4,23,5,43,54,56,657,67,67,435, 453,435,324,34,456,56,567,65,34,435)a <- table(numbers)aa[names(a)==435]as.data.frame(table(numbers))... 阅读全文
posted @ 2014-01-17 18:51 emanlee 阅读(1822) 评论(0) 推荐(0)
摘要: title 0), hjust=-0.5)+ geom_text(data=subset(tmp, x <=0), hjust=1.5)print(p)================================dat <- read.table(text="cars trucks... 阅读全文
posted @ 2014-01-16 08:15 emanlee 阅读(556) 评论(0) 推荐(0)
摘要: Warning message:In ks.test(x, y) : p-value will be approximate in the presence of tiesThe warning messages are due to the implementation of the KS tes... 阅读全文
posted @ 2014-01-13 21:03 emanlee 阅读(2810) 评论(0) 推荐(0)
摘要: 问题:将内置和/或外置硬盘连接到 Windows XP 32 位操作系统时,将无法访问硬盘,“磁盘管理”将会报告该硬盘包含 GPT 保护分区。在此状态下,将无法对硬盘进行重新分区和格式化。 原因:内置或外置硬盘以前是在 Windows 64位,Linux 或 Macintosh 计算机上使用 GPT 分区准备的。 解决办法:一般的“磁盘管理”工具无法解决此问题。要准备此硬盘,您将需要使用 Windows diskpart 命令行实用程序。下列过程提供了从连接到现有的 Windows XP 32 位操作系统的硬盘中清除 GPT 保护分区的步骤。 注意:这是一个损坏数据的过程。此过程不仅会删除硬盘 阅读全文
posted @ 2014-01-08 08:44 emanlee 阅读(6500) 评论(0) 推荐(0)
摘要: 错误:./mafsInRegion: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory解决方法:1.下载 libm... 阅读全文
posted @ 2014-01-07 16:10 emanlee 阅读(9299) 评论(0) 推荐(0)
上一页 1 ··· 204 205 206 207 208 209 210 211 212 ··· 337 下一页