Print barcodes in R
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
inst/examples
man
src
tests
tools
.Rbuildignore
.gitignore
.travis.yml
DESCRIPTION
NAMESPACE init Jul 1, 2017
README.Rmd
README.md
codecov.yml
configure

README.md

Build Status Coverage Status

zintr

The goal of zintr is to provide barcode printing functionality to R using the Zint C library.

Installation

You can install zintr from github with:

# install.packages("devtools")
devtools::install_github("CannaData/zintr")

But you will need to install Zint first. See Zint documentation for OS specific instructions. For Linux you can easily install with git and cmake:

git clone https://github.com/zint/zint.git zint
cd zint
mkdir build
cd build
cmake ..
make
sudo make install
sudo cp /usr/local/lib/libzint.* /usr/lib

Example

This is a basic example which shows you how to solve a common problem:

library(zintr)
barcode_print(8675309, "barcode1.png")
barcode_print("Hello World", "barcode2.png")

8675309


Hello World