Re: [Rd] Minimal build of R ...

2013-05-23 Thread peter dalgaard
On May 23, 2013, at 23:07 , Jony Hudson wrote: > Hi, > > I'm making some progress with this, but have hit a sticking point and am > looking for a hint. Most of the compilation seems to be going ok, after some > liberal use of f2c, but I'm getting compile errors in src/main/connections.c : > >

Re: [Rd] Minimal build of R ...

2013-05-23 Thread Jony Hudson
Hi, I'm making some progress with this, but have hit a sticking point and am looking for a hint. Most of the compilation seems to be going ok, after some liberal use of f2c, but I'm getting compile errors in src/main/connections.c : connections.c:926:43: error: use of undeclared identifier 'SS

Re: [Rd] Minimal build of R ...

2013-05-03 Thread Gabriel Becker
On Fri, May 3, 2013 at 10:52 AM, Simon Urbanek wrote: > > On May 3, 2013, at 12:52 PM, Gabriel Becker wrote: > > > On Fri, May 3, 2013 at 9:13 AM, Jony Hudson > wrote: > > ... I guess I think of my thing as an experiment in just how much can be > done purely in the web client. There are some adva

Re: [Rd] Minimal build of R ...

2013-05-03 Thread Simon Urbanek
On May 3, 2013, at 12:52 PM, Gabriel Becker wrote: > On Fri, May 3, 2013 at 9:13 AM, Jony Hudson > wrote: > ... I guess I think of my thing as an experiment in just how much can be done > purely in the web client. There are some advantages to pure client-side (rich > interactivity, no need fo

Re: [Rd] Minimal build of R ...

2013-05-03 Thread Simon Urbanek
On May 3, 2013, at 11:21 AM, Jony Hudson wrote: > Hi All, > > thanks for the replies. Very helpful to know that it will run with just base. > Looks like the best bet, at least to get started, is to not use the usual > build-process, but to come up with a simple build-script for just the core.

Re: [Rd] Minimal build of R ...

2013-05-03 Thread Gabriel Becker
On Fri, May 3, 2013 at 9:13 AM, Jony Hudson wrote: > ... I guess I think of my thing as an experiment in just how much can be > done purely in the web client. There are some advantages to pure > client-side (rich interactivity, no need for a server, ubiquity) which make > it interesting, > I comp

Re: [Rd] Minimal build of R ...

2013-05-03 Thread Jony Hudson
Hi Gabriel, yes, packages obviously contain all the good stuff, but need to start somewhere! The ipython notebook project is very impressive, and I've been keeping a close eye on it, although I started out on monkeycruncher long before I was aware of it (I make slow progress). I guess I think

Re: [Rd] Minimal build of R ...

2013-05-03 Thread Gabriel Becker
Jony, I would caution that while R will run with just base, you won't be able to do much of anything with it. All the statistical analysis and graphing functions reside in additional packages. So practically speaking you'll need the workarounds Simon mentioned involving an alternative to dyn.load

Re: [Rd] Minimal build of R ...

2013-05-03 Thread Jony Hudson
Hi All, thanks for the replies. Very helpful to know that it will run with just base. Looks like the best bet, at least to get started, is to not use the usual build-process, but to come up with a simple build-script for just the core. Ultimately, the build script has to be different anyway, a

Re: [Rd] Minimal build of R ...

2013-05-02 Thread Simon Urbanek
On May 2, 2013, at 6:18 PM, Gabriel Becker wrote: > Jony, > > I'm currently writing up the paper for something with a similar result but > very different implementation. The RBrowserPlugin package/browser plugin > (joint with my advisor Duncan Temple Lang) embeds R within the web browser > as an

Re: [Rd] Minimal build of R ...

2013-05-02 Thread R. Michael Weylandt
On Thu, May 2, 2013 at 5:12 PM, Jony Hudson wrote: > Hi, > > I'm trying to cross-compile R to javascript so that it can run in a > web-browser. Take as long as you need to stop laughing. So, as I was saying - > I want to try and get a build of R running in the browser. [If you're not > familia

Re: [Rd] Minimal build of R ...

2013-05-02 Thread Gabriel Becker
Jony, I'm currently writing up the paper for something with a similar result but very different implementation. The RBrowserPlugin package/browser plugin (joint with my advisor Duncan Temple Lang) embeds R within the web browser as an NPAPI plugin. This approach allows full bi-directional communi

[Rd] Minimal build of R ...

2013-05-02 Thread Jony Hudson
Hi, I'm trying to cross-compile R to javascript so that it can run in a web-browser. Take as long as you need to stop laughing. So, as I was saying - I want to try and get a build of R running in the browser. [If you're not familiar with it already, you might enjoy looking at emscripten.org. I