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.