AI tools for scientific coding and data analysis (Github Copilot + R)

Sdílet
Vložit
  • čas přidán 17. 07. 2024
  • AI tools promise to enhance our programming workflows by making them faster and more efficient. When used correctly, these tools can assist us in writing higher-quality code, increasing productivity, and acquiring new techniques easily. In this lecture, I will briefly discuss AI tools for programming in general, followed by an introduction to the integrated AI tool, Github Copilot. I will demonstrate how this tool can help you write code more quickly, identify and correct errors in your code, generate automated documentation, and provide assistance with good coding practices.
    Additionally, I will provide a brief demonstration of Codium AI. During the demonstration, I will showcase a data analysis project in R, utilizing VS Code as the IDE. However, it is important to note that these tools can also be used with other programming languages and IDEs. Finally, I will briefly touch on some guidelines and concerns related to utilizing such tools in scientific contexts.
    A Step-by-step guide on how to get Copilot for free for Visual Studio Code or RStudio: selinazitrone.github.io/tools...
    GitHub Copilot Docs: docs.github.com/en/copilot- Privacy FAQ of
    GitHub Copilot: github.com/features/copilot/#faq
    Prompt engineering with GH Copilot to get better results: dev.to/github/a-beginners-gui...
    Codium AI: codium.ai/
    Rtutor - Browser-based tool where you can ask questions about R and data analysis. You can also upload a dataset and ask the AI to analyse it. You can then download the corresponding R script or Rmardown report: rtutor.ai/
    Nature living guidelines on responsible use of generative AI in research: www.nature.com/articles/d4158...

Komentáře • 11

  • @omarhamdijasim2713
    @omarhamdijasim2713 Před 22 dny

    How great is that!!
    I never thought that CZcams would one day bring me to see the answers to the questions I was looking for from an old colleague.
    Many thanks, Dr-Selina

  • @abdulwahhabelkuwafi2163

    Thank you for your effort ❤

  • @imaginationscene
    @imaginationscene Před 3 měsíci

    what videos are best for someone new to r and programming in general.

    • @selinabaldauf7529
      @selinabaldauf7529  Před 3 měsíci +1

      Good question. I would say it depends on what you want to learn. E.g. do you want to use R for programming or for data analysis?
      I don't know the best videos for learning R, but two (free) books I recommend to my students to get started with are and data analysis are:
      1) Hands-On Programming with R - Gives a nice intro to R from the very beginning: rstudio-education.github.io/hopr/
      2) R for Data Science - Learn how to use R and the tidyverse packages for intuitive data analysis (from reading data, cleaning, transforming it to visualization): r4ds.hadley.nz/intro
      If anyone knows good videos, feel free to post them below :)

    • @imaginationscene
      @imaginationscene Před 2 měsíci

      @@selinabaldauf7529 Thank you! 😊For data analysis and because there is so many people using data for propaganda purposes it would be nice to be able to check and analyse the info myself, where should I start? maths? statistics? or straight to R, I'm not sure but how would you fact check dubious data claims that get shared on social media

    • @selinabaldauf7529
      @selinabaldauf7529  Před 2 měsíci

      This is a very big question that I think does not have a single good answer. If your goal is only debunking, then I think the best and fastest option is to look for reliable fact checker websites/accounts that already do this with a lot of experience. Debunking the information yourself requires you to get the raw data (which can already be tricky sometimes), know the right statistics and know an analysis software like R. So that is quite an investment of time. But of course also fun to learn, so don't let me stop you 😊

  • @Salty0
    @Salty0 Před 3 měsíci

    Is it mandatory to use R within VS?

    • @selinabaldauf7529
      @selinabaldauf7529  Před 3 měsíci

      No it's not. You can use many different combinations of programming languages and IDEs. If you are e.g. an R user and you use RStudio, you can also integrate Github Copilot there (although without the chat functionality). Check out the step-by-step guide that I linked in the video description. There I describe how to get Github Copilot and I link how you can set it up with VS Code, but also with R Studio.

  • @i.e7639
    @i.e7639 Před 3 měsíci

    I own a website. Can Copilot Pro write long, SEO-compatible articles of 2000 words, knowing that the free one does not write this number, but only a summary? Thank you.

    • @selinabaldauf7529
      @selinabaldauf7529  Před 3 měsíci +1

      I don't know about this. I only use it for coding help with my data analyses and programming projects. You could try, I think the pro version also has a free trial month.

    • @i.e7639
      @i.e7639 Před 3 měsíci

      thanks