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
36 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
26 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
885 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 in Data Analytics by ch
• 3,290 points
12 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,560 points
67 views
0 votes
1 answer

parameterized reports using RMarkdown

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

answered Nov 4 in Data Analytics by kamal
40 views
0 votes
1 answer

Error: object 'params' not found.

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

answered Nov 4 in Data Analytics by priya
92 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
32 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
• 32,260 points
26 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
28 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
• 32,260 points
11,569 views