-
Notifications
You must be signed in to change notification settings - Fork 80
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
"Error in value[[3L]](cond) : unable to open database file" occurs frequently #47
Comments
Hi, any news on this one. Since several days, I systematically get the message "Error: unable to open database file" when trying to join two tables. I'm using R memory, no external database. My code simply look like this: Thanks |
Have never seen this. Maybe you think you are using sqlite but are actually using something else and it needs a database? Add verbose=TRUE to the sqldf call and see if that shows anything helpful. |
This seems to be kind of random, and I guess it may be related to the SQLite database not initiated properly. If it can return more info then it will certainly help us to figure out the exact cause. |
Thanks for the fast reply and the verbose tip.
sqldf: library(RSQLite) As we can see, both tables are written in the database and I'm able to query them individually. The error occurs with the join. |
Hi,
When I was trying to use sqldf to join 2 data frames, it some times returned with error message "Error in value[3L] : unable to open database file", then stops there, nothing else given. Do you know what is going on?
Note:
RSQLite was used.
This can be resolved by commenting out some of the fields from data frames to be joint.
I have converted all columns to "character" data type before calling sqldf
Thanks,
The text was updated successfully, but these errors were encountered: