Seems solving this would require doing something in C:
A single object matching ‘edit.default’ was found
It was found in the following places
registered S3 method for edit from namespace utils
function (name = NULL, file = "", title = NULL, editor = getOption("editor"),
title <- deparse(substitute(name))
invisible(editor(name = name, file = file, title = title))
else .External2(C_edit, name, file, title, editor)
I tried doing some stuff with adding edit.data.table, running it through edit.default, and setDTing the output but that was getting me nowhere.
Perhaps up to r-devel to fix this?
Either way, neither edit.default nor edit.data.frame are exported from utils...
Seems to me simply requiring users working through edit (are there any?) to run setDT afterwards isn't too much too ask...