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..!!! ?? -- Bhavani.P [[alternative HTML version deleted]]
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
Three remarks: 1. 'Install.Packages=="RODBC"' does nothing. Where did you find that? The command is install.packages("RODBC") 2. Sometimes it is a good idea to start reading a manual. 3. Please do not post in html Frans 2016-02-25 17:11 GMT+01:00 Bhavani Akila <bhava20april at gmail.com>:> 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..!!! ?? > -- > > Bhavani.P > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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.[[alternative HTML version deleted]]