Skip to content

using R under windows

3 messages · Bill Simpson, Adam Gehr, Gavin Simpson

#
Thanks for all the helpful replies both to the list and emailed directly to
me.

Several people blamed Notepad (I am looking at alternative suggested
editors) for tacking ".txt" onto filenames. However I experience this
problem with every other sort of file:
.pdf
.doc
.ps
.rtf

I have turned off the hidden names stuff as instructed in the file browser.
Doesn't seem to change anything. "file.pdf" is still shown as "file". I have
to guess from the icon that the real filename is "file" + ".pdf". Or if it
is a big W[ord] icon I have to guess that the filename is "file" + ".doc"
(though sometimes maybe it's really + ".rtf" or ".txt")
Maybe from now on the problem won't happen--just previously saved files
still have the hidden extensions.

In general it seems that I am not allowed to use extensions because windows
reserves the right to do that itself (something like the Mac's resource
fork). Else I need to play guessing games about filenames.

I know this is not R-specific but I am getting helpful R-specific advice
(e.g. WinEdt and JEdit R stuff). Thanks again for all the help. Looks like I
may have to dual boot linux because there is no solution to the windows file
extension fiddling.

Bill

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
The following seems to work in Windows 98--I don't know about 2000.
Use my computer to open a directory.
click "view" then "folder options" and go to the "view" tab
uncheck "hide file extensions for known file types"
click reset all folders
answer yes when it asks you if you really want to do that
click ok

Reversing this (checking the "hide file extensions...") seems to produce
the problem you describe and unchecking it seems to cure it. If you can't
find that box immediately on opening the view tab, click on the folders to
open them.
On Thu, 21 Nov 2002, Simpson, William wrote:

            
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Hi Bill,

You assume that Windows is being a little more restrictive than it
actually is.  Windows has another option you can set

Hide extensions of known file types,

in the same place as the other options you changed.  Windows assumes
that you don't need to know that the extension of a pdf file is .pdf
because IT knows that Acrobat(reader) is used to open it, or some other
pdf reader you might have installed.  You should be able to tell what
the extensions are by looking at the icons if you need to know this...

...not very helpful is it?  This is on of the first "features" I turned
off after recently re-installing Windows on my desktop at work.

I'm sure you'll find Windows a bit more "useful" if you turn of these
kinds of handholding.  So you don't have to dual boot if you don't want
to!

Gav

-----Original Message-----
From: owner-r-help at stat.math.ethz.ch
[mailto:owner-r-help at stat.math.ethz.ch] On Behalf Of Simpson, William
Sent: 21 November 2002 15:47
To: 'r-help at stat.math.ethz.ch'
Subject: RE: [R] using R under windows


Thanks for all the helpful replies both to the list and emailed directly
to
me.

Several people blamed Notepad (I am looking at alternative suggested
editors) for tacking ".txt" onto filenames. However I experience this
problem with every other sort of file:
.pdf
.doc
.ps
.rtf

I have turned off the hidden names stuff as instructed in the file
browser.
Doesn't seem to change anything. "file.pdf" is still shown as "file". I
have
to guess from the icon that the real filename is "file" + ".pdf". Or if
it
is a big W[ord] icon I have to guess that the filename is "file" +
".doc"
(though sometimes maybe it's really + ".rtf" or ".txt")
Maybe from now on the problem won't happen--just previously saved files
still have the hidden extensions.

In general it seems that I am not allowed to use extensions because
windows
reserves the right to do that itself (something like the Mac's resource
fork). Else I need to play guessing games about filenames.

I know this is not R-specific but I am getting helpful R-specific advice
(e.g. WinEdt and JEdit R stuff). Thanks again for all the help. Looks
like I
may have to dual boot linux because there is no solution to the windows
file
extension fiddling.

Bill

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

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