<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi all,<br>
    <br>
    I was curious for an answer to this as well. I thought I would chime
    in with an example where the same happens for me.<br>
    <br>
    The plot of the FLSR object works until one loads the FLBRP package:<br>
    <br>
    <font face="Courier New, Courier, monospace">###########<br>
      library(FLCore)<br>
      data("ple4") <br>
      ple4_sr <- as.FLSR(ple4) <br>
      model(ple4_sr) <- "ricker"<br>
      ple4_sr <- fmle(ple4_sr)<br>
      plot(ple4_sr) # works<br>
      <br>
      library(FLBRP)<br>
      plot(ple4_sr) # works no longer<br>
      ############<br>
    </font><br>
    Cheers, <br>
    Marc
    <pre class="moz-signature" cols="72">Dr. Marc Taylor
Marine Lebende Resourcen / Marine Living Resources
Thünen-Institut für Seefischerei / Thünen Institute of Sea Fisheries
Palmaille 9
22767 Hamburg, Germany

Tel:  +49 40 38905-143 
Mail: <a class="moz-txt-link-abbreviated" href="mailto:marc.taylor@ti.bund.de">marc.taylor@ti.bund.de</a>
Web:  <a class="moz-txt-link-abbreviated" href="http://www.ti.bund.de">www.ti.bund.de</a></pre>
    <div class="moz-cite-prefix">On 1/28/2016 3:43 PM, Iago MOSQUEIRA
      (JRC) wrote:<br>
    </div>
    <blockquote cite="mid:56AA2917.8060406@jrc.ec.europa.eu" type="cite">Hi,
      <br>
      <br>
      It works here with the same versions.
      <br>
      <br>
      Can you try
      <br>
      <br>
      - on a clean session loading ggplotFL and running it
      <br>
      - clean session, load ggplot2, then ggplotFL, then run
      <br>
      <br>
      and report the results?
      <br>
      <br>
      There could also be some method conflict withj some of the other
      pkgs in your session.
      <br>
      <br>
      Cheers,
      <br>
      <br>
      <br>
      Iago
      <br>
      <br>
      On 26/01/16 13:18, Piera Carpi wrote:
      <br>
      <blockquote type="cite">Hi all,
        <br>
        I’m trying to plot a FLSR object, but whenever I do:
        <br>
        <br>
        sr <- fmle(as.FLSR(stk, model=“ricker”))
        <br>
        plot(sr)
        <br>
        <br>
        I obtain the following output, and no plots at all:
        <br>
        <br>
        TableGrob (3 x 2) "arrange": 6 grobs
        <br>
           z     cells    name           grob
        <br>
        1 1 (1-1,1-1) arrange gtable[layout]
        <br>
        2 2 (1-1,2-2) arrange gtable[layout]
        <br>
        3 3 (2-2,1-1) arrange gtable[layout]
        <br>
        4 4 (2-2,2-2) arrange gtable[layout]
        <br>
        5 5 (3-3,1-1) arrange gtable[layout]
        <br>
        6 6 (3-3,2-2) arrange gtable[layout]
        <br>
        <br>
        <br>
        Below info on my R session:
        <br>
        <br>
        <br>
        R version 3.2.2 (2015-08-14)
        <br>
        Platform: x86_64-pc-linux-gnu (64-bit)
        <br>
        Running under: Ubuntu 14.04.3 LTS
        <br>
        <br>
        locale:
        <br>
          [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
        <br>
        LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
        <br>
          [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
        <br>
          LC_PAPER=en_US.UTF-8       LC_NAME=C
        <br>
          [9] LC_ADDRESS=C               LC_TELEPHONE=C
        <br>
        LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
        <br>
        <br>
        attached base packages:
        <br>
        [1] grid      stats     graphics  grDevices utils     datasets 
        methods
        <br>
           base
        <br>
        <br>
        other attached packages:
        <br>
          [1] msy_0.1.16            FLSAM_1.0            
        FLBRP_2.5.20140822
        <br>
          plyr_1.8.3            ggplotFL_2.5.20141027
        <br>
          [6] reshape2_1.4.1        gridExtra_2.0.0       ggplot2_1.0.1
        <br>
        FLa4a_0.300.2         copula_0.999-13
        <br>
        [11] triangle_0.8          mgcv_1.8-7            nlme_3.1-121
        <br>
          FLXSA_2.5.20140808    FLAssess_2.5.20130716
        <br>
        [16] FLash_2.5.2           FLCore_2.5.20150513   MASS_7.3-43
        <br>
        lattice_0.20-33       RevoUtilsMath_3.2.2
        <br>
        <br>
        loaded via a namespace (and not attached):
        <br>
          [1] Rcpp_0.12.1      tools_3.2.2      digest_0.6.8    
        gtable_0.1.2
        <br>
           pspline_1.0-17   Matrix_1.2-2     yaml_2.1.13
        <br>
          [8] mvtnorm_1.0-3    proto_0.3-10     knitr_1.11      
        stringr_1.0.0
        <br>
          stats4_3.2.2     ADGofTest_0.3    rmarkdown_0.7
        <br>
        [15] magrittr_1.5     htmltools_0.2.6  scales_0.3.0    
        stabledist_0.7-0
        <br>
        colorspace_1.2-6 labeling_0.3     stringi_0.5-5
        <br>
        [22] gsl_1.9-10       munsell_0.4.2”
        <br>
        <br>
        <br>
        Any idea why?
        <br>
        <br>
        Thanks in advance!
        <br>
        <br>
        Piera
        <br>
        <br>
        <br>
        <br>
        <br>
        ----------------------------------
        <br>
        Piera Carpi, Ph.D.
        <br>
        Istituto di Scienze del Mare (CNR-ISMAR)
        <br>
        Sezione Pesca Marittima-Ancona
        <br>
        Largo Fiera della Pesca
        <br>
        60125, Ancona - ITALY
        <br>
        Tel: 071-2078858
        <br>
        Fax: 071-55313
        <br>
        e-mail: <a class="moz-txt-link-abbreviated" href="mailto:piera.carpi@an.ismar.cnr.it">piera.carpi@an.ismar.cnr.it</a>
        <a class="moz-txt-link-rfc2396E" href="mailto:piera.carpi@an.ismar.cnr.it"><mailto:piera.carpi@an.ismar.cnr.it></a>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        _______________________________________________
        <br>
        flr-list mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:flr-list@flr-project.org">flr-list@flr-project.org</a>
        <br>
<a class="moz-txt-link-freetext" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list</a>
        <br>
        <br>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>