Forum Replies Created

Viewing 15 posts - 91 through 105 (of 109 total)
  • Author
    Posts
  • in reply to: Exporting XLSX #8514

    Neal,

    Try the following:
    install.packages(“xlsx”)
    library(xlsx)
    write.xlsx(your_data, “c:/file_name.xlsx”).

    Please post again if you still have trouble.

    Thank you for learning with us!

    -Merav

    in reply to: Save as PDF? #8511

    Hi Lida,

    You can save an R plot as a pdf if you use pdf(“file_name.pdf”, width = 10, height = 10). The dimensions are set in inches.

    You have to first run pdf() then the plot() you’d like to save and end the sequence with dev.off() to complete the save. Here is an example:

    setwd(“location where you want the file saved”)

    pdf(“Network plot.pdf”,
    width = 10,
    height = 10)

    star = make_star(10)
    plot(star)

    dev.off()

    Please post again if you have any more trouble with this.

    Thank you for learning with us!

    -Merav

    in reply to: Function not working #8506

    Hi Dana,

    In the function(location, map_type, dataset, date_range) call the 4 inputs need to be placed into the function the exact same way. You have “data = data” and you need change it to “data = dataset”

    Please post again if you have any more trouble.

    -Merav

    in reply to: A package isn't working as shown in course, how do I fix it? #8505

    Hi Kelly,

    Make sure that the package is installed with the install.packages(“package name”) command and the it’s loaded with the library(“package name”) command. If you’re still having trouble try updating the package by re-installing it and then using the “?” or help() command to check if the function names or structures have been updated.

    Thanks for learning with us!

    -Merav

    in reply to: Column titles #8498

    Hi Matilda,

    This can happen when R reads in columns normally. In order to keep the column names as is, simply add the argument “check.names = FALSE” to the read.csv function. Slide 135 gives some more detail about this.

    Let me know if you have any more questions!

    Thank you for learning with us,
    Merav

    in reply to: What's the difference between achievements and quests? #8495

    Hi Kirsten,

    You can earn Achievements by completing individual tasks, such as quizzes, exercises, and lessons. Quests are earned by completing multiple achievements. You can find a list of all of the possible Achievements and Quests by going to the “Achievements” page under the “My Profile” tab.

    Achievements page

    Thank you for learning with us,
    Merav

    in reply to: Course results for my manager? #8491

    Hi Ino,

    Once you receive your Certificate of Completion, there is another page that appears with some course statistics.

    Alternatively, you can go to “My Profile” page and click on the gray arrow next to the course name. The menu will expand to show a record of the quizzes you’ve taken, which you can print out and show your manager.

    Expanded user profile

    Thank you for learning with us,
    Merav

    in reply to: Quiz list? #8487

    Hi Helen,

    You can access all the quizzes from the “All resources” page, which you can access from the tab under the “My Profile” tab in the main menu.

    All resources page

    Thank you for learning with us,
    Merav

    in reply to: RStudio crashes #8482

    Hi Kristen,

    There are a few ways to fix this issue:

    1. Check for updates in the ‘plyr’ package – sometimes the packages become glitchy if they’re not the latest version.

    2. Restart RStudio – we recommend this step to solve most issues.

    3. Restart your computer.

    4. Uninstall and reinstall RStudio.

    Let me know if you are having any more issues!

    Thank you for learning with us,
    Merav

    in reply to: What if I want to pause a video and come back to it later? #8443

    Hi Alex,

    As long as you’re checking it from the same computer, the video should resume from where you stopped it 🙂

    Thank you for learning with us,
    Merav

    in reply to: Why does ddply keep showing me an error "not found"? #8441

    Hi Jeff,

    ddply is a function of the ‘plyr’ package. If R hasn’t found it, you might not have installed the package. Check the lower right-hand window under the “Packages” tab. If the ‘plyr’ name has a check mark next to it, it’s been installed. Otherwise, you can check the box or type in ‘library(plyr)’ into the console or script window.

    Let me know if this solves that problem!

    Thank you for learning with us,
    Merav

    Hi Jeff,

    If you’re having resolution troubles, just click on the HD button at the bottom of the video screen. It should turn blue and the resolution should increase.

    If your HD is already turned on, pause your video for a few minutes and wait for the video to load. We also recommend that you view the video in full screen if you’re still having trouble reading the slides.

    Thank you for learning with us,
    Merav

    in reply to: I have trouble opening R #8438

    Hi Kelly,

    It might be the case that you opened R instead of RStudio. In the Getting Started With R section, you can download a reference guide.

    We recommend that you actually use RStudio, which is a graphical user interface that has multiple windows, such as the script window and the console window. Make sure that you opened RStudio, and you can click on the button in the top left-hand corner to open a new script window.

    Let me know if you have any more questions about this!

    in reply to: How do I see my past performance on quizzes? #8433

    Hi Sam,

    Go to “My Profile” page and click on the gray arrow button next to the name of the course. The menu will expand and show you a list of past quiz scores similar to the picture below.

    Record of quiz scores

    Thank you for learning with us,
    Merav

    in reply to: My video is loading really slowly, what can I do? #8430

    Hi Sarah,

    If your video is loading slowly, try turning off the HD functionality by clicking “HD” in the lower right-hand corner of the video. It should go from blue letters to white letters.

    You can also pause the video at the beginning and wait a few minutes to let it load before you play it so the buffering doesn’t interrupt the video.

    Thank you for learning with us,
    Merav

Viewing 15 posts - 91 through 105 (of 109 total)