mathpix_api: Connect to the mathpix API and translate an image to LaTeX

View source: R/connect.R

mathpix_apiR Documentation

Connect to the mathpix API and translate an image to LaTeX

Description

Connect to the mathpix API and translate an image to LaTeX

Usage

mathpix_api(img)

Arguments

img

image to be converted to LaTeX

Details

You must save your own API key in your environment (e.g. '~/.Renviron') with the identifiers 'MATHPIX_APP_ID' and 'MATHPIX_APP_KEY'. This can be tested with 'mathpix:::credentials()'.

Value

a character string of LaTeX commands (or NULL if fails).


mathpix documentation built on April 2, 2022, 5:05 p.m.

Related to mathpix_api in mathpix...