Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Roland Krause
    @rolandkrause
    Good morning!
    vero1166
    @vero1166
    hallo !!!
    1 reply
    Giulia D'Uonnolo
    @giulia.duonnolo_gitlab
    Hello!
    Bayati2020
    @Bayati2020
    hello
    cris9588
    @cris9588
    hello
    Esra
    @Esra94591351_twitter
    hello!
    katjabadanjak
    @katjabadanjak
    Hi :)
    Roland Krause
    @rolandkrause
    The recording of today is available.
    Webex meeting recording: First steps with R - Day 1
    Password: pDepq8Y9
    Recording link: https://unilu.webex.com/unilu/ldr.php?RCID=9bd40106e99145a286c98b65c9fb00bb
    This is for you only, please do not share or download and distribute recordings.
    Esra
    @Esra94591351_twitter
    thank you for sharing!
    vero1166
    @vero1166
    Good morning all!
    At 9.20 we will correct exercises of Day1
    Catherine Sedrani
    @CMSedrani_twitter
    Thank you for the info :) but the session will still start at 9am, right?
    vero1166
    @vero1166
    Exactly, the morning sessions will always open at 9.00 for test your connection, R set-up and to pose questions . The training team will be there to help you!
    vero1166
    @vero1166
    Hi learners,
    Please revise the material of Day2 and complete the exercises. This will allow you to master the topics we covered during the lectures!!!!
    Good luck 🍀 and see you tomorrow
    Roland Krause
    @rolandkrause
    Recording for "First steps with R - Day 2"
    Password: kPBQpMZ8
    Recording link: https://unilu.webex.com/unilu/ldr.php?RCID=e55a8954191e28c447a1eb827488984c
    vero1166
    @vero1166
    Have you all managed to complet the point 3 ? Please let us know if you need any help
    Bayati2020
    @Bayati2020
    Screenshot (40).png
    MZizovic
    @mickypz
    When you get a message "No such file or directory" check:
    • if the file is in the directory (folder) that you are using in the file path,
    • if the file name matches the name in the folder,
    • if your working directory is the upper level to the folder you are addressing in the file path , in this case "R-intro" for the "data".
      To check your working directory you can run getwd() in the console, to set a working directory you can use setwd( "file-path-to-the-desired-directory") or in the interface. In the interface in the pane with all folders and files, you should go to the folder you want as a working directory, click above the pane on the "More" and then select "Set as a working directory"
    Roland Krause
    @rolandkrause
    Also noteworthy to mention: In R (as pretty much all other programming environments) everything is case sensitive. The file "data.csv" cannot be imported by `read.csv("DATA.csv"). If you are using Windows, you might be used to not caring about this because the Windows operating system takes care of that.
    MZizovic
    @mickypz
    Pipe tip:
    If you're tired of inserting the pipe symbols, you can also use the RStudio shortcut ^M (Control-Shift-M) to insert the pipe symbol. In the Code section of Options in RStudio you can select if you prefer the base pipe (|>) or the magrittr pipe (%>%, needs the package installed and loaded).

    ggsave tip:

    • To save a png without saving the plot into an object

    ggplot(data = airquality,
    mapping = aes(x = Month,
    y = Ozone))+
    geom_boxplot()
    ggsave(
    "plots/air_plot.png",
    plot = last_plot())

    • To save a plot into an object and then save it in a directory we have to follow the arguments order in a function or to specify them

    p <- ggplot(data = airquality,
    mapping = aes(x = Month,
    y = Ozone))+
    geom_boxplot()

    ggsave(plot= p, "plots/air_plot2.png", device = "png")

    vero1166
    @vero1166
    Info on practical submission
    Please complete and submit the "Last_practical.R" script to veronica.codoni@uni.lu
    The submission deadline is Today, 29th July 7.00 PM CET
    vero1166
    @vero1166

    Dear learners,
    we release the solutions for Exercises Day 3

    Good luck 🍀 for the concluding practical !

    Roland Krause
    @rolandkrause
    Recording of today: First steps with R - Day 3
    Password: HpfTRi2p
    Recording link: https://unilu.webex.com/unilu/ldr.php?RCID=8648b16691c55125152c0f024a6e0fbb