需要使用classify这个package以及里面的pecm函数
用library(classify)后无法调用pecm函数
用source('classify.R')后可以调用pecm函数
但用source却经常失败:
> source('classify.R')
Error in file(filename, "r", encoding = encoding) :
cannot open the connection
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
cannot open file 'classify.R': No such file or directory
source调用与library调用有什么区别,上述失败如何解决呢?