How do I delete a previously created object in OpenCPU?
I need to delete some unused objects. For example, the result of a POST is the following:
/ocpu/tmp/x0b0f8555a1e1d6/R/.val
/ocpu/tmp/x0b0f8555a1e1d6/stdout
/ocpu/tmp/x0b0f8555a1e1d6/source
/ocpu/tmp/x0b0f8555a1e1d6/console
/ocpu/tmp/x0b0f8555a1e1d6/info
/ocpu/tmp/x0b0f8555a1e1d6/files/DESCRIPTION
How do I delete the object x0b0f8555a1e1d6?
I tried posting to
curl http://myserver:myport/ocpu/library/base/R/rm -d "x0b0f8555a1e1d6"
which gives an error:
... must contain names or character strings
In call:
rm(x0b0f8555a1e1d6 = NA)
And
curl http://myserver:myport/ocpu/library/base/R/rm -d "list='x0b0f8555a1e1d6'"
gives a warning that the object was not found:
object 'x0b0f8555a1e1d6' not found