Import Origin(R) Project Files

Read the data from Origin(R) project files ('*.opj') <>. No write support is planned.

The goal of this package is to provide the ability to import Origin(R) OPJ files. The only function, read.opj(file), uses liborigin to parse the file and build a list of its contents. No write support is planned, since it's absent in liborigin.


If you want to clone this repo, don't forget the --recursive flag. Otherwise, use git submodule update --init --recursive after you cloned it.


This repo contains a fork of liborigin in the liborigin branch. The only difference is removed references to std::cout and std::cerr per Writing R Extensions:

I/O should not be used. As with the previous item such calls may come from external software and may never be called, but package authors are often mistaken about that.


2019-03-14 v0.2-2

  • Prevent truncation of long tables when importing large files
  • Fix a memory leak possibly resulting from misuse of tree.hh library
  • Decode strings using Riconv interface instead of Rcpp::Function call, making it much faster

2019-03-01 v0.2-1

  • Added support for multi-spreadsheets, matrices and notes
  • Correctly decode byte strings read from the file
  • Fix undefined variable access found by UBSan

2019-02-06 v0.1-1

  • Function read.opj imports individual spreadsheets as data.frames

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.3 by Ivan Krylov, a year ago

Report a bug at

Browse source code at

Authors: Miquel Garriga [aut, cph] , Stefan Gerlach [aut, cph] , Ion Vasilief [aut, cph] , Alex Kargovsky [aut, cph] , Knut Franke [ctb, cph] , Alexander Semke [ctb, cph] , Tilman Benkert [ctb, cph] , Kasper Peeters [ctb, cph] , Russell Standish [ctb, cph] , Ivan Krylov [cre, cph]

Documentation:   PDF Manual  

GPL (>= 3) license

Imports Rcpp

Linking to Rcpp

See at CRAN