Learn R Programming

svDialogs (version 0.9-43)

guiDlgText: A simple text display/editor window

Description

Display or edit the content of ASCII files.

Usage

guiDlgText(text, file = NULL, title = deparse(substitute(text)), edit = TRUE,
    submit = TRUE, parent = -1, GUI = getOption("guiWidgets"))

Arguments

text
the text to display.
file
the name of a file, if the text is contained in a file.
title
the title of the window.
edit
do we allow to edit this text?
submit
if this text is R code, allow to submit it to R.
parent
which window is the parent of this text window?
GUI
which GUI toolkit to use to display this window?

Value

  • The modified text, or the path to the file containing the modified text.

concept

GUI API dialog boxes

See Also

guiDlgGrid

Examples

Run this code
### TODO...

Run the code above in your browser using DataLab