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
925-423-1062
Lab cell 925-724-7509
 
 

On 9/7/18, 1:26 AM, "R-help on behalf of akshay kulkarni" 
<r-help-boun...@r-project.org on behalf of akshay...@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,
    AKSHAYM KULKARNI
    
        [[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.

Reply via email to