Quantcast

Convert Package Interest?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Convert Package Interest?

stephen sefick-2
I am thinking about submitting a package to CRAN that contains some
units conversion functions that I use on a regular basis.  Would this be
helpful to the community, or would it be better to keep this as a
personal package?  I don't want to clutter CRAN.
many thanks,

--
Stephen Sefick
**************************************************
Auburn University
Biological Sciences
331 Funchess Hall
Auburn, Alabama
36849
**************************************************
[hidden email]
http://www.auburn.edu/~sas0025
**************************************************

Let's not spend our time and resources thinking about things that are so little or so large that all they really do for us is puff us up and make us feel like gods.  We are mammals, and have not exhausted the annoying little problems of being mammals.

                                 -K. Mullis

"A big computer, a complex algorithm and a long time does not equal science."

                               -Robert Gentleman

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Convert Package Interest?

Gabor Grothendieck
On Mon, Jul 23, 2012 at 8:12 PM, Stephen Sefick <[hidden email]> wrote:
> I am thinking about submitting a package to CRAN that contains some units
> conversion functions that I use on a regular basis.  Would this be helpful
> to the community, or would it be better to keep this as a personal package?
> I don't want to clutter CRAN.
> many thanks,
>

You might want to check out the udunits2 package on CRAN.

> library(udunits2)
> ud.convert(1, "miles", "km")
[1] 1.609344


--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Convert Package Interest?

Spencer Graves-2
If you haven't already, you might try "findFn" in the sos package to
look for other functions that do things similar to what your functions
do.  If your package offers some functionality not present in other
packages, I'd encourage you to submit it to CRAN.  Again, if you haven't
already done this, you might wish to add links to functions in other
packages that do similar but different things.  Spencer


On 7/23/2012 5:25 PM, Gabor Grothendieck wrote:

> On Mon, Jul 23, 2012 at 8:12 PM, Stephen Sefick <[hidden email]> wrote:
>> I am thinking about submitting a package to CRAN that contains some units
>> conversion functions that I use on a regular basis.  Would this be helpful
>> to the community, or would it be better to keep this as a personal package?
>> I don't want to clutter CRAN.
>> many thanks,
>>
> You might want to check out the udunits2 package on CRAN.
>
>> library(udunits2)
>> ud.convert(1, "miles", "km")
> [1] 1.609344
>


--
Spencer Graves, PE, PhD
President and Chief Technology Officer
Structure Inspection and Monitoring, Inc.
751 Emerson Ct.
San José, CA 95126
ph:  408-655-4567
web:  www.structuremonitoring.com

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Convert Package Interest?

Rolf Turner-3
In reply to this post by stephen sefick-2
On 24/07/12 12:12, Stephen Sefick wrote:
> I am thinking about submitting a package to CRAN that contains some
> units conversion functions that I use on a regular basis.  Would this
> be helpful to the community, or would it be better to keep this as a
> personal package?  I don't want to clutter CRAN.

Why not?  Everybody else does! :-)

     cheers,

         Rolf Turner

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Convert Package Interest?

David Winsemius
In reply to this post by Spencer Graves-2

On Jul 23, 2012, at 5:38 PM, Spencer Graves wrote:

> If you haven't already, you might try "findFn" in the sos package to  
> look for other functions that do things similar to what your  
> functions do.  If your package offers some functionality not present  
> in other packages, I'd encourage you to submit it to CRAN.  Again,  
> if you haven't already done this, you might wish to add links to  
> functions in other packages that do similar but different things.  
> Spencer
>

Do follow Spencer's excellent advice, and many thanks to him for the  
very useful sos::findFn. You might also look at StackOverflow where I  
can remember replying to a similar question (as it turns out, about a  
year ago).

http://stackoverflow.com/questions/7214781/converting-units-in-r

>
> On 7/23/2012 5:25 PM, Gabor Grothendieck wrote:
>> On Mon, Jul 23, 2012 at 8:12 PM, Stephen Sefick  
>> <[hidden email]> wrote:
>>> I am thinking about submitting a package to CRAN that contains  
>>> some units
>>> conversion functions that I use on a regular basis.  Would this be  
>>> helpful
>>> to the community, or would it be better to keep this as a personal  
>>> package?
>>> I don't want to clutter CRAN.
>>> many thanks,

I think it would be quite useful to round up the various units efforts  
and have them in a centrally package "location".


>>>
>> You might want to check out the udunits2 package on CRAN.

Thank you, Gabor. That package also requires installing an OS specific  
program, also named "udunits2", for which the "udunits2" R-package  
serves as a front-end. It appears to be primarily physical units.


>>> library(udunits2)
>>> ud.convert(1, "miles", "km")
>> [1] 1.609344
>
> --
> Spencer Graves, PE, PhD
> President and Chief Technology Officer
> Structure Inspection and Monitoring, Inc.
> 751 Emerson Ct.
> San José, CA 95126
> ph:  408-655-4567
> web:  www.structuremonitoring.com



David Winsemius, MD
Alameda, CA, USA

______________________________________________
[hidden email] 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.
Loading...