[Rd] default par

From: Berry Boessenkool <berryboessenkool_at_hotmail.com>
Date: Fri, 22 Jul 2011 15:47:29 +0200

Hello dear R-developers,

two questions on an otherwise magnificent program:

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.

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 Boessenkool
University of Potsdam, Germany

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat 23 Jul 2011 - 08:27:37 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 26 Jul 2011 - 22:20:14 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive