简体   繁体   中英

Error: could not find function “readDICOM”

I have installed the requested package

install.packages('devtools')
library(devtools)

The working directory was set correctly, but when I was trying to open the data, R failed to read it. And this is what I got as a feedback.

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

Error: could not find function "readDICOM"

And I can't get why readDICOM is not there and what should I do to change it.

我认为您需要安装并加载oro.dicom包。

You likely installed the package but didn't load it. use library('oro.dicom') and it should work

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM