[R] histogram in GNU R....

peter dalgaard pd@|gd @end|ng |rom gm@||@com
Fri Sep 7 11:08:03 CEST 2018

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.


> On 7 Sep 2018, at 10:26 , akshay kulkarni <akshay_e4 using hotmail.com> wrote:
> dear members,
>                             I am running R on Linux AWS ec2 instance.
> When I try to create a histogram in it, I am running into problems:
>> xht <- c(1,2,3,4,5,6,7,8,9,10)
>> hist(xht)
> 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. But there is no pop up screen with a histogram, and nothing else...
> whats going on?
> How can I circumvent the help of histogram(which is not available in GNU R)? summary(xht) would help, but not much. Any other function that can give information, in LINUX R, that a histogram gives, in LINUX CLI?
> Very many thanks for your time and effort...
> Yours sincerely,
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help using 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.

Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes using cbs.dk  Priv: PDalgd using gmail.com

More information about the R-help mailing list