[rkward-users] Error of object format with Ubuntu

Seb R seb44550 at gmail.com
Fri Dec 5 10:14:33 UTC 2014


Hi,
You got it !
The new editor function makes the trace function working correctly now...
Thanks

2014-12-04 16:18 GMT+01:00 Thomas Friedrichsmeier <
thomas.friedrichsmeier at ruhr-uni-bochum.de>:

> Hi,
>
> I believe I'm starting to understand what goes wrong on your system. What I
> don't understand is why it doesn't go wrong on mine...
>
> Could you try this:
>
> options ("editor"=function (name=NULL, file="", title=NULL, prompt = TRUE)
> {
>     if (!is.null(name)) {
>         if (is.null (title)) title = deparse (substitute (name))
>         if (file == "") file = tempfile()
>         env = environment(name)
>         dput(name, file = file, control = c("useSource", "keepNA",
>             "keepInteger", "showAttributes"))
>         .Call("rk.edit.files", file, title, "", prompt, PACKAGE =
> "(embedding)")
>         x <- dget(file)
>         environment(x) <- env
>         return(x)
>     }
>     invisible(.Call("rk.edit.files", as.character(file),
> as.character(title),
>         as.character(name), isTRUE(prompt), PACKAGE = "(embedding)"))
> })
>
> Thanks!
> Thomas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/rkward-users/attachments/20141205/1a61c454/attachment.html>


More information about the Rkward-users mailing list