Search code examples
rdicom

Cannot find function readDICOM, though oro.dicom is installed


I am struggeling with reading DICOM files in R. I have installed the oro.dicom package, using:

install.packages("oro.dicom", repos="https://cran.cnr.berkeley.edu/")

I have set the working directory to where the files are located.

When trying to read a dicom file, using...

slice=readDICOM("IM-0001-0011.dcm")

... I get the following error message:

Error: could not find function "readDICOM"

Can someone help? Thank you, Lena


Solution

  • You should load package with library(oro.dicom) fisrt before you will use functions from that package,