Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upError in file(con, "w") : cannot open the connection #20
Comments
|
According to your error message, I think this is the cause: You are probably in a directory that you do not have write permission. Please check the file/directory permission in your
Alternatively, as suggested in this SO post, you may set the working directory in your |
|
In addition, I see you are running
|
|
Thank you for your suggestions, @boxuancui . But I don't think that a pure permission issue is going on here. I'm in fact in my home directory ($HOME), where I have write permissions. In addition, the knitr part works until the end, which means that a directory "report_files" is created (which if it was a permission issue would not work). |
|
So is there a report.html file generated in your home directory? If so, when you manually open it, does it render in your browser? |
|
When running with |
|
Hi again, Another weird signal: The development version works if I clone the git repository and run So I am sure quite certain that we can discard anything related to permissions. |
|
OK, I think I have found the error. I've used inotify to check which files are touched in the filesystem when
The problem is when the R packages are not in a library writable by the user, which is not uncommon. Then I think that the more reasonable solution is to generate the files in the working directory. |
Adds intermediates_dir argument to render() for #20
Hi,
I've just tried DataExplorer and have followed the minimal example:
It seems that the
knitrpart runs OK, but then it stops at the end with error:I have also tried the
diamondsexample with the same result.Any hint on what may happen?
Thank you,