a guest Jul 20th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- 'select stkData$close from stkData where symbol = symbol[k] and date = dates[j]'
- Error in sqliteExecStatement(con, statement, bind.data) :
- RS-DBI driver: (error in statement: near "[4,]": syntax error)
- sqldf(paste('select close from stkData where symbol = ', symbol[k],
- ' and date = ', dates[j]))
- combo_kj <- expand.grid(ksym=symbol[1:k], jdates=dates[1:j])
- SQLcalls <- paste('select close from stkData where symbol = ',
- ' and date = '
RAW Paste Data