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

2012-05-23 Thread R-type Studios
Hi Joshua, All sorted, turns out I just needed to add this header=TRUE and drop those redundant statements you pointed out. for anyone else: # Libs library('RPostgreSQL') # http://code.google.com/p/rpostgresql/ library('quantmod') library('TTR') # Connect and get data drv -

[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') #

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

2012-05-22 Thread Joshua Ulrich
On Tue, May 22, 2012 at 2:15 AM, R-type Studios rtypestud...@gmail.com wrote: 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

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

2012-05-22 Thread Joshua Ulrich
On Tue, May 22, 2012 at 5:54 AM, R-type Studios rtypestud...@gmail.com wrote: Hi Joshua, Oh snap, awesome to have the author of the blog your reading at that moment to reply to your message. I updated the query to be 200 sessions, the function now prints, but appears to get the dates all

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

2012-05-22 Thread R-type Studios
Hi Joshua, Oh snap, awesome to have the author of the blog your reading at that moment to reply to your message. I updated the query to be 200 sessions, the function now prints, but appears to get the dates all wrong. (I actually was following along with the post here: