AW: [R] FW: using R under windows

Daniel Hoppe daniel.hoppe at em.uni-karlsruhe.de
Wed Nov 20 22:10:44 CET 2002


William,

> 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)

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.

Daniel

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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