search for: lisps

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

Did you mean: lisp
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 functions in CRAN are far richer than Lisp-Stat currently has. I want to know if there is
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 foreign library but this seems to adjust data types not
2008 Dec 08
4
R and Scheme
...t some of the points below simply reflect my ignorance. ==Similarities to Scheme== R has first-class function closures. (i.e. correctly supports upward and downward funarg). R has a single namespace for functions and variables (Lisp-1). ==Important dissimilarities to Scheme (as opposed to other Lisps)== R is not properly tail-recursive. R does not have continuations or call-with-current-continuation or other mechanisms for implementing coroutines, general iterators, and the like. R supports keyword arguments. ==Similarities to Lisp and other dynamic languages, including Scheme== R is runti...
2008 May 07
0
Ross Ihaka's reflections on Common Lisp and R
...s not good for carrying out interactive data analysis. That requires a mindset better expressed by standard math notation. We do plan to make the syntax thin enough that it is possible to still work at the Lisp level. (I believe that the use of Lisp syntax was partially responsible for why XLispStat failed to gain a large user community). The payoff (we hope) will be much greater flexibility and a big boost in performance (we are working with SBCL so we gain from compilation). For some simple calculations we are seeing orders of magnitude increases in performance over R, and quite bi...
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 visibility of preceding variables.". I have included the recursive
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 manually put into a function yourself if you cared
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 be addressed by this
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 Principal Scientist, Machine Learning SPADAC Inc. 7921 Jones
2002 Aug 08
1
Lisp-stat and R? [was: Re: Status?]
...Mon, 5 Aug 2002, Bill Harris wrote: > >~~~I just used XLISP-STAT again today after a bit of an absence, and I >~~~thought I'd check to see what was new on the Web. While I don't need to >~~~see ongoing developments to find a tool useful, I was curious in that >~~~http://www.xlispstat.org/ and the UCLA site that Google returned both >~~~seemed offline. What is up with XLISP-STAT these days? >~~~ >~~~Bill >~~~-- >~~~Bill Harris 3217 102nd Place SE >~~~Facilitated Systems Everett, WA 98208 USA >~~~h...
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 reason for LISP's syntax, it >is so you can program
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. That's why I started to
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 wit, that CL is probably the best > language suit...
2020 Mar 17
0
new bquote feature splice does not address a common LISP @ use case?
...a vector. expr(foo(!!!quote(bar))) #> foo(bar) #> Warning message: #> Unquoting language objects with `!!!` is deprecated as of rlang 0.4.0. #> Please use `!!` instead. ``` We decided to disallow splicing scalars (and thus calls) in rlang even though this is a legal operation in many lisps. In lisps, the splicing operation stands for unquoting in the CDR of a pairlist. By contrast the unquote operation unquotes in the CAR. For example `(1 , at 3) is legal in Common Lisp and stands for the cons cell (1 . 3). I think such semantics are not appealing in a language like R because it is v...
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
2023 Nov 10
1
Calling Emacs Lisp Code/Function from R
I'm not an Emacs user, but the ESS-help mailing list (see ess.r-project.org) might be able to help with this. Duncan Murdoch On 10/11/2023 3:43 a.m., 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.
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 >
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
2018 Jan 18
0
reading lisp file in R
The file also has a bunch of email headers stuck in the middle of it: ..... (QUALITY-OF-LIFE SCALE:1-5 4) (ACADEMIC-EMPHASIS HEALTH-SCIENCE) ) ------- ------- >From LEBOWITZ at cs.columbia.edu Mon Feb 22 20:53:02 1988 Received: from zodiac by meridian (5.52/4.7) Received: from Jessica.Stanford.EDU by ads.com (5.58/1.9) id AA04539; Mon, 22 Feb 88 20:59:59 PST Received: from
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
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 executable" meaning putting everything into a