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

Tim Hesterberg timh at insightful.com
Fri Mar 17 20:53:56 CET 2006


I think it would be good to make the change in the Mac gui too.
This would help people on the mac who work on multiple platforms,
or try scripts from other people.


I forgot to mention one other extension, ".t", an extension often
used for tests to be processed using do.test().  However, this
is less common, could easily be excluded; people can use "all files"
for this.

Thanks,
Tim

>On 3/17/2006 2:19 PM, timh at insightful.com wrote:
>> ----- 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).
>
>I'll make this change in the Windows Rgui.  Is this an issue in the Mac 
>gui too?
>
>Duncan Murdoch
>
>> 
>> ----- 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
>> 
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>



More information about the R-devel mailing list