From kryberg at live.com  Fri Aug 26 23:50:48 2011
From: kryberg at live.com (kryberg)
Date: Fri, 26 Aug 2011 14:50:48 -0700 (PDT)
Subject: [Rd] Rd2pdf and Rd2dvi don't find texi2dvi
In-Reply-To: <A50D693C-C20C-4188-BF76-11F976832A9A@gmail.com>
References: <AF958FF9-6AE8-468F-B7A4-116B806D59CA@gmail.com>
	<4D8C8EF3.4000400@gmail.com>
	<A50D693C-C20C-4188-BF76-11F976832A9A@gmail.com>
Message-ID: <1314395448790-3772117.post@n4.nabble.com>

Did you every find a resolution to this?  I have the exact same problem and
have had no success solving it.  I'd like to know your solution if you found
one.

In R
system("texi2dvi --version") 
texi2dvi (GNU Texinfo 4.8) 1.34

Copyright (C) 2004 Free Software Foundation, Inc.
There is NO warranty.  You may redistribute this software
under the terms of the GNU General Public License.
For more information about these matters, see the files named COPYING.

At the command prompt

% texi2dvi --version
texi2dvi (GNU Texinfo 4.8) 1.34

Copyright (C) 2004 Free Software Foundation, Inc.
There is NO warranty.  You may redistribute this software
under the terms of the GNU General Public License.
For more information about these matters, see the files named COPYING.

I can use Sweave and create LaTeX documents outside of R.  But R CMD chekc
pkgname gives me

Re-running with no redirection of stdout/stderr.
Hmm ... looks like a package
Error in texi2dvi("Rd2.tex", pdf = (out_ext == "pdf"), quiet = FALSE,  : 
  pdflatex is not available
Error in running tools::texi2dvi
You may want to clean up by 'rm -rf
/var/folders/We/Wevm0EqRHPC3qT+IfM76U+eiwUY/-Tmp-//RtmpuP3CAs/Rd2pdf626fdc61'


texi2dvi is in my PATH at /usr/bin/texi2dvi


R version 2.13.1 (2011-07-08)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
Mac OS X version 10.6.8




--
View this message in context: http://r.789695.n4.nabble.com/Rd2pdf-and-Rd2dvi-don-t-find-texi2dvi-tp3405172p3772117.html
Sent from the R devel mailing list archive at Nabble.com.



[Rd] Rd2pdf and Rd2dvi don't find texi2dvi
kryberg