From g@bembecker @end|ng |rom gm@||@com  Tue Feb 26 20:46:51 2019
From: g@bembecker @end|ng |rom gm@||@com (Gabriel Becker)
Date: Tue, 26 Feb 2019 11:46:51 -0800
Subject: [Rd] Compile R to WebAssembly / Emscripten?
In-Reply-To: <CABtg=KmRB+7Fn6bLcfLUq1q0K=8p9XKYb0cxt+No2tVXonY97g@mail.gmail.com>
References: <CA+ispTGkO4Z8uQmmgF0XWk40Xmgk=uiAR0kR+6dmT+Thxd6YoQ@mail.gmail.com>
 <CABtg=KmRB+7Fn6bLcfLUq1q0K=8p9XKYb0cxt+No2tVXonY97g@mail.gmail.com>
Message-ID: <CAD4oTHH_9K_to2JhJ5T8c2dm5KsWrDrTMOFBhBJah_hz32rQYg@mail.gmail.com>

As I recall, the major blocker is that R links against a number of other
things (notably BLAS, pcre, etc) so while technically possible (?) I
suppose, the universe of things you'd have to compile over and then get
working is much larger than just the R internals.

I think most people who consider this (including me years ago, as well as
the poster of Gabor's message to rdevel) hit that point and then go try to
find a less herculean task to pursue.

~G

On Wed, Feb 20, 2019 at 12:57 AM G?bor Cs?rdi <csardi.gabor at gmail.com>
wrote:

> This was some time ago:
> https://stat.ethz.ch/pipermail/r-devel/2013-May/066724.html
>
> So probably not hopeless, but I would think it is a lot of work.
>
> Gabor
>
> On Wed, Feb 20, 2019 at 8:17 AM Todd Wilder <wildert at gmail.com> wrote:
> >
> > Has anyone attempted to compile R (probably without any OS bindings) to
> > WebAssembly / Emscripten? If so, how far did you get? (would be crazy
> > awesome if you could get all the way to a ggplot bitmap output). If not,
> is
> > this a waste of time or is there some daylight to doing this?
> >
> >         [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-devel at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-devel
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

	[[alternative HTML version deleted]]



[Rd] Compile R to WebAssembly / Emscripten?
Gabriel Becker