Displaying 2 results from an estimated 2 matches for "plotreset".
Did you mean:
hotreset
2007 Sep 27
3
testing the contents of an environment
Suppose I want to delete everything in my working directory that is not
a function. It seems that
sapply(ls(),is.function)
always returns FALSE, because ls() returns objects of mode character.
How do I evaluate is.function(), not on a character string, but on the
object that character string represents?
Thanks,
Tim
2008 Jul 13
2
any way to set defaults for par?
I know how to set graphic parameters by calling par(), but what I'd like
is a way to set the default values so that subsequent calls to par() use
my defaults. The reason to want this is that every time I create a new
graphic window (I'm using quartz on OSX, and so far no answers in the
Mac mailing list), my parameters get reset to the builtin defaults.
I read about the