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
23 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
11 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
537 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
50 views
0 votes
1 answer

How to find out the sum/mean for multiple variables per group in R?

You can use the reshape2 package for ...READ MORE

answered Apr 12, 2018 in Data Analytics by DataKing99
• 8,130 points
338 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
17 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
29 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
18 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
• 25,660 points
17 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
18 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
• 25,660 points
7,371 views