AW: [R] FW: using R under windows

Daniel Hoppe daniel.hoppe at
Wed Nov 20 22:10:44 CET 2002


> 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
>If I call something file.txt it appears as file (although the real name is

In the explorer go to the extras->folder options->views tab (translated from
german, might not match exactly). There you can uncheck "hide extensions of
known file-types".

Beside that you might change your text-editor, notepad always fiddles around
with the extensions. Try texpad with the s-plus code-color-scheme or winedt
with the r-macros. Both really nice.


r-help mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at

More information about the R-help mailing list