Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: idl and R
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 4 Topic 5598 of 6258
Post > Topic >>

Re: idl and R

by "George N. White III" <aa056@[EMAIL PROTECTED] > Apr 5, 2008 at 04:19 PM

On Fri, 4 Apr 2008, rlayberry@[EMAIL PROTECTED]
 wrote:

> Does anybody have a summary of the major differences between R and
> idl?  I have been using idl for years and have never used R.  I
> understand R is statistics orientated, but does it do anything that
> idl can't or does it do it better?

I use both IDL and R.  The biggest advantage of R in my work is that
it provides NA values that are distinct from NaN.  Most operations
have an na.rm option, e.g.

mean(c(1,2,3,NA),na.rm=FALSE) returns NA, but
mean(c(1,2,3,NA),na.rm=TRUE) returns 2

I've never been a fan of overloading NaN as a missing data value:
a) it can't be applied to integer data, b) there are times when
you need to know the difference between a computational error
and missing inputs.  I've spent way to much of my life coding tests for
missing value flags, so I really appreciate a language that properly
sup****ts NA values.

R has very solid plotting capabilities, but tends to bog down
when working with images.  R (like Matlab, unlike IDL) tends to
coerce everything to doubles for calculations, but (unlike Matlab and
IDL) checks for NA add significant overhead for big calculations.

R is an implementation of the S-plus language.  It has a large, active
user community.  R is widely available and has a nice system to manage
packages (which are generally provided as binaries on Windows, sources
on *X).

In my work I often use IDL to extract data (e.g, time-series) from remote 
sensing images and then use R to analyse the resulting data sets.

-- 
George N. White III  <aa056@[EMAIL PROTECTED]
>
 




 4 Posts in Topic:
idl and R
rlayberry@[EMAIL PROTECTE  2008-04-04 02:26:28 
Re: idl and R
"ben.bighair" &  2008-04-04 07:58:47 
Re: idl and R
"George N. White III  2008-04-05 16:19:39 
Re: idl and R
rlayberry@[EMAIL PROTECTE  2008-04-07 03:25:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 8:39:28 CDT 2008.