knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
An R parser of Fortran namelist files.
You can install nml from github with:
# install.packages("devtools") devtools::install_github("jsta/nml")
library(nml) read_nml("tests/testthat/sample.nml")
f90nml
python parser via the reticulate
bridgelibrary(reticulate) use_python("/home/jose/anaconda3/bin/python") f90nml <- import("f90nml") pd <- import("pandas") nml <- f90nml$read("tests/testthat/sample.nml") pd$DataFrame$from_dict(nml)
This package was inspired by f90nml and glmtools.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.