Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

blues

  • 4 years ago

In R, I have to install packages manually because my wretched prevents R from accessing the online repository. Instead, I download and uncompress the package binaries to a directory on my hard drive and load them one by one into R using library(Package.Name, lib.loc = "Directory.Path"). This is a not a crippling problem but it is a nuisance. Some packages have dependencies - they call functions from other packages to run. Does the order I manually load the packages and their dependencies into R matter?

  • This Question is Closed
  1. blues
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    I meant to say, "My wretched firewall."

  2. ecdown
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Order of dependencies matters. You need to import the dependency before the library that requires it.

  3. blues
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Thanks! I've been figuring that out over the past few days.

  4. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy