[R] Sweave and backslashes

2009-02-05 Thread cls59
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

Re: [R] Sweave and backslashes

2009-02-05 Thread Frank E Harrell Jr
cls59 wrote: 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

Re: [R] Sweave and backslashes

2009-02-05 Thread Charles C. Berry
On Thu, 5 Feb 2009, cls59 wrote: 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

Re: [R] Sweave and backslashes

2009-02-05 Thread Dieter Menne
cls59 sharpsteen at mac.com writes: 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