# Update R keyword search database

This script will update the search database of R functions and packages. If run with the local version of Rpad, you must have suitable permissions to write to the Rpad package directory. You may also have to clear your browser's cache to see the updated database.

# The following script runs through the package database and creates
# the search term database that's stored in a javascript file.
if ( RpadIsLocal() ) prevdir = setwd(system.file('basehtml',package="Rpad"))
source(system.file('basehtml','makeHelpTemplate.R',package="Rpad"))
if ( RpadIsLocal() ) setwd(prevdir)