The documentation for savePlot it says
Saves the current plot on a windows device to a file.
This is equivalent to selecting the ‘Save as’ menu item on the ‘File’
menu of a windows device.
So you have to have a graphic window.
There are ways of writing plots directly to files,
see the examples for
Hello all:
Using the savePlot function works fine if I want to
display the graph window and then save it into a file.
How can I just save the graph into a file without
seeing the graph window? I am running the R script
from excel.
Call RInterface.StartRServer
'Put the dataframe into R
Call RInterf