Type: | Package |
Title: | 'RStudio' Addins for Show Outline of a R Markdown/'LaTeX' Project |
Version: | 0.1.6 |
Date: | 2019-10-29 |
Description: | 'RStudio' allows to show and navigate for the outline of a R Markdown file, but not for R Markdown projects with multiple files. For this reason, I have developed several 'RStudio' addins capable of show project outline. Each addin is specialized in showing projects of different types: R Markdown project, 'bookdown' package project and 'LaTeX' project. There is a configuration file that allows you to customize additional searches. |
License: | GPL-3 |
Encoding: | UTF-8 |
LazyData: | true |
URL: | https://github.com/calote/addinsOutline |
BugReports: | https://github.com/calote/addinsOutline/issues |
Depends: | R (≥ 3.2) |
Imports: | shiny (≥ 0.13), miniUI (≥ 0.1), rstudioapi (≥ 0.5), shinyFiles (≥ 0.7.2), stringr, dplyr (≥ 0.7.7), tibble, yaml, rmarkdown, fs, DT |
RoxygenNote: | 6.1.1 |
Suggests: | knitr |
VignetteBuilder: | knitr |
NeedsCompilation: | no |
Packaged: | 2019-11-29 09:27:15 UTC; calvo |
Author: | Pedro L. Luque-Calvo
|
Maintainer: | Pedro L. Luque-Calvo <calvo@us.es> |
Repository: | CRAN |
Date/Publication: | 2019-12-02 16:20:09 UTC |
Copy Configuration File from Outline in Working Directory
Description
Copy configuration file from outline in working directory to search for additional terms in our R Markdown or LaTeX project.
Usage
copy_file_config_ini_new(path_to = NULL, overwritefile = TRUE)
Arguments
path_to |
path where the configuration file will be copied |
overwritefile |
logical variable; if |
Details
The name of the configuration file is "addinsOutline_ini.txt".
In the configuration file you can use regular expressions with the help of the functions of the "stringr" package, to perform additional custom searches.
Make a copy of this file to see how new searches are defined.
The following strings serve to distinguish which types of files will be used:
- "rmd": R Markdown files
- "rmdbd": Bookdown files
- "tex": LaTeX files
Value
Copy configuration file from outline in working directory
See Also
The function run_addinsOutline_Rmd()
,
run_addinsOutline_Rmd_bookdown()
and
run_addinsOutline_tex()
.
Examples
if (interactive()) {
library(addinsOutline)
copy_file_config_ini_new()
}
Addin for Displays Outline of an R Markdown Project
Description
Addin for displays outline of an R Markdown project with and without child files.
Usage
run_addinsOutline_Rmd()
Value
'RStudio Addin' with browserViewer(). This 'RStudio' addin will show a list of the different sections established in the R Markdown project and clicking on any element shown in the list will cause 'RStudio' to show that section by opening the file that contains it if it was not already open previously.
See Also
The function run_addinsOutline_Rmd_bookdown()
and
run_addinsOutline_tex()
.
Examples
if (interactive()) {
library(addinsOutline)
run_addinsOutline_Rmd()
}
Addin for Displays Outline of an Bookdown Project
Description
Addin for displays outline of an bookdown project (R Markdown files in directory project).
Usage
run_addinsOutline_Rmd_bookdown()
Value
RStudio Addin with browserViewer() This 'RStudio' addin will show a list of the different sections established in the 'bookdown' project (R Markdown files in directory project) and clicking on any element shown in the list will cause 'RStudio' to show that section by opening the file that contains it if it was not already open previously. To open a bookdown project select the file _bookdown.yml or index.Rmd.
See Also
The function run_addinsOutline_tex()
and
run_addinsOutline_Rmd()
.
Examples
if (interactive()) {
library(addinsOutline)
run_addinsOutline_Rmd_bookdown()
}
Addin for Displays Outline of an LaTeX Project
Description
Addin for displays outline of an LaTeX Project with
and without child files insert with: \input{}
or
\include{}
.
Usage
run_addinsOutline_tex()
Value
Addin 'RStudio' with browserViewer() This 'RStudio' addin will show a list of the different sections established in the LaTeX project and clicking on any element shown in the list will cause 'RStudio' to show that section by opening the file that contains it if it was not already open previously.
See Also
The function run_addinsOutline_Rmd()
and
run_addinsOutline_Rmd_bookdown()
.
Examples
if (interactive()) {
library(addinsOutline)
run_addinsOutline_tex()
}