[R] Quantmod, Xts, TTR and Postgresql

2012-05-22 Thread R-type Studios
Hi Everyone, I'm currently using the latest build of R and R-Studio server (both are amazing products) I'm still very new to this but I came across this issue: I'm trying to do a select from postgres and put the data into and xts object like so: # Libs library('RPostgreSQL') # http://code.googl

Re: [R] Quantmod, Xts, TTR and Postgresql

2012-05-22 Thread R-type Studios
0159 1970-01-01 0.988095238 0.968253968 0.98412698 1970-01-01 0.91667 0.968253968 0.92698413 1970-01-01 0.726190476 1.0 0.78095238 1970-01-01 0.734126984 0.996031746 0.78650794 On Tue, May 22, 2012 at 6:26 PM, Joshua Ulrich wrote: > On Tue, May 22, 2012 at 2:15 AM, R-type Studios

Re: [R] Quantmod, Xts, TTR and Postgresql

2012-05-23 Thread R-type Studios
dDriver(drv) fr <- xts(fr[,-1], order.by=as.Date(fr[,1]), updated=Sys.time(), header=TRUE) # Step 2: Create your indicator dvi <- DVI(Cl(fr)) Thanks for your help Joshua! Thanks! M On Tue, May 22, 2012 at 7:07 PM, Joshua Ulrich wrote: > On Tue, May 22, 2012 at 5:54 AM, R-type Studios