[rkward-users] Error of object format with Ubuntu

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Thu Dec 4 15:18:17 UTC 2014


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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-users/attachments/20141204/92ac7b23/attachment.sig>


More information about the Rkward-users mailing list