{
  "id": 21632,
  "title": "Exponential in ID column of sub while writing csv in R",
  "url": "/competitions/grupo-bimbo-inventory-demand/discussion/21632",
  "author_name": "",
  "post_date": "2016-06-13T05:46:17.853Z",
  "votes": null,
  "comment_count": 2,
  "views": 541,
  "content": "<p>Hello all, I am using R and when I try to write my submission dataframe using write.csv of the test_data id, Demanda_uni_equil I am getting exponential values for the ID's like 1e+05 for 100000 2e+05 for 200000 and 1e+06 1000000 and so on. When i try submitting in Kaggle the submission failed like incorrect ID column found as 1e+05 when expected is 100000. So I have to manually open the submission file in a notepad and replace the e+05 and e+06 with the respective number of zeros. Is any one else experiencing the same thing ???  Is there a work around for this ????</p>",
  "messages": [
    {
      "id": "123614",
      "postDate": "06/13/2016 05:46:17",
      "content": "<p>Hello all, I am using R and when I try to write my submission dataframe using write.csv of the test_data id, Demanda_uni_equil I am getting exponential values for the ID's like 1e+05 for 100000 2e+05 for 200000 and 1e+06 1000000 and so on. When i try submitting in Kaggle the submission failed like incorrect ID column found as 1e+05 when expected is 100000. So I have to manually open the submission file in a notepad and replace the e+05 and e+06 with the respective number of zeros. Is any one else experiencing the same thing ???  Is there a work around for this ????</p>",
      "rawMarkdown": "Hello all, I am using R and when I try to write my submission dataframe using write.csv of the test_data id, Demanda_uni_equil I am getting exponential values for the ID's like 1e+05 for 100000 2e+05 for 200000 and 1e+06 1000000 and so on. When i try submitting in Kaggle the submission failed like incorrect ID column found as 1e+05 when expected is 100000. So I have to manually open the submission file in a notepad and replace the e+05 and e+06 with the respective number of zeros. Is any one else experiencing the same thing ???  Is there a work around for this ????",
      "votes": null
    },
    {
      "id": "125066",
      "postDate": "06/25/2016 09:51:39",
      "content": "<p>run 'options(scipen = 100) ' before you write the data frame. </p>",
      "rawMarkdown": "run 'options(scipen = 100) ' before you write the data frame.",
      "votes": null
    },
    {
      "id": "125108",
      "postDate": "06/26/2016 10:41:26",
      "content": "<p>convert the ID column using as.integer() in R. This worked for me</p>",
      "rawMarkdown": "convert the ID column using as.integer() in R. This worked for me",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 125066,
      "author_name": "sarupurisailalith",
      "author_url": "",
      "post_date": "06/25/2016 09:51:39",
      "content": "<p>run 'options(scipen = 100) ' before you write the data frame. </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 125108,
      "author_name": "avinashrai",
      "author_url": "",
      "post_date": "06/26/2016 10:41:26",
      "content": "<p>convert the ID column using as.integer() in R. This worked for me</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "123614": "Hello all, I am using R and when I try to write my submission dataframe using write.csv of the test_data id, Demanda_uni_equil I am getting exponential values for the ID's like 1e+05 for 100000 2e+05 for 200000 and 1e+06 1000000 and so on. When i try submitting in Kaggle the submission failed like incorrect ID column found as 1e+05 when expected is 100000. So I have to manually open the submission file in a notepad and replace the e+05 and e+06 with the respective number of zeros. Is any one else experiencing the same thing ???  Is there a work around for this ????",
    "125066": "run 'options(scipen = 100) ' before you write the data frame.",
    "125108": "convert the ID column using as.integer() in R. This worked for me"
  },
  "source": "meta"
}