Some notes on the use of R with FreeBSD which may save other FreeBSD R users from frustration:
For rJava to work on FreeBSD it is necessary to run: "kldload sem" (not part of the GENERIC kernel by default) Otherwise, .jinit() to start rJava will result in a bad system call. Sem is needed for posix semaphores to work. Also to compile rJava I had to run: R CMD javareconf use the following settings: setenv LD_LIBRARY_PATH /usr/local/lib/R/lib:/usr/local/jdk1.6.0/lib:/usr/local/jdk1.6.0/jre/lib/i386:/usr/local/jdk1.6.0/jre/lib/i386/client:/usr/local/lib/R/library/rJava/libs:/usr/local/jdk1.6.0/jre/lib/i386/server setenv PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin:/usr/local/jdk1.6.0/bin setenv CPLUS_INCLUDE_PATH /usr/local/jdk1.6.0/include:/usr/local/jdk1.6.0/include/freebsd:/mnt/rod/rJava/jri/src setenv C_INCLUDE_PATH /usr/local/jdk1.6.0/include:/usr/local/jdk1.6.0/include/freebsd:/mnt/rod/rJava/jri/src setenv MAKE gmake and add MAKE=gmake to /usr/local/lib/R/etc/Makeconf These may be more than the minimum steps. _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"