DS4PS / cpp-526-spr-2021

Course shell for Foundations of Data Science I
https://ds4ps.org/cpp-526-spr-2021/
MIT License
1 stars 2 forks source link

Unable to install packages for Lab 02 #3

Open bbmoren2 opened 3 years ago

bbmoren2 commented 3 years ago

Hello!

I am unable to successfully install some of the packages for Lab 02. Below are screenshots of the code and messages received after installing each package. I included screenshots because when I pasted it over and previewed, it appeared wonky. If screenshots are a no-no please let me know!

install.packages( "geojsonio" )

Screen Shot 2021-01-20 at 9 03 43 AM

install.packages( "sp" )

Screen Shot 2021-01-20 at 9 04 23 AM

install.packages( "rgdal" )

Screen Shot 2021-01-20 at 9 05 49 AM

When I open the lab template I see the banner at the top saying:

Screen Shot 2021-01-20 at 9 08 57 AM

I select 'Install' and receive:

Screen Shot 2021-01-20 at 9 11 37 AM

Then, when I attempt to load the map file, I receive the following:

Screen Shot 2021-01-20 at 9 06 25 AM

I connected with a peer from the course who mentioned I may need to install other packages in order to access these. I am not sure how to determine what prior-installations I need. I also Googled my issues and saw similar problems related to up-to-date software. I have checked and do not have options for updates.

I appreciate any help! Again, I apologize if my screenshots do not follow the discussion board etiquette or style guide.

Thank you!

Brittany Moreno bbmoren2@asu.edu

lecy commented 3 years ago

Glancing at the errors I keep seeing "timeout of 60 seconds was reached".

I suspect either the CRAN server was running slow or else your internet connection is weak? That would prevent these packages from being downloaded correctly. They are fairly large packages.

Try again later today? If the CRAN was down it should have been temporary. Otherwise check your internet speed and find a faster network?

Let us know if either work!

jamisoncrawford commented 3 years ago

@bbmoren2 RStudio Server Pro was absolutely awful today and kept disconnecting - I doubt that's related to CRAN but, at any rate, I think @lecy has shared the right way to go here - thanks @lecy!

Please keep us updated so we can make sure you have enough time for the assignment.

bbmoren2 commented 3 years ago

Thank you both, @lecy and @jamisoncrawford! I connected using my hotspot and was able to successfully install the packages and load the map file. Woot!

I appreciate the help.

Brittany