See if the examples in

demo(Ryacas)

are what you want (after installing and loading the package).  See:

http://ryacas.googlecode.com

On Nov 28, 2007 10:06 PM,  <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to ask a question about expression for object.
> In the example parts, I saw
>  trig.exp <- expression(sin(cos(x + y^2)))
>  D(trig.exp, c("x", "y"))
>
> Now, I want to define a complex function in "expression", for example,
> f1(x)=...
>         f2(y)=..
>         final f=f2(f1(x)+4)
>
> may I define such expression with many statements?
> thanks.
>
> regards,
> wei
>
>
> --
> Wei Guo
> Department of Statistics
> The Ohio State University
> Columbus, Ohio 43210
> Tel: 001-614-292-4713(o)
> e-mail: [EMAIL PROTECTED]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
  • [R] help!!! guowei
    • Re: [R] help!!! Gabor Grothendieck

Reply via email to