cd /usr/ports/math/R
NAHIS1# make build-depends-list
/usr/ports/converters/libiconv
/usr/ports/devel/gettext
/usr/ports/devel/icu
/usr/ports/devel/pcre
/usr/ports/graphics/jpeg
/usr/ports/graphics/png
/usr/ports/lang/gcc44
/usr/ports/lang/perl5.8
/usr/ports/math/blas
/usr/ports/math/lapack
/usr/ports/x11-toolkits/libXt
/usr/ports/x11-toolkits/tk85
/usr/ports/x11/libX11
make install
to test if R is installed
cd /usr/local/bin
R
to exit type
q()
Troubleshooting
If your make install fails with swap space errors
swap_pager out of swap space
Increase the swap space size
and
If you are running in a Virtual Machine allocate more RAM to the Virtual Machine.
( I had a VM running in 128Mb and R would not install, I increased the Ram to 1024Mb and it installed OK)