Right now, the Django DeployR task only looks into the working directory to list and download files (using the /r/project/directory/list api). When plot outputs are named png files (such as in the luxedemo example), it gets figure1.png and ProjectWorkspace.rData.
When R scripts plot to the default graphic device (for example, by simply calling plot(x,y)), DeployR generates a temporary png file of the plot. This plot can be retrieved using the /r/project/execute/result/list api.
Parameters for this api (project id is the same project id used in the /r/project/directory/list api call, from the job status).
format = json
project = PROJECT-2b2112f8-ac1b-49d2-9242-8dbcf331ea4c
execution = null
Right now, the Django DeployR task only looks into the working directory to list and download files (using the
/r/project/directory/list
api). When plot outputs are named png files (such as in theluxedemo
example), it getsfigure1.png
andProjectWorkspace.rData
.When R scripts plot to the default graphic device (for example, by simply calling
plot(x,y)
), DeployR generates a temporary png file of the plot. This plot can be retrieved using the/r/project/execute/result/list
api.Parameters for this api (project id is the same project id used in the
/r/project/directory/list
api call, from the job status).Results