Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

'RStudio' Addins for Show Outline of a R Markdown/'LaTeX' Project

License

NotificationsYou must be signed in to change notification settings

calote/addinsOutline

Repository files navigation

CRAN_Release_BadgeCRAN_Download_Badge

The goal of "addinsOutline" is to facilitate navigation through the files that constitute a R Markdown, LaTeX or other project.

This 'RStudio' addins will show a list of the different sections established in the 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.

In addition, by modifying the configuration file "addinsOutline_ini.txt" that can be copied to the project folder, not only the sections could be searched, but it could also be located for example: tables created withknitr::kable(), graphics inserted withknitr::insert_graphics(), labels created with\label in documents LaTeX, etc.

There are different functions to activate the addins corresponding to the type of project:

  • run_addinsOutline_Rmd(): R Markdown projects
  • run_addinsOutline_Rmd_bookdown(): Bookdown projects (select the file _bookdown.yml or index.Rmd)
  • run_addinsOutline_tex(): LaTeX projects

Installation

You can install the released version of addinsOutline fromCRAN with:

install.packages("addinsOutline")# For dev versiondevtools::install_github("calote/addinsOutline")

Example

This is a basic example which shows you how activate the Addins for R Markdown projects:

library(addinsOutline)run_addinsOutline_Rmd()

The default AddinsOutline is displayed in an external browser (see "shiny::browserViewer"), but can be configured to act as a dialogue in 'RStudio' (see "shiny::dialogViewer") or in the "Viewer" panel of RStudio (see "shiny::paneViewer"). It can be customized by modifying the "addinsOutline" option as follows:

  • "dialogViewer"
options("addinsOutline"="dialog")
  • "paneViewer"
options("addinsOutline"="pane")
  • "browserViewer" (default)
options("addinsOutline"="browser")

The next code will copy the configuration file "addinsOutline_ini.txt" to the current working directory

copy_file_config_ini_new()

About

'RStudio' Addins for Show Outline of a R Markdown/'LaTeX' Project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp