我正在尝试创建Spectra对象(.RData),就像在ChemoSpec.pdf上建议的那样(请参阅下面的代码),我收到如下错误消息:
"找不到getManyCsv函数"
我该如何解决?任何建议表示赞赏。我有R版本3.1.0和ChemoSpec版本2.0-2。
以下是代码:
getManyCsv(gr.crit = c("ICLPS", "PEPS"), gr.cols = c("red3", "dodgerblue4"),freq.unit = "ppm", int.unit = "peak intensity", descrip = "PS Study",out.file = "PS")
干杯,
Awel
答案 0 :(得分:0)
我遇到了同样的问题,发现于:
http://cran.r-project.org/web/packages/ChemoSpec/NEWS
以下:
##### Version 2.0.0
Date: 2013-12-07
>> normSpectra modified to avoid integer overflow.
>> Modified plotScree & plotScree2 so that data sets with less than 10 components plot.
>> Freshened up the README.md file.
>> To facilitate using expressions in plot titles, argument 'title' has been removed from all functions that use base or lattice graphics and now one should use 'main'. The 'title' argument remains for the rgl graphics functions. THIS WILL BREAK EARLIER CODE, hence the move to a new major version.
>> Semantic versioning is now in effect. See semver.org for details.
>> getManyCsv has been removed (deprecated for one year now). Use files2SpectraObject instead.
因此可能需要使用files2SpectraObject而不是getManyCsv。