Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8673771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:32:40+00:00 2026-06-12T19:32:40+00:00

I am trying to install a package from github, but keep getting the following

  • 0

I am trying to install a package from github, but keep getting the following error;

"Error in unzip(src, list = TRUE) : 'exdir' does not exist".

I’m guessing that unzip doesn’t have permission to create a directory to unzip into, but I don’t know a way to pass a parameter in to the exdir argument.

> require(devtools)
> install_github("rvertnet", "ropensci")

Installing github repo(s) rvertnet/master from ropensci
Installing rvertnet.zip from https://api.github.com/repos/ropensci/rvertnet/zipball/master
Error in unzip(src, list = TRUE) : 'exdir' does not exist

This is my first time installing from github, so I may be missing something really simple. I did try with other packages (ggplot2) and got the same error.

Edit: added results from sessionInfo():

> sessionInfo()
R version 2.15.1 (2012-06-22)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=English_Canada.1252  LC_CTYPE=English_Canada.1252   LC_MONETARY=English_Canada.1252
[4] LC_NUMERIC=C                    LC_TIME=English_Canada.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] devtools_0.8

loaded via a namespace (and not attached):
[1] digest_0.5.2    evaluate_0.4.2  httr_0.1.1      memoise_0.1     parallel_2.15.1 plyr_1.7.1     
[7] RCurl_1.91-1.1  stringr_0.6.1   tools_2.15.1    whisker_0.1

I have set my TMP, TMPDIR, and TEMP to a writeable folder via renviron.site:

> Sys.getenv(c("TMP","TEMP","TMPDIR"))
          TMP          TEMP        TMPDIR 
"H:\\R\\temp" "H:\\R\\temp" "H:\\R\\temp"
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T19:32:41+00:00Added an answer on June 12, 2026 at 7:32 pm

    I have got it working, and it was definitely just dumb human error. My working directory was somehow set to a location for which I didn’t have write permissions. I setwd() to a folder where I have permissions and it worked just fine. I’m not sure if it was part of the solution, but @hadley’s tip about setting the TMP envvar was good, and will be useful in general.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I got the following error when trying to install Hadley's HTTR package from Github
Trying to install pear package and keep getting this strange error. Can you shed
I'm trying to install a package that uses global-linum-mode and keep getting: error Autoloading
I'm trying to install a package from Github, using Pip, using the following syntax
I'm trying to install PyQt package with pip, but I get this error: ~$
I'm trying to install a PECL package on Linux, but the installer never gets
I`am trying to download and install an apk from some link, but for some
I am trying to install the OpenGL-2.4.0.2 package manually, but after I download the
I'm trying to get Cabal to install the haskell-src-meta package, and I'm having difficulty
I'm trying to install development version of ggbiplot from Github . During installation I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.