Re: [R] Lisp-like primitives in R

2007-09-08 Thread Peter Dalgaard
François Pinard wrote: [Roland Rau] [François Pinard] I wonder what happened, for R to hide the underlying Scheme so fully, at least at the level of the surface language (despite there are hints). To further foster portability, we chose to write R in ANSI

Re: [R] Lisp-like primitives in R

2007-09-08 Thread Gabor Grothendieck
On 9/8/07, Peter Dalgaard [EMAIL PROTECTED] wrote: François Pinard wrote: [Roland Rau] [François Pinard] I wonder what happened, for R to hide the underlying Scheme so fully, at least at the level of the surface language (despite there are hints). To further foster

Re: [R] Lisp-like primitives in R

2007-09-08 Thread François Pinard
[Peter Dalgaard] [François Pinard] I meant that R might have implemented a Scheme engine [...] with a surface language [...] which is purposely not Scheme, but could have been. [...] one could dare dreaming that the Scheme engine in R be completed, and Scheme offered as an alternate extension

Re: [R] Lisp-like primitives in R

2007-09-07 Thread François Pinard
[Duncan Murdoch] You could also look at Ross Ihaka's paper that is online here: http://cran.r-project.org/doc/html/interface98-paper/paper.html Interesting read. Thanks for this reference! -- François Pinard http://pinard.progiciels-bpi.ca __

Re: [R] Lisp-like primitives in R

2007-09-07 Thread François Pinard
[Roland Rau] [François Pinard] I wonder what happened, for R to hide the underlying Scheme so fully, at least at the level of the surface language (despite there are hints). To further foster portability, we chose to write R in ANSI C Yes, of course. Scheme is also (often) implemented

[R] Lisp-like primitives in R

2007-09-06 Thread Chris Elsaesser
I mainly program in Common Lisp and use R for statistical analysis. While in R I miss the power and ease of use of Lisp, especially its many primitives such as find, member, cond, and (perhaps a bridge too far) loop. Has anyone created a package that includes R analogs to a subset of Lisp

Re: [R] Lisp-like primitives in R

2007-09-06 Thread Gabor Grothendieck
Reduce, Filter and Map are part of R 2.6.0. Try ?Reduce On 9/6/07, Chris Elsaesser [EMAIL PROTECTED] wrote: I mainly program in Common Lisp and use R for statistical analysis. While in R I miss the power and ease of use of Lisp, especially its many primitives such as find, member, cond, and

Re: [R] Lisp-like primitives in R

2007-09-06 Thread Greg Snow
:[EMAIL PROTECTED] On Behalf Of Chris Elsaesser Sent: Thursday, September 06, 2007 11:26 AM To: r-help@stat.math.ethz.ch Subject: [R] Lisp-like primitives in R I mainly program in Common Lisp and use R for statistical analysis. While in R I miss the power and ease of use of Lisp, especially

Re: [R] Lisp-like primitives in R

2007-09-06 Thread François Pinard
[Chris Elsaesser] I mainly program in Common Lisp and use R for statistical analysis. While in R I miss the power and ease of use of Lisp, especially its many primitives such as find, member, cond, and (perhaps a bridge too far) loop. Has anyone created a package that includes R analogs

Re: [R] Lisp-like primitives in R

2007-09-06 Thread Roland Rau
François Pinard wrote: I wonder what happened, for R to hide the underlying Scheme so fully, at least at the level of the surface language (despite there are hints). As far as I understood, the original version of Ihaka/Gentleman was written in Scheme. But even if you look at the source

Re: [R] Lisp-like primitives in R

2007-09-06 Thread Duncan Murdoch
On 06/09/2007 7:36 PM, Roland Rau wrote: François Pinard wrote: I wonder what happened, for R to hide the underlying Scheme so fully, at least at the level of the surface language (despite there are hints). As far as I understood, the original version of Ihaka/Gentleman was written in