grep_jamsessions | R Documentation |
Search for saved R sessions
grep_jamsessions(
pattern,
sessions_path = jamsession_paths()$sessions,
return_df = TRUE,
sort_by_date = TRUE,
ignore.case = TRUE,
most_recent = TRUE,
include_attrs = FALSE,
add_stats = FALSE,
remove_pattern = NULL,
replacement = NULL,
verbose = FALSE,
...
)
pattern |
chracter pattern used with |
sessions_path |
character vector of one or more file paths to search
for saved R sessions. When |
return_df |
logical whether to return a vector (FALSE) or data.frame (TRUE) with detailed information about each session. |
sort_by_date |
logical whether to sort results by date, as opposed
to the order retrieved from |
ignore.case |
logical sent to |
most_recent |
logical whether to return only the most recent
saved version of each matching session, by default |
include_attrs |
logical indicating whether to include attributes
|
add_stats |
|
remove_pattern , replacement |
arguments passed to
|
verbose |
|
... |
additional arguments are passed to |
This function searches for saved R sessions using one or more text or regular expression patterns.
See list_jamsessions()
for more details about stored sessions.
This function can be chained with load_jamsession()
, for
example load_jamsession(grep_jamsessions("my_project"))
,
and it will load the most recently saved R session.
Other jamsession sessions:
list_jamsessions()
,
load_jamsession()
,
save_jamsession()
,
show_session_versions()
grep_jamsessions(".");
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.