mathjax_install: Install 'mathjax-node'

Description Usage Arguments Value See Also Examples

View source: R/mathjax_node_setup.R

Description

Downloads and installs 'mathjax-node' (APIs to call MathJax from node.js programs) in the user-specific data directory managed with R_user_dir().

Please note that the total size of the downloaded files is about 70 MB.

This data directory can be removed from the computer with command mathjax_uninstall().

Usage

1

Arguments

force

Whether to force to install (override) 'mathjax-node'.

verbose

should a log be printed in the console, default to TRUE.

Value

a single logical value, FALSE if the operation failed, TRUE otherwise.

See Also

Other tools for 'mathjax-node': mathjax_available(), mathjax_uninstall()

Examples

1
2
3
4
5
library(locatexec)
if(exec_available("node") && !mathjax_available()){
  mathjax_install()
  mathjax_uninstall()
}

equatags documentation built on Aug. 4, 2021, 9:08 a.m.