[R] To package or not to package?

Greg Snow Greg.Snow at imail.org
Tue Aug 19 17:59:14 CEST 2008


Not a full function to do this, but one of the examples for the clipplot function in the TeachingDemos package shows one way to do something similar to what you describe.

--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
(801) 408-8111



> -----Original Message-----
> From: r-help-bounces at r-project.org
> [mailto:r-help-bounces at r-project.org] On Behalf Of Carl Witthoft
> Sent: Saturday, August 16, 2008 11:54 AM
> To: r-help at r-project.org
> Subject: [R] To package or not to package?
>
> I'd like a little advice as to when it's appropriate to
> create an R-package and submit it, as opposed to just
> providing the source to some simple code.
> In this case, I've written a function that draws a line plot
> (with options for points, etc) where the color of the line
> changes at specified values of the y-data (e.g., it's one
> color below -10, another color between -10 and -5, etc).
> It's pretty clean, and has a few error-checks,
> self-correctors, etc., so I would be happy to provide it to
> the community as a whole.
> So, is this worthy of a package, or should I just post the
> function code (well commented)?
> Or is this feature available deep inside some graphing
> package I haven't found yet? :-(
>
> thanks for all advice.
> Carl
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list