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
1,397 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 31, 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
705 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,840 points
5,109 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
573 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 Oct 30, 2020 in Data Analytics by MD
• 95,460 points
1,754 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
1,091 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
3,088 views
0 votes
1 answer

rmarkdown Parameters declaration and using parameters

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

answered Jul 31, 2019 in Data Analytics by anonymous
1,087 views
0 votes
1 answer

Provide selection of parameter in rmarkdown

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

answered Jul 31, 2019 in Data Analytics by Cherukuri
• 33,030 points
604 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 31, 2019 in Data Analytics by anonymous
682 views
+4 votes
3 answers

How to sum a variable by group in R?

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

answered Aug 1, 2019 in Data Analytics by Cherukuri
• 33,030 points
78,148 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP