2014-06-16 86 views
0

我試圖創建光譜對象(.RData),就像上建議ChemoSpec.pdf(見下面的代碼),我得到這樣的錯誤消息:ChemoSpec找不到getManyCsv功能

「找不到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

請出示你跑了實際的代碼。 – eipi10

+0

@ eipi10 - 代碼添加。我希望它可以修復。我一直在搜索www,但我還沒有找到任何有用的東西。乾杯! –

回答

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。