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

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
NotificationsYou must be signed in to change notification settings

christopherkenny/typr

Repository files navigation

R-CMD-check

The goal oftypr is to render Typst documents from R. By default, itwill try to use the Typst CLI. If the Typst CLI is not installed, itwill try to use Quarto, which bundles Typst.

Installation

You can install the development version oftypr fromGitHub with:

# install.packages('pak')pak::pak('christopherkenny/typr')

Example

The following example shows how to usetypr to render a Typstdocument. It can take a path to a file or lines to use. Below, I passlines to compile:

library(typr)doc<- c('#set page(height: auto, width: auto)','= Example Doc','Some text')typr_compile(doc,output_format='png')#> C:/Users/chris/AppData/Local/Temp/Rtmpeow7sK/filea881b5c2983.png

Example image generated by the above code

Example image generated by the abovecode

About

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp