search for: lisp

Displaying 20 results from an estimated 544 matches for "lisp".

Did you mean: isp
2009 Dec 02
1
Calling R (GNU R) functions from Common Lisp, how?
Hi Lisp users, I'm a user of both Common Lisp and R (GNU R). I found R has a rich collection of statistical and numerical computation functions, while it is not as extensible as Lisp (Common Lisp). I considered Lisp-Stat but its only implementation is not in the usuall Common Lisp, and the available f...
2008 Jul 23
1
Calling LISP programs in R
I have written some programs in Common Lisp and I have been using SAS to pipe those programs to my lisp compiler in batch mode by using the %xlog and %xlst SAS commands. I wonder if there is in R a similar way to pipe commands to LISP so that all my work would be concentrated in R even when I have to call a LISP program? I have looked at the...
2008 Dec 08
4
R and Scheme
I've read in many places that R semantics are based on Scheme semantics. As a long-time Lisp user and implementor, I've tried to make this more precise, and this is what I've found so far. I've excluded trivial things that aren't basic semantic issues: support for arbitrary-precision integers; subscripting; general style; etc. I would appreciate corrections or additions fr...
2008 May 07
0
Ross Ihaka's reflections on Common Lisp and R
I came across a quite interesting post from Ross Ihaka, thought would be good to share it and get the opinion of folks around here. I am not sure where to post this for the R community but since it has to do with development I thought or R-devel Ross Ihaka Newsgroups: comp.lang.lisp From: Ross Ihaka <ih... at stat.auckland.ac.nz> Date: Wed, 23 Jan 2008 10:35:26 +1300 Local: Tues, Jan 22 2008 11:35 pm Subject: Re: Is Xlisp-Stat Dead? Rainer Joswig wrote: > In article > <78de26c1-fb05-4479-ac5f-97046de54... at i72g2000hsd.googlegroups.com>, > Robert &l...
2004 Feb 12
1
Porting let* from Common LISP to R
In porting some Common LISP code to R, I am trying to found out whether special care must be taken for the let* function. In Common LISP, "the let* block is like let except it is guaranteed to evaluate the initialization of its local variables in sequentially nested scopes, i.e. it provides an order to the binding and v...
2005 Oct 03
2
access to R parse tree for Lisp-style macros?
R folks, I'm curious about possible support for Lisp-style macros in R. I'm aware of the "defmacro" support for S-Plus and R discussed here: http://www.biostat.wustl.edu/archives/html/s-news/2002-10/msg00064.html but that's really just a syntactic short-cut to the run-time use of substitute() and eval(), which you could manual...
2020 Mar 17
3
new bquote feature splice does not address a common LISP @ use case?
Dear R-devel, There is a new feature in R-devel, which explicitly refers to LISP @ operator for splicing. > The backquote function bquote() has a new argument splice to enable splicing a computed list of values into an expression, like ,@ in LISP's backquote. Although the most upvoted SO question asking for exactly LISP's @ functionality in R doesn't seems to b...
2007 Sep 06
3
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 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 functions? Chris Elsaesser, PhD...
2002 Aug 08
1
Lisp-stat and R? [was: Re: Status?]
John Fox (see below) raises important questions for the Lisp-stat community (and perhaps the R community) to consider. This message thread was not cross-posted to r-devel@lists.r-project.org, so I do so now. I have never been an active or particularly adept Lisp-stat programmer. But I have worked on or used several projects for which Lisp-stat seemed the...
2004 Oct 23
0
[LLVMdev] Re: Syn
>How is this different from the LISP and scheme macro system? The >program source is available to the programmer at both compile and >run-time and may be operated on arbitrarily (transforming code, adding >code, removing code, specializing code, making new "primitives", >modifying other macros, etc). There is a...
2015 Apr 01
0
Lispvirt: porting Libvirt API for Common Lisp
Hi everyone! I'm developing a Libvirt bindings for Common Lisp. The project is called "Lispvirt". I created this project because I was doing a project in Lisp to manage Virtual Machines. So, I needed to implement some code using C and set up Lisp to access those methods in C. This project was becoming a mess. The better scenario is using only Lisp. T...
2008 Feb 05
6
[LLVMdev] 2.2 garbage collector questions
Scott Michel <scottm <at> rushg.aero.org> writes: > Out of curiousity, for which CL implementation is this targeted? sbcl? > Or something you're rolling? I wanted to roll out my own lisp, and maybe use some library code from existing lisps (think of loop or format). Adding an LLVM backend to an existing lisp implementation is a nice idea, but currently not planned. > > The reason why I ask is that I expressed an outrageous opinion at > Supercomputing back in November, to...
2020 Mar 17
0
new bquote feature splice does not address a common LISP @ use case?
Hi Jan, In the lisp code you provide the operators are parsed as simple symbols in a pairlist. In the R snippet, they are parsed as left-associative binary operators of equal precedence. If you unquote a call in the right-hand side, you're artificially bypassing the left-associativity of these operators. To achie...
2018 Jan 18
1
reading lisp file in R
Thanks! I am trying to use it in R. (Actually, I try to give my students experiences with different kinds of files and I was wondering if there were tools available for such kinds of files. I don't know Lisp so I do not actually know what the lines towards the bottom of the file mean.( Many thanks for your response! Best wishes, Ranjan On Wed, 17 Jan 2018 20:59:48 -0800 David Winsemius <dwinsemius at comcast.net> wrote: > > > On Jan 17, 2018, at 8:22 PM, Ranjan Maitra <maitra at...
2023 Nov 10
1
Calling Emacs Lisp Code/Function from R
..., Iris Simmons wrote: > Hi, > > > I'm using R in Emacs and I'm interested in programatically knowing the > details of all opened buffers; details such a buffer name, size, mode, > and possibly associated filename. I've been able to write such a > function in Emacs Lisp, but now I'd like to be able to call that > function from R, or if that's not possible then calling it from C > would be fine. > > Does anyone know if this is possible? And if so, could you perhaps > direct me towards an existing R package or program that calls an Emacs >...
2023 Nov 10
1
Calling Emacs Lisp Code/Function from R
Hi, if you run a server in your Emacs session you can use emacsclient to send a lisp call to the server. There's an example here: https://emacs.stackexchange.com/questions/54156/how-can-i-query-emacs-from-a-separate-process/54161#54161 Regards, Martin Gregory On 11/10/23 11:18, Duncan Murdoch wrote: > I'm not an Emacs user, but the ESS-help mailing list (see > ess...
2023 Nov 10
1
Calling Emacs Lisp Code/Function from R
Hi, I'm using R in Emacs and I'm interested in programatically knowing the details of all opened buffers; details such a buffer name, size, mode, and possibly associated filename. I've been able to write such a function in Emacs Lisp, but now I'd like to be able to call that function from R, or if that's not possible then calling it from C would be fine. Does anyone know if this is possible? And if so, could you perhaps direct me towards an existing R package or program that calls an Emacs Lisp function from R that I c...
2018 Jan 18
0
reading lisp file in R
...WN (STATE MARYLAND) (LOCATION URBAN) (CONTROL PRIVATE) (NO-OF-STUDENTS THOUS:10-15) (MALE:FEMALE RATIO:45:55) .... Which dates it to 1988. Nice. Barry On Thu, Jan 18, 2018 at 9:20 AM, Peter Crowther <peter.crowther at melandra.com > wrote: > That's a nice example of why Lisp is both powerful and terrifying - you're > looking at a Lisp *program*, not just Lisp *data*, as Lisp makes no > distinction between the two. You just read 'em in. > > The two definitions at the bottom are function definitions. The top one > defines the def-instance functio...
2006 Oct 24
4
How to start R with a file loaded?
Hi! I've made great progress in my R programming, but I am again stuck on a beginner's problem. I would like to start R with a command line that loads a file, and if possible, executes a function. Can anyone give me an example of how to do this? For example, in lisp, I would say: $ lisp -load toto.lisp -eval '(do-something $PORT)' to load the file "toto.lisp", then evaluate the expression with the shell envt variable bound properly. I'd like to do this in R, but can't figure it out! Thanks, GF. [[alternative HTML version deleted...
2003 Jul 23
1
Question about malloc, mmap etc.
I'm trying to do a little system hacking on CMU Lisp. Currently CMU Lisp has a minimum of two files needed to execute. One is a program usually called "lisp" that the OS runs, which basically a loader for the other file, a lisp.core file that contains the actual lisp system. People have been asking for a way to make a "lisp executab...