I've created a table named "mytable" with sqldf but when I try to update it this way:
mytable = sqldf("alter table mytable add column mycolumn number", "select * from main.mytable")
The table "mytable" is replaced with NULL... I can't manage to get updates working either. Do you know what's wrong with my code?
Thanks in advance,
Kevin
Anyway, isn't it a way to modify sqldf in a future version so that it could directly update the tables in R? It appears that select's are really straightforward in sqldf but update's are quite cumbersome...