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

  • SEARCH
  • Home
  • 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 7848733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:18:29+00:00 2026-06-02T18:18:29+00:00

I am currently trying to run some R code that originally ran under 2.11.0

  • 0

I am currently trying to run some R code that originally ran under 2.11.0 . The version of R that I am using 2.14.1 does not run the code. I am unfamiliar with R and how backwards compatible it is. (My issue could have nothing to do versions for all I know; I will be happy to learn that it is something that I am doing wrong.) The rest of the code is irrelevant; my installs are failing even when I run by themselves.

#these fail
install.packages("gtools",repos="http://cran.r-project.org")
install.packages("minet", repos="http://cran.r-project.org")
#these work
install.packages("psych", repos="http://cran.r-project.org")
install.packages("qvalue",repos="http://cran.r-project.org")
install.packages("R2HTML",repos="http://cran.r-project.org")

I have tried other installation methods in addition to the one I listed above. I have tried installing and compiling earlier versions of gtools and minet. I have tried getting current versions of the package from other repos (biocLite). However all installation attempts produce identical failures. For a little more background, I am not a superuser on the machine that I am trying to run this code on. I can ask the person who is the superuser for small favors (ones that do not affect other users of the machine). I have been able to install other packages just fine; though as I said early if I have a simple problem I will be pleased. Here are some failures.

* installing *source* package ‘gtools’ ...
** libs
Warning: R include directory is empty -- perhaps need to install R-devel.rpm or similar
gcc -m64 -std=gnu99 -I/usr/include/R  -I/usr/local/include    -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c setTCPNoDelay.c -o setTCPNoDelay.o
setTCPNoDelay.c:1:15: error: R.h: No such file or directory
setTCPNoDelay.c:2:24: error: Rinternals.h: No such file or directory
setTCPNoDelay.c: In function ‘checkStatus’:
setTCPNoDelay.c:66: warning: implicit declaration of function ‘strncpy’
setTCPNoDelay.c:66: warning: incompatible implicit declaration of built-in function ‘strncpy’
setTCPNoDelay.c:72: warning: implicit declaration of function ‘strerror’
setTCPNoDelay.c:72: warning: passing argument 2 of ‘strncpy’ makes pointer from integer without a cast
make: *** [setTCPNoDelay.o] Error 1
ERROR: compilation failed for package ‘gtools’
  • 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-02T18:18:32+00:00Added an answer on June 2, 2026 at 6:18 pm

    This error arose because the particular machine that i was logged into did not have the development headers. My system admin directed me to login into a different machine that did. What was rather odd about this is that R would allow me to install some packages without the headers. If you intermittently get this complaint when attempting to install R packages, it may have to do with the development headers as Joshua Ulrich mention in the comments.

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

Sidebar

Related Questions

in my app I am trying to run some code that currently exists in
I've been trying to implement unit testing and currently have some code that does
I am currently trying to build some test code that uses Google C++ Test
I'm currently trying to run a certain procedure (sql 2005) in VB6, passing some
I am trying to do run a bulk deletion using parameterized queries. Currently, I
We currently have some php code that allows an end user to update records
I have a problem with the code I am currently trying to run -
i am trying to compile some code to memory at runtime using a CodeDomProvider.
Some sample, straight forward gtk2 within-main-loop I'm currently trying to add code at key-press-event
today I am basically trying to create some JAVA code that moves an actor

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.