Who can help?
curve(exp(x), from=0, to=1)
dev.copy(png, file = "test.png")
Error in device(...) : unable to start png() device
In addition: Warning messages:
1: In device(...) : unable to open file 'test.png' for writing
2: In device(...) : opening device failed
Should be a piece of cake but I cannot find the error ...
RStudio Version 1.1.453 Windows 10
Works without problem in the WIndows RGUI and Linux, but not in RStudio.
Any help appreciated.
Hi woodward,
thanks for your effort, even if I still didn't get it working. I decided to use the R-GUI for saving plots. Not the best solution, but saves me a lot of time ...