Re: [R] Inefficiency of SAS Programming

2009-03-04 Thread Millo Giovanni
2009 08:44:51 +1300 From: Rolf Turner r.tur...@auckland.ac.nz Subject: Re: [R] Inefficiency of SAS Programming To: Ajay ohri ohri2...@gmail.com Cc: r-help-boun...@r-project.org r-help-boun...@r-project.org, Gerard M. Keogh gmke...@justice.ie, list r-h...@stat.math.ethz.ch, R, Greg Snow

Re: [R] Inefficiency of SAS Programming

2009-03-03 Thread Gerard M. Keogh
...@r-project.org, R list r-h...@stat.math.ethz.ch Subject Re: [R] Inefficiency of SAS Programming

Re: [R] Inefficiency of SAS Programming

2009-03-03 Thread Jim Lemon
Ajay ohri wrote: for an inefficient language , it sure has dominated the predictive analytics world for 3 plus decades. I referred once to intellectual jealousy between newton and liebnitz. i am going ahead and creating the R package called Anne. If you want to market this, Ajay, I'd

Re: [R] Inefficiency of SAS Programming

2009-03-03 Thread Ajay ohri
...@r-project.org Subject: Re: [R] Inefficiency of SAS Programming Yes Greg, but if you're buying SAS they'll throw in IML pretty cheaply - SAS think it's only for a few nerds out there who wan to do funny stuff. G Greg Snow greg.s...@imail

Re: [R] Inefficiency of SAS Programming

2009-03-03 Thread Ajay ohri
no market for R packages exists in true economic sense as there is demand and supply and utility but no price Ajay Did Tom Sawyer create the first collaborative project ever ( to paint the fence ?) On Tue, Mar 3, 2009 at 4:24 PM, Jim Lemon j...@bitwrit.com.au wrote: Ajay ohri wrote: for

Re: [R] Inefficiency of SAS Programming

2009-03-03 Thread Barry Rowlingson
2009/3/3 Jim Lemon j...@bitwrit.com.au: Ajay ohri wrote: for an inefficient language , it sure has dominated the predictive analytics world for 3 plus decades. I referred once to intellectual jealousy between newton and liebnitz. i am going ahead and creating the R package called Anne.

Re: [R] Inefficiency of SAS Programming

2009-03-03 Thread Frank E Harrell Jr
Harrell Jr; R list; r-help-boun...@r-project.org Subject: Re: [R] Inefficiency of SAS Programming Yes Greg, but if you're buying SAS they'll throw in IML pretty cheaply - SAS think it's only for a few nerds out there who wan to do funny stuff. G Greg Snow greg.s

Re: [R] Inefficiency of SAS Programming

2009-03-03 Thread Girish A.R.
On Mar 3, 9:58 am, Ajay ohri ohri2...@gmail.com wrote: for an inefficient language , it sure has dominated the predictive analytics world for 3 plus decades. I referred once to intellectual jealousy between newton and liebnitz. i am going ahead and creating the R package called Anne. It

Re: [R] Inefficiency of SAS Programming

2009-03-03 Thread Ajay ohri
...@r-project.org, R list r-h...@stat.math.ethz.ch Subject Re: [R] Inefficiency of SAS Programming But SAS/IML is not part of base SAS, it costs extra, so

Re: [R] Inefficiency of SAS Programming

2009-03-03 Thread Frank E Harrell Jr
mailto:r-help-boun...@r-project.org Subject: Re: [R] Inefficiency of SAS Programming Yes Greg, but if you're buying SAS they'll throw in IML pretty cheaply - SAS think it's only for a few nerds out

Re: [R] Inefficiency of SAS Programming

2009-03-03 Thread Rolf Turner
On 3/03/2009, at 5:58 PM, Ajay ohri wrote: for an inefficient language , it sure has dominated the predictive analytics world for 3 plus decades. I referred once to intellectual jealousy between newton and liebnitz. i am going ahead and creating the R package called Anne. It basically is

Re: [R] Inefficiency of SAS Programming

2009-03-02 Thread Gerard M. Keogh
Subject: Re: [R] Inefficiency of SAS Programming Yes Frank, I accept your point but nevertheless IML is the proper place for matrix work in SAS - mixing macro-level logic and computation is another question - R is certainly more seemless in this respect. Gerard Frank E

Re: [R] Inefficiency of SAS Programming

2009-03-02 Thread Thomas Levine
R depends on all of those things to run, but you only have to use those programs through R. The software depends on these other tools, but the human doesn't have to switch interfaces. Tom! On Fri, Feb 27, 2009 at 9:22 PM, Gabor Grothendieck ggrothendi...@gmail.com wrote: On Fri, Feb 27, 2009

Re: [R] Inefficiency of SAS Programming

2009-03-02 Thread Duncan Murdoch
On 3/2/2009 6:57 AM, Thomas Levine wrote: R depends on all of those things to run, but you only have to use those programs through R. The software depends on these other tools, but the human doesn't have to switch interfaces. In fact, it doesn't even depend on them to run. Most Windows users

Re: [R] Inefficiency of SAS Programming

