Re: [R] deparse - width.cutoff

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed 26 Jul 2006 - 02:10:24 EST

On Mon, 24 Jul 2006, johan Faux wrote:

>
> I have a question about "deparse" function in R
> What is the reason that "deparse" use an argument like "width.cutoff" ?
> Why the maximum cutoff is 500?
> I was manipulating an R formula and used "deparse". Since the length of user's formula was greater then 500, my code didnt work.

Why do you want this all on one line? deparse does work, just produces multiple lines if the output exceeeds the cutoff.

If you do want it, paste the lines together, as e.g. aov() does.

>
> thanks
> Johan
>
> johan Faux <johanfaux@yahoo.com> wrote: I have a question about "deparse" function in R
> What is the reason that "deparse" use an argument like "width.cutoff" ?
> Why the maximum cutoff is 500?
> I was manipulating an R formula and used "deparse". Since the length of user's formula was greater then 500, my code didnt work.
>
> thanks
> Johan
>
>
>
>
> ---------------------------------
>
>
>
> ---------------------------------
> See the all-new, redesigned Yahoo.com. Check it out.
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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.
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@stat.math.ethz.ch 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.
Received on Wed Jul 26 03:24:35 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 26 Jul 2006 - 04:23:38 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.