Date: Mon, 7 Jul 2008 19:03:22 -0600
Reply-To: Alan Churchill <savian001@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Alan Churchill <savian001@GMAIL.COM>
Subject: Re: SAS and R graphics side by side?
In-Reply-To: <519d1dd9-7781-41c6-b1c9-3130645363f7@b1g2000hsg.googlegroups.com>
Content-Type: text/plain; charset="us-ascii"
Well, let's clarify a bit. It reads SAS transport files. Not the same as a
SAS7BDAT format. The SAS transport files are old and are more reflective of
a SAS 6 (or earlier) dataset. SAS7BDAT is a whole different animal and is
the standard since SAS v7+.
Correct me if I am wrong.
Alan
Alan Churchill
Savian
www.savian.net
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of NMani
Sent: Monday, July 07, 2008 3:30 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: SAS and R graphics side by side?
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
|