[Rd] R 4.2.2 on Haiku
Viechtbauer, Wolfgang (NP)
wo||g@ng@v|echtb@uer @end|ng |rom m@@@tr|chtun|ver@|ty@n|
Tue Jan 3 21:25:18 CET 2023
Hi all,
Not sure if this is of interest to anybody, but with the help of some kind folks over at the #haiku channel on IRC, I finally got the current version of R to compile under the Haiku operating system (https://www.haiku-os.org):
https://scholar.social/@wviechtb/109627078225954444
Kate (https://kate-editor.org) makes for a workable IDE allowing for REPL-like interactivity. X11 support is lacking, so graphs are directly created as pdfs, but this is workable.
In case you want to give this a try, it's pretty much this:
pkgman install gcc_fortran bzip2_devel lrzip_devel xz_utils_devel libpcre2_devel libiconv_devel curl_devel readline_devel tiff4_devel libtool ncurses6_devel libpaper_devel lapack_devel tcl_devel xcairo_devel pangomm_devel
wget https://cran.r-project.org/src/base/R-4/R-4.2.2.tar.gz
tar -xzf R-4.2.2.tar.gz
cd R-4.2.2
export CPPFLAGS="-D_BSD_SOURCE"
export LIBS="-lnetwork -lbsd"
./configure --with-x=no --disable-java --enable-R-shlib --prefix=/boot/home/<wherever>
make
make install
Best,
Wolfgang
--
Wolfgang Viechtbauer, PhD, Statistician | Department of Psychiatry and
Neuropsychology | Maastricht University | PO Box 616 (VIJV1) | 6200 MD
Maastricht, The Netherlands | +31(43)3884170 | https://www.wvbauer.com
More information about the R-devel
mailing list