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 7619525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:42:32+00:00 2026-05-31T03:42:32+00:00

map(usa) by default displays a map without Alaska and Hawaii. map(world) has Antartica by

  • 0

map(“usa”) by default displays a map without Alaska and Hawaii. map(“world”) has Antartica by default. Is there any way to say “include alaska”, “exclude antartica” etc?

  • 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-05-31T03:42:33+00:00Added an answer on May 31, 2026 at 3:42 am

    Quick answer:

    nams <- map("world", namesonly=TRUE, plot=FALSE)
    
    map("world", region=nams[-grep("Antarctica", nams)])
    

    Longer answer:

    The maps data in “world” is referenced by region names and these are generally character data in “continent:country” or “continent:subregion” format. To get those names which are in an external database, you need to first use maps(“world” , …) with parameters that return only the names and not all of hte other coordinates. If you want to find all the “Antarctica” containing entries you need to use grep() to identify their position in the returned names vector.

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

Sidebar

Related Questions

on a world map, how do I plot a single point? all_states <- map_data(usa)
I have a map of the USA and a list of long, lat that
I am initializing map<string, vector<string> > as follows: map <string, vector<string> > dict; dict[USA].push_back(NYC);
1 Map has N Images. When a the user updates the Map data I
Map testMap = new HashMap(); for(Map.Entry<String, Object> entry:testMap.entrySet()){ } it has error tip:Type mismatch:
Scenario: I have a state map of the USA. Over top of the state
I have an image of the political map of the USA. I want to
I have some shapefile (demographic/heat map data in the USA, such as crime in
I've followed this tutorial - http://www.netzgesta.de/mapper/ to create a state map of USA which
Map<Integer, Map<String, String>> movie = new HashMap<Integer,Map<String, String>>(); Map<String,String> sub = new HashMap<String,String>(); I'm

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.