【发布时间】:2019-03-26 15:22:03
【问题描述】:
如何在 OpenCPU 中删除之前创建的对象?
我需要删除一些未使用的对象。例如,POST 的结果如下:
/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
如何删除对象 x0b0f8555a1e1d6?
我尝试发帖到
curl http://myserver:myport/ocpu/library/base/R/rm -d "x0b0f8555a1e1d6"
给出错误:
... must contain names or character strings
In call:
rm(x0b0f8555a1e1d6 = NA)
和
curl http://myserver:myport/ocpu/library/base/R/rm -d "list='x0b0f8555a1e1d6'"
给出未找到对象的警告:
object 'x0b0f8555a1e1d6' not found
【问题讨论】:
-
嗨,欢迎来到 StackOverflow!你能粘贴你遇到的错误吗?所以人们会更好地帮助你解决你的问题。
-
当然谢谢,我添加了它们。