R Installing prior verison package NAMESPACE file missing
I'm using Windows and is trying to install latentnet package in version 2.1.1. You can locate the package in the following link:
https://cran.r-project.org/src/contrib/Archive/latentnet/latentnet_2.1-1.tar.gz
I tried to use:
install_version("latentnet", version = "2.1-1", repos = "http://cran.us.r-project.org")
Error message received:
Downloading package from url: http://cran.us.r-project.org/src/contrib/Archive/latentnet/latentnet_2.1-1.tar.gz
WARNING: Rtools is required to build R packages, but no version of Rtools compatible with R 3.5.1 was found. (Only the following incompatible version(s) of Rtools were found:3.5)
Please download and install the appropriate version of Rtools from http://cran.r-project.org/bin/windows/Rtools/.
Installing latentnet
"C:/Program Files/R/R-3.5.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet
CMD INSTALL "C:/Users/wawa0001/AppData/Local/Temp/RtmpCig4et/devtools504261651b3/latentnet"
--library="C:/Users/wawa0001/Documents/R/win-library/3.5" --install-tests
* installing *source* package 'latentnet' ...
ERROR: a 'NAMESPACE' file is required
* removing 'C:/Users/wawa0001/Documents/R/win-library/3.5/latentnet'
In R CMD INSTALL
Then I tried to download the package to my local drive and used following command:
install.packages("latentnet_2.1-1.tar.gz", repos = NULL)
I received another error message:
Installing package into �C:/Users/wawa0001/Documents/R/win-library/3.5�
(as �lib� is unspecified)
* installing *source* package 'latentnet' ...
ERROR: a 'NAMESPACE' file is required
* removing 'C:/Users/wawa0001/Documents/R/win-library/3.5/latentnet'
* restoring previous 'C:/Users/wawa0001/Documents/R/win-library/3.5/latentnet'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘latentnet_2.1-1.tar.gz’ had non-zero exit status
It seems I need to create a 'NAMESPACE' file, and I referred to this post:
ERROR: a 'NAMESPACE' file is required
However, command tar does not exist on my PC externally or internally and I do not know a way to get it to execute.
Could anyone suggest a way to download the early version of the package? I currently have R 3.4.4.
Thanks!
r networking namespaces
|
show 1 more comment
I'm using Windows and is trying to install latentnet package in version 2.1.1. You can locate the package in the following link:
https://cran.r-project.org/src/contrib/Archive/latentnet/latentnet_2.1-1.tar.gz
I tried to use:
install_version("latentnet", version = "2.1-1", repos = "http://cran.us.r-project.org")
Error message received:
Downloading package from url: http://cran.us.r-project.org/src/contrib/Archive/latentnet/latentnet_2.1-1.tar.gz
WARNING: Rtools is required to build R packages, but no version of Rtools compatible with R 3.5.1 was found. (Only the following incompatible version(s) of Rtools were found:3.5)
Please download and install the appropriate version of Rtools from http://cran.r-project.org/bin/windows/Rtools/.
Installing latentnet
"C:/Program Files/R/R-3.5.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet
CMD INSTALL "C:/Users/wawa0001/AppData/Local/Temp/RtmpCig4et/devtools504261651b3/latentnet"
--library="C:/Users/wawa0001/Documents/R/win-library/3.5" --install-tests
* installing *source* package 'latentnet' ...
ERROR: a 'NAMESPACE' file is required
* removing 'C:/Users/wawa0001/Documents/R/win-library/3.5/latentnet'
In R CMD INSTALL
Then I tried to download the package to my local drive and used following command:
install.packages("latentnet_2.1-1.tar.gz", repos = NULL)
I received another error message:
Installing package into �C:/Users/wawa0001/Documents/R/win-library/3.5�
(as �lib� is unspecified)
* installing *source* package 'latentnet' ...
ERROR: a 'NAMESPACE' file is required
* removing 'C:/Users/wawa0001/Documents/R/win-library/3.5/latentnet'
* restoring previous 'C:/Users/wawa0001/Documents/R/win-library/3.5/latentnet'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘latentnet_2.1-1.tar.gz’ had non-zero exit status
It seems I need to create a 'NAMESPACE' file, and I referred to this post:
ERROR: a 'NAMESPACE' file is required
However, command tar does not exist on my PC externally or internally and I do not know a way to get it to execute.
Could anyone suggest a way to download the early version of the package? I currently have R 3.4.4.
Thanks!
r networking namespaces
Newer versions of R have stricter requirements for pacakges. If you want to use an older R package, try also using an older version of R (whatever was around at the time of the package version you want to use). You say you have R version 3.4.4 but the message above says "win-library/3.5" which would indicate you have at least R version 3.5
– MrFlick
Nov 19 '18 at 20:35
@MrFlick Can I use R studio with an older version of R without un- installing 3.5?
– lydias
Nov 19 '18 at 20:39
You can have different versions of R installed side-by-side on your machine.
– MrFlick
Nov 19 '18 at 20:47
@MrFlick I have a mac and the earliest I can go back is 3.3. Latentnet package is still asking for a NAMESPACE file.
– lydias
Nov 20 '18 at 0:16
Version 2.1.1 of that package look alike it was released in Feb 2008. At that time R version 2.6 was current (very old). Since R 3.0 (at least) all packages require namespace files. Why do you need such an old version? You would have to manually create the missing files yourself if you want to fun that code.
– MrFlick
Nov 20 '18 at 0:24
|
show 1 more comment
I'm using Windows and is trying to install latentnet package in version 2.1.1. You can locate the package in the following link:
https://cran.r-project.org/src/contrib/Archive/latentnet/latentnet_2.1-1.tar.gz
I tried to use:
install_version("latentnet", version = "2.1-1", repos = "http://cran.us.r-project.org")
Error message received:
Downloading package from url: http://cran.us.r-project.org/src/contrib/Archive/latentnet/latentnet_2.1-1.tar.gz
WARNING: Rtools is required to build R packages, but no version of Rtools compatible with R 3.5.1 was found. (Only the following incompatible version(s) of Rtools were found:3.5)
Please download and install the appropriate version of Rtools from http://cran.r-project.org/bin/windows/Rtools/.
Installing latentnet
"C:/Program Files/R/R-3.5.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet
CMD INSTALL "C:/Users/wawa0001/AppData/Local/Temp/RtmpCig4et/devtools504261651b3/latentnet"
--library="C:/Users/wawa0001/Documents/R/win-library/3.5" --install-tests
* installing *source* package 'latentnet' ...
ERROR: a 'NAMESPACE' file is required
* removing 'C:/Users/wawa0001/Documents/R/win-library/3.5/latentnet'
In R CMD INSTALL
Then I tried to download the package to my local drive and used following command:
install.packages("latentnet_2.1-1.tar.gz", repos = NULL)
I received another error message:
Installing package into �C:/Users/wawa0001/Documents/R/win-library/3.5�
(as �lib� is unspecified)
* installing *source* package 'latentnet' ...
ERROR: a 'NAMESPACE' file is required
* removing 'C:/Users/wawa0001/Documents/R/win-library/3.5/latentnet'
* restoring previous 'C:/Users/wawa0001/Documents/R/win-library/3.5/latentnet'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘latentnet_2.1-1.tar.gz’ had non-zero exit status
It seems I need to create a 'NAMESPACE' file, and I referred to this post:
ERROR: a 'NAMESPACE' file is required
However, command tar does not exist on my PC externally or internally and I do not know a way to get it to execute.
Could anyone suggest a way to download the early version of the package? I currently have R 3.4.4.
Thanks!
r networking namespaces
I'm using Windows and is trying to install latentnet package in version 2.1.1. You can locate the package in the following link:
https://cran.r-project.org/src/contrib/Archive/latentnet/latentnet_2.1-1.tar.gz
I tried to use:
install_version("latentnet", version = "2.1-1", repos = "http://cran.us.r-project.org")
Error message received:
Downloading package from url: http://cran.us.r-project.org/src/contrib/Archive/latentnet/latentnet_2.1-1.tar.gz
WARNING: Rtools is required to build R packages, but no version of Rtools compatible with R 3.5.1 was found. (Only the following incompatible version(s) of Rtools were found:3.5)
Please download and install the appropriate version of Rtools from http://cran.r-project.org/bin/windows/Rtools/.
Installing latentnet
"C:/Program Files/R/R-3.5.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet
CMD INSTALL "C:/Users/wawa0001/AppData/Local/Temp/RtmpCig4et/devtools504261651b3/latentnet"
--library="C:/Users/wawa0001/Documents/R/win-library/3.5" --install-tests
* installing *source* package 'latentnet' ...
ERROR: a 'NAMESPACE' file is required
* removing 'C:/Users/wawa0001/Documents/R/win-library/3.5/latentnet'
In R CMD INSTALL
Then I tried to download the package to my local drive and used following command:
install.packages("latentnet_2.1-1.tar.gz", repos = NULL)
I received another error message:
Installing package into �C:/Users/wawa0001/Documents/R/win-library/3.5�
(as �lib� is unspecified)
* installing *source* package 'latentnet' ...
ERROR: a 'NAMESPACE' file is required
* removing 'C:/Users/wawa0001/Documents/R/win-library/3.5/latentnet'
* restoring previous 'C:/Users/wawa0001/Documents/R/win-library/3.5/latentnet'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘latentnet_2.1-1.tar.gz’ had non-zero exit status
It seems I need to create a 'NAMESPACE' file, and I referred to this post:
ERROR: a 'NAMESPACE' file is required
However, command tar does not exist on my PC externally or internally and I do not know a way to get it to execute.
Could anyone suggest a way to download the early version of the package? I currently have R 3.4.4.
Thanks!
r networking namespaces
r networking namespaces
asked Nov 19 '18 at 19:57
lydiaslydias
164114
164114
Newer versions of R have stricter requirements for pacakges. If you want to use an older R package, try also using an older version of R (whatever was around at the time of the package version you want to use). You say you have R version 3.4.4 but the message above says "win-library/3.5" which would indicate you have at least R version 3.5
– MrFlick
Nov 19 '18 at 20:35
@MrFlick Can I use R studio with an older version of R without un- installing 3.5?
– lydias
Nov 19 '18 at 20:39
You can have different versions of R installed side-by-side on your machine.
– MrFlick
Nov 19 '18 at 20:47
@MrFlick I have a mac and the earliest I can go back is 3.3. Latentnet package is still asking for a NAMESPACE file.
– lydias
Nov 20 '18 at 0:16
Version 2.1.1 of that package look alike it was released in Feb 2008. At that time R version 2.6 was current (very old). Since R 3.0 (at least) all packages require namespace files. Why do you need such an old version? You would have to manually create the missing files yourself if you want to fun that code.
– MrFlick
Nov 20 '18 at 0:24
|
show 1 more comment
Newer versions of R have stricter requirements for pacakges. If you want to use an older R package, try also using an older version of R (whatever was around at the time of the package version you want to use). You say you have R version 3.4.4 but the message above says "win-library/3.5" which would indicate you have at least R version 3.5
– MrFlick
Nov 19 '18 at 20:35
@MrFlick Can I use R studio with an older version of R without un- installing 3.5?
– lydias
Nov 19 '18 at 20:39
You can have different versions of R installed side-by-side on your machine.
– MrFlick
Nov 19 '18 at 20:47
@MrFlick I have a mac and the earliest I can go back is 3.3. Latentnet package is still asking for a NAMESPACE file.
– lydias
Nov 20 '18 at 0:16
Version 2.1.1 of that package look alike it was released in Feb 2008. At that time R version 2.6 was current (very old). Since R 3.0 (at least) all packages require namespace files. Why do you need such an old version? You would have to manually create the missing files yourself if you want to fun that code.
– MrFlick
Nov 20 '18 at 0:24
Newer versions of R have stricter requirements for pacakges. If you want to use an older R package, try also using an older version of R (whatever was around at the time of the package version you want to use). You say you have R version 3.4.4 but the message above says "win-library/3.5" which would indicate you have at least R version 3.5
– MrFlick
Nov 19 '18 at 20:35
Newer versions of R have stricter requirements for pacakges. If you want to use an older R package, try also using an older version of R (whatever was around at the time of the package version you want to use). You say you have R version 3.4.4 but the message above says "win-library/3.5" which would indicate you have at least R version 3.5
– MrFlick
Nov 19 '18 at 20:35
@MrFlick Can I use R studio with an older version of R without un- installing 3.5?
– lydias
Nov 19 '18 at 20:39
@MrFlick Can I use R studio with an older version of R without un- installing 3.5?
– lydias
Nov 19 '18 at 20:39
You can have different versions of R installed side-by-side on your machine.
– MrFlick
Nov 19 '18 at 20:47
You can have different versions of R installed side-by-side on your machine.
– MrFlick
Nov 19 '18 at 20:47
@MrFlick I have a mac and the earliest I can go back is 3.3. Latentnet package is still asking for a NAMESPACE file.
– lydias
Nov 20 '18 at 0:16
@MrFlick I have a mac and the earliest I can go back is 3.3. Latentnet package is still asking for a NAMESPACE file.
– lydias
Nov 20 '18 at 0:16
Version 2.1.1 of that package look alike it was released in Feb 2008. At that time R version 2.6 was current (very old). Since R 3.0 (at least) all packages require namespace files. Why do you need such an old version? You would have to manually create the missing files yourself if you want to fun that code.
– MrFlick
Nov 20 '18 at 0:24
Version 2.1.1 of that package look alike it was released in Feb 2008. At that time R version 2.6 was current (very old). Since R 3.0 (at least) all packages require namespace files. Why do you need such an old version? You would have to manually create the missing files yourself if you want to fun that code.
– MrFlick
Nov 20 '18 at 0:24
|
show 1 more 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%2f53381765%2fr-installing-prior-verison-package-namespace-file-missing%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%2f53381765%2fr-installing-prior-verison-package-namespace-file-missing%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
Newer versions of R have stricter requirements for pacakges. If you want to use an older R package, try also using an older version of R (whatever was around at the time of the package version you want to use). You say you have R version 3.4.4 but the message above says "win-library/3.5" which would indicate you have at least R version 3.5
– MrFlick
Nov 19 '18 at 20:35
@MrFlick Can I use R studio with an older version of R without un- installing 3.5?
– lydias
Nov 19 '18 at 20:39
You can have different versions of R installed side-by-side on your machine.
– MrFlick
Nov 19 '18 at 20:47
@MrFlick I have a mac and the earliest I can go back is 3.3. Latentnet package is still asking for a NAMESPACE file.
– lydias
Nov 20 '18 at 0:16
Version 2.1.1 of that package look alike it was released in Feb 2008. At that time R version 2.6 was current (very old). Since R 3.0 (at least) all packages require namespace files. Why do you need such an old version? You would have to manually create the missing files yourself if you want to fun that code.
– MrFlick
Nov 20 '18 at 0:24