# NOT RUN {
## In real life, download crandb from CRAN or load it from your directory
## with functions crandb_down() or crandb_load().
## In this example, we use a small file.
crandb_load(system.file("data", "zcrandb.rda", package = "RWsearch"))
## Use a large console (useful for p_table2())
p_table2(pacman, pdfsearch, sos)
(lst <- s_crandb_list("thermodynamic", "chemical reaction", "distillation"))
p_table2(lst)
# }
# NOT RUN {
## print the table(s) in pdf file(s) and open it (them) in a pdf viewer.
p_table5pdf(pacman, pdfsearch, sos, dir = file.path(tempdir(), "ptable"))
p_table7pdf(lst, dir = file.path(tempdir(), "ptable"), cleantex = FALSE, openpdf = TRUE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab