search for: latexsn

Displaying 4 results from an estimated 4 matches for "latexsn".

2010 Nov 19
1
a rounding option for \Sexpr{}?
Hi all, Currently Sweave does not format the (especially numeric) value in \Sexpr{}, and I often have to round() the numbers explicitly, otherwise I will get more than 10 digits, which is not necessary for me in most cases. Is there a way to specify the number of digits to be kept for values in \Sexpr{}? e.g. can we make \Sexpr{} respect getOption('digits')? Thanks! Regards, Yihui --
2007 Apr 27
0
Hmisc Version 3.3-2 is now in CRAN repository
...onse instead of the whole of the response. 'R/latexObject.s' changed names of constant escapes. 'R/combine.s' functions to perform element wise combination. 'R/print.char.list.s' various code simplifications. Corrected extra escapes in latexSN function. fixes #10. 3.2-1 1/25/2007: Hmisc function 'ecdf' has been renamed 'Ecdf' to deconflict it with the existing 'ecdf' function in base. Fixed Bug in format.df that would create numbers with many trailing zeros. Added arguments &...
2007 Apr 27
0
Hmisc Version 3.3-2 is now in CRAN repository
...onse instead of the whole of the response. 'R/latexObject.s' changed names of constant escapes. 'R/combine.s' functions to perform element wise combination. 'R/print.char.list.s' various code simplifications. Corrected extra escapes in latexSN function. fixes #10. 3.2-1 1/25/2007: Hmisc function 'ecdf' has been renamed 'Ecdf' to deconflict it with the existing 'ecdf' function in base. Fixed Bug in format.df that would create numbers with many trailing zeros. Added arguments &...
2009 Feb 06
3
Sweave and backslashes
Hello Everyone, I am an avid Sweave user and I am trying to pretty print floating point numbers for latex output. For example in my document, I would like: 4.2\cdot 10^-{8} Instead of: 4.2e-08 The Hmisc package has a nice function for doing this- but Hmisc has a ton of dependencies and has proved very unportable to the various machines I work on. So, I set out to write my own function that