{
  "id": 247721,
  "title": "How to Decompress DICOM in R?",
  "url": "/competitions/siim-covid19-detection/discussion/247721",
  "author_name": "Aaron Harter",
  "post_date": "2021-06-20T22:20:33.386000",
  "votes": 0,
  "comment_count": 0,
  "views": 0,
  "content": "<p>Hi, I was wondering if anyone has found a method to decompress DICOM's in R? I've been using oro.dicom, but when I try to read \"..//input/siim-covid19-detection/train/009bc005edaa/8713301456d4/1df3e98f79be.dcm\", I get this error:</p>\n<p>Error in if (grepl(\"1.2.840.10008.1.2.4\", transferSyntaxUID)) {: argument is of length zero<br>\nTraceback:</p>\n<p>Python seems to have gdcm, but I can't find a similar package for R. Am I going to need to switch languages?</p>",
  "messages": [
    {
      "id": 1358924,
      "postDate": "2021-06-20T22:20:33.387Z",
      "content": "<p>Hi, I was wondering if anyone has found a method to decompress DICOM's in R? I've been using oro.dicom, but when I try to read \"..//input/siim-covid19-detection/train/009bc005edaa/8713301456d4/1df3e98f79be.dcm\", I get this error:</p>\n<p>Error in if (grepl(\"1.2.840.10008.1.2.4\", transferSyntaxUID)) {: argument is of length zero<br>\nTraceback:</p>\n<p>Python seems to have gdcm, but I can't find a similar package for R. Am I going to need to switch languages?</p>",
      "rawMarkdown": "Hi, I was wondering if anyone has found a method to decompress DICOM's in R? I've been using oro.dicom, but when I try to read \"..//input/siim-covid19-detection/train/009bc005edaa/8713301456d4/1df3e98f79be.dcm\", I get this error:\n\nError in if (grepl(\"1.2.840.10008.1.2.4\", transferSyntaxUID)) {: argument is of length zero\nTraceback:\n\nPython seems to have gdcm, but I can't find a similar package for R. Am I going to need to switch languages?"
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "1358924": "Hi, I was wondering if anyone has found a method to decompress DICOM's in R? I've been using oro.dicom, but when I try to read \"..//input/siim-covid19-detection/train/009bc005edaa/8713301456d4/1df3e98f79be.dcm\", I get this error:\n\nError in if (grepl(\"1.2.840.10008.1.2.4\", transferSyntaxUID)) {: argument is of length zero\nTraceback:\n\nPython seems to have gdcm, but I can't find a similar package for R. Am I going to need to switch languages?"
  }
}