Re: [R] translating IDL to R

2012-07-25 Thread R. Michael Weylandt
On Tue, Jul 24, 2012 at 9:31 PM, Tom Roche wrote: > > summary: I believe I have ported the GFED IDL example routines to R > (following .sig to end of post). But there are some very "loose ends," > notably 2 for-loops which need replaced by more R-ful code. > > details: > > Tom Roche Mon, 23 Jul 20

Re: [R] translating IDL to R

2012-07-24 Thread Tom Roche
summary: I believe I have ported the GFED IDL example routines to R (following .sig to end of post). But there are some very "loose ends," notably 2 for-loops which need replaced by more R-ful code. details: Tom Roche Mon, 23 Jul 2012 21:59:54 -0400 > [The GFED] example IDL code [from > ftp://g

[R] translating IDL to R

2012-07-23 Thread Tom Roche
https://stat.ethz.ch/pipermail/r-help/2012-July/319255.html >> I would appreciate >> * guidance regarding translation of IDL routines to R, generally >> * assistance translating two IDL routines to R, specifically https://stat.ethz.ch/pipermail/r-help/2012-July/319256.html > You could do a more

Re: [R] translating IDL to R

2012-07-23 Thread Michael Sumner
R can do all this, but you'll need to get into specifics a little more. Most of your code is covered by R's ?read.table, ?data.frame, ?array, ?file and ?Extract. See the ncdf (or ncdf4 or RNetCDF) package for examples that will look quite similar to the IDL code that opens a NetCDF file. You coul

[R] translating IDL to R

2012-07-23 Thread Tom Roche
I would appreciate * guidance regarding translation of IDL routines to R, generally * assistance translating two IDL routines to R, specifically Why I ask: I'm slowly learning how to do atmospheric modeling. One language that has been been popular in this space is IDL http://en.wikipedia.org/w