R Installing prior verison package NAMESPACE file missing











up vote
0
down vote

favorite












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!










share|improve this question






















  • 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 at 20:35










  • @MrFlick Can I use R studio with an older version of R without un- installing 3.5?
    – lydias
    Nov 19 at 20:39










  • You can have different versions of R installed side-by-side on your machine.
    – MrFlick
    Nov 19 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 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 at 0:24















up vote
0
down vote

favorite












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!










share|improve this question






















  • 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 at 20:35










  • @MrFlick Can I use R studio with an older version of R without un- installing 3.5?
    – lydias
    Nov 19 at 20:39










  • You can have different versions of R installed side-by-side on your machine.
    – MrFlick
    Nov 19 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 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 at 0:24













up vote
0
down vote

favorite









up vote
0
down vote

favorite











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!










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 19 at 19:57









lydias

145114




145114












  • 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 at 20:35










  • @MrFlick Can I use R studio with an older version of R without un- installing 3.5?
    – lydias
    Nov 19 at 20:39










  • You can have different versions of R installed side-by-side on your machine.
    – MrFlick
    Nov 19 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 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 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 at 20:35










  • @MrFlick Can I use R studio with an older version of R without un- installing 3.5?
    – lydias
    Nov 19 at 20:39










  • You can have different versions of R installed side-by-side on your machine.
    – MrFlick
    Nov 19 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 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 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 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 at 20:35












@MrFlick Can I use R studio with an older version of R without un- installing 3.5?
– lydias
Nov 19 at 20:39




@MrFlick Can I use R studio with an older version of R without un- installing 3.5?
– lydias
Nov 19 at 20:39












You can have different versions of R installed side-by-side on your machine.
– MrFlick
Nov 19 at 20:47




You can have different versions of R installed side-by-side on your machine.
– MrFlick
Nov 19 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 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 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 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 at 0:24

















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',
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
});


}
});














draft saved

draft discarded


















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






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Create new schema in PostgreSQL using DBeaver

Deepest pit of an array with Javascript: test on Codility

Costa Masnaga