Hello,

first, I am very sorry for not answering in a timely manner, the email address I used for the bug report stopped working without giving me any notice, and I thought reportbug had failed to submit a bug...

Looking at it again, I see of course that you are right -- there are now two
lines matching R_PAPERSIZE. But despite the bad text that is displayed, at
the substitution seems to work as I have

[EMAIL PROTECTED]:~> grep PAPER /etc/R/Renviron
## Default printer paper size: first record if user set R_PAPERSIZE
R_PAPERSIZE_USER=${R_PAPERSIZE}
R_PAPERSIZE=${R_PAPERSIZE-'letter'}
[EMAIL PROTECTED]:~> paperconf
letter
[EMAIL PROTECTED]:~>
which is the right value for me here.

Yes well, letter is the only papersize for which this used to work (no
substitution needed). I had configured a4, and I would get the same
result as yours (that is: letter).


After your patch (with 2.4.0.20061103-1), I am getting:
R_PAPERSIZE_USER='a4'
R_PAPERSIZE=${R_PAPERSIZE-'letter'}

This is not what I expected, I thought I was supposed to get:
R_PAPERSIZE_USER=${R_PAPERSIZE}
R_PAPERSIZE=${R_PAPERSIZE-'a4'}

I now have:
stedding ~ $ echo 'print(options("papersize"))' | R --slave
$papersize
[1] "a4"

stedding ~ $ export R_PAPERSIZE=letter stedding ~ $ echo 'print(options("papersize"))' | R --slave
$papersize
[1] "a4"
(should be letter I guess)


Thanks for your time, please add this new email address in Cc: to any answer,

--
Marc Glisse


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

Reply via email to