Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ knitxl Public

❗ This is a read-only mirror of the CRAN R package repository. knitxl — Generates a Spreadsheet Report from an 'rmarkdown' File. Homepage: https://github.com/dreanod/knitxl Report bugs for this package: https://github.com/dreanod/knitxl/issues

Notifications You must be signed in to change notification settings

cran/knitxl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

knitxl

R-CMD-check

knitxl converts an Rmarkdown file into an .xlsx file. It uses knitr to parse the Rmd files and evaluate code chunks. knitx comes with features to customize the output .xlsx file.

Example

This will convert an .Rmd file into an .xlsx file:

library(knitxl)
path_to_rmd_file <- system.file("examples/minimal-example.Rmd", package = "knitxl")
knitxl(path_to_rmd_file)

Installation

From CRAN

Most users should install the latest release version of knitxl from CRAN with:

install.packages("knitxl")

From GitHub

You can install the development version of knitxl from GitHub with:

# install.packages("devtools")
devtools::install_github("dreanod/knitxl")

How knitxl works

knitxl relies on knitr to parse an .Rmd file and evaluate the code chunks. knitxl attaches special hooks to knitr, which will save the text, source code, and results of knitr evaluation to an R6 object that represents the content of an .xlsx file. openxlsx is used for creating, writing, styling and saving this object to the .xlsx output.

About

❗ This is a read-only mirror of the CRAN R package repository. knitxl — Generates a Spreadsheet Report from an 'rmarkdown' File. Homepage: https://github.com/dreanod/knitxl Report bugs for this package: https://github.com/dreanod/knitxl/issues

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages