Muutke küpsiste eelistusi

E-raamat: Programming Graphical User Interfaces in R

(CUNY/College of Staten Island, New York, USA), (Genentech Research and Early Development, South San Francisco, California, USA)
  • Formaat - EPUB+DRM
  • Hind: 175,50 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Raamatukogudele

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

"Preface About this book Two common types of user interfaces in statistical computing are the command line interface (CLI) and the graphical user interface (GUI). The usual CLI consists of a textual console in which the user types a sequence of commands at a prompt, and the output of the commands is printed to the console as text. The R console is an example of a CLI. A GUI is the primary means of interacting with desktop environments, such as Windows and Mac OS X, and statistical software, such as JMP. GUIs are contained within windows, and resources, such as documents, are represented by graphical icons. User controls are packed into hierarchical drop-down menus, buttons, sliders, etc. The user manipulates the windows, icons, and menus with a pointer device, such as a mouse. The R language, like its predecessor S, is designed for interactive use through a command line interface (CLI), and the CLI remains the primary interface to R. However, the graphical user interface (GUI) has emerged as an effectivealternative, depending on the specific task and the target audience. With respect to GUIs, we see R users falling into three main target audiences: those who are familiar with programming R, those who are still learning how to program, and those who haveno interest in programming. On some platforms, such as Windows and Mac OS X, R has graphical front-ends that provide a CLI through a text console control. Similar examples include the multi-platform RStudioTM IDE, the Java-based JGR and the RKWard GUI for the Linux KDE desktop. Although these interfaces are GUIs, they are still very much in essence CLIs, in that the primary mode of interacting with R is the same. Thus, these GUIs appeal mostly to those who are comfortable with R programming"--



