|
setwd("D:/RBook")
Owls<- read.table(file = "Owls.txt", header = T)
Owls.ATV<- Owls[Owls$Nest == "AutavauxTV", ]setwd("E:\\R\\Graphs\\Olws\\")YourFileName<- paste(Owls.ATV, ".jpg", sep = "")jpeg(file= YourFileName)plot(x = Owls.ATV$ArrivalTime, y = Owls.ATV$NegPerChick, xlab = "Arrival Time", ylab = "Negotiation behaviour", main = "AutavauxTV")dev.off()
这是我写的代码,但是在运行的时候,提示说“setwd("E:\\R\\Graphs\\Olws\\")” 无法改变工作目录,请问是什么情况,怎么解决???谢谢
|
|