plot pdf error
1
0
Entering edit mode
anu.kour • 0
@anukour-9381
Last seen 8.6 years ago

I am trying to save the graph in PDF format and getting the following error:

plot(data[,2],data[,3],col=color_vector,cex=size_vector/20,pch=19,xlab="range",ylab="column",main="Field effects on plant height")
> pdf("R/eliz/field_effect.pdf")
Error in pdf("R/eliz/field_effect.pdf") : 
  cannot open file 'R/eliz/field_effect.pdf'
> plot(data[,2],data[,3],col=color_vector,cex=size_vector/20,pch=19,xlab="range",ylab="column",main="Field effects on plant height")
> dev.off()

suggestions, Thanks for the help

graph • 1.2k views
ADD COMMENT
0
Entering edit mode
Axel Klenk ★ 1.0k
@axel-klenk-3224
Last seen 20 hours ago
UPF, Barcelona, Spain

Typically the path ("R/eliz") doesn't exist or you don't have permission to create a file there.

ADD COMMENT

Login before adding your answer.

Traffic: 531 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6