[R] [FORGED] Need help in installing packages in R
Rolf Turner
r.turner at auckland.ac.nz
Thu Feb 25 22:08:07 CET 2016
On 26/02/16 05:11, Bhavani Akila wrote:
> Hi,
>
> I have just started learning about "R" programming language. I tried to
> connect it to SQL server using "RODBC". On trying to install packages in R
> with the command
> Eg., 'Install.Packages=="RODBC"', the zip file is not getting downloaded as
> am not able to access to the webpage since am working in a restricted
> environment.
>
> I have some how managed to get the zip file, but I have no idea how to
> install it into my system(Because on installing using "R Console", it
> itself is getting unpacked and getting installed in a specific location)
>
> Can I just install by unzipping and placing the file in some random
> location and connect R with SQL or is there any procedure to install the
> package?
>
> Kindly help me install "R Packages" without the use of "R Console"(With the
> use of zip file).
>
> Thanks in advance..!!!
Read the help for install.packages. Essentially it says to
(a) set repos=NULL
(b) set pkgs equal to the file path to the source of the package that
you wish to install
If, as is likely, you are using Windoze, then (I believe) there is a
point-and-click facility for installing packages "from local zip files".
cheers,
Rolf Turner
--
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
More information about the R-help
mailing list