上一页 1 ··· 170 171 172 173 174 175 176 177 178 ··· 308 下一页
摘要: Perl File Handling: open, read, write and close files # Opening files Solution 1: Opening a file in perl open FILE, "filename.txt" or die $!; # read o 阅读全文
posted @ 2014-07-15 08:32 emanlee 阅读(1351) 评论(0) 推荐(0) 编辑
摘要: Arithmetic OperatorsOperatorDescription+addition-subtraction*multiplication/division^ or ** exponentiationx %% y modulus (x mod y) 5%%2 is 1x %/% y in... 阅读全文
posted @ 2014-07-12 19:09 emanlee 阅读(1153) 评论(0) 推荐(0) 编辑
摘要: $ echo $((20.0/7))$ zcalc$ bc <<< 20+5/2$ bc <<< 'scale=4;20+5/2'$ expr 20 + 5$ calc 2 + 4$ node -pe 20+5/2 # Uses the power of JavaScript, e.g. : no... 阅读全文
posted @ 2014-07-10 12:10 emanlee 阅读(608) 评论(0) 推荐(0) 编辑
摘要: Grep 'OR' Operator grep 与“或”一起用Find all the lines in a file, that match any of the following patterns.Using GREP command :grep "pattern1\|pattern2" fi 阅读全文
posted @ 2014-07-09 15:41 emanlee 阅读(1698) 评论(0) 推荐(1) 编辑
摘要: 关于打印毕业设计资料1 全部资料都是16开打印。2 封面,标签页,指导老师评语,评阅人评语,答辩考核意见, 单面打印; 其余全部双面。3 要打印的资料:(1)任务书(含任务,评阅人评语,指导老师评语,答辩考核,进度表)注:评阅人评语,指导老师评语,答辩考核: 要填写班级,姓名,题目;学生签字的地方要... 阅读全文
posted @ 2014-06-20 11:08 emanlee 阅读(822) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python## get subprocess module import subprocess## call date command ##p = subprocess.Popen("date", stdout=subprocess.PIPE, shell=True)## T... 阅读全文
posted @ 2014-06-19 10:44 emanlee 阅读(2521) 评论(0) 推荐(0) 编辑
摘要: FTP的命令行格式为:ftp -v -d -i -n -g [主机IP或者主机名],其中 -v显示远程服务器的所有响应信息; -n限制ftp的自动登录,即不使用; .n etrc文件; -d使用调试方式; -g取消全局文件名。 ftp使用的内部命令如下(中括号表示可选项): 1.!... 阅读全文
posted @ 2014-06-18 12:50 emanlee 阅读(30430) 评论(1) 推荐(2) 编辑
摘要: cat("the total number is:",3+5,"\n")print(x, ...)?print?cat?format ?write 阅读全文
posted @ 2014-06-12 22:16 emanlee 阅读(12586) 评论(0) 推荐(0) 编辑
摘要: sessionInfo() 查看R中载入的包和版本 writeLines(capture.output(sessionInfo()), "sessionInfo.txt") sink("sessionInfo.txt") sessionInfo() sink() data.frame 动态确定列名称 阅读全文
posted @ 2014-06-07 15:42 emanlee 阅读(2272) 评论(0) 推荐(0) 编辑
摘要: test for data typeis.numeric(), is.character(), is.vector(), is.matrix(), is.data.frame()convert it as.numeric(), as.character(), as.vector(), as.m... 阅读全文
posted @ 2014-06-07 10:20 emanlee 阅读(41984) 评论(1) 推荐(1) 编辑
上一页 1 ··· 170 171 172 173 174 175 176 177 178 ··· 308 下一页