On Wed, 15 Nov 2006, Dirk Eddelbuettel wrote:

| you should set LANG to en_US if you expect american defaults).
I didn't need it so far and everything just works.

and no LC_MEASUREMENT means you will get litre instead of gallon and metre instead of inch or foot. And no LC_CTYPE means you can't have accents in the terminals.

One choice I see is to change /etc/R/Renviron to

        [EMAIL PROTECTED]:~> grep PAPERSIZE /etc/R/Renviron
        ## Default printer paper size: first record if user set R_PAPERSIZE
        R_PAPERSIZE_USER=${R_PAPERSIZE_USER-'letter'}
        R_PAPERSIZE=${R_PAPERSIZE-'letter'}
where the first 'letter' is filled in at configuration time. That way it is
still overrideable:

Why not R_PAPERSIZE_USER=${R_PAPERSIZE-'letter'}
? ('letter' is also filled in at configuration time here)
This way the user can set R_PAPERSIZE instead of R_PAPERSIZE_USER to override the setting, which is closer to the upstream documented behavior.

Is that ok by you?

Your solution is ok, my solution is ok, doing nothing is ok.

--
Marc Glisse


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to