Date: Tue, 8 Jul 2008 03:43:55 -0700
Reply-To: RolandRB <rolandberry@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: RolandRB <rolandberry@HOTMAIL.COM>
Organization: http://groups.google.com
Subject: Re: SAS and R graphics side by side?
Content-Type: text/plain; charset=ISO-8859-1
On Jul 7, 11:30 pm, NMani <naveen.manivan...@gmail.com> wrote:
> On Jul 6, 7:37 am, RolandRB <rolandbe...@hotmail.com> wrote:
>
>
>
>
>
> > On Jul 6, 2:25 pm, RolandRB <rolandbe...@hotmail.com> wrote:
>
> > > On Jul 6, 1:19 pm, ohri2...@GMAIL.COM (ajay ohri) wrote:
>
> > > > Roland
>
> > > > 1) download R fromwww.r-project.org
>
> > > > > 2) go to packages > set CRAN Mirror > (to a mirror site near to you)
> > > > > 3) packages >install package > rattle
> > > > > at the command prompt in the R GUI type the letters within the quotes
>
> > > > > R: > "*install.packages("rattle", dependencies=TRUE)*"
>
> > > > > This will start the downloads , so you can wait 15 minutes (one time)...maybe tea,
> > > > > update website,SAS-L etc......
>
> > > > > Now....after downloads are over
> > > > > 4)packages > load packages >rattle
>
> > > > > 5) type rattle() at command prompt
>
> > > > > 6) load data set or a CSV file in R using the new GUI rattle in the first tab "DATA" (the Rattle GUI is very easy ,has good help)
> > > > > sample using next tab (Select)
> > > > > For graphics go to third tab (Explore) ....Rgobi and Cairo graphics are advanced graphics packages.
>
> > > > > In case of any trouble visit (http://rattle.togaware.com/)
>
> > > > > you can make your own customized graphics now from the same data set
>
> > > > > ----------------------------------------------------------------------
> > > > > 7) an example of R graphics (if you want ready made graphics -distributions, box plots, etc) is here.
>
> > > > >http://datamining.togaware.com/survivor/Interacting_with0.html
>
> > > > > 8) The Official R Wiki is still getting in shape unlike sas community site
> > > > > ..eg graphics link is
>
> > > > >http://wiki.r-project.org/rwiki/doku.php?id=graph_gallery:graph_gallery
>
> > > > > Hope that helps....
>
> > > > > Regards,
>
> > > > > Ajay
>
> > > >www.decisionstats.com
>
> > > Hi Ajay. I downloaded R some time ago. What I am looking for is a side-
> > > by-side comparison of R syntax and SAS syntax for producing the same
> > > graphical output as a help for converting SAS programmers over to R
> > > graphics.- Hide quoted text -
>
> > > - Show quoted text -
>
> > Ideally I would like the package for R that reads SAS datasets and
> > then get sas to use one of the sashelp datasets to do a plot with and
> > do the same with R for the same dataset.
>
> > I'm surprised nobody knows of such a paper or URL. Surely, this isn't
> > the first time somebody wants to do this.
>
> There is a package for R that reads sas datasets. It's called foreign.
>
> http://cran.r-project.org/web/packages/foreign/index.html- Hide quoted text -
>
> - Show quoted text -
I'll check it out but at first glance it reads .ssd datasets which are
the old sas format. It would need to read .sas7bdat datasets.
|