From berryboessenkool at hotmail.com  Fri Jul 22 15:47:29 2011
From: berryboessenkool at hotmail.com (Berry Boessenkool)
Date: Fri, 22 Jul 2011 15:47:29 +0200
Subject: [Rd] default par
Message-ID: <BAY149-W36D4791B652A1054D0570DD54E0@phx.gbl>



Hello dear R-developers,

two questions on an otherwise magnificent program:

1)
Is there a way to set defaults for par differently than R offers normally?
I for example would like to have las default to 1. (or in the same style, sometimes type in plot() could be "l" per default).

Tthe following post desribes pretty much exactly that:
https://stat.ethz.ch/pipermail/r-help/2007-March/126646.html
It was written four years ago, but it seems like there has been no real elegant solution.
Did I just miss something there? If so, could someone give me an update?
If not, is there a chance that such a feature? would be added to future R-versions?
I could live with the idea to assign the par$element default in Rprofile.site.

2)
Would it appear sensible to have R give a warning, when points() is used, and some/all values are out of plotting range in the active device?
It has happened some times that I needed quite a bit of time to figure out why nothing was plotted.
Such a warning (or maybe even a beep?) would give users the clue to look at the values right away...
(What I mean is this: ?? plot(1:10)? ; points(11,3)??? just in case it's unclear)


Thanks ahead for pondering, and again: R ist the most beautiful thing I discovered in the last three years.
Keep up the good work!

Berry

-------------------------------------
Berry Boessenkool
University of Potsdam, Germany
-------------------------------------
 		 	   		  


[Rd] default par
Berry Boessenkool