R exams swave文件的R环境中的警告消息

R exams swave文件的R环境中的警告消息,r-exams,R Exams,当我执行下面的代码块时,我一直收到警告消息。这怎么能解决呢 <<fig=TRUE, height=3.5, width=3.5, echo=FALSE, eps=FALSE, results=hide>>= include_supplement("data.txt") data <- read.table("data.txt", header=T) p1<-plot(data[,2], main="XYZ&qu

当我执行下面的代码块时,我一直收到警告消息。这怎么能解决呢

<<fig=TRUE, height=3.5, width=3.5, echo=FALSE, eps=FALSE, results=hide>>=
include_supplement("data.txt")
data <- read.table("data.txt", header=T)
p1<-plot(data[,2], main="XYZ")
p1
@

Warning message:
file stem ‘q.stoch_trend-Copy-001’ is not portable
=
包括附录(“data.txt”)

数据正如警告信息所说,所有系统上的文件都是stem
q.stoch_trend-Copy-001
是个问题,因为有些系统可能认为这是前缀的结尾和后缀的开头。因此,我建议将其替换为
-
q\u stoch\u trend-Copy-001