2009-03-02 Thread Gabor Grothendieck
If you want to write Sweave reports you have to learn latex and R does not hide that from you. This situation is somewhat better for tcltk, especially if you use one of the higher level wrapper packages that use it, but for serious work directly with it you need tcl/tk materials. On Mon, Mar 2,

Re: [R] Inefficiency of SAS Programming

2009-03-02 Thread Greg Snow
...@justice.ie] Sent: Monday, March 02, 2009 3:22 AM To: Greg Snow Cc: Frank E Harrell Jr; R list; r-help-boun...@r-project.org Subject: Re: [R] Inefficiency of SAS Programming Yes Greg, but if you're buying SAS they'll throw in IML pretty cheaply - SAS think it's only for a few nerds out

Re: [R] Inefficiency of SAS Programming

2009-03-02 Thread Ajay ohri
: Gerard M. Keogh [mailto:gmke...@justice.ie] Sent: Monday, March 02, 2009 3:22 AM To: Greg Snow Cc: Frank E Harrell Jr; R list; r-help-boun...@r-project.org Subject: Re: [R] Inefficiency of SAS Programming Yes Greg, but if you're buying SAS they'll throw in IML pretty cheaply - SAS

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Gerard M. Keogh
by: cc r-help-boun...@r- project.org Subject [R] Inefficiency of SAS Programming

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Ajay ohri
I would like to know if we can create a package in which r functions are renamed closer to sas language.doing so will help people familiar to SAS to straight away take to R for their work,thus decreasing the threshold for acceptance - and then get into deeper understanding later. since it is a

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Barry Rowlingson
2009/2/27 Peter Dalgaard p.dalga...@biostat.ku.dk: Presumably, something like     IF N. =  1 THEN SUB_N = 1;     ELSE IF N. 5 THEN SUB_N = N.-1;     ELSE IF N. 16 THEN SUB_N = N.-2;     ELSE SUB_N = N.-3; would work, provided that 2, 5, 16 are impossible values. Problem is that it

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Frank E Harrell Jr
Wensui Liu wrote: Thanks for pointing me to the SAS code, Dr Harrell After reading codes, I have to say that the inefficiency is not related to SAS language itself but the SAS programmer. An experienced SAS programmer won't use much of hard-coding, very adhoc and difficult to maintain. I agree

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Frank E Harrell Jr
Ajay ohri wrote: Sometimes for the sake of simplicity, SAS coding is created like that. One can use the concatenate function and drag and drop in an simple excel sheet for creating elaborate SAS code like the one mentioned and without any time at all. A system that requires Excel for its

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Frank E Harrell Jr
r-help-boun...@r- project.org Subject [R] Inefficiency of SAS Programming

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Frank E Harrell Jr
Ajay ohri wrote: I would like to know if we can create a package in which r functions are renamed closer to sas language.doing so will help people familiar to SAS to straight away take to R for their work,thus decreasing the threshold for acceptance - and then get into deeper understanding

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Gerard M. Keogh
Subject Re: [R] Inefficiency of SAS Programming

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Marc Schwartz
on 02/27/2009 07:57 AM Frank E Harrell Jr wrote: Ajay ohri wrote: I would like to know if we can create a package in which r functions are renamed closer to sas language.doing so will help people familiar to SAS to straight away take to R for their work,thus decreasing the threshold for

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread spam me
I've actually used AHRQ's software to create Inpatient Quality Indicator reports. I can confirm pretty much what we already know; it is inefficient. Running on about 1.8 - 2 million cases, it would take just about a whole day to run the entire process from start to finish. That isn't all

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Thomas Levine
I had enrolled in a statistics course this semester, but after the first class, I dropped it because it uses SAS. This thread makes me quite glad. Tom! On Fri, Feb 27, 2009 at 8:48 AM, Frank E Harrell Jr f.harr...@vanderbilt.edu wrote: Wensui Liu wrote: Thanks for pointing me to the SAS code,

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Ajay ohri
Immersion therapy can be done at a later stage after the newly baptized R corporate user is happy with the fact that he can do most of his legacy code in R easily now . I have treading water in the immersion for over a year now. Most SAS consultants and corporate users are eager to try out R

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Frank E Harrell Jr
Ajay ohri wrote: Immersion therapy can be done at a later stage after the newly baptized R corporate user is happy with the fact that he can do most of his legacy code in R easily now . I have treading water in the immersion for over a year now. Most SAS consultants and corporate users

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Terry Therneau
Three comments I actually think you can write worse code in R than in SAS: more tools = more scope for innovatively bad ideas. The ability to write bad code should not damm a language. I found almost all of the improvements to the multi-line SAS recode to be regressions, both the SAS

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Frank E Harrell Jr
Terry Therneau wrote: Three comments I actually think you can write worse code in R than in SAS: more tools = more scope for innovatively bad ideas. The ability to write bad code should not damm a language. I found almost all of the improvements to the multi-line SAS recode to be

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread John Sorkin
Terry's remarks (see below) are well received however, I take issue with one part of his comments. As a long time programmer (in both statistical programming languages and traditional programming languages), I miss the ability to write native-languages in R. While macros can make for difficult

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Frank E Harrell Jr
spam me wrote: I've actually used AHRQ's software to create Inpatient Quality Indicator reports. I can confirm pretty much what we already know; it is inefficient. Running on about 1.8 - 2 million cases, it would take just about a whole day to run the entire process from start to finish. That

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Frank E Harrell Jr
John Sorkin wrote: Terry's remarks (see below) are well received however, I take issue with one part of his comments. As a long time programmer (in both statistical programming languages and traditional programming languages), I miss the ability to write native-languages in R. While macros

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Ajay ohri
A further example of software pricing dynamics is the complete lack of awareness of WPS , a UK based software which is basically a base SAS clone with all the features of SAS ( coding read ,write and data read /write) and priced only at 660$ per desktop and 1400$ for server licenses ..very very

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread John Sorkin
Frank, A programming language's efficience is a function of several items, including what you are trying to program. Without using SAS proc IML, I have found that it is more efficient to code algorithms (e.g. a least squares linear regression) using R than SAS; we all know that matrix notation

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Bryan
My apologies, this obviously doubles as my for registration purposes account and so I don't often send from it - I was not intentionally being so secretive : ) At any rate, I completely agree, but of course it's a reciprocal relationship. The software is written in SAS because that's what the

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Chu, Roy
Also because no one wants to put their neck out on a chopping block to suggest R without technical support and the like. If you use SAS, there's a cascade of blame available, but it's not immediately available for R. On Fri, Feb 27, 2009 at 10:36 AM, Bryan thespamho...@gmail.com wrote: My

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Greg Snow
AM To: Frank E Harrell Jr Cc: r-help-boun...@r-project.org; R list Subject: Re: [R] Inefficiency of SAS Programming Yes Frank, I accept your point but nevertheless IML is the proper place for matrix work in SAS - mixing macro-level logic and computation is another question - R is certainly

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Frank E Harrell Jr
John Sorkin wrote: Frank, A programming language's efficience is a function of several items, including what you are trying to program. Without using SAS proc IML, I have found that it is more efficient to code algorithms (e.g. a least squares linear regression) using R than SAS; we all know

