[R] Output to Latex using Memisc almost works
Eelke
E.O.Folmer at rug.nl
Tue Aug 26 12:03:53 CEST 2008
Thank you Martin,
It turned out that my problem was that I used underscores "_" in my variable
names. No problem for R, but Latex didn't like it.
Kind regards,
Eelke
Martin Elff wrote:
>
> On Monday 25 August 2008 (15:36:50), Eelke wrote:
>> Hello,
>> I'm using memisc to output regression results to tables and latex. My
>> problem is that the output that Latex needs must be in between $ $ so
>> that
>> it is read as formula but memisc does not output the result between $ $.
>> For example, latex needs: $0.05^{***}$ and memisc outputs 0.05^{***} in
>> an
>> entry.
>> I am new to Latex and I imagine it could also be a latex 'problem' and
>> not
>> necessarily memisc.
> I would suggest you put
> "\usepackage{dcolumn}" into the preamble of your LaTeX file. This will
> automagically insert the dollars into the columns.
>
> memisc's mtable function works fine with that (at least in my
> experience, I use it on a regular basis as one might suspect :-)
>
> Cheers,
>
> Martin
>
> --
> -------------------------------------------------
> Dr. Martin Elff
> Department of Social Sciences
> University of Mannheim
> A5, Room 328
> 68131 Mannheim
> Germany
>
> Phone: ++49-621-181-2093
> Fax: ++49-621-181-2099
> E-Mail: elff at sowi.uni-mannheim.de
> Homepage:
> http://webrum.uni-mannheim.de/sowi/elff
> http://www.sowi.uni-mannheim.de/lspwivs/
>
> ______________________________________________
> R-help at r-project.org 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.
>
>
--
View this message in context: http://www.nabble.com/Output-to-Latex-using-Memisc-almost-works-tp19144010p19158769.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list