[R] Problem with "R CMD Rd2dvi": Rd.sty not found
Tuszynski, Jaroslaw W.
JAROSLAW.W.TUSZYNSKI at saic.com
Thu Feb 10 22:07:25 CET 2005
Hi,
I run into a problem with "R CMD Rd2dvi" command: it gives me "File `Rd.sty'
not found" error (See the output message on the bottom). I get the same
error when running "RCMD check". My system is: Windows 2000, R version
2.0.1, MiKTeX version 2.4. I do have a Rd.sty file in R_HOME/share/texm
directory.
I looked through newsgroups for any related discussions and found Arnab
Mukherji reporting the same problem on Dec 23 2003 (Subject: "[R] Rd.sty not
found -"). In reply Prof. Brian Ripley suggested the following:
It should be looking in TEXINPUTS, as is the point of the following
in the check script
$ENV{'TEXINPUTS'} = env_path(&file_path($R::Vars::R_HOME, "share",
"texmf"), $ENV{'TEXINPUTS'});
So you could try adding to TEXINPUTS yourself, and you should
certainly check the current setting of the environment variable (unset is
fine).
I am not sure if I understand it correctly but I created environmental
variable TEXINPUTS with path to R_HOME/share/texm. It did not help.
Any other suggestions?
Should I use some other version of Latex?
Do I have to configure it in any special way?
Thanks for any suggestions,
C:\programs\R\rw2001\src\library\caMassClass\man>R CMD Rd2dvi
BaselineSubstracton.Rd
Converting Rd files to LaTeX ...
BaselineSubstraction.Rd
Creating dvi output from LaTeX ...
This is pdfTeX, Version 3.141592-1.20a-rc7.2 (MiKTeX 2.4)
output format initialized to PDF
(Rd2.tex
LaTeX2e <2003/12/01>
Babel <v3.8a> and hyphenation patterns for english, french, german, ngerman,
dumylang, nohyphenation, loaded.
(C:\Program Files\latex\tex\latex\base\book.cls
Document Class: book 2004/02/16 v1.4f Standard LaTeX document class
(C:\Program Files\latex\tex\latex\base\bk10.clo))
! LaTeX Error: File `Rd.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
l.4 \usepackage
{makeidx}
No pages of output.
Transcript written on Rd2.log.
Couldn't find input index file Rd2 nor Rd2.idx.
Usage: c:\Program Files\latex\miktex\bin\makeindex.exe [-ilqrcg] [-s sty]
[-o id] [-t log] [-p num] [idx0 idx1 ...]
This is pdfTeX, Version 3.141592-1.20a-rc7.2 (MiKTeX 2.4)
output format initialized to PDF
(Rd2.tex
LaTeX2e <2003/12/01>
Babel <v3.8a> and hyphenation patterns for english, french, german, ngerman,
dumylang, nohyphenation, loaded.
(C:\Program Files\latex\tex\latex\base\book.cls
Document Class: book 2004/02/16 v1.4f Standard LaTeX document class
(C:\Program Files\latex\tex\latex\base\bk10.clo))
! LaTeX Error: File `Rd.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
l.4 \usepackage
{makeidx}
No pages of output.
Transcript written on Rd2.log.
Saving output to 'BaselineSubstraction.dvi' ...
cp: cannot stat `.Rd2dvi/Rd2.dvi': No such file or directory
Done
xdvi.bat: not found
Jarek
====================================================\=======
Jarek Tuszynski, PhD. o / \
Science Applications International Corporation <\__,|
(703) 676-4192 "> \
Jaroslaw.W.Tuszynski at saic.com ` \
More information about the R-help
mailing list