[BlindRUG] Would there be any tips for using papaja package?

JooYoung Seo jooyoung at psu.edu
Sat Aug 20 22:22:14 UTC 2016


                Thank you very much.

 

                Sincerely,

 

                JooYoung

 

       JooYoung Seo

--------------------

  Doctorate Student,

  Learning, Design, and Technology

  Learning and Performance Systems

  The Pennsylvania State University

  Phone: +1 (814) 777-5825

  E-mail: jzs323 at psu.edu

 

From: BlindRUG [mailto:blindrug-bounces at nfbnet.org] On Behalf Of Godfrey,
Jonathan via BlindRUG
Sent: Saturday, August 20, 2016 3:42 AM
To: Blind R Users Group <blindrug at nfbnet.org>
Cc: Godfrey, Jonathan <A.J.Godfrey at massey.ac.nz>
Subject: Re: [BlindRUG] Would there be any tips for using papaja package?

 

Hello,

 

You'll need to investigate the things you can do with the opening line of a
code chunk. The default is to echo all code, but we can write echo=FALSE as
an argument for the code chunk; there are other arguments to control the way
results are printed etc.

 

If you issue the command

UniDesc(SomeVariable)

You will get some files in your working directory which generate the html
page that opens. Take a look through the Rmd file, named SomeVariable.Rmd in
your working directory. This will give you some ideas about how you can
create markdown documents.

 

Cheers,

Jonathan

 

 

 

 

From: BlindRUG [mailto:blindrug-bounces at nfbnet.org] On Behalf Of JooYoung
Seo via BlindRUG
Sent: Saturday, 20 August 2016 3:53 p.m.
To: 'Blind R Users Group'
Cc: JooYoung Seo
Subject: Re: [BlindRUG] Would there be any tips for using papaja package?

 

                Thank you Jonathan,

 

                It was very helpful.

 

                The follow-up question I have is, then, how you would handle
the first line (i.e., require(knitr)) not to be shown in your converted html
file.

 

                The package load line is presented in HTML file.

 

                Your advice would be greatly appreciated.

 

                Sincerely,

 

                JooYoung

 

       JooYoung Seo

--------------------

  Doctorate Student,

  Learning, Design, and Technology

  Learning and Performance Systems

  The Pennsylvania State University

  Phone: +1 (814) 777-5825

  E-mail: jzs323 at psu.edu <mailto:jzs323 at psu.edu> 

 

From: BlindRUG [mailto:blindrug-bounces at nfbnet.org] On Behalf Of Godfrey,
Jonathan via BlindRUG
Sent: Friday, August 19, 2016 1:23 PM
To: Blind R Users Group <blindrug at nfbnet.org <mailto:blindrug at nfbnet.org> >
Cc: Godfrey, Jonathan <A.J.Godfrey at massey.ac.nz
<mailto:A.J.Godfrey at massey.ac.nz> >
Subject: Re: [BlindRUG] Would there be any tips for using papaja package?

 

Hi,

 

I assume you've installed the papaj package using either the R GUI or
terminal.

 

In a code chunk near the top of your document you might want to include the
package using either require() or library(). I usually include the knitr
package (directly or indirectly) in my markdown documents this way.

 

 

A markdown document can be processed from in R. I do this often while
starting a document because WriteR isn't good at telling me about bugs. The
RmdBatch file approach in your other message isn't either. That's good for
re-processing an existing document with new data or similar.

 

In R, I make sure the knitr package is ready for use, again using require()
or library() and then use the standard knit command knit2html("MyFile")

 

When I'm being lazy, I use knitr::knit2html() to avoid having to type the
library() command.

 

Hope this helps.

Jonathan

 

 

 

 

 

 

From: BlindRUG [mailto:blindrug-bounces at nfbnet.org] On Behalf Of JooYoung
Seo via BlindRUG
Sent: Thursday, 18 August 2016 8:33 a.m.
To: 'Blind R Users Group'
Cc: JooYoung Seo
Subject: [BlindRUG] Would there be any tips for using papaja package?

 

                Dear Dr. Godfrey,

 

                I am referring to this web blog
<http://blog.efpsa.org/2015/06/09/how-not-to-worry-about-apa-style/>  where
the author explains how to use the package called "papaja" to format your
document in accord with the APA guidelines.

 

                What I am struggling with is that it requires RStudio to get
the default template and to process the Rmarkdown file through knit.

 

                I have attempted to employ WriteR function you've
implemented, but I failed to follow the instructions the author of the blog
suggested.

 

                Is there any tips to use this package from blind R user's
perspective.

 

                Thank you very much.

 

                JooYoung

 

       JooYoung Seo

--------------------

  Doctorate Student,

  Learning, Design, and Technology

  Learning and Performance Systems

  The Pennsylvania State University

  Phone: +1 (814) 777-5825

  E-mail: jzs323 at psu.edu <mailto:jzs323 at psu.edu> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nfbnet.org/pipermail/blindrug_nfbnet.org/attachments/20160820/27637d1d/attachment.html>


More information about the BlindRUG mailing list