Re: [R] Inefficiency of SAS Programming

2009-02-27 Thread Gabor Grothendieck
On Fri, Feb 27, 2009 at 8:53 AM, Frank E Harrell Jr f.harr...@vanderbilt.edu wrote: Ajay ohri wrote: Sometimes for the sake of simplicity, SAS coding is created like that. One can use the concatenate function and drag and drop in an simple excel sheet for creating elaborate SAS code like the

[R] Inefficiency of SAS Programming

2009-02-26 Thread Frank E Harrell Jr
If anyone wants to see a prime example of how inefficient it is to program in SAS, take a look at the SAS programs provided by the US Agency for Healthcare Research and Quality for risk adjusting and reporting for hospital outcomes at http://www.qualityindicators.ahrq.gov/software.htm . The

Re: [R] Inefficiency of SAS Programming

2009-02-26 Thread Wensui Liu
Frank, I couldn't locate the program you mentioned. doyou mind being more specific? could you please point me to the file? i am just curious. thanks. On Thu, Feb 26, 2009 at 5:57 PM, Frank E Harrell Jr f.harr...@vanderbilt.edu wrote: If anyone wants to see a prime example of how inefficient it

Re: [R] Inefficiency of SAS Programming

2009-02-26 Thread Barry Rowlingson
2009/2/26 Frank E Harrell Jr f.harr...@vanderbilt.edu: If anyone wants to see a prime example of how inefficient it is to program in SAS, take a look at the SAS programs provided by the US Agency for Healthcare Research and Quality for risk adjusting and reporting for hospital outcomes at

Re: [R] Inefficiency of SAS Programming

2009-02-26 Thread Peter Dalgaard
Barry Rowlingson wrote: 2009/2/26 Frank E Harrell Jr f.harr...@vanderbilt.edu: If anyone wants to see a prime example of how inefficient it is to program in SAS, take a look at the SAS programs provided by the US Agency for Healthcare Research and Quality for risk adjusting and reporting for

Re: [R] Inefficiency of SAS Programming

2009-02-26 Thread JRG
On 26 Feb 2009 at 23:47, Barry Rowlingson wrote: 2009/2/26 Frank E Harrell Jr f.harr...@vanderbilt.edu: If anyone wants to see a prime example of how inefficient it is to program in SAS, take a look at the SAS programs provided by the US Agency for Healthcare Research and Quality for risk

Re: [R] Inefficiency of SAS Programming

2009-02-26 Thread Ajay ohri
Sometimes for the sake of simplicity, SAS coding is created like that. One can use the concatenate function and drag and drop in an simple excel sheet for creating elaborate SAS code like the one mentioned and without any time at all. There are multiple ways to do this in SAS , much better and

Re: [R] Inefficiency of SAS Programming

2009-02-26 Thread Ajay ohri
How would this agency be convinced of adopting R code also how would these things work. Regards, Ajay www.decisionstats.com On Fri, Feb 27, 2009 at 4:27 AM, Frank E Harrell Jr f.harr...@vanderbilt.edu wrote: If anyone wants to see a prime example of how inefficient it is to program in