Re: [R] export table in separate file

2012-08-10 Thread Duncan Mackay
Hi Here is some code I used to produce an html table file within my Sweave chunk . I needed to produce html tables to go into word as well as producing a pdf file.create(fhtml) # file name # open to append ff <- file(fhtml, "a+") # Table fchars <- c('\n', '\n',

[R] export table in separate file

2012-08-10 Thread Alexander Shenkin
Hi Folks, I'm using Sweave to generate png & pdf graphics that I then "Import & Link" in a Word document. This let's me create sharable and editable dynamic documents. They are dynamic in that I can regenerate figures when the data changes, and have those figures automatically updated in my Word