display the output r code as title in R script Rmarkdown script to html page

0 votes
I have dataset that im using to perform some opearations in Rscript, how to display the file name that is taken as input as title in R markdown?
Jul 30, 2019 in Data Analytics by piyush
212 views

1 answer to this question.

0 votes

Use the file input from parameter and use the value of parameter as title

For ex:

params:
  filename:
  label: "select file:
  value :"defualt filename.extension"
  input: file

Then use param$name to dispaly in title.

## params$filename 
answered Jul 30, 2019 by anonymous

Related Questions In Data Analytics

0 votes
1 answer

Append r output in the title of rmarkdown document

Insert with `r <code> ` withion markdown ...READ MORE

answered Sep 10, 2019 in Data Analytics by priya
81 views
+1 vote
1 answer

"Error in eval(ei, envir) : object 'RDX2' not found" when trying to source the code in R

This is a very common issue that ...READ MORE

answered Oct 30, 2018 in Data Analytics by Maverick
• 10,820 points
2,246 views
0 votes
0 answers

How to get the value passed through url from one page to another in R?

How to get the value passed through ...READ MORE

Oct 16, 2019 in Data Analytics by ch
• 3,450 points
56 views
0 votes
1 answer

How to add title in the barplot in R?

Hi@akhtar, The features of the bar chart can ...READ MORE

answered 42 minutes ago in Data Analytics by MD
• 67,760 points
2 views
0 votes
1 answer

parameterized reports using RMarkdown

Add params attribute like below specifying dataset ...READ MORE

answered Nov 4, 2019 in Data Analytics by kamal
257 views
0 votes
1 answer

Error: object 'params' not found.

@pragyat, Remove " " around data value in ...READ MORE

answered Nov 4, 2019 in Data Analytics by priya
769 views
0 votes
1 answer

rmarkdown Parameters declaration and using parameters

Create parameters using params attribute inside Rmarkdown ...READ MORE

answered Jul 30, 2019 in Data Analytics by anonymous
161 views
0 votes
1 answer

Provide selection of parameter in rmarkdown

Use choices attribute to provide a list ...READ MORE

answered Jul 30, 2019 in Data Analytics by Cherukuri
• 32,490 points
81 views
0 votes
1 answer

Display only output and caption with any warnings or code in Rmarkdown

Use echo=FALSE and fig.cap = "caption in ...READ MORE

answered Jul 30, 2019 in Data Analytics by anonymous
81 views
+3 votes
2 answers

How to sum a variable by group in R?

You can also try this way, x_new = ...READ MORE

answered Jul 31, 2019 in Data Analytics by Cherukuri
• 32,490 points
43,113 views