[program-l] Re: Markdown: tables in HTML and word output

  • From: Venkatesh Potluri <venky.92@xxxxxxxxx>
  • To: program-l@xxxxxxxxxxxxx
  • Date: Tue, 6 Nov 2018 15:31:17 -0800

Thanks a lot Jim.

That helped resolve another error I was getting that pandoc was not installed. 
I still get incorrectly formatted tables. Also, this link 
<https://r-resources.massey.ac.nz/rmarkdown/> suggests not to use 
knitr::pandoc. Is this different from what I am doing? I just import markdown 
and use the reader function.

Best regards, Venkatesh Potluri
Https://venkateshpotluri.me


I literally started using R 2 days ago so please excuse if these questions are 
trivial. 

On Nov 6, 2018, at 1:50 PM, Jim Homme <jhomme@xxxxxxxxxxxxxxxxx> wrote:

Hi,
I use a program called Pandoc for this. Pandoc has a way to format tables and 
make them come out properly. You would give it the correct command line 
options and let it do its thing. I know it works because I have used it 
before. I would have to look up the Markdown syntax for the tables and the 
correct options for the command line, but as I said, I know from experience 
that it works. See http://www.pandoc.org.

Jim



==========
Jim Homme
Product Manager
Digital Accessibility 
Bender Consulting Services
412-787-8567
https://www.benderconsult.com/our%20services/hightest-accessible-technology-solutions
People with disabilities, access job openings at 
https://www.benderconsult.com/careers/job-openings    ;


-----Original Message-----
From: program-l-bounce@xxxxxxxxxxxxx <program-l-bounce@xxxxxxxxxxxxx> On 
Behalf Of Venkatesh Potluri
Sent: Tuesday, November 6, 2018 3:27 PM
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] RMarkDown: tables in HTML and word output

Hi List,

I am using R for some data analysis, and find that the HTML that gets 
generated from RMarkDown does not have tables marked up as HTML tables. This 
makes it harder for a screen reader to read. Is there a way to have RMarkDown 
generate properly formatted documents? I tried word as well, but the 
resulting documents do not have any tables.

Thanks in advance for your help.

Best regards, Venkatesh Potluri
Ph.D. Student,
Paul G. Allen School for Computer Science and Engineering, University of 
Washington Https://venkateshpotluri.me

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: