GitHub StatConverter

R and necessary packages

StatConverter is just a Graphical User Interface on top of an embedded R environment. This means the convertion can be achieved in the normal R console via command line, using the function convert().

 

The actual package that does the heavy lifting is called DDIwR (DDI with R), which directly employs the excellent C library ReadStat. Both are open source software, and get improved on a constant basis.

 

 

Installing the R packages to the latest version

 

The functionality of the R package DDIwR necessarily depends on a number of other packages, among which admisc and declared. Future functionality will necessarily depend on updated versions of all these R packages.

 

The latest development versions are available from Adrian Dușa's R-universe repository, and can be installed or updated using:

install.packages(
    c("admisc", "declared", "DDIwR"),
    repos = "dusadrian.r-universe.dev"
)

 

Since some of these packages contain C code that needs compilation, R-universe also provides precompiled binaries where available, which makes this installation route preferable to older GitHub-based installation instructions.

 

For more detailed information, visit Adrian Dușa's R-universe repository.