From wo||g@ng@v|echtb@uer @end|ng |rom m@@@tr|chtun|ver@|ty@n|  Mon Jan  9 09:37:25 2023
From: wo||g@ng@v|echtb@uer @end|ng |rom m@@@tr|chtun|ver@|ty@n| (Viechtbauer, Wolfgang (NP))
Date: Mon, 9 Jan 2023 08:37:25 +0000
Subject: [Rd] R 4.2.2 on Haiku
In-Reply-To: <TYAP286MB02688574948197B20FA609FDD1F49@TYAP286MB0268.JPNP286.PROD.OUTLOOK.COM>
References: <8e91fa86638d4ee98d6a3b0477b020bf@UM-MAIL3213.unimaas.nl>
 <TYAP286MB02688574948197B20FA609FDD1F49@TYAP286MB0268.JPNP286.PROD.OUTLOOK.COM>
Message-ID: <059246cbfff949ec92cae5d9d7d47b36@UM-MAIL3214.unimaas.nl>

Dear Yu Gong,

Happy to hear that there are others out there trying to use R under Haiku.

Getting packages to compile is a bit hit and miss. Pure R packages are easy, but yes, some packages will fail.

As for haikuports, an updated port is being worked on:

https://github.com/haikuports/haikuports/blob/master/dev-lang/r/r-4.2.2.recipe

Best,
Wolfgang

>-----Original Message-----
>From: gong yu [mailto:yugong at outlook.com]
>Sent: Wednesday, 04 January, 2023 0:33
>To: Viechtbauer, Wolfgang (NP); R Devel List
>Subject: ??: R 4.2.2 on Haiku
>
>thank you very much,??use R on haiku-os?several times before.?the OS is fast and
>eye-candy, just release beta 4 before new year.
>when use R on haiku-os, some package will compiled failed(cairo for example) ,but
>most package work seamlessly.
>
>btw, about R on haiku-os , Maybe you could create a git push on haikuports?
>haikuports/dev-lang/r at master ? haikuports/haikuports (github.com)
>?
>
>haikuports/dev-lang/r at master ? haikuports/haikuports
>Software ports for the Haiku operating system. Contribute to
>haikuports/haikuports development by creating an account on GitHub.
>github.com
>
>Yu Gong
>
>________________________________________
>???: R-devel <r-devel-bounces at r-project.org> ?? Viechtbauer, Wolfgang (NP)
><wolfgang.viechtbauer at maastrichtuniversity.nl>
>????: 2023?1?4? 4:25
>???: R Devel List <r-devel at r-project.org>
>??: [Rd] R 4.2.2 on Haiku
>
>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


[Rd] R 4.2.2 on Haiku
Viechtbauer, Wolfgang (NP