-
Notifications
You must be signed in to change notification settings - Fork 40
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: "cannot open the connection" when dataframe name contains a "." #20
Comments
It is not good practice to use |
Good to know. Thank you for the quick and thoughtful reply. |
Happy to help! Have fun using DataEditR! |
@drcanak, in case anyone else encounters the same issue, I have just added a patch for this in
|
The first line of the the following code works as expected.
data_edit(mpg)
mpg.1 <- mpg
data_edit(mpg.1)
However, when the dataframe name contains a "." the following error gets triggered:
Listening on http://127.0.0.1:6197
Warning in file(file, "rt") :
cannot open file 'mpg.1': No such file or directory
Warning: Error in file: cannot open the connection
61: file
60: read.table
59: read.csv
57: module
52: callModule
51: moduleServer
50: dataInputServer
49: server
Error in file(file, "rt") : cannot open the connection
Admittedly, I didn't check other special characters or such in the dataframe name, but I discovered in my own syntax, where I will sometimes use MyData, MyData.1, etc.... Not familiar enough with R, or reading library syntax to even begin to troubleshoot what might be going on here. Sorry.
Really like the package by the way.
The text was updated successfully, but these errors were encountered: