On 16 November 2006 at 11:54, Marc Glisse wrote:
| 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.

Oh all I need is isolatin1 in emacs and latex ...
| 
| > 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.

Yup, you're right. The pristing upstream is 

## Default printer paper size: first record if user set R_PAPERSIZE
R_PAPERSIZE_USER=${R_PAPERSIZE}
R_PAPERSIZE=${R_PAPERSIZE-'@R_PAPERSIZE@'}

so we'd simply add a system default.
 
| > Is that ok by you?
| 
| Your solution is ok, my solution is ok, doing nothing is ok.

:)

Thanks for all your help in disecting this.

Cheers, Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison


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

Reply via email to