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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:51:21+00:00 2026-05-20T05:51:21+00:00

So far I have been using R on a 32-bit Windows XP machine resulting

  • 0

So far I have been using R on a 32-bit Windows XP machine resulting in 2 GB of available memory to R (using --max-mem-size=2047M). In a recent project involving permutation tests (using the coin package) this was not enough (i.e., cannot allocate vector of size ...).

Therefore, I would like to run R in an environment that gives me the most memory. I have a 4GB quadcore PC available for this endeavor (not my desktop PC, so I could play around with it a little and even use it via remote desktop).
Which operating system should I use to use the most memory? 64bit Windows (i.e. 7) or Linux? If Linux, which distribution?
So far, I haven’t used Linux at all so ease of use and installation would definitely be a plus. Furthermore, so far I have been using Notepadd++ and NPPtoR and it would be great if I could stay with this, too. However, most available memory is the primary target.

  • 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-20T05:51:21+00:00Added an answer on May 20, 2026 at 5:51 am

    I’m going to talk about Windows in this answer. I know nothing substantial about other operating systems so I’ll not embarrass myself by not talking about them. I’m not making any judgements about which of Windows or Linux is better or worse than the other.

    Nowadays, you always want to be using the 64 bit version of Windows rather than the 32 bit version. The 64 bit version of Windows runs 32 bit programs perfectly (sometimes even a little faster than the 32 bit version of Windows manages). When you run a 32 bit program under 64 bit Windows, it can get access to 4GB address space. Under 32 bit Windows it only gets a 2GB address space. So even if you stick to 32 bit R you’ll have more head-room under 64 bit Windows.

    However, there is nowadays a 64 bit version of R. This is less mature than the 32 bit version but it will most likely meet your needs. You may need to check for package compatibility since some packages may not yet support 64 bit R on Windows yet.

    You may actually experience a drop-off in performance with the 64 bit version of R because pointer width doubles and so the memory footprint is bigger. However, I’d be surprised if this was at all significant.

    You can install both 32 and 64 bit versions side-by-side, but if you can get away with just one version I’d always recommend doing so – it makes maintenance so much easier.

    As your machine only has 4GB of memory anyway, there’s probably not that much to be gained from using the 64 bit version of R. The 64 bit version of Windows will make a big difference, but if you go to the 64 bit version of R as well, and actually use 4GB of memory then you are likely to see lots of disk thrashing and your calculations will take forever.

    Finally, when faced with memory resource shortages it is often possible to find alternative ways to organise your code so that you simply avoid the issue altogether. Since we don’t have the details of your R code, we can’t tell if that is the case here, but it may be worth thinking about.

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

Sidebar

Related Questions

No related questions found

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.