knitr

Question 1
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is required for not echoing the code?
echo=TRUE
print=TRUE
echo=FALSE
all of the mentioned
Explanation:
Code has to be written to set the global options.
Question 2
Marks : +2 | -2
Pass Ratio : 100%
Which of the following statement is used for importing knitr library?
library(knitr)
import knitr
lib(knitr)
none of the mentioned
Explanation:
knitr is not good for documents that require precise formatting.
Question 3
Marks : +2 | -2
Pass Ratio : 100%
Point out the correct combination related to output statements.
results: “asis”
echo: true
echo=false
none of the mentioned
Explanation:
Global option relating to echo have values TRUE and FALSE.
Question 4
Marks : +2 | -2
Pass Ratio : 100%
knitr is good for complex time-consuming computations.
True
False
Explanation:
knitr is poor for complex time-consuming computations.
Question 5
Marks : +2 | -2
Pass Ratio : 100%
Which of the following global option has value “hide”?
results
fig.width
echo
none of the mentioned
Explanation:
Workflow R Markdown is a format for writing reproducible, dynamic reports with R.
Question 6
Marks : +2 | -2
Pass Ratio : 100%
The document produced by knitr document has which of the following extension?
.md
.rmd
.html
none of the mentioned
Explanation:
knitr produces markdown document.
Question 7
Marks : +2 | -2
Pass Ratio : 100%
Which of the following global options are available for figures in knitr?
fig.height
fig.size
fig.breadth
all of the mentioned
Explanation:
fig.height has numeric value.
Question 8
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is suitable for knitr?
Reports
Data preprocessing documents
Technical manuals
All of the mentioned
Explanation:
knitr has short technical documents.
Question 9
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is the correct order of conversion?
.md->.Rmd->.html
.Rmd->.md->.html
.Rmd->.md->.xml
all of the mentioned
Explanation:
knitr converts markdown document in to html by default.
Question 10
Marks : +2 | -2
Pass Ratio : 100%
Code chunks begin with “`{r} and end with “`.
True
False
Explanation:
Code chunks can have names.