From murdoch at stats.uwo.ca  Fri Mar 17 20:45:07 2006
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Fri, 17 Mar 2006 14:45:07 -0500
Subject: [Rd] Open .ssc .S ... files in R (PR#8690)
In-Reply-To: <20060317191928.A0B2641EB7@slim.kubism.ku.dk>
References: <20060317191928.A0B2641EB7@slim.kubism.ku.dk>
Message-ID: <441B11C3.1030805@stats.uwo.ca>

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



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