0

R で作成した GUI アプリケーションは、私の Linux マシン ( を使用RGtk2) で完全に正常に動作しますが、企業の Windows PC で実行しようとすると、ひどく失敗します。

このコードで GUI コンテナを作成します

# Tabbed Window with two tabs
# each of them with separate panes to manage horizontal vs. vertical
win     <- gwindow( "My Business App" )
nb      <- gnotebook( cont=win )
front   <- gpanedgroup( cont = nb,  # Produce the instruction
            label = "Frontend",  horizontal = FALSE )
    front_check <- ggroup( cont = front )
    front_text  <- ggroup( cont = front,  horizontal = FALSE )
back    <- gpanedgroup( cont = nb, 
            label = "Backend"  )    # Maintain the underlying data
    back_slct   <- ggroup( cont = back )    
    back_edit   <- ggroup( cont = back, horizontal = FALSE )

Windows では、最後に作成されたコンテナー ( back_edit) しか表示されません。

両方のマシンで R 2.15.2 を実行しています。sessionInfo()Windows マシンでの出力:

> sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: i386-w64-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

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

other attached packages:
[1] gWidgetstcltk_0.0-53 digest_0.6.0         gWidgets_0.0-52

何か足りないのですか、それともgnotebook()単に Windows で動作しませんか?

4

0 に答える 0