thanks David for your help

thanks for your help, David
I suspect that there are a bug in windows version...

:-(

cleber


#######################################################
> library( tcltk )
> t <- tktoplevel()
> s = ttkspinbox(t, from = 1.0, to = 100.0, textvariable='spinval')
Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") :
  [tcl] invalid command name "ttk::spinbox".
> tkpack(s)
Error in .Tcl.args.objv(...) : object 's' not found
>
>
> sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7600)

locale:
[1] LC_COLLATE=Portuguese_Brazil.1252 LC_CTYPE=Portuguese_Brazil.1252
[3] LC_MONETARY=Portuguese_Brazil.1252 LC_NUMERIC=C
[5] LC_TIME=Portuguese_Brazil.1252

attached base packages:
[1] tcltk stats graphics grDevices utils datasets methods base
>


Em 08/10/2016 17:51, David Winsemius escreveu:
On Oct 7, 2016, at 7:15 PM, Cleber N.Borges via R-help <[email protected]> 
wrote:

hello all,

somebody have a example of use of  ttkspinbox ?
I tried to use like others widgets but I get error.

Thanks in advanced for any help

cleber

###################
library( tcltk )

t <- tktoplevel()

spin <- ttkspinbox( t )
Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") :
  [tcl] invalid command name "ttk::spinbox".
combo <- ttkcombobox( t )
tkpack( combo )
<Tcl>

This displays a spinbox in an X-window:

t <- tktoplevel()
s = ttkspinbox(t, from = 1.0, to = 100.0, textvariable='spinval')
tkpack(s)

David Winsemius
Alameda, CA, USA




---
Este email foi escaneado pelo Avast antivĂ­rus.
https://www.avast.com/antivirus

______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to