Dear all, I am a very new user to R (for windows) (since Monday!) so please excuse me if I am asking an obvious question! I am experiencing some problems with the graphics window - in short, it keeps disappearing. i.e. I can type> x<-c(1,3,6,4,9) > plot(x) >No errors are produced, but not graphics window appears either. The graphics window tends to work if I plot graphs immediately after opening R, but after I have had R open for a while and have run several functions/loaded datasets it stops appearing. Does anyone know why this is, I am a little confused! Many thanks Lauren PhD student School of Geography University Park University of Nottingham NG7 2RD This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
Hi Lauren, try it with dev.off() before plotting. Perhaps you have an old window or connection open somewhere. Bests, Ralph Am Thursday 25 September 2008 14:24:17 schrieb Gough Lauren:> Dear all, > > I am a very new user to R (for windows) (since Monday!) so please excuse > me if I am asking an obvious question! > > I am experiencing some problems with the graphics window - in short, it > keeps disappearing. i.e. I can type > > > x<-c(1,3,6,4,9) > > plot(x) > > No errors are produced, but not graphics window appears either. > > The graphics window tends to work if I plot graphs immediately after > opening R, but after I have had R open for a while and have run several > functions/loaded datasets it stops appearing. > > Does anyone know why this is, I am a little confused! > > Many thanks > > Lauren > > PhD student > School of Geography > University Park > University of Nottingham > NG7 2RD > > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses, which could damage your computer > system: you are advised to perform your own checks. Email communications > with the University of Nottingham may be monitored as permitted by UK > legislation. > > ______________________________________________ > R-help at r-project.org mailing list > 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.
Hi what dev.cur() If it is something like pdf 3 your plot is transfered to this device not to standard windows device (if you are on Windows), so dev.off( ) close current device and you probably can do intended plotting again. See Devices help page. Regards Petr r-help-bounces at r-project.org napsal dne 25.09.2008 14:24:17:> Dear all, > > I am a very new user to R (for windows) (since Monday!) so please excuse > me if I am asking an obvious question! > > I am experiencing some problems with the graphics window - in short, it > keeps disappearing. i.e. I can type > > > x<-c(1,3,6,4,9) > > plot(x) > > > > No errors are produced, but not graphics window appears either. > > The graphics window tends to work if I plot graphs immediately after > opening R, but after I have had R open for a while and have run several > functions/loaded datasets it stops appearing. > > Does anyone know why this is, I am a little confused! > > Many thanks > > Lauren > > PhD student > School of Geography > University Park > University of Nottingham > NG7 2RD > > > This message has been checked for viruses but the contents of anattachment> may still contain software viruses, which could damage your computersystem:> you are advised to perform your own checks. Email communications withthe> University of Nottingham may be monitored as permitted by UKlegislation.> > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.