Re: [R] General Question re R vs S-Plus

From: Jonathan Q. <jqm475_at_gmail.com>
Date: Mon 09 May 2005 - 02:52:16 EST

so if I read all the answers to my post correctly, the best is to just use the command letter in S-Plus or better yet use R. thanks to all.

On 5/8/05, Spencer Graves <spencer.graves@pdf.com> wrote:
> Unfortunately, many of the S-Plus GUI functions are NOT written in S.
> For example, S-Plus 6.2 put the following into History while executing
> the GUI equivalent of "plot(1:3)":
>
> guiPlot( PlotType = "Scatter", AxisType = "Linear")
>
> guiModify( "LinePlot", Name = "GS1$1$1",
> DataSet = "1:3")
>
> One thing I've found quite powerful in S-Plus 6.2 is File -> "Import
> Data". Unfortunately, an import of an Excel file was implemented as
> follows:
>
> guiImportData(FileName = "d:\\spencerg\\statmtds\\yield\\Sample
> Size0\\enrollment.xls", FileTypes = "Excel Worksheet (xl?)",
> TargetDataFrame = "enrollment", TargetStartCol = "<END>",
> TargetInsertOverwrite = "Create new data set", NameRowAuto = "Auto",
> NameColAuto = "Auto", StartCol = 1, EndCol = "<END>", StartRow = 1,
> EndRow = "<END>", PageNumberAuto = "Auto", StringsAsFactors = T,
> SortFactorLevels = T, LabelsAsNumbers = F, CenturyCutoffYear = 1930,
> KeepOrDropList = "<ALL>", SeparateDelimiters = T, ASCIIDateInFormat =
> "M/d/yyyy", ASCIITimeInFormat = "h:mm:ss tt", ASCIIDecimalPoint =
> "Period (.)", ASCIIThousandsSeparator = "None")
>
> I'm unaware of any documentation for these "gui*" commands. A middle
> manager I know complained one day, "the S-Plus GUI is worthless." I
> don't go quite to that extreme, but I have rarely used anything other
> than "guiImportData", and when I've tried, the results did not encourage
> me to try again.
>
> Best Wishes,
> spencer graves
>
> Jonathan Q. wrote:
> > thanks, that does the trick
> >
> > On 08 May 2005 10:11:47 +0200, Peter Dalgaard <p.dalgaard@biostat.ku.dk> wrote:
> >
> >>"Liaw, Andy" <andy_liaw@merck.com> writes:
> >>
> >>
> >>>>My preference is to learn the language and the windows interface
> >>>>doesn't really do the trick. My question is, if one uses the windows
> >>>>interface for some functions, is there a way to see what the
> >>>>equivalent code would be? I have checked the manuals, help etc and
> >>>>can't seem to find a way.
> >>>
> >>>That sounds more like a question for S-news than R-help... In any case, my
> >>>impression is that commands linked to the S-PLUS GUI menus and buttons are
> >>>functions written for that. You're not likely to learn much that will carry
> >>>over to R.
> >>
> >>As I recall, the Splus GUI functions are (mostly?) written in S, so
> >>you could study the source code. However, it might be a better idea to
> >>fire up John Fox's Rcmdr package and try things similar to what you'd
> >>do in Splus. Rcmdr makes a point of showing the code as it goes along.
> >>
> >>--
> >> O__ ---- Peter Dalgaard Blegdamsvej 3
> >> c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
> >>(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
> >>~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907
> >>
> >
> >
> >
>

-- 
Jonathan
jqm475@gmail.com

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Mon May 09 02:58:10 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:38 EST