Re: [R] Not showing dvi with Hmisc latex()
Frank E Harrell Jr wrote: > Duncan Murdoch wrote: >> On 4/26/2007 9:20 PM, Gad Abraham wrote: >>> Hi, >>> >>> I'm using latex() from Frank Harrell's Hmisc library to produce LaTeX >>> files. By default, it calls xdvi and displays the dvi. >>> >>> How can I make xdvi not show? I couldn't find a clue in the extensive >>> documentation. >> >> Unclass the result so it doesn't print as a latex object. For example, >> >> > unclass(latex("1", file="test.tex")) >> $file >> [1] "test.tex" >> >> $style >> character(0) >> >> Alternatively, if you just assign the result you can print it later. >> It's when you print that the latex'ing happens. >> >> Duncan Murdoch > > Just say > > w <- latex(object, file='foo.tex') So simple... thanks. Gad -- Gad Abraham Department of Mathematics and Statistics The University of Melbourne Parkville 3010, Victoria, Australia email: [EMAIL PROTECTED] web: http://www.ms.unimelb.edu.au/~gabraham __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Not showing dvi with Hmisc latex()
Duncan Murdoch wrote: > On 4/26/2007 9:20 PM, Gad Abraham wrote: >> Hi, >> >> I'm using latex() from Frank Harrell's Hmisc library to produce LaTeX >> files. By default, it calls xdvi and displays the dvi. >> >> How can I make xdvi not show? I couldn't find a clue in the extensive >> documentation. > > Unclass the result so it doesn't print as a latex object. For example, > > > unclass(latex("1", file="test.tex")) > $file > [1] "test.tex" > > $style > character(0) > > Alternatively, if you just assign the result you can print it later. > It's when you print that the latex'ing happens. > > Duncan Murdoch Just say w <- latex(object, file='foo.tex') Frank __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Not showing dvi with Hmisc latex()
On 4/26/2007 9:20 PM, Gad Abraham wrote: > Hi, > > I'm using latex() from Frank Harrell's Hmisc library to produce LaTeX > files. By default, it calls xdvi and displays the dvi. > > How can I make xdvi not show? I couldn't find a clue in the extensive > documentation. Unclass the result so it doesn't print as a latex object. For example, > unclass(latex("1", file="test.tex")) $file [1] "test.tex" $style character(0) Alternatively, if you just assign the result you can print it later. It's when you print that the latex'ing happens. Duncan Murdoch __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Not showing dvi with Hmisc latex()
Hi, I'm using latex() from Frank Harrell's Hmisc library to produce LaTeX files. By default, it calls xdvi and displays the dvi. How can I make xdvi not show? I couldn't find a clue in the extensive documentation. Thanks, Gad ps: Hmisc 3.3-1 on R 2.5.0 for Linux. -- Gad Abraham Department of Mathematics and Statistics The University of Melbourne Parkville 3010, Victoria, Australia email: [EMAIL PROTECTED] web: http://www.ms.unimelb.edu.au/~gabraham __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.