$OpenBSD: README,v 1.4 2015/12/14 16:49:02 feinerer Exp $

+-----------------------------------------------------------------------
| Running R-3.3.1 on OpenBSD
+-----------------------------------------------------------------------

Configuring Java support
========================
To enable Java support, R needs to know where the JVM and the Java
libraries are located.

Running:

# export JAVA_HOME=/usr/local/jdk-1.8.0
# /usr/local/bin/R CMD javareconf

as root, will update both /usr/local/lib/R/etc/Makeconf and
/usr/local/lib/R/etc/ldpaths with the right settings.

Customizing package compilation
===============================
Make variables to be used by R packages compiling code at installation time
can be customized via ~/.R/Makevars
(https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Customizing-package-compilation).
E.g., for using recent compilers (packages g++, g95, and gcc) add

CC=egcc -std=gnu99
CXX=eg++
F77=egfortran
