[R] Installing a Package
Rui Barradas
ru|pb@rr@d@@ @end|ng |rom @@po@pt
Sun Oct 11 11:27:33 CEST 2020
Hello,
What OS are you running? If it's Windows you will need Rtools [1] to
install a source package. Otherwise the following usually works.
1. Download the tar.gz package file (say, package_version.tar.gz) to
your disk.
2. Go to the directory where this file is.
3.a. From within RStudio run
install.packages(path_to_tar_gz_file, repos = NULL, type = "source")
3.b. From the command line run
R CMD INSTALL package_version.tar.gz
[1] https://cran.r-project.org/bin/windows/Rtools/
Hope this helps,
Rui Barradas
Às 10:01 de 11/10/20, Faheem Jan via R-help escreveu:
>
>
> Hello, I am working in the nonparametric functional data analysis, i stack in a simple problem is that i am going to install a package in the name of nfda which is not present in the R Cran, know how i am going to install this package in R studio from archives or some thing else. please guide me i am just a beginner in R, Thanks
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
More information about the R-help
mailing list