1

Is there a R package for this? I´m looking for something similar to qrencoder but in 1D

For now, my walkaround solution is to use python-barcode through reticulate but I would like to use a R library.

library(reticulate)

barcode <- import("barcode")
name  <- barcode$generate('EAN13', '7750243002455', output='barcode_svg')

My ultimate goal is to show barcodes of my products on a Shiny app

2
  • What are your inputs, and what sort of barcode (there are loads) do you need? Even some python code showing how you use python-barcode would help.
    – Spacedman
    Oct 5, 2018 at 15:02
  • @Spacedman I have added some code as you asked for
    – Andres
    Oct 5, 2018 at 15:24

1 Answer 1

1

Have a look at the zintr package, which uses zint.

barcode_print(8675309, "barcode1.png")

enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.