[R] par(uin)

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Wed, 27 Oct 1999 11:36:05 +0200 (MET DST)


Thank you Bendix, 
{I hope it's okay if I CC my answer to your private mail to R-devel ..}

>>>>> On Wed, 27 Oct 1999 08:55:28 +0200, BXC@novo.dk (Bendix Carstensen) said:

    >> -----Original Message----- 
    >> From: Martin Maechler [mailto:maechler@stat.math.ethz.ch]
    >>  Sent: 25. oktober 1999 14:58 To:Gregory R. Warnes 
    >> Cc: R-help@stat.math.ethz.ch Subject: Re: [R]

    MM> par(uin)

    Bendix> (deleted)

    MM> BTW: "uin" gives ``inches per usr unit'' (not the reverse as you
    MM> suggest).
    MM> 
    MM> Should `R' provide "uin" (as read-only) par() ?

RFC:  Should we have it? or is it unnecessary featurism ?

    Bendix> Yes, but call it "ipu" if it returns inches per unit!


No, not "ipu" for two reasons:

1) 
   np <- names(par()); np[substring(np,2,3)=="in"]

currently gives

   [1] "cin" "din" "fin" "pin"

   (and S-plus has "uin" additionally)

And all of these give  
    ``<something> in inches''

For "uin" these would be

    ``user units in inches''
which *is* the same as
    ``inches per usr unit'' 

2) S compatibility..

 We don't want 100% S-compatibility in par() treatment,  
 {not repeating problematic behavior},
 but for things like this,  compatibility is an issue.


Martin Maechler <maechler@stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO D10	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._