[R] install packages from R-forge SVN

2014-02-26 Thread Jonathan Greenberg
R-helpers:

I was curious if anyone developed a package/approach to installing
packages directly from the R-forge SVN subsystem (rather than waiting
for it to build)?  I can, of course, SVN it command line but I was
hoping for an install.packages(svn://) sort of approach.  Cheers!

--j

-- 
Jonathan A. Greenberg, PhD
Assistant Professor
Global Environmental Analysis and Remote Sensing (GEARS) Laboratory
Department of Geography and Geographic Information Science
University of Illinois at Urbana-Champaign
259 Computing Applications Building, MC-150
605 East Springfield Avenue
Champaign, IL  61820-6371
Phone: 217-300-1924
http://www.geog.illinois.edu/~jgrn/
AIM: jgrn307, MSN: jgrn...@hotmail.com, Gchat: jgrn307, Skype: jgrn3007

__
R-help@r-project.org mailing list
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.


[R] install-packages

2013-08-01 Thread Said Filahi
hello,
i am new and I want to know how to install a packare on R

thank you


said filahi

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
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.


Re: [R] install-packages

2013-08-01 Thread Mike Rennie
Try typing this into google search bar:

[R] install packages

The majority of the results on the first page will help you out.


On Thu, Aug 1, 2013 at 8:43 PM, Said Filahi sa.fil...@gmail.com wrote:

 hello,
 i am new and I want to know how to install a packare on R

 thank you


 said filahi

 [[alternative HTML version deleted]]

 __
 R-help@r-project.org mailing list
 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.




-- 
Michael Rennie, Research Scientist
Fisheries and Oceans Canada, Freshwater Institute
Winnipeg, Manitoba, CANADA

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
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.


[R] install packages and time-out

2013-04-03 Thread Menezes, David
I use R / RStudio at work.  Recently, I tried to download XLConnect package 
using

install.packages(XLConnect)

However, I got the following error message:

Installing package(s) into 'WORKCOMPUTER SPECIFIC STUFF HERE 
Documents/R/win-library/2.15'
(as 'lib' is unspecified)
trying URL 
'http://www.stats.bris.ac.uk/R/bin/windows/contrib/2.15/XLConnect_0.2-5.zip'
Warning in install.packages :
  InternetOpenUrl failed: 'The operation timed out'
Error in download.file(url, destfile, method, mode = wb, ...) :
  cannot open URL 
'http://www.stats.bris.ac.uk/R/bin/windows/contrib/2.15/XLConnect_0.2-5.zip'
Warning in install.packages :
  download of package 'XLConnect' failed

I think the reason for the problem is that I'm in a corporate environment and 
our firewall spends 2-3 mins scanning the zip file before releasing it.  I 
think the solution requires me to tell R to override (what I believe is) the 60 
second time-out default setting when you run install.packages.  At least I 
think install.packages calls download.file  I need to extend the time-out 
window, so that the firewall can do its thing.

Some notes, which I think are relevant:

Ø  Although I'm working in a corporate environment, I have worked with my IT 
team to ensure that HTTP/proxy measures allow on the fly package download, e.g. 
no problems with install.packages(ggplot2)

Ø  I've also tried using setInternet2(TRUE) before the above, which made no 
difference

Ø  I've also tried using: options(timeout=300) before the install.packages 
command, in order to attempt to force a five-minute window ; this had no affect

Ø  The target file does exist on Bristol's servers if you search for the 
website using internet explorer

Ø  I can download the package manually (although our security measures spend 
some time scanning this particular package).  Once saved locally, I 
successfully run install.packages to load the file from the local drive, but 
that's hardly the way forward if I want to keep things up to date!

Ø  I have tried Imperial College's server, which also fails, so it's not a 
mirror issue.

Ø  I have run the same code at home to the same Bristol mirror and get no 
issues.

A bit stuck, therefore!


**
Atrium Underwriters Ltd is authorised and regulated by the Financial Services 
Authority.
Atrium Insurance Agency Ltd is authorised and regulated by the Financial 
Services Authority.
Atrium Insurance Agency (Asia) Pte. Ltd. is authorised and regulated by the 
Monetary Authority of Singapore.

The information in this email, and in any of its attachments, is confidential 
and may be legally privileged.  It is intended solely for the addressee.  
Access to this email, and to any of its attachments, by anyone else is 
unauthorised.  If you are not the intended recipient, any disclosure, copying, 
distribution or any action taken or omitted to be taken in reliance on it, is 
prohibited and may be unlawful.  If you have received this email in error 
please notify us immediately (by telephone on +44 (0)20 7327 4877 or by return 
email) and destroy the message, together with any attachments and all copies in 
your possession. Any views expressed in this email are not necessarily those of 
Atrium Underwriting Group Ltd or any of its subsidiaries.
Atrium Underwriting Group Ltd, Room 790, Lloyd's, 1 Lime Street, London EC3M 
7DQ. Registered in England No. 2860390. Atrium Insurance Agency Ltd, Room 790, 
Lloyd's, 1 Lime Street, London EC3M 7DQ. Registered in England No. 5993519. 
Atrium Underwriters Ltd, Room 790, Lloyd's, 1 Lime Street, London EC3M 7DQ. 
Registered in England No. 1958863 Registered Office as above
This footnote also confirms that this email message has been swept by MIMECast 
for the presence of computer viruses.
**
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
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.


[R] install packages from intranet

2011-08-12 Thread Peter Aberline

Hi,
 
I'm new to R. Apologies if this is a simple query, I've searched the mailing 
lists and docs but can't find a solution to my problem. 
 
I'm trying to make some packages available on our intranet. During development 
the 'intranet' is a webserver running on localhost. 
 
* When I call install.packages I get a mesage about not being able to access 
'index for repository'. 
* The directories are viewable and can be seen through a web browser. 
* Web server is IIS running on Winows 7. 
* I've used the same paths on the web server as where the packages are located 
in the CRAN mirror's.
* I've tried setting setInternet2(TRUE), which was already set.
 
 
 r - getOption(repos);
 r[CRAN] = http://localhost;
 r[CRANextra] = http://localhost/pub/RWin;
 options(repos=r)
 r
   CRAN   CRANextra
 http://localhost; http://localhost/pub/RWin;
 
 install.packages(abind)
Warning: unable to access index for repository http://localhost/bin/windows/cont
rib/2.13
Warning: unable to access index for repository http://localhost/pub/RWin/bin/win
dows/contrib/2.13
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
  package 'abind' is not available (for R version 2.13.1)

 
OR
 
 install.packages(abind, 
 contriburl=http://localhost/bin/windows/contrib/2.13;)
Warning: unable to access index for repository 
http://localhost/bin/windows/contrib/2.13
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
  package ‘abind’ is not available (for R version 2.13.1)
 
OR 
 
  install.packages(abind, 
contriburl=http://localhost/bin/windows/contrib/2.13/abind_1.3-0.zip;)
Warning: unable to access index for repository 
http://localhost/bin/windows/contrib/2.13/abind_1.3-0.zip
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
  package ‘abind’ is not available (for R version 2.13.1)
 
 
Can anyone give me any clues as to what I'm doing wrong? Does R need some kind 
of index file to map between the name 'abind' and the zip filename?
 
Many thanks
Peter.
  
__
R-help@r-project.org mailing list
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.


Re: [R] install packages from intranet

2011-08-12 Thread Uwe Ligges



On 12.08.2011 11:40, Peter Aberline wrote:


Hi,

I'm new to R. Apologies if this is a simple query, I've searched the mailing 
lists and docs but can't find a solution to my problem.

I'm trying to make some packages available on our intranet. During development 
the 'intranet' is a webserver running on localhost.

* When I call install.packages I get a mesage about not being able to access 
'index for repository'.
* The directories are viewable and can be seen through a web browser.
* Web server is IIS running on Winows 7.
* I've used the same paths on the web server as where the packages are located 
in the CRAN mirror's.
* I've tried setting setInternet2(TRUE), which was already set.



r- getOption(repos);
r[CRAN] = http://localhost;
r[CRANextra] = http://localhost/pub/RWin;
options(repos=r)
r

CRAN   CRANextra
  http://localhost; http://localhost/pub/RWin;


install.packages(abind)

Warning: unable to access index for repository http://localhost/bin/windows/cont
rib/2.13
Warning: unable to access index for repository http://localhost/pub/RWin/bin/win
dows/contrib/2.13
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
   package 'abind' is not available (for R version 2.13.1)




OR


install.packages(abind, 
contriburl=http://localhost/bin/windows/contrib/2.13;)

Warning: unable to access index for repository 
http://localhost/bin/windows/contrib/2.13
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
   package ‘abind’ is not available (for R version 2.13.1)

OR


   install.packages(abind, 
contriburl=http://localhost/bin/windows/contrib/2.13/abind_1.3-0.zip;)

Warning: unable to access index for repository 
http://localhost/bin/windows/contrib/2.13/abind_1.3-0.zip
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
   package ‘abind’ is not available (for R version 2.13.1)




Can anyone give me any clues as to what I'm doing wrong? Does R need some kind 
of index file to map between the name 'abind' and the zip filename?



Right, the PACKAGES file. You will find it in any repository.
If you only have a selectio of packages on your local server, you can 
use  write_PACKAGES() from the tools package to generate your own.
Anyway, if you make a local repository available: Does it make sense to 
just install all of them into a library that can be accessed from all 
machines you aimed at with the local repository?


Uwe Ligges






Many thanks
Peter.

__
R-help@r-project.org mailing list
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.


__
R-help@r-project.org mailing list
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.


[R] install packages in Windows Vista

2010-07-28 Thread Santosh
Dear R experts...
I would really appreciate your suggestions in installing a package in
Windows Vista...

I am unable to install a package on a windows vista based computer, in spite
of running it as an administrator. The package xpose4.2.1 is available
from 
https://sourceforge.net/projects/xpose/files/Xpose4/Xpose_4.2.1/xpose4_4.2.1_win32.zip/download


Following is the error message when I try to install the package from the
Rgui command line...
I get similar errors when I try to install the packages from Rgui (Packages
| Install packages from local zip files) menu, but with default
lib=C:/Users/santosh/Documents/R/win-library/2.11
.

install.packages(C:/Users/santosh/Downloads/xpose4_4.2.1_win32.zip,repos=NULL,lib=C:/Program
Files/R/R-2.11.1/library)
Error in gzfile(file, r) : cannot open the connection
In addition: Warning message:
In gzfile(file, r) :
  cannot open compressed file 'xpose4_4.2.1_win32/DESCRIPTION', probable
reason 'No such file or directory'

However, I see file folder in which the library related folders
are installed..

Thanks again,
Santosh

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
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.


[R] Install packages not working in latest version?

2009-04-26 Thread Neotropical bat risk assessments

Seems that the latest version R version 2.9.0 (2009-04-17)
 has a glitch and will not install packages. Issue with unzipping?

Works fine with R version 2.8.1 (2008-12-22)


 install.packages(ff)
--- Please select a CRAN mirror for use in this session ---
trying URL 'http://cran.fhcrc.org/bin/windows/contrib/2.9/ff_2.0.1.zip'
Content type 'application/zip' length 779664 bytes (761 Kb)
opened URL
downloaded 761 Kb

Error in .Internal(int.unzip(zipname, NULL, dest)) :
  no internal function int.unzip

Bruce

__
R-help@r-project.org mailing list
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.


Re: [R] Install packages not working in latest version?

2009-04-26 Thread Uwe Ligges



Neotropical bat risk assessments wrote:

Seems that the latest version R version 2.9.0 (2009-04-17)
 has a glitch and will not install packages. Issue with unzipping?

Works fine with R version 2.8.1 (2008-12-22)


  install.packages(ff)
--- Please select a CRAN mirror for use in this session ---
trying URL 'http://cran.fhcrc.org/bin/windows/contrib/2.9/ff_2.0.1.zip'
Content type 'application/zip' length 779664 bytes (761 Kb)
opened URL
downloaded 761 Kb

Error in .Internal(int.unzip(zipname, NULL, dest)) :
  no internal function int.unzip



Please check if you have old base packages in a library that is used 
before the standard library in R_HOME/library when you start R-2.9.0.


Uwe Ligges



 
Bruce

__
R-help@r-project.org mailing list
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.


__
R-help@r-project.org mailing list
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.


[R] Install Packages in Windows Vista

2008-07-01 Thread nicholasw22

I can't seem to install packages to R. Each time I get the following
output...for example

bundle 'VR' successfully unpacked and MD5 sums checked

The downloaded packages are in
C:\Users\DarkBlue\AppData\Local\Temp\RtmpQrD7Le\downloaded_packages
updating HTML package descriptions
Warning message:
In file.create(f.tg) :
  cannot create file 'C:\PROGRA~1\R\R/doc/html/packages.html', reason
'Permission denied'

-- 
View this message in context: 
http://www.nabble.com/Install-Packages-in-Windows-Vista-tp18228954p18228954.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
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.


Re: [R] Install Packages in Windows Vista

2008-07-01 Thread Charles Annis, P.E.
Run R as the Administrator.  Install the packages.  Then run as an ordinary
user.



Charles Annis, P.E.

[EMAIL PROTECTED]
phone: 561-352-9699
eFax:  614-455-3265
http://www.StatisticalEngineering.com
 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of nicholasw22
Sent: Tuesday, July 01, 2008 10:11 PM
To: r-help@r-project.org
Subject: [R] Install Packages in Windows Vista


I can't seem to install packages to R. Each time I get the following
output...for example

bundle 'VR' successfully unpacked and MD5 sums checked

The downloaded packages are in
C:\Users\DarkBlue\AppData\Local\Temp\RtmpQrD7Le\downloaded_packages
updating HTML package descriptions
Warning message:
In file.create(f.tg) :
  cannot create file 'C:\PROGRA~1\R\R/doc/html/packages.html', reason
'Permission denied'

-- 
View this message in context:
http://www.nabble.com/Install-Packages-in-Windows-Vista-tp18228954p18228954.
html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
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.

__
R-help@r-project.org mailing list
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.


Re: [R] Install Packages in Windows Vista

2008-07-01 Thread Gabor Grothendieck
You do that by right clicking the R icon on the Windows Desktop
and then choosing Run As Administrator .

Alternately grab el.js and Rgui.bat from the batchfiles distribution --
home page is at:

   http://batchfiles.googlecode.com

and place them anywhere in your path and then you can just do this
from the command line to start up R as an elevated process
(you will be asked for confirmation):

   el Rgui

(Omitting el starts it up normally.)

On Tue, Jul 1, 2008 at 11:09 PM, Charles Annis, P.E.
[EMAIL PROTECTED] wrote:
 Run R as the Administrator.  Install the packages.  Then run as an ordinary
 user.



 Charles Annis, P.E.

 [EMAIL PROTECTED]
 phone: 561-352-9699
 eFax:  614-455-3265
 http://www.StatisticalEngineering.com

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of nicholasw22
 Sent: Tuesday, July 01, 2008 10:11 PM
 To: r-help@r-project.org
 Subject: [R] Install Packages in Windows Vista


 I can't seem to install packages to R. Each time I get the following
 output...for example

 bundle 'VR' successfully unpacked and MD5 sums checked

 The downloaded packages are in
C:\Users\DarkBlue\AppData\Local\Temp\RtmpQrD7Le\downloaded_packages
 updating HTML package descriptions
 Warning message:
 In file.create(f.tg) :
  cannot create file 'C:\PROGRA~1\R\R/doc/html/packages.html', reason
 'Permission denied'

 --
 View this message in context:
 http://www.nabble.com/Install-Packages-in-Windows-Vista-tp18228954p18228954.
 html
 Sent from the R help mailing list archive at Nabble.com.

 __
 R-help@r-project.org mailing list
 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.

 __
 R-help@r-project.org mailing list
 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.


__
R-help@r-project.org mailing list
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.