r - gWidgets - ginput() function error -




i'm having problem launching ginput pop-up gwidgets.

this error:

loading required package: gwidgetstcltk error in (function (classes, fdef, mtable) : unable find inherited method function ‘.ginput’ signature ‘"guiwidgetstoolkittcltk"’ in addition: warning message: in library(package, lib.loc = lib.loc, character.only = true, logical.return = true, : there no package called ‘gwidgetstcltk’

i use popup type number assign variable.

code snippet follows:

options(guitoolkit = "tcltk") # tool kit dependency gwidgets. library(gwidgets) # package required launch ginput gui.  width.var <- as.numeric(ginput("enter value - width        ",                                title = "png dimensions",                                 icon = "info")) 

supplementary info:

i updated r version 3.2.5 3.4.1 installing latest rstudio version. i've run code section before on r3.4.1 on different computer without issues.

right suspect it's rstudio don't know how fix it.

any appreciated.

alex

answer:

the error threw me bit , looks more complicated is.

i fixed installing "gwidgetstcltk". assumed because load tcltk , gwidgets separately enough. alex

please see original post fix. best,

alex





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -