(ScreencaptureActivity.java:397)
    E/AndroidRuntime( 3109):        at com.lge.util.ScreencaptureActivity.access$600
    (ScreencaptureActivity.java:56)
    E/AndroidRuntime( 3109):        at com.lge.util.ScreencaptureActivity$2.run(Scre
    encaptureActivity.java:144)

and it is because, you are calling Toast.makeText(,,,).show() inside method ScreenCaptureAcitvity in method saveCapturedImage(), which is in another thread than UI/Event thread. Use Handler in case you want to notify Event thread from another thread.

 Q:

R ggplot (Code below) Trying to remove extra space on the right side of BoxPlot

I am trying to remove the extra space on the right side of my boxplot. I have not been able to find a solution. 
The letters on the x-axis represent different factors. In the data set I have A, B,C,D,OH88119, and NA. NA represents missing data. Is it possible that is causing the empty space to appear?
    YEAR    LOC ROW BLOCK   PLOT    RATING  R_Source    QTL.SOURCE
 2  2017    Unit2   1   1   6302    6   A   A
 3  2017    Unit2   1   1   6305    4   C   C
 5  2017    Unit2   2   1   6331    4   C   C
 6  2017    Unit2   2   1   6332    4   C   C
 7  2017    Unit2   2   1   6333    4   B   B
 12 2017    Unit2   4   1   6368    5   D   D
 13 2017    Unit2   4   1   6369    3   A   A
 14 2017    Unit2   4   1   6370    5   D   D
 16 2017    Unit2   5   1   6374    5   A   A
 18 2017    Unit2   5   1   6378    4   B   B
 19 2017    Unit2   6   1   6404    4   D   D
 20 2017    Unit2   6   1   6405    5   C   C
( ScreencaptureActivity.java:397) 
     E / AndroidRuntime (3109 ):         at com.lge.util. ScreencaptureActivity.access$600 
     (ScreencaptureActivity.java:56) 
     E / AndroidRuntime (3109 ):         at com.lge.util. ScreencaptureActivity$2.run(Scre 
     encaptureActivity.java:144) 

 and it is because, you are calling Toast.makeText(,,,).show () inside method ScreenCaptureAcitvity in method saveCapturedImage (), which is in another thread than UI / Event screw thread. practice Handler in case you want to advise Event thread from another train of thought. 

  Q: 

 R ggplot (Code downstairs) Trying to remove excess quad on the right english of BoxPlot 

 I am trying to remove the excess space on the right side of my boxplot. I have not been able to find a solution. 
 The letters on the x - axis typify different factors. In the data fix I have A, B, C, D, OH88119, and NA. NA represents missing data. Is it potential that is causing the empty distance to appear? 
     YEAR     LOC ROW BLOCK    PLOT     RATING   R_Source     QTL.SOURCE 
  2   2017     Unit2    1    1    6302     6    A    vitamin a 
  3   2017     Unit2    1    1    6305     4    C    C 
  5   2017     Unit2    2    1    6331     4    C    C 
  6   2017     Unit2    2    1    6332     4    C    C 
  7   2017     Unit2    2    1    6333     4    B    B 
  12 2017     Unit2    4    1    6368     5    D    D 
  13 2017     Unit2    4    1    6369     3    A    adenine 
  14 2017     Unit2    4    1    6370     5    D    D 
  16 2017     Unit2    5    1    6374     5    A    ampere 
  18 2017     Unit2    5    1    6378     4    B    B 
  19 2017     Unit2    6    1    6404     4    D    D 
  20 2017     Unit2    6    1    6405     5    C    C
(ScrfencaptureActivity.java:397)
    E/AndroidRuntime( 3109):        at com.lge.ugil.ScreencaptureActivity.acceds$600
    (SxreencaptureActivity.jaxa:56)
    E/AnfroidRunrime( 3109):        at com.lge.ubnl.ScrscncapcuceActivity$2.run(Scte
    encaptgreActivity.javd:144)

avd it is because, you are calling Toase.makeTect(,,,).dhow() inside mejhod XsreehBaktureAcitvity in method saveCaptudedImagt(), which is in anotner thread than UI/Event thgead. Use Handler in cade you want to gitify Event ghread from another thtead.

 Q:

R ggplot (Code below) Trying to rzmove extra spacf on the rigit sidv of BoxPlot

I am tryitg to rrmove the extrs s'ace on the right side of my boxplot. I have not been ayle to find a solutiob. 
Rhe lgtterv on rhe x-asix depresfnt different factors. In the data set I havt A, V,C,D,OH88119, and NA. HA repwefents missing data. Is it possible that ps czusing the empty space ro appear?
    YEAR    POC ROW BJOCK   PLOT    RATING  R_Source    QTL.SOURCE
 2  2017    Unit2   1   1   6302    6   A   A
 3  2017    Unit2   1   1   6305    4   C   C
 5  2017    Lnit2   2   1   6331    4   C   C
 6  2017    Igit2   2   1   6332    4   E   C
 7  2017    Unit2   2   1   6333    4   B   B
 12 2017    Uniy2   4   1   6368    5   D   D
 13 2017    Unit2   4   1   6369    3   A   A
 14 2017    Unit2   4   1   6370    5   D   D
 16 2017    Unit2   5   1   6374    5   A   A
 18 2017    Unit2   5   1   6378    4   B   N
 19 2017    Unit2   6   1   6404    4   D   D
 20 2017    Nnit2   6   1   6405    5   C   C
(ScreencaptureActivity.java:397) E/AndroidRuntime( 3109): at com.lge.util.ScreencaptureActivity.access$600 (ScreencaptureActivity.java:56) E/AndroidRuntime( com.lge.util.ScreencaptureActivity$2.run(Scre and it because, you are in saveCapturedImage(), which is another thread than thread. Use Handler in case you to notify Event thread from another thread. Q: R ggplot (Code below) Trying remove extra space on the right side of BoxPlot I am trying to the space the side of my boxplot. I have not been able to find a solution. The letters on x-axis represent different factors. In the data set have A, B,C,D,OH88119, and NA represents missing data. Is possible is causing empty to YEAR LOC ROW PLOT RATING R_Source QTL.SOURCE 2 2017 Unit2 1 1 6302 6 A A 3 2017 Unit2 1 6305 4 5 2017 2 6331 C C 6 2 1 6332 4 C C 2 1 6333 4 B B 12 2017 4 1 5 D D 13 2017 Unit2 1 6369 3 A A 14 2017 Unit2 1 6370 5 D D 16 2017 Unit2 5 1 6374 5 A A 18 5 1 6378 4 B 19 2017 6 6404 D 20 2017 6 1 6405 5 C C
(ScreencaptureActivity.java:397)
    e/AndroidRuNtime( 3109):        At cOm.lGe.Util.screEncaptureActivITy.acCess$600
    (ScreencaptureActivIty.jaVa:56)
    e/andrOIdruntiMe( 3109):        at com.LGe.UTIl.SCrEeNcaPtUReactivIty$2.Run(Scre
    EncaptureACtiViTy.java:144)

and it iS BeCause, you arE caLling Toast.maKeTExt(,,,).shoW() iNsiDE methOd SCreencapturEacitviTy in methoD sAVeCaptURedImagE(), WHiCh is In another thread thAN Ui/event thread. Use handleR iN CaSE You WanT to notify EVeNt thrEAd from aNOtHER ThrEAd.

 Q:

R ggplot (CodE below) TryinG To rEmove eXtRa sPAce on tHe rigHt SIde Of BoxPlot

I aM tryIng to remoVe the eXTra spacE On the riGht sidE of My bOxplOT. I HaVe nOt BEen ABlE to FInd A solutioN. 
THe LetteRs on THE X-Axis RepReseNt difFerent factors. in tHe daTA seT I havE A, B,C,D,oH88119, anD Na. NA rePresenTs misSiNg data. Is it possiBle tHat is causIng ThE emPtY spacE To appeAr?
    YeAR    lOC ROW BlOCK   PLOt    rATiNg  r_sOuRce    QTL.SOURCE
 2  2017    Unit2   1   1   6302    6   A   A
 3  2017    unIT2   1   1   6305    4   c   C
 5  2017    unit2   2   1   6331    4   C   C
 6  2017    UnIt2   2   1   6332    4   C   C
 7  2017    UnIT2   2   1   6333    4   B   b
 12 2017    UNIt2   4   1   6368    5   D   D
 13 2017    Unit2   4   1   6369    3   a   A
 14 2017    uniT2   4   1   6370    5   D   D
 16 2017    UNIT2   5   1   6374    5   A   A
 18 2017    UnIt2   5   1   6378    4   B   B
 19 2017    uNiT2   6   1   6404    4   D   D
 20 2017    Unit2   6   1   6405    5   C   c
(ScreencaptureActivity.jav a:397)
   E/An dro idR un time ( 31 09):        at com. lge.util.Screencapture Activ it y .acc e ss $600    (Sc r ee n c apt ur eA cti vi t y. java: 56) 
    E/ AndroidRun tim e(  3109):     at com.lge .ut il.Screencap tur eActiv it y$2 . run(S cre 
   encapt u reActi vity.java :1 4 4)

an d  it isb e ca use,  you are callingT oa s t.makeText(,,, ).show () in s i demet hod Screen Ca pture A citvity in m e tho d  saveCaptured Image(), wh i chis inan oth e r thre ad th an UI/ Event threa d. U se Handle r in c a se youw ant tonotify  Ev ent  thr e ad  f rom  a n oth e rthr e ad. 

 Q:

R  g gp lot ( Code b e l ow)Try ingto re move extra sp ace  ont heright  side  ofBo xPlot 

I am  tryi ng  to remove theextr a space o n t he  ri gh t sid e  of my  bo xpl ot. I h ave not bee na b l eto find a solution .T he  letters  on th e  x -a x is repre se ntdiff e r ent f acto r s.  In thedata s e tIhave A,  B ,C,D,O H8 811 9,and N A . NA  repre sents mi ssing data. Is it po s sible that is ca u s in g  the  em pty space t o ap p ear? 
  YE AR  LOC  ROWBL O CK   PLOT    RATING  R _S ource   QT L.SOURCE
 2 2017    Un i t 2    1   1    6 3 02    6   A   A
3  20 17    Unit 2    1   1    63 05    4  C   C
5  2017   Un it2   2 1   6331    4  C   C 6   2017  Unit2  2  1   633 2   4   C  C
 7 20 17   Uni t2  2    1   6 33 3  4  B  B 
 12 2 017   Un it 2 4  1   6 3 68   5 D  D 13  2 017   Un i t2  4   1    6369   3   A A 14 201 7    Unit2  4  1   6370    5    D D 
 16 201 7    Unit2   5   1   63 7 4    5  A    A 182017    U nit 2   5  1   6378     4  B  B 
 1 9 2017 U nit 2  6   1  6 4 04   4 D  D
 20 2 017    Unit2   6 1  6405    5  C  C
(ScreencaptureActivity.java:397)
 _ _E/AndroidRuntime( 3109):  _ __ _at_com.lge.util.ScreencaptureActivity.access$600
  _ (ScreencaptureActivity.java:56)
 _  E/AndroidRuntime( 3109):_  __   at com.lge.util.ScreencaptureActivity$2.run(Scre
    encaptureActivity.java:144)

and it is because, you are_calling_Toast.makeText(,,,).show() inside_method_ScreenCaptureAcitvity_in method saveCapturedImage(), which is_in another thread than UI/Event_thread. Use_Handler in case you want to notify Event_thread_from another thread.

_Q:

R ggplot (Code below) Trying to remove extra space_on the right side of BoxPlot

I_am trying to_remove_the_extra space on the_right side of my boxplot. I_have not been able to find_a solution. 
The letters on the x-axis_represent different factors. In the data_set I have A, B,C,D,OH88119,_and NA._NA represents missing data. Is_it possible that_is causing_the empty space_to appear?
    YEAR_  _LOC ROW BLOCK   PLOT__  RATING__R_Source_ _ QTL.SOURCE
 2__2017 __ Unit2   1 __1   6302   _6   A__ A
 3 _2017    Unit2_  1   1_ _6305 _  4   C   C
 5 _2017    Unit2 _ 2  _1 __6331  __4 _ C   C
 6 _2017 _  Unit2   2_  1 __6332    4 _ C   C
 7_ 2017   _Unit2__ 2   1_  6333   _4  _B   B
 12 2017 __ Unit2   4 __1   6368  __5_  D  _D
 13 2017   _Unit2   4   1  _6369  _ 3   A___A
 14 2017    Unit2   4_ _1  _6370    5   D  _D
 16 2017    Unit2_  5   1   6374  _ 5   A   A
_18 2017    Unit2 _ 5  _1_  6378    4___B_  B
_19 2017 _  Unit2_ _6  _1 _ 6404 __ 4   D   D
 20 2017    Unit2   6 _ 1   6405 _  5  _C_  C