Skip to content
Prev 369877 / 398503 Next

error while creating a simple graph

Dear All,

I am learning R so it's a very simple problem but I do not understand while
I am not able to generate a graph from two vectors.

when I type this code, it generates a very nice graph.

 pdf("mygraph.pdf")
But I am trying to create a graph from this code, it generates a pdf with
nothing.
Thanks
Yogesh