[rkward-users] Error of object format with Ubuntu
Thomas Friedrichsmeier
thomas.friedrichsmeier at ruhr-uni-bochum.de
Thu Dec 4 11:59:44 UTC 2014
Hi,
On Thursday 04 December 2014 11:05:36 Seb R wrote:
> Below is the result of the rk.sessionInfo()
ok, thanks.
> > trace(raster:::.polygonsToRaster,edit=TRUE)
>
> Erreur dans as.character(name) :
> cannot coerce type 'closure' to vector of type 'character'
I still can't reproduce this. Do you get the same when doing
fix(raster:::.polygonsToRaster)
? Is this the only function that seems to be affected, or anything you try to
trace with edit=TRUE? After the error, what does
traceback()
report?
What is the value of
getOption("editor")
?
Please try, if the following fixes the problem:
options("editor"=
function (file = file, title = file, name = NULL, prompt = TRUE)
{
if (!is.character(file)) {
nfile = tempfile()
if (!is.character(title)) title=nfile
env = environment(file)
dput(file, file = nfile, control = c("useSource", "keepNA",
"keepInteger", "showAttributes"))
.Call("rk.edit.files", nfile, title, name, prompt, PACKAGE =
"(embedding)")
x <- dget(nfile)
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/9f27190e/attachment.sig>
More information about the Rkward-users
mailing list