Skip to content

Conversions From standard to metric units

11 messages · stephen sefick, Baptiste Auguie, Rolf Turner +6 more

#
I am starting to use R for almost any sort of calculation that I need.
 I am a biologist that works in the states, and there is often a need
to convert from standard units to metric units.  Is there a package in
R for this already?  If not I believe that I am going to write some of
the most often used in function form.  My question is should I include
this in my StreamMetabolism package.  It is not along the same theme
lines, but could loosely fit.  The reason that I ask is that I don't
want to clutter CRAN with a small package containing some conversion
functions because I am to lazy to source them into R every time that I
use them, but I also don't want the StreamMetabolism package to turn
into StephenMisc Fuctions.  Thoughts, comments, or suggestions would
be appreciated.
#
stephen sefick wrote:
RSiteSearch turns up the MedUnits package; maybe your conversions are 
already there, or would fit within that package.

Duncan Murdoch
#
I had a similar need for conversions in optics. I put together several  
functions and data on r-forge, where it does not clutter CRAN but can  
still be shared conveniently with others.


baptiste
On 3 Apr 2009, at 19:27, Duncan Murdoch wrote:

            
_____________________________

Baptiste Augui?

School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK

Phone: +44 1392 264187

http://newton.ex.ac.uk/research/emag
#
Le vendredi 03 avril 2009 ? 14:17 -0400, stephen sefick a ?crit :
<rant>

US/Imperial units are *not* standard units. The former "metric system"
is now called "Syst?me International" (International System) for a
reason, which is *not* gallocentrism of a "few" 6e7 frogs, but rather
laziness of about 5.6e9 losers who refuse to load their memories with
meaningless conversion factors...

</rant>

					Emmanuel Charpentier
					who has served his time with
					pounds per cubic feet, furlongs
					per fortnight, BTU and other
					figments of British/American
					sadistic imagination, thank you
					very much...

</rant> # Again, didn't work the first time...
#
On 4/04/2009, at 10:37 AM, Emmanuel Charpentier wrote:

            
<snip>

Right on, Red Freak!!!

	cheers,

		Rolf
######################################################################
Attention: 
This e-mail message is privileged and confidential. If you are not the 
intended recipient please delete the message and notify the sender. 
Any views or opinions presented are solely those of the author.

This e-mail has been scanned and cleared by MailMarshal 
www.marshalsoftware.com
######################################################################
#
On 03/04/2009 5:37 PM, Emmanuel Charpentier wrote:
But they are fun:  you should see the arguments you can have about 
whether imperial fluid ounces are the same volume as US fluid ounces. 
(They're not: US ounces are bigger.  But not big enough so that their 
gallons catch up!)

Duncan Murdoch


The former "metric system"
#
For science yes. For pleasure I'll still take a pint instead of 570ml!

Murray

----- Original Message ----- 
From: "Rolf Turner" <r.turner at auckland.ac.nz>
To: "Emmanuel Charpentier" <charpent at bacbuc.dyndns.org>
Cc: <r-help at stat.math.ethz.ch>
Sent: Friday, April 03, 2009 6:18 PM
Subject: Re: [R] [OT ?] rant (was : Re: Conversions From standard to 
metricunits)
On 4/04/2009, at 10:37 AM, Emmanuel Charpentier wrote:

            
<snip>

Right on, Red Freak!!!

cheers,

Rolf
######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:15}}
#
G'day Murray,

On Fri, 3 Apr 2009 20:01:30 -0400
"Murray Cooper" <myrmail at earthlink.net> wrote:

            
And you might experience a disappointment then if you order it in the
US where the pint is apparently 450ml; at least, I won several bets
on whether a pint is less or more than half a litre against American
visitors....  The stake being, of course, the next round of drinks. :)

And, if memory serves correctly, here in Singapore I once ordered a
pint of draught beer and was served half a litre...  Confused me
completely...  That's when I thought that the metric system is so much
safer until I ordered my next beer, according to the menu a bottled
beer of 400ml, it came in a 333ml bottle...  

Cheers,

	Berwin

=========================== Full address =============================
Berwin A Turlach                            Tel.: +65 6515 4416 (secr)
Dept of Statistics and Applied Probability        +65 6515 6650 (self)
Faculty of Science                          FAX : +65 6872 3919       
National University of Singapore
6 Science Drive 2, Blk S16, Level 7          e-mail: statba at nus.edu.sg
Singapore 117546                    http://www.stat.nus.edu.sg/~statba
#
Le vendredi 03 avril 2009 ? 20:01 -0400, Murray Cooper a ?crit :
<Snip>

Yes, but do you realize that you'll have to pee in fl. oz ? Aieeeee ...

					Emmanuel Charpentier
1 day later
#
On Fri, 03-Apr-2009 at 07:48PM -0400, Duncan Murdoch wrote:

            
Hence the word "standard". :-)

  
    
2 days later
#
At 00:48 04/04/2009, Duncan Murdoch wrote:
Even late in the day I cannot resist sharing the 
astonishment of a colleague from the United 
States when I told him I had been taught as a child the rhyme
A pint of pure water
Weighs a pound and a quarter

whereas he had been taught
A pint's a pound
The world around
Michael Dewey
http://www.aghmed.fsnet.co.uk