[R] Tranferring R results to word prosessors

Bart Joosen bartjoosen at hotmail.com
Wed Feb 15 20:36:47 CET 2006


When transferring data frame output to word it's easy to use:
write.table(df, file="clipboard",sep="\t")  #df is your dataframe in this 
case

Now you can go to Word en paste your table with tabs.

Good luck

Bart Joosen

> On Thursday 09 February 2006 20:08, Patrick Burns wrote:
>> One approach is to use LyX (http://www.lyx.org/).
>> This is a lot like using Word or other word processors
>> but it creates LaTeX.  You probably won't need to
>> know anything about TeX for a long time unless you
>> are doing really weird things.
>>
>> Patrick Burns
>> patrick at burns-stat.com
>> +44 (0)20 8525 0696
>> http://www.burns-stat.com
>> (home of S Poetry and "A Guide for the Unwilling S User")
>>
>> roger bos wrote:
>> >Yeah, but I don't understand LaTeX at all.  Can you point me to a good
>> >beginners guide?
>> >
>> >Thanks,
>> >
>> >Roger
>> >
>> >On 2/9/06, Barry Rowlingson <B.Rowlingson at lancaster.ac.uk> wrote:
>> >>Tom Backer Johnsen wrote:
>> >>>I have just started looking at R, and are getting more and more
>> >>
>> >>irritated
>> >>
>> >>>at myself for not having done that before.
>> >>>
>> >>>However, one of the things I have not found in the documentation is 
>> >>>some
>> >>>way of preparing output from R for convenient formatting into 
>> >>>something
>> >>>like MS Word.
>> >>
>> >>Well whatever you do, don't start looking at LaTeX, because that will
>> >>get you even more irritated at yourself for not having done it before.
>> >>
>> >>LaTeX is to Word as R is to what? SPSS?
>> >>
>> >>I've still not seen a pretty piece of mathematics - or even text - in
>> >>Word.
>> >>
>> >>Barry




More information about the R-help mailing list