Learn R Programming

rangeMapper (version 0.0-6)

tkdbBrowse: Browse an sqlite database.

Description

Browse an sqlite database using a tcltk interface.

Usage

tkdbBrowse(con, prefix = NULL, tables.name.only = FALSE, info)

Arguments

con
A valid sqlite connection.
prefix
Shows only tables with the given prefix
tables.name.only
If FALSE, the default, shows only table names.
info
A character string containing a short text to be shown left to the OK button.

Examples

Run this code
## These cannot be run by examples() but should be OK when pasted
## into an interactive R session 

# Create an empty rangeMapper project
dbcon = rangeMap.start(file = "wrens.sqlite",  overwrite = TRUE, dir = tempdir() )

# Select one table and then press OK
tkdbBrowse(dbcon, info = " select a field in one table and then push OK!")

tkdbBrowse(dbcon, tables.name.only = TRUE)

Run the code above in your browser using DataLab