上一页 1 ··· 160 161 162 163 164 165 166 167 168 ··· 323 下一页
摘要: 首先得有pip没有的话安装一个。然后:pip install wheel然后:pip install 路径\文件名.whl pip --versionpip 9.0.1 from /dat3/wasp/anaconda3/lib/python3.6/site-packages (python 3.6 阅读全文
posted @ 2017-08-09 20:41 emanlee 阅读(7681) 评论(0) 推荐(0) 编辑
摘要: u/U:表示unicode字符串不是仅仅是针对中文, 可以针对任何的字符串,代表是对字符串进行unicode编码。一般英文字符在使用各种编码下, 基本都可以正常解析, 所以一般不带u;但是中文, 必须表明所需编码, 否则一旦编码转换就会出现乱码。建议所有编码方式采用utf8。r/R:非转义的原始字符 阅读全文
posted @ 2017-08-09 16:46 emanlee 阅读(699) 评论(0) 推荐(0) 编辑
摘要: Linux压缩保留源文件的方法: gzip -c filename > filename.gz Linux解压缩保留源文件的方法: gunzip -c filename.gz > filename gunzip的用法1.作用 gunzip命令作用是解压文件,使用权限是所有用户。 2.格式 gunzi 阅读全文
posted @ 2017-08-09 15:05 emanlee 阅读(7682) 评论(0) 推荐(0) 编辑
摘要: Error: samtoolssamtools: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory Solution: [roo 阅读全文
posted @ 2017-08-09 14:39 emanlee 阅读(3625) 评论(0) 推荐(0) 编辑
摘要: ../configure --prefix=/home/zzhy/wd/software/glibc-2.14 错误:checking LD_LIBRARY_PATH variable... contains current directoryconfigure: error: *** LD_LIB 阅读全文
posted @ 2017-07-11 23:50 emanlee 阅读(11912) 评论(0) 推荐(0) 编辑
摘要: ## String comparison is too slow in R language ## it will take 3 minutes, it is too slow date() strArray1<-rep("1234567890",10000) strArray2<-rep("1234567890",10000) tt<-0 for(xx in 1:10000) { ... 阅读全文
posted @ 2017-07-05 18:27 emanlee 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 常见与正则表达式相关的函数: 这里是对参数进行一个解释说明。 参数 说明 pattern 正则表达式 x, text 字符向量或字符对象,在R 3.0.0后版本中,最大支持超过2^31个的字符元素。 ignore.case 默认FALSE,表示区分大小写,TRUE时表示不区分大小写。 perl 是否 阅读全文
posted @ 2017-07-04 19:56 emanlee 阅读(3738) 评论(0) 推荐(0) 编辑
摘要: 获取当前日期和时间 在Java中容易得到当前的日期和时间。可以使用一个简单的Date对象的toString()方法,如下所示打印当前日期和时间: import java.util.Date; public class DateDemo { public static void main(String 阅读全文
posted @ 2017-06-19 22:37 emanlee 阅读(1129) 评论(0) 推荐(0) 编辑
摘要: String sourceStr = "1,2,3,4,5"; String[] sourceStrArray = sourceStr.split(","); for (int i = 0; i < sourceStrArray.length; i++) { System.out.println(sourceStrArray[i]); } 阅读全文
posted @ 2017-06-19 21:18 emanlee 阅读(1582) 评论(0) 推荐(0) 编辑
摘要: 问题描述:新安装的myeclipse 2014,代码编辑器中汉字很小看不清解决办法:调整字体即可。通过菜单Windows——Preferences,输入font过滤选择Colors and Fonts选项,右边选择Basic——Text Font,点击Edit修改字体,将字体属性的脚本由“西欧语言” 阅读全文
posted @ 2017-06-08 18:14 emanlee 阅读(2437) 评论(0) 推荐(1) 编辑
上一页 1 ··· 160 161 162 163 164 165 166 167 168 ··· 323 下一页