+ Reply to Thread
Page 27 of 27 FirstFirst ... 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
Results 391 to 392 of 392

Thread: Today I Learned: ____

  1. #391
    ggplot2orBust
    Points: 72,900, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    User with most referrers
    trinker's Avatar
    Location
    Buffalo, NY
    Posts
    4,424
    Thanks
    1,815
    Thanked 931 Times in 812 Posts

    Re: Today I Learned: ____




    Sick just sick
    "If you torture the data long enough it will eventually confess."
    -Ronald Harry Coase -

  2. #392
    ggplot2orBust
    Points: 72,900, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    User with most referrers
    trinker's Avatar
    Location
    Buffalo, NY
    Posts
    4,424
    Thanks
    1,815
    Thanked 931 Times in 812 Posts

    Re: Today I Learned: ____


    TIL `cat` has a `sep` argument. All these years of using `cat(paste(x, collapse = '\n'))` could have been `cat(x, sep = '\n')`:

    Code: 
    x <- c('I like it', 'Me too')
    cat(x, sep = '\n')
    "If you torture the data long enough it will eventually confess."
    -Ronald Harry Coase -

+ Reply to Thread
Page 27 of 27 FirstFirst ... 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

           




Tags for this Thread

Posting Permissions

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






Advertise on Talk Stats