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 question.(5)

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

ITtutoria

ITtutoria Logo ITtutoria Logo

ITtutoria Navigation

  • Python
  • Java
  • Reactjs
  • JavaScript
  • R
  • PySpark
  • MYSQL
  • Pandas
  • QA
  • C++
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Python
  • Science
  • Java
  • JavaScript
  • Reactjs
  • Nodejs
  • Tools
  • QA
Home/ Questions/Quick handling of the installation of package had non-zero exit status error
Next
Answered
Lilian O'Sullivan
  • 17
Lilian O'Sullivan
Asked: May 18, 20222022-05-18T19:31:21+00:00 2022-05-18T19:31:21+00:00In: r

Quick handling of the installation of package had non-zero exit status error

  • 17

. Advertisement .

..3..

. Advertisement .

..4..

How to solve the problem – installation of package had non-zero exit status? I have the sample detail:

install.packages('FILE_PATH', repos=NULL, type = "source")

While I was running it, I found the warning message:

Installing package into ‘/home/p/R/x86_64-pc-linux-gnu-library/3.0’ (as ‘lib’ is unspecified) Errore in rawToChar(block[seq_len(ns)]) : embedded nul in string: 'PK\003\004\024\0\002\0\b\0]\xadVCr\xcb\xea\xfcR\0\0\0\xa7\0\0\0\027\0\0\0bivpois-Rcode/.Rhistory+\xce/-JN\xd5PO\xca,+\xc8\xcf,\xd6+IL\xcaI\xd5\vR\xd7\xe4\xe5*\x86J\xe5\xe4\xea%\025`\b\xa5d\xa2\v楖\xe7%\xe6' Warning message: In install.packages("/home/p/Research/14_bivpois-Rcode.zip", repos = NULL, : installation of package ‘/home/p/Research/14_bivpois-Rcode.zip’ had non-zero exit status

That is my question in my midterm exam, and it is urgent. I searched the solutions on some websites, but I didn’t get it. I may miss any line or other changes. I appreciate your assistance!

installation
  • 2 2 Answers
  • 239 Views
  • 0 Followers
  • 0
Answer
Share
  • Facebook
  • Report

2 Answers

  • Voted
  • Oldest
  • Recent
  • Random
  1. Best Answer
    dttutoria Expert
    2022-06-23T16:09:03+00:00Added an answer on June 23, 2022 at 4:09 pm

    The cause: Although the authors claim that the source is for “direct usage” in R, the.zip file they supply is not a legitimate R package. The non-zero exit status only signifies that there was a problem with the “package” installation.

    Solution: You can download the.RData file they give and import it into the workspace with load('.RData') or you can manually extract the archive and load the features therein with, for example, source('bivpois.table.R'). Instead of installing the functions as a package, this installs them into your system’s global environment, keeping them momentarily accessible.

    The.RData from R can be downloaded, extracted, and loaded as described below:

    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'))

    Instead, you might use the following to make the.RData file accessible in the project folder so that it can be loaded afterward:

    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')
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  2. Liam Reynaud
    2022-05-25T20:55:00+00:00Added an answer on May 25, 2022 at 8:55 pm

    Follow these steps to install libs on Linux. curl: sudo apache install curl

    sudo aptget install libssldev

    libcurl: sudo apat-get install curl4-openssl -dev

    xml2 – sudo apt/get install libxml2-dev

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

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

Sidebar

Ask A Question
  • How to Split String by space in C++
  • How To Convert A Pandas DataFrame Column To A List
  • How to Replace Multiple Characters in A String in Python?
  • How To Remove Special Characters From String Python

Explore

  • Home
  • Tutorial

Footer

ITtutoria

ITtutoria

This website is user friendly and will facilitate transferring knowledge. It would be useful for a self-initiated learning process.

@ ITTutoria Co Ltd.

Tutorial

  • Home
  • Python
  • Science
  • Java
  • JavaScript
  • Reactjs
  • Nodejs
  • Tools
  • QA

Legal Stuff

  • About Us
  • Terms of Use
  • Privacy Policy
  • Contact Us

DMCA.com Protection Status

Help

  • Knowledge Base
  • Support

Follow

© 2022 Ittutoria. All Rights Reserved.

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.