Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCL 2. closing the inspector #18

Open
rwoldford opened this issue Sep 11, 2018 · 0 comments
Open

TCL 2. closing the inspector #18

rwoldford opened this issue Sep 11, 2018 · 0 comments

Comments

@rwoldford
Copy link
Member

Closing the inspector can cause trouble. Again, this is long standing and I believe entirely in tcl.

Here is an example in R


Restarting R session...

library(loon)
Loading required package: tcltk
p <- l_plot(quakes$long, quakes$lat)

close inspector

layer switch default

library(maps)
NZFijiMap <- map("world2", regions=c("New Zealand", "Fiji"), plot=FALSE)
l_layer(p, NZFijiMap,

  •     label = "New Zealand and Fiji",
    
  •     color = "forestgreen",
    
  •     index = "end”)
    

Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") :
[tcl] invalid command name "::oo::Obj230::my".

TRACEBACK:

  1. structure(.External(.C_dotTclObjv, objv), class = "tclObj”)

  2. .Tcl.objv(.Tcl.args.objv(...))

  3. tcl(widget, "layer", type, ...) at l_layer.R#150

  4. structure(as.character(tcl(widget, "layer", type, ...)), widget = as.vector(widget),
    class = c(paste0("l_layer_", type), "l_layer", "loon")) at l_layer.R#150

  5. l_layer_add(widget, "polygons", x = l_Rlist2nestedTclList(x),
    y = l_Rlist2nestedTclList(y), color = color, linecolor = linecolor,
    linewidth = linewidth, label = label, parent = parent, index = index,
    ...) at l_layer.R#291

  6. l_layer_polygons(widget, xlist, ylist, color = color, linecolor = linecolor,
    linewidth = linewidth, tag = map$names, label = label, parent = parent,
    index = "end") at l_layer_map.R#150

  7. l_layer.map(p, NZFijiMap, label = "New Zealand and Fiji", color = "forestgreen",
    index = "end") at l_layer.R#119

  8. l_layer(p, NZFijiMap, label = "New Zealand and Fiji", color = "forestgreen",
    index = "end")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant