[R] rd2dvi bug on windoze?

Duncan Murdoch dmurdoch at pair.com
Fri Jul 16 15:14:22 CEST 2004


On Fri, 16 Jul 2004 13:52:21 +0100, Hiroyuki Kawakatsu
<hkawakat at qub.ac.uk> wrote :

>hi,
>
>can anyone confirm the following problem? when i do
>
>dos> rcmd rd2dvi --pdf my-package-name
>
>i get
>
>dos> Can't open perl script "c:\PROGRA~1\r\rw1091/bin/rd2dvi": No such file or directory

No, the problem is that rcmd processes commands in a case sensitive
way.  You need

 rcmd Rd2dvi ....

When you have an unrecognized command, rcmd tries to figure out if
it's a Perl script (no extension) or a SH script (.sh extension), then
passes it to the OS to process.  This means

 rcmd rd2dvi.sh ....

works in a case-insensitive way, but that's more or less by accident.
Generally R tries to be case sensitive, but sometimes the work is done
by the OS, and then it depends on the file system.

Duncan Murdoch




More information about the R-help mailing list