How to paste R output to excel and word

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • This is a brief solution for copying and pasting R output to excel or word tables.

Комментарии • 35

  • @gradschoolhelp3796
    @gradschoolhelp3796  4 года назад +11

    Step 1) Highlight the output in R and paste to excel
    Step 2) Go to the "data" tab and choose "Text to Columns"
    Step 3) Select "Delimited" and hit "next"
    Step 4) Select the delimiter type "space" and deselect "tab"
    Step 5) Clean up formatting by highlighting the entire table, right click, choose "Format Cells", select type "Number", and your preferred number of decimals
    Step 6) Copy the data in excel that you want to paste to word, make sure you have the same grid dimensions highlighted in your word table, and paste

    • @tetianaytko83
      @tetianaytko83 2 года назад

      A massive thank you!!! 🙏🙏🙏

  • @kwayaempire1548
    @kwayaempire1548 18 дней назад

    You have no idea how much time you saved me. Great job. Thanks man

  • @GerardFunClub
    @GerardFunClub 2 дня назад +1

    Thank you!! This video helps me reduce some tedious tasks for my final year thesis hahaha

  • @dgstat3750
    @dgstat3750 2 года назад +5

    Yeah! This is an excellent video. As a researcher, I was confronted with the same problem that this small kid has investigated. Thank you not in millions, but in billions. Dr. Abdul Hannan (PhD)

  • @drryangagnon
    @drryangagnon 2 года назад +4

    Why spend 5 minutes doing something in excel, when you can spend 3 hours failing to automate it in R... nice work dude! this saved me after spending a few hours in semTables.

    • @docharisht
      @docharisht 7 месяцев назад

      Exactly. Spent hours trying to automate in R, and Rcmdr and got stuck with many errors. This simple method is so helpful.

  • @jessicacalverley1315
    @jessicacalverley1315 6 месяцев назад

    I never comment on RUclips vids but this has just SAVED ME HOURS of trying to figure out. Amazing, thank you so much for sharing! A happy PhD student again!

  • @investornaire6838
    @investornaire6838 2 года назад

    This tutorial is per excellence. You just solved a huge problem in my Postgraduate Data Analysis . A must watch lesson . No BS. Thank you

  • @Harukox33
    @Harukox33 6 месяцев назад

    I fully agree with the other comments. You saved me HOURS of work. Thank you so much!

  • @trinam4306
    @trinam4306 Год назад

    Thank you so much!! You saved me so much time on my thesis for my MSc in Finance

  • @danielharold2329
    @danielharold2329 Год назад

    Thank you so much for posting this! I can make regression output tables with R, check texreg, but I had a covariance matrix that I wanted to move to excel but couldnt get it to paste into the cells properly. Now each of the elements has their own cell!!!

  • @more_riffage_in_my_diet
    @more_riffage_in_my_diet Год назад

    It's been said already but thank you you absolute legend - I just wish I'd found this video sooner!!! Absolute legend.

  • @sakolteeravarunyou6083
    @sakolteeravarunyou6083 2 года назад +1

    Great video. I like the text to column function. It saves my time. Thanks Bros.

  • @Jwilb
    @Jwilb 5 месяцев назад

    Holy shit...you are a lifesaver, thank you SO much

  • @dolce9959
    @dolce9959 Год назад

    omg ur a fucking legend for posting this lol. I've been copy pasting my results for an hour now and was about to go insane

  • @sreeramvishnu4154
    @sreeramvishnu4154 3 года назад +1

    Thank you so much. I was looking for this

  • @raizo7347
    @raizo7347 2 года назад +1

    Rare gem thank you heaps

  • @gavinslemp9160
    @gavinslemp9160 Год назад

    This is brilliant, thank you so much

  • @OmarFaruk-uo1ub
    @OmarFaruk-uo1ub 2 года назад

    Very Helpful.....Thank You Very much

  • @azharulislam4975
    @azharulislam4975 2 года назад

    Thanks man, it was helpful

  • @danreb1527
    @danreb1527 Год назад

    god bless you!

  • @sintayehugedifew1431
    @sintayehugedifew1431 2 года назад

    Thank you Dear!

  • @tiafitzpatrick569
    @tiafitzpatrick569 4 месяца назад

    I love you..

  • @pychiu1218
    @pychiu1218 3 года назад +1

    thank you sir

  • @smnparajuli
    @smnparajuli Год назад

    Thanks a lot;

  • @raphael4038
    @raphael4038 3 года назад

    Thanks a lot man!

  • @robertgreen8195
    @robertgreen8195 8 месяцев назад

    It didn't work well for me since there is a space in one of my dependent variable names. I use the tab_model(model) function

  • @laxmanbisht2638
    @laxmanbisht2638 2 года назад

    Thanks, it an easy method, but could you tell how to save output automatically in excel or csv of regression models?

  • @zahid1609
    @zahid1609 2 года назад

    Thank You

  • @madeeasy7691
    @madeeasy7691 2 года назад

    thanks dear

  • @laxmanbisht2638
    @laxmanbisht2638 2 года назад

    Thanks! I am geting this error, when I am writing csv.
    Error in as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors = stringsAsFactors) : cannot coerce class ‘c("clogit", "coxph")’ to a data.frame

  • @tuannguoinghe
    @tuannguoinghe 3 года назад +2

    From Stata, feeling really upset when doing some simple things that became over-complicated in R

    • @mmadcrhi473
      @mmadcrhi473 3 года назад +1

      exactly, I have tried multiple codes to export the results tables but could not. I do not know why I feel that R is not friendly in some tasks.

    • @tuannguoinghe
      @tuannguoinghe 3 года назад

      @@mmadcrhi473 That is really sad