Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-17 Thread Søren Højsgaard
On my homepage, http://genetics.agrsci.dk/~sorenh/misc/ there is now a small yacasR package (runs on windows only). Feel free to comment - or laugh! Søren Fra: [EMAIL PROTECTED] på vegne af Gabor Grothendieck Sendt: sø 17-07-2005 21:15 Til: Ayal Pinkus Cc: R-deve

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-17 Thread Peter Dalgaard
Ayal Pinkus <[EMAIL PROTECTED]> writes: > Hi, > > > > > R builds fine under Windows (though you need to pay attention to > > the details > > which are in the (binary) distribution in the pdf files, in > > particular: `R > > Installation and Administration Manual', a html copy is also on the

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-17 Thread Ayal Pinkus
Hi, sorry, I should have given the link below. You can get the latest version of Yacas from: http://sourceforge.net/cvs/?group_id=2528 I just checked in the change to the API. Best wishes, Ayal __ R-devel@r-project.org mailing list https://stat

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-17 Thread Ayal Pinkus
I took the liberty of already adding the API to compose Yacas expression trees, executing them, and pulling them apart. This is just a preliminary stab at it, we can change it of course (removing void* for something else say). It was relatively little work. You can get it from our cvs tree

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-17 Thread Ayal Pinkus
> where they are listed down the left hand side of the page. JGR, > and possibly > several others on the list, are written in Java. R can also be > accessed > directly online at: > http://www.math.montana.edu/Rweb/ > and other sites. > And as of a week ago or so Yacas can also be accesse

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-17 Thread Rob J Goedman
Hi, Maybe sending an R expression and getting an R expression back for a 'suitable subset' of expressions is ok initially. Suitable could cover 3 levels: 1) Mapping of names and standard functions, e.g. pi to Pi and sin(x) to Sin(x) etc. 2) It would be nice if we can use threading of funct

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-17 Thread Gabor Grothendieck
On 7/17/05, Dirk Eddelbuettel <[EMAIL PROTECTED]> wrote: > > On 17 July 2005 at 20:55, Ayal Pinkus wrote: > | > R builds fine under Windows (though you need to pay attention to > [...] > | Ok. Unfortunately I work on a Mac OS X at home (I have access to > | Windows, MS DevStudio > > Why didn't yo

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-17 Thread Gabor Grothendieck
On 7/17/05, Ayal Pinkus <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > R builds fine under Windows (though you need to pay attention to > > the details > > which are in the (binary) distribution in the pdf files, in > > particular: `R > > Installation and Administration Manual', a html copy is a

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-17 Thread Dirk Eddelbuettel
On 17 July 2005 at 20:55, Ayal Pinkus wrote: | > R builds fine under Windows (though you need to pay attention to [...] | Ok. Unfortunately I work on a Mac OS X at home (I have access to | Windows, MS DevStudio Why didn't you say so earlier? :) I don't do Mac OS X, so can't help. There is a

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-17 Thread Ayal Pinkus
Hi, > > R builds fine under Windows (though you need to pay attention to > the details > which are in the (binary) distribution in the pdf files, in > particular: `R > Installation and Administration Manual', a html copy is also on the > website; > and the README* and INSTALL files in src/

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-17 Thread Ayal Pinkus
Hi, > > This looks promising. Thanks for starting it off > and being so enthusiastic. > It does sound like a fun thing, and I think this will be very little work for me. > Taking a look at the APIs for Perl, Python, R, Tcl, Java, etc. > would also be good. One thing that all of these provide

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-17 Thread Dirk Eddelbuettel
On 17 July 2005 at 17:29, Ayal Pinkus wrote: | Do you have cvs, and the possibility to compile under Windows? Yes on both counts, though CVS got replaced by SVN. R builds fine under Windows (though you need to pay attention to the details which are in the (binary) distribution in the pdf files,

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-17 Thread Søren Højsgaard
Sounds really nice... Due to a not-so-particularly-nice summer weather in Denmark, I have started writing a little package called 'yacasR' which communicates with Yacas through a socketConnection (on windows, I don't know how general this communication method is??). I'll try to 'polish' the pack

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-17 Thread Ayal Pinkus
I forgot one API call, getting a potential error caused through evaluating the object. And I forgot one argument needed for evaluating, the pointer to the environment. Ayal On Jul 17, 2005, at 5:29 PM, Ayal Pinkus wrote: > > Hi, > > >> >> The thing that I wonder is whether it would be possi

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-17 Thread Ayal Pinkus
Hi, > > The thing that I wonder is whether it would be possible to embed Yacas > at a lower level than via the parser. E.g. the Tcl embedding has > Tcl_EvalObjEx() and friends, which operate on preparsed Tcl objects. > Using this instead of Tcl_Eval() gives some efficiency gain, but more > import

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-17 Thread Peter Dalgaard
Ayal Pinkus <[EMAIL PROTECTED]> writes: > Hi, > I am the maintainer of Yacas. I decided to join this mailing list > after having heard that > the option of linking R to Yacas was being discussed. Please don't > hesitate to ask > if you have questions, I will try to find the time to help. > Aya

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-17 Thread Ayal Pinkus
Hi, I am the maintainer of Yacas. I decided to join this mailing list after having heard that the option of linking R to Yacas was being discussed. Please don't hesitate to ask if you have questions, I will try to find the time to help. Ayal On Jul 17, 2005, at 8:11 AM, simon blomberg wrote