Preface xiii
1 The Fundamentals of Graphical User Interfaces
1(22)
1.1 A simple GUI in R
1(3)
1.2 GUI design principles
4(4)
1.3 Controls
8(10)
Choice of control
9(1)
Presenting options
9(1)
Checkboxes
9(1)
Radio buttons
10(1)
Combo boxes
10(1)
List boxes
11(1)
Sliders and spin buttons
11(1)
Initiating an action
12(1)
Buttons
12(1)
Icons
12(1)
Menu bars
13(1)
Toolbars
13(1)
Action objects
14(1)
Modal dialogs
14(1)
Message dialogs
14(1)
File choosers
14(1)
Displaying data
15(1)
Tabular display
15(1)
Tree widgets
15(1)
Displaying and editing text
16(1)
Single lines of text
16(1)
Text-editing boxes
16(1)
Guides and feedback
16(1)
Labels
17(1)
Status bars
17(1)
Tooltips
18(1)
Progress bars
18(1)
1.4 Containers
18(5)
Top-level windows
19(1)
Tabbed notebooks
20(1)
Frames
20(1)
Expanding boxes
20(1)
Paned boxes
20(1)
Layout algorithms
21(1)
Box layout
21(1)
Grid layout
22(1)
I The gWidgets Package
23(78)
2 gWidgets: Overview
25(12)
2.1 Constructors
27(2)
2.2 Methods
29(1)
2.3 Event handlers
30(2)
2.4 Dialogs
32(3)
2.5 Installation
35(2)
3 gWidgets: Container Widgets
37(14)
3.1 Top-level windows
39(3)
A modal window
41(1)
3.2 Box containers
42(4)
The ggroup container
42(3)
The gframe and gexpandgroup containers
45(1)
3.3 Grid layout: the glayout container
46(1)
3.4 Paned containers: the gpanedgroup container
47(1)
3.5 Tabbed notebooks: the gnotebook container
48(3)
4 gWidgets: Control Widgets
51(40)
4.1 Buttons
51(2)
4.2 Labels
53(3)
HTML text
53(1)
Status bars
53(1)
Icons and images
54(2)
4.3 Text-editing controls
56(5)
Single-line, editable text
56(2)
Multiline, editable text
58(3)
4.4 Selection controls
61(9)
Checkbox widget
61(1)
Radio buttons
62(1)
A group of checkboxes
63(1)
A combo box
64(3)
A slider control
67(1)
A spin button control
68(1)
Selecting from the file system
68(1)
Selecting a date
68(2)
4.5 Display of tabular data
70(13)
4.6 Display of hierarchical data
83(3)
4.7 Actions, menus, and toolbars
86(5)
Toolbars
87(1)
Menu bars and pop-up menus
88(3)
5 gWidgets: R-specific Widgets
91(10)
5.1 A graphics device
91(5)
5.2 A data frame editor
96(1)
5.3 Workspace browser
97(2)
5.4 Help browser
99(1)
5.5 Command line widget
100(1)
5.6 Simplifying creation of dialogs
100(1)
II The RGtk2 Package
101(124)
6 RGtk2: Overview
103(12)
6.1 Synopsis of the RGtk2R Package!RGtk2 API
104(1)
6.2 Objects and classes
104(1)
6.3 Constructors
105(3)
6.4 Methods
108(1)
6.5 Properties
109(1)
6.6 Events and signals
110(2)
6.7 Enumerated types and flags
112(1)
6.8 The event loop
113(1)
6.9 Importing a GUI from Glade
114(1)
7 RGtk2: Windows, Containers, and Dialogs
115(22)
7.1 Top-level windows
115(2)
7.2 Layout containers
117(7)
Basics
117(1)
Widget size negotiation
118(1)
Box containers
119(4)
Alignment
123(1)
7.3 Dialogs
124(4)
Message dialogs
124(1)
Custom dialogs
125(1)
File chooser
126(1)
Other choosers
127(1)
Print dialog
127(1)
7.4 Special-purpose containers
128(9)
Framed containers
128(1)
Expandable containers
128(1)
Notebooks
128(3)
Scrollable windows
131(1)
Divided containers
132(1)
Tabular layout
133(4)
8 RGtk2: Basic Components
137(28)
8.1 Buttons
137(3)
8.2 Static text and images
140(3)
Labels
140(2)
Images
142(1)
Stock icons
143(1)
8.3 Input controls
143(7)
Text entry
143(2)
Check button
145(1)
Radio-button groups
146(1)
Combo boxes
147(2)
Sliders and spin buttons
149(1)
8.4 Progress reporting
150(1)
Progress bars
150(1)
Spinners
151(1)
8.5 Wizards
151(5)
8.6 Embedding R graphics
156(6)
8.7 Drag-and-drop
162(3)
Initiating a drag
163(1)
Handling drops
164(1)
9 RGtk2: Widgets Using Data Models
165(40)
9.1 Displaying tabular data
165(23)
Loading a data frame
165(1)
Displaying data as a list or table
166(3)
Accessing GtkTreeModel
169(2)
Selection
171(1)
Sorting
172(1)
Filtering
173(2)
Cell renderer details
175(13)
9.2 Displaying hierarchical data
188(2)
Loading hierarchical data
188(1)
Displaying data as a tree
189(1)
9.3 Model-based combo boxes
190(2)
9.4 Text-entry widgets with completion
192(2)
9.5 Sharing buffers between text entries
194(1)
9.6 Text views
194(2)
9.7 Text buffers
196(9)
Iterators
196(2)
Marks
198(1)
Tags
199(1)
Selection and the clipboard
200(1)
Inserting nontext items
200(5)
10 RGtk2: Application Windows
205(16)
10.1 Actions
205(2)
10.2 Menus
207(3)
Menu bars
207(2)
Pop-up menus
209(1)
10.3 Toolbars
210(3)
10.4 Status reporting
213(2)
Status bars
213(1)
Info bars
214(1)
10.5 Managing a complex user interface
215(6)
11 Extending GObject Classes
221(4)
III The qtbase Package
225(118)
12 Qt: Overview
227(22)
12.1 The Qt library
227(1)
12.2 An introductory example
228(3)
12.3 Classes and objects
231(2)
12.4 Methods and dispatch
233(1)
12.5 Properties
234(1)
12.6 Signals
235(2)
12.7 Enumerations and flags
237(1)
12.8 Extending Qt classes from R
237(6)
Defining a class
238(1)
Defining methods
238(1)
Defining signals and slots
239(1)
Defining properties
240(3)
12.9 QWidget basics
243(4)
Fonts
244(1)
Styles
245(2)
12.10 Importing a GUI from QtDesigner
247(2)
13 Qt: Layout Managers and Containers
249(14)
13.1 Layout basics
251(3)
Adding and manipulating child components
251(1)
Size and space negotiation
252(2)
13.2 Box layouts
254(1)
13.3 Grid layouts
255(2)
13.4 Form layouts
257(1)
13.5 Frames
258(1)
13.6 Separators
258(1)
13.7 Notebooks
258(3)
13.8 Scroll areas
261(1)
13.9 Paned windows
262(1)
14 Qt: Widgets
263(30)
14.1 Dialogs
263(9)
Message dialogs
263(3)
Input dialogs
266(1)
Button boxes
267(1)
Custom dialogs
268(2)
Wizards
270(1)
File- and directory-choosing dialogs
270(2)
Other choosers
272(1)
14.2 Labels
272(1)
14.3 Buttons
272(2)
Icons and pixmaps
273(1)
14.4 Checkboxes
274(2)
Groups of checkboxes
274(2)
14.5 Radio groups
276(1)
14.6 Combo boxes
277(2)
14.7 Sliders and spin boxes
279(2)
Sliders
279(1)
Spin boxes
280(1)
14.8 Single-line text
281(5)
Completion
282(1)
Masks and validation
282(4)
14.9 QWebView widget
286(2)
14.10 Embedding R graphics
288(1)
14.11 Drag-and-drop
288(5)
Initiating a drag
289(1)
Handling a drop
289(4)
15 Qt: Widgets Using Data Models
293(42)
15.1 Displaying tabular data
293(5)
Displaying an R data frame
293(2)
Memory management
295(1)
Formatting cells
296(1)
Column sizing
296(2)
15.2 Displaying lists
298(1)
15.3 Model-based combo boxes
299(1)
15.4 Accessing item models
299(1)
15.5 Item selection
300(3)
Accessing the selection
301(1)
Responding to selection changes
302(1)
Assigning the selection
302(1)
15.6 Sorting and filtering
303(1)
15.7 Decorating items
304(3)
15.8 Displaying hierarchical data
307(4)
15.9 User editing of data models
311(1)
15.10 Drag-and-drop in item views
312(6)
15.11 Widgets with internal models
318(3)
Displaying short, simple lists
318(3)
15.12 Implementing custom models
321(4)
15.13 Implementing custom views
325(4)
15.14 Viewing and editing text documents
329(6)
16 Qt: Application Windows
335(8)
16.1 Actions
336(2)
16.2 Menu bars
338(1)
16.3 Context menus
339(1)
16.4 Toolbars
340(1)
16.5 Status bars
341(1)
16.6 Dockable widgets
342(1)
IV The tcltk Package
343(104)
17 Tcl/Tk: Overview
345(24)
17.1 A first example
346(1)
17.2 Interacting with Tcl
347(3)
17.3 Constructors
350(10)
The tkwidget function
352(1)
Geometry managers
352(1)
Tcl variables
353(1)
Commands
354(1)
Themes
354(2)
Window properties and state: tkwinfo
356(1)
Colors and fonts
357(2)
Images
359(1)
17.4 Events and callbacks
360(9)
The tag
361(1)
Events
361(2)
Callbacks
363(1)
Percent substitutions
364(5)
18 Tcl/Tk: Layout and Containers
369(20)
18.1 Top-level windows
369(3)
18.2 Frames
372(1)
Label frames
372(1)
18.3 Geometry managers
372(13)
Pack
373(7)
Grid
380(5)
18.4 Other containers
385(4)
Paned windows
385(1)
Notebooks
386(3)
19 Tcl/Tk: Dialogs and Widgets
389(20)
19.1 Dialogs
389(3)
Modal dialogs
389(1)
File and directory selection
390(1)
Choosing a color
391(1)
19.2 Selection widgets
392(17)
Check buttons
392(2)
Radio buttons
394(1)
Entry widgets
395(5)
Combo boxes
400(2)
Scale widgets
402(2)
Spin boxes
404(5)
20 Tcl/Tk: Text, Tree, and Canvas Widgets
409(38)
20.1 Scroll bars
409(1)
20.2 Multiline text widgets
410(5)
20.3 Menus
415(5)
20.4 Treeview widget
420(20)
Rectangular data
420(16)
Editable tables of data
436(1)
Hierarchical data
436(4)
20.5 Canvas widget
440(7)
Concept index 447(2)
Class and method index 449
Michael Lawrence, John Verzani