Description Usage Arguments Details Value Author(s) See Also Examples
The functions are to support importWizard and may not have much practical use otherwise.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | setArgsList(filename, env, isFile = TRUE, init = TRUE)
whatDeli(delimiter)
getMoreArgs()
assignArgs(value, env)
getArgs(env)
assignShowNum(value, env)
getShowNum(env)
assignCState(value, env)
getCState(env)
assignColInfo(value, env)
getColInfo(env)
setColInfos(types, env)
changeState(canvas, backBut, nextBut, env, forward = TRUE, endBut, viewBut)
setNewState(env, backBut, nextBut, forward = TRUE, endBut, viewBut)
addArgs(env)
dropArgs(env)
setSkip(widget, env, state = "state1")
moreArgs(env)
dropColumn(index, env)
setColName(index, entryBox, env)
setColType(index, entryBox, env)
assignLineData(lineData, env)
getLineData(env)
|
filename |
|
env |
|
delimiter |
|
value |
|
backBut |
|
nextBut |
|
forward |
|
widget |
|
state |
|
index |
|
entryBox |
|
a tcltk entry box.
canvas |
|
types |
|
lineData |
|
endBut |
|
viewBut |
|
init |
|
isFile |
|
setArgsList calls function guess.sep to
figure out the the header, sep, and data type of a file and sets the
values for argument list and colInfo.
whatDeli gets the word representation of delimiters
(e.g. tab for "\t").
getMoreArgs generates a widget using widgetTools to
collect some of the arguments for read.table.
assignArgs updates "argsList" stored in a predefined
environment.
getArgs Gets "argsList" from a predefined environment.
assignShowNum Updates the value for "showNum" (number of
rows to show in the interface.
getShowNum Gets the value for "showNum" (number of
rows to show in the interface.
link{assignCState} Updates the value of "currentState" that is
stored in a predefined environment.
getCState Gets the vlaue of "currentState" that is
stored in a predefined environment.
assignColInfo Updates the values of "colInfos" (column
information) that is stroed in a predefined environment.
getColInfo Gets the values of "colInfos" (column
information) that is stroed in a predefined environment.
setColInfos Creates colInfo objects and sets the value
of 'colInfos' list.
changeState changes the state and thus the interface of
a widget.
setNewState sets the state of a importing process.
addArgs adds a new state to the argument list for
states.
dropArgs removes a state from the argument list for
states.
setSkip Sets the value for the number of lines to skip
when readling a data file.
moreArgs Gets some of the arguments for importing data
using read.table.
dropColumn Sets the index values for data columns that
are going to be droped when read using read.table.
setColName Sets the column names for a data file by
getting column names from correct entry boxes.
setColType Sets the column type for a data file by
getting column type information from correct entry boxes.
whatDeli returns a character string.
getMoreArgs returns a list of arguments.
getArgs returns a list of the arguments for read.table.
getShowNum returns an integer for the number of rows to
show.
getCState returns a character string for the current
state.
getColInfo returns a colInfo object contains column
information.
Jianhua Zhang
1 2 | # No example is given as functions require the set up of the working
# environment.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.