plot.window() is an internal support function, not a user function. use plot()
x <- c(-30,30) y <- c(-5,5) plot(x , y) On Fri, Jan 16, 2015 at 4:18 PM, Nafise Mehdipour <nfs.mehdip...@gmail.com> wrote: > Hi, > > I am writing regarding to my problem about using "plot" function. I am > using "R x64 3.1.1" (installed on Windows 7 SP1 (laptop Sony VGN-SR) ), and > when I use type this code: > > >> x <- c(-30,30) >> y <- c(-5,5) >> plot.window(x , y) > > or any other form of "plot" function, it doesn't show anything. I used > >> dev.off() > > to set the graphic device to the default of R or null, but it didn't help. > Then > I used: > >> png(filename="name.png") >> plot.window(x , y) >> dev.off() > > to see the output as an image instead. But this is time consuming for me to > do that every time to see the output. Please help me to resolve this > problem. > > Very looking forward to your reply. > Thank you. > > > Best Regards, > Nafiseh Mehdipour. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.