feinerer 23932095f0 Update to R 3.3.3
OK pirofti@
2017-03-09 05:18:44 +00:00
..
2012-07-04 12:38:05 +00:00
2017-03-09 05:18:44 +00:00
2017-03-09 05:18:44 +00:00

$OpenBSD: README,v 1.6 2017/03/09 05:18:44 feinerer Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} 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=${LOCALBASE}/jdk-1.8.0
# ${TRUEPREFIX}/bin/R CMD javareconf

as root, will update both ${TRUEPREFIX}/lib/R/etc/Makeconf and
${TRUEPREFIX}/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++ and gcc) add

CC='egcc -std=gnu99'
CXX=eg++
CXX1X=eg++
CXX1XSTD='-std=c++11'
CXX1XPICFLAGS=-fpic