[Rd] Open .ssc .S ... files in R (PR#8690)

timh@insightful.com timh at insightful.com
Fri Mar 17 20:19:28 CET 2006


----- Quick summary:  

In the File:Open dialog, please change
"S files (*.q)" 
to
"S files (*.q, *.ssc, *.S)" 
and show the corresponding files (including .SSC and .s files).

----- Background
This is motivated by the following query to R-help:

>Date: Thu, 16 Mar 2006 22:44:11 -0600
>From: "xpRt.wannabe" <xprt.wannabe at gmail.com>
>Subject: [R] Is there a way to view S-PLUS script files in R
>To: r-help at stat.math.ethz.ch
>
>Dear List,
>
>I have some S-PLUS script files (.ssc).  Does there exist an R
>function/command  that can read such files?  I simply want to view the
>code and practice in R to help me learn the subject matter.
>
>Any help would be greatly appreciated.
>
>platform i386-pc-mingw32
>arch     i386
>os       mingw32
>system   i386, mingw32
>status
>major    2
>minor    2.1
>year     2005
>month    12
>day      20
>svn rev  36812
>language R

I responded:
>You can open them in R.  On Windows, File:Open Script,
>change "Files of type" to "All Files", then open the .ssc file.

So there is a workaround.  But it is odd that the "S files" option
doesn't actually include what are probably the most common S files.

Thanks,
Tim Hesterberg


--please do not edit the information below--

Version:
 platform = i386-pc-mingw32
 arch = i386
 os = mingw32
 system = i386, mingw32
 status = 
 major = 2
 minor = 2.1
 year = 2005
 month = 12
 day = 20
 svn rev = 36812
 language = R

Windows XP Professional (build 2600) Service Pack 2.0

Locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252

Search Path:
 .GlobalEnv, package:glmpath, package:survival, package:splines, package:methods, package:stats, package:graphics, package:grDevices, package:utils, package:datasets, Autoloads, package:base



More information about the R-devel mailing list