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 in Data Analytics by piyush
25 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 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 in Data Analytics by priya
14 views
0 votes
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,040 points
690 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

5 days ago in Data Analytics by ch
• 2,370 points
4 views
0 votes
1 answer

Plotting multiple graphs on the same page in R

If you want to plot 4 graphs ...READ MORE

answered Mar 27, 2018 in Data Analytics by Bharani
• 4,550 points
56 views
0 votes
0 answers

parameterized reports using RMarkdown

Hi, how to add parameters to Rmarkdown ...READ MORE

Jul 30 in Data Analytics by abhishek
22 views
0 votes
0 answers

Error: object 'params' not found.

Hi, i tried to add params to ...READ MORE

Jul 30 in Data Analytics by pragyat
50 views
0 votes
1 answer

rmarkdown Parameters declaration and using parameters

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

answered Jul 30 in Data Analytics by anonymous
23 views
0 votes
1 answer

Provide selection of parameter in rmarkdown

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

answered Jul 30 in Data Analytics by Cherukuri
• 28,280 points
19 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 in Data Analytics by anonymous
20 views
0 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 in Data Analytics by Cherukuri
• 28,280 points
8,967 views