Several times my packages have fallen foul of the latex check at the uploading-to-CRAN stage, creating extra work for Kurt Hornik. I've never bothered trying to get latex working on my own packages (happy with vanilla help) but am told that "latex is the closest thing to a syntax checker for Rd files" and that I should set it up. Now, there is already a latex on my (Windows XP) system thanks to the program Scientific Word, which comes with TCITex. However, RCMD etc don't recognize this latex at the moment. Does anyone have any advice on what might be needed to make RCMD use SciWord's installation of TCITex-- paths, environment variables, etc etc? Various R docs recommend fptex or MikTex implementations of latex, but I'm a bit reluctant to put these on, primarily in case doing so somehow stuffs up the workings of Scientific Word in a way that I don't know enough to fix. In case it's not obvious already, I should add that I am blissfully ignorant about how latex works-- that's one of my reasons for using Scientific Word. Thanks for any advice Mark Mark Bravington CSIRO Mathematical & Information Sciences Marine Laboratory Castray Esplanade Hobart 7001 TAS ph (+61) 3 6232 5118 fax (+61) 3 6232 5012 mob (+61) 438 315 623
Mark.Bravington at csiro.au wrote:> Several times my packages have fallen foul of the latex check at the > uploading-to-CRAN stage, creating extra work for Kurt Hornik. I've never > bothered trying to get latex working on my own packages (happy with > vanilla help) but am told that "latex is the closest thing to a syntax > checker for Rd files" and that I should set it up. Now, there is already > a latex on my (Windows XP) system thanks to the program Scientific Word, > which comes with TCITex. However, RCMD etc don't recognize this latex at > the moment. Does anyone have any advice on what might be needed to make > RCMD use SciWord's installation of TCITex-- paths, environment > variables, etc etc?I have no experience with TCITex, but what you need to do is make sure the commands that R needs are on your path. Those include "latex", "pdflatex", and possibly others I've forgotten: try building a binary copy of your package and you'll get errors if you haven't got them in place. You also need that TCITex follows the usual practice of using an environment variable to accept additional directories to search. MikTex doesn't, and it causes lots of trouble for people. This is the main reason I haven't recommended MikTex over fptex even though I use it; MikTex seems less stable about its interface. Duncan Murdoch> > Various R docs recommend fptex or MikTex implementations of latex, but > I'm a bit reluctant to put these on, primarily in case doing so somehow > stuffs up the workings of Scientific Word in a way that I don't know > enough to fix. In case it's not obvious already, I should add that I am > blissfully ignorant about how latex works-- that's one of my reasons for > using Scientific Word. > > Thanks for any advice > > Mark > > Mark Bravington > CSIRO Mathematical & Information Sciences > Marine Laboratory > Castray Esplanade > Hobart 7001 > TAS > > ph (+61) 3 6232 5118 > fax (+61) 3 6232 5012 > mob (+61) 438 315 623 > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
I am intending to instal TEX (for use with R - building, checking packages) on my WinXP SP2. I read that fptex is recomended, however http://www.fptex.org/ is not not available. Is MiKTeX the next best choice? Thanks in advance for any suggestions! Ales Ziberna
On Tue, 23 Aug 2005, Ales Ziberna wrote:> I am intending to instal TEX (for use with R - building, checking packages) > on my WinXP SP2. I read that fptex is recomended, however > http://www.fptex.org/ is not not available. Is MiKTeX the next best choice?Please look at the current documentation: The @code{fptex} distribution of @LaTeX{} (directly from any CTAN node such as @url{http://www.ctan.org/tex-archive/systems/windows/fptex/} or via XEmTeX at @url{http://www.fptex.org}) includes a suitable port of @code{pdftex}. (www.fptex.org was available until very recently.) -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
On 8/23/05, Ales Ziberna <aleszib at gmail.com> wrote:> I am intending to instal TEX (for use with R - building, checking packages) > on my WinXP SP2. I read that fptex is recomended, however > http://www.fptex.org/ is not not available. Is MiKTeX the next best choice? >Yes. Be sure to read: http://www.murdoch-sutherland.com/Rtools/miktex.html
Dear Mark, I use Scientific Word as a Latex front end. I've also installed fptex and use that to build R packages. The two have coexisted on my computers for several years without problems. I hope this helps, John -------------------------------- John Fox Department of Sociology McMaster University Hamilton, Ontario Canada L8S 4M4 905-525-9140x23604 http://socserv.mcmaster.ca/jfox --------------------------------> -----Original Message----- > From: r-devel-bounces at r-project.org > [mailto:r-devel-bounces at r-project.org] On Behalf Of > Mark.Bravington at csiro.au > Sent: Tuesday, August 23, 2005 12:23 AM > To: r-devel at stat.math.ethz.ch > Subject: [Rd] TCITex and R > > Several times my packages have fallen foul of the latex check > at the uploading-to-CRAN stage, creating extra work for Kurt > Hornik. I've never bothered trying to get latex working on my > own packages (happy with vanilla help) but am told that > "latex is the closest thing to a syntax checker for Rd files" > and that I should set it up. Now, there is already a latex on > my (Windows XP) system thanks to the program Scientific Word, > which comes with TCITex. However, RCMD etc don't recognize > this latex at the moment. Does anyone have any advice on what > might be needed to make RCMD use SciWord's installation of > TCITex-- paths, environment variables, etc etc? > > Various R docs recommend fptex or MikTex implementations of > latex, but I'm a bit reluctant to put these on, primarily in > case doing so somehow stuffs up the workings of Scientific > Word in a way that I don't know enough to fix. In case it's > not obvious already, I should add that I am blissfully > ignorant about how latex works-- that's one of my reasons for > using Scientific Word. > > Thanks for any advice > > Mark > > Mark Bravington > CSIRO Mathematical & Information Sciences Marine Laboratory > Castray Esplanade Hobart 7001 TAS > > ph (+61) 3 6232 5118 > fax (+61) 3 6232 5012 > mob (+61) 438 315 623 > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel