« first day (2011 days earlier)      last day (1280 days later) » 

7:47 AM
Hi everyone :-)
on vacations tonight \o/
 
Morning all
 
8:14 AM
morning!
 
8:30 AM
Hello
Any ggplot lovers can explain this issue? stackoverflow.com/q/64496048/680068 plot text gets repeated when using forloop, but it is ok using lapply...
@Cath Last day at school for my oldest, quarantines are back :/
 
@zx8754 :-(
for now, here, the "only" measure is bars closing at 10pm, starting tomorrow night
 
@zx8754 omg? so you have to home school agian?
 
Yeah, gonna just let him watch TV 25hrs a day
 
 
3 hours later…
11:16 AM
@zx8754 That's a FAQ. The plot is build when you print the ggplot object. Anything that is not part of the data passed will be taken from the enclosing environment at exactly that time point. If you use the iterator of a for loop in the plot, it has its last value then (or any value you change it to later on). lapply avoids the issue because of the stuff explained in the Note in its documentation.
 
11:44 AM
@Roland Thank you. Do you mind if I add this to my answer? Or shall we close the post as duplicate?
 
@zx8754 I'm sure there are several duplicates. I'm just generally disinclined to spend any time searching for them. So add the information, I don't mind.
 
Closed it as duplicate.
 
 
7 hours later…
6:42 PM
hey all. long time no chat. hope all is well
 

« first day (2011 days earlier)      last day (1280 days later) »