摘要:
一个小例子:func <- function(n) { a <- matrix(rnorm(n*n), n, n) b <- matrix(rnorm(n*n), n, n) output <- list(a = a, b = b) return(output)}out <- func(5)a1 <- out$ab1 <- out$b 阅读全文
posted @ 2013-04-09 20:09
bore3601
阅读(1425)
评论(0)
推荐(0)
摘要:
1.今天发现数据库中数据有点问题,有些数据在获取的时候多了‘ ’这样的字符。发现SQL有Replace这样的函数。 用法: update tablename set colname=replace(colname,' ',''); tablename 是表名; colname 是列名;将字符‘ ’替换为NULL 阅读全文
posted @ 2013-04-09 19:55
bore3601
阅读(202)
评论(0)
推荐(0)
浙公网安备 33010602011771号