[R] setting tabstop
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Dec 30 09:04:11 CET 2004
On Thu, 30 Dec 2004, [iso-8859-1] Søren Merser wrote:
> you are quite right, i didn't read the source - only sought through the
> documentation - since i would like to change tabsize from within a function
> i'm printing a table aligning entries with tabs
> the output is messed up if the maximum number of characters ina matrix of
> strings is to big, i.e. >8
> it might not be the wrong trail, so perhaps i have to use formatC somehow
Indeed, setting the tabstop is not a way to format output temporarily: it
applies to a session at least.
> regards soren
>
> ----- Original Message ----- From: "Prof Brian Ripley"
> <ripley at stats.ox.ac.uk>
> To: "Søren Merser" <merser at image.dk>
> Cc: "R - help" <r-help at stat.math.ethz.ch>
> Sent: Thursday, December 30, 2004 12:34 AM
> Subject: Re: [R] setting tabstop
>
>
> On Wed, 29 Dec 2004, [iso-8859-1] Søren Merser wrote:
>
>> is it possible to change tabstop (default 8) in the GUI ?
>>
>> regards soren
>>
>> i'm using
>> winxp sp2
>> R ver. 2.0.1
>
> Yes, it is possible. Why would you want to do so?
>
> Since you are asking, you presumably haven't explored the source code.
> Hint: what do you think TABSIZE might do?
>
> --
> 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
>
>
>
--
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