[R] deparse - width.cutoff

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Jul 25 18:10:24 CEST 2006


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 at 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 at 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 at 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



More information about the R-help mailing list