Thursday, June 25, 2009
Tuesday, June 09, 2009
Sunday, June 07, 2009
终于出手了
想买台单反相机很久了,虽然有部EOS630,可是部胶片相机,比较费钱。关注40D有一年的,哼哼唧唧,犹犹豫豫一直没有买。昨天老婆突然问,你的相机什么时候买。我一狠心,择日不如撞日,就今天了。中午从网上查好40D机身价钱,网上直接下单,晚上去soho现代城拿货交钱。镜头还是用的老胶片机上的。Canon不错,89年的机子,镜头现在还能通用在新机型上。
回家了,就是一顿乱拍,终于有了单反数码相机。去法国可以带上了:-)
回家了,就是一顿乱拍,终于有了单反数码相机。去法国可以带上了:-)
Thursday, June 04, 2009
RJDBC connect Oracle
library(RJDBC)
# point the R package at the appropriate java driver class, as well as the class file
drv<-JDBC(”oracle.jdbc.driver.OracleDriver”, “/location/of/ojdbc14.jar”)
# the “easy” connection string spec for oracle db’s
conn<-dbConnect(drv, “jdbc:oracle:thin:@<host>:<port default=1521>:<SID>”,”username”,”password”)
# etc…
query = “SELECT * FROM A TABLE”
dbGetQuery(conn, query)
Subscribe to:
Posts (Atom)