[R] FW: using R under windows

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Wed Nov 20 23:04:35 CET 2002


More you need to tell us how you get Windows to add the extension.
I think the solution is to use a real editor: NTemacs, Xemacs, PFE, ....
(WinEdt if you want to pay for it.)

BTW, R can source("foo.r.txt").

On Wed, 20 Nov 2002, Simpson, William wrote:

>  I am used to using R under unix. I have a problem with R
>  under Windows-2000:
>  Suppose I have a plain text file code.r full of R code
>  that I want to source into R. My problem is that Windows
>  invisibly tacks ".txt" onto the end of the filename (the name
>  looks like code.r but it is really code.r.txt). How to get
>  windows to both allow me to call it code.r (for real! Not
>  code.r.txt) and to edit it as a text file by default (say
>  with Notepad)?
>
> BTW is there any way to get Windows to stop its fiddling with the filename
> extensions?
> If I call something file.txt it appears as file (although the real name is
> file.txt)

It hides them in Explorer (but that's a tiny part of Windows).  Go to
Folder Options, View, untick `Hide extensions for known file types'.
Surely you can find some local advice on such things?

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list