-
Notifications
You must be signed in to change notification settings - Fork 37
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
webshot fails to take screenshots of local .html under Windows #23
Comments
see #10, I think you just need to append |
I suppose it would be helpful to include an example of the correct path to use on Windows. Or maybe it would be better to make webshot automatically fix paths on Windows. |
|
@fdetsch We would also have to have a good way of detecting whether the path is to a local file, or a remote one. I think searching for the regex |
I'd recommend you to avoid absolute paths -- |
I have the opposite problem !!! |
@timelyportfolio thanks for your pointer. I was struggling with it for last 2 hours ... you saved me many more hours !! |
I try to take screenshots of local .html files. The below code works fine on Ubuntu 16.04 64-bit, R version 3.0.0, but fails on the same machine using the same R version under Windows 10.
More precisely, the created .html looks just fine when opened e.g. in Firefox and the code does not throw any errors, but the resulting image is just black. On Ubuntu, by contrast, the created .png file looks just as expected. Here is my session info.
The text was updated successfully, but these errors were encountered: