[BlindRUG] Does anyone has experience of using RMarkDown and KnitR packages?

Jonathan Godfrey A.J.Godfrey at massey.ac.nz
Sun Oct 3 04:31:21 UTC 2021


Hello Faiz,

As long as the Google result you pick on is presented in HTML not pdf you'll be fine. The range of material presented in HTML out there is growing all the time, so picking a quality reference is probably the issue here.

A good start could well be the R  for Data Science book
https://r4ds.had.co.nz/r-markdown.html

There isn't really that much special to consider as a blind person except that the use of tables via knitr leads to nicer reading experience in the HTML output.

Occasionally though, the conversion to a table removes some of the things I like. For example, pushing an ANOVA table through kable() removes the header and footer as well as the significance stars out to the right of the table. The content is easily navigated using your screen reader though.

Pretty much every reference is RStudio-centric. As you read through the documentation, remember that:

1. An Rmd file is just a plain text file with the extension .txt so you can edit it in any text editor you like.
2. The default output file is HTML. Don't be tempted to change that until you have some proficiency with using a document template. You'll then be able to make use of the journal's template file with your own work to get the desired format right. You might get really lucky and find the journal has an Rmd template, but unless you're planning on sending your work to a Stats journal, that's only a slight chance at best.
3. You won't be using the "knit" button in RStudio to turn that Rmd file into the HTML. Use rmarkdown::render("MyFile.Rmd") from R.

HTH
Jonathan





-----Original Message-----
From: BlindRUG <blindrug-bounces at nfbnet.org> On Behalf Of faiz rasool via BlindRUG
Sent: Saturday, 2 October 2021 7:44 AM
To: blindrug at nfbnet.org
Cc: faiz rasool <faiz7r at gmail.com>
Subject: [BlindRUG] Does anyone has experience of using RMarkDown and KnitR packages?

Hello everyone,

In coming weeks I need to format results of data analysis for submitting a paper to a journal.
I have    heard about RMarkDown quite allot while searching about
formatting R's   output. I have observed  that knitr package is also
mentioned allot.
I wonder does any member of this list have any experience of using these two packages.
If yes, then does any list member have a suggestion of where to start learning how to use RMarkDown and Knitr? (I.e. where I can find a good tutorial). I know that I can find several tutorials using Google but I am asking on this forum first that if there are good tutorials out there that are helpful for us visually impaired users then I should begin reading those tutorials first.
I need to format summary statistics, results of confirmatory factor analysis and results of regression. So if anyone has any suggestions or experience of formatting such statistical analysis for a journal I'll be grateful if they can share their experience.

Regards,
Faiz.

_______________________________________________
BlindRUG mailing list
BlindRUG at nfbnet.org
https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnfbnet.org%2Fmailman%2Flistinfo%2Fblindrug_nfbnet.org&data=04%7C01%7CA.J.Godfrey%40massey.ac.nz%7Cc0144e58e1ac486a827c08d9850b927d%7C388728e1bbd0437898dcf8682e644300%7C1%7C0%7C637687107031942549%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=VW9QVRkEpCzYE%2FXg2lnGW8MtgHCp7BD9%2FnD2wA8Ygc0%3D&reserved=0
To unsubscribe, change your list options or get your account info for BlindRUG:
https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnfbnet.org%2Fmailman%2Foptions%2Fblindrug_nfbnet.org%2Fa.j.godfrey%2540massey.ac.nz&data=04%7C01%7CA.J.Godfrey%40massey.ac.nz%7Cc0144e58e1ac486a827c08d9850b927d%7C388728e1bbd0437898dcf8682e644300%7C1%7C0%7C637687107031942549%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Se5majcNKndxOoBGyGhwgJmNQuMIE3jXApoyoi5DZx4%3D&reserved=0
The list archive can be viewed at:
https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.nfbnet.org%2Fpipermail%2Fblindrug_nfbnet.org&data=04%7C01%7CA.J.Godfrey%40massey.ac.nz%7Cc0144e58e1ac486a827c08d9850b927d%7C388728e1bbd0437898dcf8682e644300%7C1%7C0%7C637687107031952506%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=08ipO0oZoj6eLLfdaJlxrsKgQpMC%2Fy5gG1qh0eiNJfw%3D&reserved=0
More information and useful links about using R as a blind person can be obtained at:
http://R-Resources.massey.ac.nz

Look for help using R commands by reading the accessible e-book "Let's Use R Now" compiled by Jonathan Godfrey at:
http://R-Resources.massey.ac.nz/lurn/front.html



More information about the BlindRUG mailing list