Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8463369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T14:26:08+00:00 2026-06-10T14:26:08+00:00

I make several calls to mtext() using the same args : mtext(expression(bold(Exome SNP QQ

  • 0

I make several calls to mtext() using the same args:

mtext(expression(bold("Exome SNP QQ Plots")), col="black", outer=TRUE, cex=1.3)

I want to create an object containing these args, that I can pass to mtext(), rather than recreating it each time. I tried to put the args above in a variable as a list:

PageTitle <- list(expression(bold("Exome SNP QQ Plots")), col="black", outer=TRUE, cex=1.3)

And then pass the variable to mtext():

mtext(PageTitle)

This does not behave the same as calling mtext() with a complete set of args.
I suspect that mtext() is not looking for a list, but a different kind of object?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T14:26:09+00:00Added an answer on June 10, 2026 at 2:26 pm

    Function do.call is what you are looking for:

    do.call(mtext, PageTitle)
    

    We have the syntax do.call(what, args, quote = FALSE, envir = parent.frame()), here what is a function and args is a list of arguments to the function call – and that is great that you already have this list. do.call is a very useful function and it might help you in other situations too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just started using the TPL, and I want to make several calls to
I have several popovers (on a tags) that make ajax calls to populate their
I have several web applications that make use of packages using WebActivator. On my
I've been running Python scripts that make several calls to some functions, say F1(x)
I want to make some API calls to a server using HttpURLConnection . But
I make several calls to a webservice and receive back a object which I
I make several calls to a function that reads data from an input file.
I'm writing two applications (in C), which make several calls to send and receive
I have a circumstance where I need to make several getJSON calls, and once
For several days now I've been messing around with Ajax calls using different combinations

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.