Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R abends: dbWriteTable - new table with overwrite=T, append=F #187

Open
usmansuleman opened this issue Mar 23, 2017 · 1 comment
Open

R abends: dbWriteTable - new table with overwrite=T, append=F #187

usmansuleman opened this issue Mar 23, 2017 · 1 comment

Comments

@usmansuleman
Copy link

I was creating a new table in MySQL database. Without too much thought, I tried to create the table with dbWriteTable and used overwrite = TRUE, append = FALSE. The table got created but R got tied into all kinds of knots ... On my RStudioServer (free ed), ...
RStudio IDE would just hang.
On the log (kept in /var/log/syslog), I would see a message:
Mar 23 03:02:25 ip-172-30-0-237 rsession-username[4500]:
ERROR session hadabend;
LOGGED FROM: rstudio::core::Error {anonymous}::
rInit(const rstudio::r::session::
RInitInfo&) /home/ubuntu/rstudio/src/cpp/session/SessionMain.cpp:1934
Scratched my head ... Finally figured out and took out the overwrite and append clauses from dbWriteTable.
All works fine now.

@krlmlr
Copy link
Member

krlmlr commented Jun 30, 2017

Thanks. Have you installed RMySQL from CRAN or from GitHub?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants