Results 1 to 2 of 2

Thread: ggplot doesn't show plots

  1. #1
    Join Date
    Mar 2014
    Beans
    1

    ggplot doesn't show plots

    I tried the following simple code in R
    Code:
    library("ggplot2")
    a = c(1,2,3,4)
    b = 2*a
    ggplot() +
       geom_line(aes(x=a,y=b))
    The plot doesn't show up. If I add ggsave, the plot is saved, so I know the plot is being produced. It just doesn't show up in a plot window.

    I asked another friend to try out the code on his machine (also Ubuntu), and it worked. So I think its a problem with my R installation. Any ideas what's wrong?

    Thanks!

  2. #2
    Join Date
    Apr 2014
    Beans
    5

    Re: ggplot doesn't show plots

    I know this not really a reply to your problem but have you considered using qtiplot? I have had problems load modules in RKWard see my post above.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •