[rkward] [Bug 362825] Error in { : task 1 failed - "could not find function "trellis.last.object""
Thomas Friedrichsmeier
bugzilla_noreply at kde.org
Sun Jun 4 12:36:31 UTC 2017
https://bugs.kde.org/show_bug.cgi?id=362825
--- Comment #4 from Thomas Friedrichsmeier <thomas.friedrichsmeier at ruhr-uni-bochum.de> ---
Hi!
Sorry for the long delay. I'm having trouble running your example, but I think
I have an idea what's going wrong.
Can you confirm that the problem goes away, if you properly attach the lattice
package (instead of just loading the namespace):
library(lattice)
?
In a separate session, can you confirm that running the following fixes the
issue?
assign (".save.tlo.in.hP", function (devId = dev.cur())
{
if (!.is.device.managed(devId))
return(invisible())
devId <- as.character(devId)
histPositions[[devId]]$plot <<- lattice:::trellis.last.object()
histPositions[[devId]]$tlo.ls <<- get("lattice.status", envir =
lattice:::.LatticeEnv)
invisible()
}, envir=rk.record.plot
)
Regards
Thomas
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the rkward-devel
mailing list