[BlindRUG] Question about R Markdown

JooYoung Seo jooyoung at psu.edu
Sat Mar 20 18:27:30 UTC 2021


Hello,

Attached is a minimal boilerplate for your question.

Download the file to your working directory, and run the following
command to knit:

rmarkdown::render("answer.Rmd")

You can open the Rmd file with your preferred text editor to learn
some basic structure and find the answer.html output to see how it is
rendered.

HTH

JooYoung


On 3/19/21, Niels Luithardt via BlindRUG <blindrug at nfbnet.org> wrote:
> Hello,
>
> I have a question about RMarkdown:
>
> I want to create a .rmd file and I have thought of the following example for
> it:
>
> dice<-sample(1:6,50,replace=TRUE)
> table(dice)
> round(table(dice)/50,digits = 3)
> barplot(table(dice),width=1,col="blue", cex.axis=2.8,cex.names=2.8)
>  What must be the rest of the markdown file for my code to be
> processed successfully?
>
> I would be very pleased about answers!
>
> Kind regards
>
> Niels
>
> _______________________________________________
> BlindRUG mailing list
> BlindRUG at nfbnet.org
> http://nfbnet.org/mailman/listinfo/blindrug_nfbnet.org
> To unsubscribe, change your list options or get your account info for
> BlindRUG:
> http://nfbnet.org/mailman/options/blindrug_nfbnet.org/jooyoung%40psu.edu
> The list archive can be viewed at:
> http://www.nfbnet.org/pipermail/blindrug_nfbnet.org
> 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
>


-- 
--------------------
  JooYoung Seo, CPACC
  Ph.D. Candidate (ABD),
  RStudio's Trusted Data-Science Instructor
  Learning, Design, and Technology
  Learning and Performance Systems
  The Pennsylvania State University
  Site: https://jooyoungseo.com/
  Phone: +1 (814) 777-5825
  E-mail: jzs323 at psu.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: answer.Rmd
Type: application/octet-stream
Size: 279 bytes
Desc: not available
URL: <http://nfbnet.org/pipermail/blindrug_nfbnet.org/attachments/20210320/67320865/attachment.obj>


More information about the BlindRUG mailing list