Results 1 to 3 of 3
Thread: R packages
-
2020-08-27, 11:05 AM (ISO 8601)
- Join Date
- Jan 2009
R packages
I have an odd issue with installing an R package.
I want to install RCurl, and I found documentation at https://cran.r-project.org/web/packa...url/index.html.
However, when I (in R) go to Packages and Install Packages, nothing happens. Well, not nothing. This pops up in the R console:
ls:::menuInstallPkgs()
but nothing happens to show me a list of packages to download.
I don't have admin rights to my computer, so it could be something like that. Regardless, I'm not sure if I can install packages. (I was surprised I could install R!)
So the questions
Where can I find the source code for RCurl, so that I can just copy-paste the code of the package instead of installing it?
I reckon it's somewhere in that link I posted above, but not sure where.
Alternatively, can you tell why I'm failing to install a package?
It has been over a year since I had to, so I might have forgotten.Last edited by JeenLeen; 2020-08-27 at 11:05 AM.
-
2020-08-27, 12:19 PM (ISO 8601)
- Join Date
- May 2007
- Location
- Tail of the Bellcurve
- Gender
Re: R packages
You should be able to install the package from the command line via
install.packages("RCurl")
If that fails, the error message may be informative. You may need to select a CRAN mirror via the packages menu.
You should also be able to download the package directly, just save the .tar.gz file on the CRAN page, then run
install.packages("<filepath>", repos =NULL, type = "source")
Where filepath is the path to wherever you saved the tar.gz file. You can also choose install from local file in the Packages menu.Blood-red were his spurs i' the golden noon; wine-red was his velvet coat,
When they shot him down on the highway,
Down like a dog on the highway,And he lay in his blood on the highway, with the bunch of lace at his throat.
Alfred Noyes, The Highwayman, 1906.
-
2020-08-27, 03:03 PM (ISO 8601)
- Join Date
- Jan 2007
- Location
- Switzerland
- Gender
Re: R packages
I was just about to say, download and install manually, but WG already said it.
Resident Vancian Apologist