{
  "id": 8128,
  "title": "Problem reading transactions data in Rv",
  "url": "/competitions/acquire-valued-shoppers-challenge/discussion/8128",
  "author_name": "",
  "post_date": "2014-05-13T13:31:23.340Z",
  "votes": null,
  "comment_count": 7,
  "views": 1595,
  "content": "<p>I am running R on a 64-bit PC with 16Mb memory. Attempt to read the transactions data with fread fails. I get error message &quot; cannot allocate vector of size 2.6Gb.</p>\n<p>Has anyone been able to read the data into memory with R? Any suggestions will be appreciated.</p>",
  "messages": [
    {
      "id": "44454",
      "postDate": "05/13/2014 13:31:23",
      "content": "<p>I am running R on a 64-bit PC with 16Mb memory. Attempt to read the transactions data with fread fails. I get error message &quot; cannot allocate vector of size 2.6Gb.</p>\n<p>Has anyone been able to read the data into memory with R? Any suggestions will be appreciated.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "44455",
      "postDate": "05/13/2014 13:32:59",
      "content": "<p>Are you running 64 bit R?</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "44459",
      "postDate": "05/13/2014 14:10:26",
      "content": "<p>Is that 16 MB or 16 GB?</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "44464",
      "postDate": "05/13/2014 15:42:55",
      "content": "<p>I think he meant GB. He's probably running 32 bit R on a 64 bit machine</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "44465",
      "postDate": "05/13/2014 15:45:48",
      "content": "<p>My mistake. I have 16Gb ram and I TB hard disk storage.</p>\n<p>I am running R version 3.0.3 (2014-03-06) -- &quot;warm Puppy&quot;</p>\n<p>Platform: x86_64-w64-mingw32/x64 (64-bit)</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "44467",
      "postDate": "05/13/2014 15:49:32",
      "content": "<p>Check you're calling R64 not R32. R32 has memory limit, R64 doesn't</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "44475",
      "postDate": "05/13/2014 17:17:40",
      "content": "<p>Sys.getenv(&quot;R_ARCH&quot;) returns &quot;/x64&quot; which I believe means that I am running the 64-bit version.</p>\n<p>Also .Machne$sizeof.pointer returns 8.&nbsp;</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "44478",
      "postDate": "05/13/2014 17:52:08",
      "content": "<p>No idea then. I had same problem but it was because typing R on command line called the 32 bit version (in $PATH earlier). good luck</p>",
      "rawMarkdown": "",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 44455,
      "author_name": "domcastro",
      "author_url": "",
      "post_date": "05/13/2014 13:32:59",
      "content": "<p>Are you running 64 bit R?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 44459,
      "author_name": "indrajitsengupta",
      "author_url": "",
      "post_date": "05/13/2014 14:10:26",
      "content": "<p>Is that 16 MB or 16 GB?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 44464,
      "author_name": "domcastro",
      "author_url": "",
      "post_date": "05/13/2014 15:42:55",
      "content": "<p>I think he meant GB. He's probably running 32 bit R on a 64 bit machine</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 44465,
      "author_name": "omoekan09",
      "author_url": "",
      "post_date": "05/13/2014 15:45:48",
      "content": "<p>My mistake. I have 16Gb ram and I TB hard disk storage.</p>\n<p>I am running R version 3.0.3 (2014-03-06) -- &quot;warm Puppy&quot;</p>\n<p>Platform: x86_64-w64-mingw32/x64 (64-bit)</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 44467,
      "author_name": "domcastro",
      "author_url": "",
      "post_date": "05/13/2014 15:49:32",
      "content": "<p>Check you're calling R64 not R32. R32 has memory limit, R64 doesn't</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 44475,
      "author_name": "omoekan09",
      "author_url": "",
      "post_date": "05/13/2014 17:17:40",
      "content": "<p>Sys.getenv(&quot;R_ARCH&quot;) returns &quot;/x64&quot; which I believe means that I am running the 64-bit version.</p>\n<p>Also .Machne$sizeof.pointer returns 8.&nbsp;</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 44478,
      "author_name": "domcastro",
      "author_url": "",
      "post_date": "05/13/2014 17:52:08",
      "content": "<p>No idea then. I had same problem but it was because typing R on command line called the 32 bit version (in $PATH earlier). good luck</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "44454": "",
    "44455": "",
    "44459": "",
    "44464": "",
    "44465": "",
    "44467": "",
    "44475": "",
    "44478": ""
  },
  "source": "meta"
}