Config Router

  • Google Sheets
  • CCNA Online training
    • CCNA
  • CISCO Lab Guides
    • CCNA Security Lab Manual With Solutions
    • CCNP Route Lab Manual with Solutions
    • CCNP Switch Lab Manual with Solutions
  • Juniper
  • Linux
  • DevOps Tutorials
  • Python Array
You are here: Home / “installation of package ‘FILE_PATH’ had non-zero exit status” in R

“installation of package ‘FILE_PATH’ had non-zero exit status” in R

August 23, 2021 by James Palmer

The .zip file provided by the authors is not a valid R package, and they do state that the source is for “direct use” in R (by which I assume they mean it’s necessary to load the included functions manually). The non-zero exit status simply indicates that there was an error during the installation of the “package”.
You can extract the archive manually and then load the functions therein with, e.g., source(‘bivpois.table.R’), or you can download the .RData file they provide and load that into the workspace with load(‘.RData’). This does not install the functions as part of a package; rather, it loads the functions into your global environment, making them temporarily available.
You can download, extract, and load the .RData from R as follows:
download.file(‘http://stat-athens.aueb.gr/~jbn/papers/files/14/14_bivpois_RDATA.zip’,
f <- tempfile()) unzip(f, exdir=tempdir()) load(file.path(tempdir(), '.RData')) If you want the .RData file to be available in the current working directory, to be loaded in the future, you could use the following instead: download.file('http://stat-athens.aueb.gr/~jbn/papers/files/14/14_bivpois_RDATA.zip', f <- tempfile()) unzip(f, exdir=tempdir()) file.copy(file.path(tempdir(), '.RData'), 'bivpois.RData') # the above copies the .RData file to a file called bivpois.RData in your current # working directory. load('bivpois.RData') In future R sessions, you can just call load('bivpois.RData'). Simple install following libs on your linux. curl: sudo apt-get install curl libssl-dev: sudo apt-get install libssl-dev libcurl: sudo apt-get install libcurl4-openssl-dev xml2: sudo apt-get install libxml2-dev

Related

Filed Under: Uncategorized

Recent Posts

  • How do I give user access to Jenkins?
  • What is docker volume command?
  • What is the date format in Unix?
  • What is the difference between ARG and ENV Docker?
  • What is rsync command Linux?
  • How to Add Music to Snapchat 2021 Android? | How to Search, Add, Share Songs on Snapchat Story?
  • How to Enable Snapchat Notifications for Android & iPhone? | Steps to Turn on Snapchat Bitmoji Notification
  • Easy Methods to Fix Snapchat Camera Not Working Black Screen Issue | Reasons & Troubleshooting Tips to Solve Snapchat Camera Problems
  • Detailed Procedure for How to Update Snapchat on iOS 14 for Free
  • What is Snapchat Spotlight Feature? How to Make a Spotlight on Snapchat?
  • Snapchat Hack Tutorial 2021: Can I hack a Snapchat Account without them knowing?

Copyright © 2025 · News Pro Theme on Genesis Framework · WordPress · Log in