I’ ve the following problem :
Error in .C(“NetCDFOpen”, as.character(filename), ncid = integer(1), status = integer(1), :
C symbol name “NetCDFOpen” not in DLL for package “xcms”
How do you get this error :
nc <- xcms:::netCDFOpen(cdfFile)
ncData <- xcms:::netCDFRawData(nc)
xcms:::netCDFClose(nc)
I don’t know why this don’t works, although it should. For further info feel free to ask. Free .cdf files canf be found in the TargetSearchData package.
Code example :
## The directory with the NetCDF GC-MS files
cdfpath <- file.path(.find.package("TargetSearchData"), "gc-ms-data")
cdfpath
I don’t think that it should, as you are implying. First, you are using a non-exported function through the
:::. In addition, as stated by the error message, the is noNetCDFOpensymbol defined is thedll/sofiles.Using the standard input functionality from
xcms, works smoothly:If you really want to input your data manually, you should use the functionality from the
mzRpackage, whichxcmsdepends on:Finally, do pay attention to always provide the output of
sessionInfo, to assure that you are using the latest version. In my case:although if might be different for you, if you use the stable version of R and Bioconductor (currently
2.15.2/2.11).Hope this helps.