R: “make” not found when installing a R-package from local tar.gz
The R Package ConvCalendar
is not on Cran repository anymore (see here).
However, because I have intensively used this package for previous projects, it would be nice to have it installed on my machine, even an older version would suffice.
(Windows 10 environment)
In the link above it is possible to download older versions of ConvCalendar
from the archive. I thus did it, and tried installing it by running (having devtools
also installed and loaded):
install.packages("ConvCalendar_1.2.tar.gz", repos=NULL, type="source")
However, I get the following error message:
> install.packages("ConvCalendar_1.0.tar.gz", repos=NULL, type="source")
Installing package into ‘C:/Users/myname/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
* installing *source* package 'ConvCalendar' ...
** libs
*** arch - i386
Warning in system(cmd) : 'make' not found
ERROR: compilation failed for package 'ConvCalendar'
* removing 'C:/Users/myname/Documents/R/win-library/3.5/ConvCalendar'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘ConvCalendar_1.2.tar.gz’ had non-zero exit status
Looking for a solution to this problem.
r installation package cran
add a comment |
The R Package ConvCalendar
is not on Cran repository anymore (see here).
However, because I have intensively used this package for previous projects, it would be nice to have it installed on my machine, even an older version would suffice.
(Windows 10 environment)
In the link above it is possible to download older versions of ConvCalendar
from the archive. I thus did it, and tried installing it by running (having devtools
also installed and loaded):
install.packages("ConvCalendar_1.2.tar.gz", repos=NULL, type="source")
However, I get the following error message:
> install.packages("ConvCalendar_1.0.tar.gz", repos=NULL, type="source")
Installing package into ‘C:/Users/myname/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
* installing *source* package 'ConvCalendar' ...
** libs
*** arch - i386
Warning in system(cmd) : 'make' not found
ERROR: compilation failed for package 'ConvCalendar'
* removing 'C:/Users/myname/Documents/R/win-library/3.5/ConvCalendar'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘ConvCalendar_1.2.tar.gz’ had non-zero exit status
Looking for a solution to this problem.
r installation package cran
Used OS? If it's ubuntu/debian, trysudo apt-get install make
from shell. If it's windows, it's likely that you have to build the Rtools. See here: cran.r-project.org/bin/windows/Rtools
– nicola
Nov 13 '18 at 11:10
Windows 10. I write this is the main question
– Caserio
Nov 13 '18 at 11:11
See the edit to the first comment. You likely need Rtools.
– nicola
Nov 13 '18 at 11:12
Thanks, that worked!
– Caserio
Nov 13 '18 at 11:20
add a comment |
The R Package ConvCalendar
is not on Cran repository anymore (see here).
However, because I have intensively used this package for previous projects, it would be nice to have it installed on my machine, even an older version would suffice.
(Windows 10 environment)
In the link above it is possible to download older versions of ConvCalendar
from the archive. I thus did it, and tried installing it by running (having devtools
also installed and loaded):
install.packages("ConvCalendar_1.2.tar.gz", repos=NULL, type="source")
However, I get the following error message:
> install.packages("ConvCalendar_1.0.tar.gz", repos=NULL, type="source")
Installing package into ‘C:/Users/myname/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
* installing *source* package 'ConvCalendar' ...
** libs
*** arch - i386
Warning in system(cmd) : 'make' not found
ERROR: compilation failed for package 'ConvCalendar'
* removing 'C:/Users/myname/Documents/R/win-library/3.5/ConvCalendar'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘ConvCalendar_1.2.tar.gz’ had non-zero exit status
Looking for a solution to this problem.
r installation package cran
The R Package ConvCalendar
is not on Cran repository anymore (see here).
However, because I have intensively used this package for previous projects, it would be nice to have it installed on my machine, even an older version would suffice.
(Windows 10 environment)
In the link above it is possible to download older versions of ConvCalendar
from the archive. I thus did it, and tried installing it by running (having devtools
also installed and loaded):
install.packages("ConvCalendar_1.2.tar.gz", repos=NULL, type="source")
However, I get the following error message:
> install.packages("ConvCalendar_1.0.tar.gz", repos=NULL, type="source")
Installing package into ‘C:/Users/myname/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
* installing *source* package 'ConvCalendar' ...
** libs
*** arch - i386
Warning in system(cmd) : 'make' not found
ERROR: compilation failed for package 'ConvCalendar'
* removing 'C:/Users/myname/Documents/R/win-library/3.5/ConvCalendar'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘ConvCalendar_1.2.tar.gz’ had non-zero exit status
Looking for a solution to this problem.
r installation package cran
r installation package cran
edited Nov 13 '18 at 11:12
Caserio
asked Nov 13 '18 at 11:08
CaserioCaserio
276
276
Used OS? If it's ubuntu/debian, trysudo apt-get install make
from shell. If it's windows, it's likely that you have to build the Rtools. See here: cran.r-project.org/bin/windows/Rtools
– nicola
Nov 13 '18 at 11:10
Windows 10. I write this is the main question
– Caserio
Nov 13 '18 at 11:11
See the edit to the first comment. You likely need Rtools.
– nicola
Nov 13 '18 at 11:12
Thanks, that worked!
– Caserio
Nov 13 '18 at 11:20
add a comment |
Used OS? If it's ubuntu/debian, trysudo apt-get install make
from shell. If it's windows, it's likely that you have to build the Rtools. See here: cran.r-project.org/bin/windows/Rtools
– nicola
Nov 13 '18 at 11:10
Windows 10. I write this is the main question
– Caserio
Nov 13 '18 at 11:11
See the edit to the first comment. You likely need Rtools.
– nicola
Nov 13 '18 at 11:12
Thanks, that worked!
– Caserio
Nov 13 '18 at 11:20
Used OS? If it's ubuntu/debian, try
sudo apt-get install make
from shell. If it's windows, it's likely that you have to build the Rtools. See here: cran.r-project.org/bin/windows/Rtools– nicola
Nov 13 '18 at 11:10
Used OS? If it's ubuntu/debian, try
sudo apt-get install make
from shell. If it's windows, it's likely that you have to build the Rtools. See here: cran.r-project.org/bin/windows/Rtools– nicola
Nov 13 '18 at 11:10
Windows 10. I write this is the main question
– Caserio
Nov 13 '18 at 11:11
Windows 10. I write this is the main question
– Caserio
Nov 13 '18 at 11:11
See the edit to the first comment. You likely need Rtools.
– nicola
Nov 13 '18 at 11:12
See the edit to the first comment. You likely need Rtools.
– nicola
Nov 13 '18 at 11:12
Thanks, that worked!
– Caserio
Nov 13 '18 at 11:20
Thanks, that worked!
– Caserio
Nov 13 '18 at 11:20
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53279685%2fr-make-not-found-when-installing-a-r-package-from-local-tar-gz%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53279685%2fr-make-not-found-when-installing-a-r-package-from-local-tar-gz%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Used OS? If it's ubuntu/debian, try
sudo apt-get install make
from shell. If it's windows, it's likely that you have to build the Rtools. See here: cran.r-project.org/bin/windows/Rtools– nicola
Nov 13 '18 at 11:10
Windows 10. I write this is the main question
– Caserio
Nov 13 '18 at 11:11
See the edit to the first comment. You likely need Rtools.
– nicola
Nov 13 '18 at 11:12
Thanks, that worked!
– Caserio
Nov 13 '18 at 11:20