Re: [R] histogram in GNU R....

2018-09-07 Thread Peter Langfelder
A simpler short term solution is to execute dev.off() and look for the plot in file Rplots.pdf in the current directory. Depending on the OS of the local computer, you should be able to point a file browser at the EC instance and simply click the file to open in in a pdf viewer on the local

Re: [R] histogram in GNU R....

2018-09-07 Thread William Dunlap via R-help
You may have to install X11 stuff to your ec2 instance. E.g., googling for "ec2 X11 forwarding" showed things like the following: Re: X11 forwarding to access AWS EC2 Linux instance Posted by: wilderfield Posted on: Apr 5, 2018 11:31 AM

Re: [R] histogram in GNU R....

2018-09-07 Thread MacQueen, Don via R-help
In addition to the other suggestions, try typing x11() before using hist(). That *should* start a graphics window. If it does not, then type capabilities() and see if "X11" is TRUE. -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550

Re: [R] histogram in GNU R....

2018-09-07 Thread peter dalgaard
You are most likely plotting to a non-screen device. Check dev.list() after the hist(), and then the documentation for that device. It's probably pdf, and after quitting R, you should find that a file Rplots.pdf has been created. -pd > On 7 Sep 2018, at 10:26 , akshay kulkarni wrote: > >

Re: [R] histogram in GNU R....

2018-09-07 Thread Ivan Krylov
On Fri, 7 Sep 2018 08:26:22 + akshay kulkarni wrote: > when I type hist(xht), it goes to the next prompt. More importantly, > there is no error message. So, the most probable conclusion is that > the command gets executed Yes, hist() returns its value invisibly (try typing "? invisible" in