Re: [R] Password protected R Repository

2011-09-28 Thread Stefan Petersson
> >> > > > > The helpfiles for 'download.file' was not that helpful. But maybe it's just me > > not being able to read them correctly. > > Yes, looks like this is the case. > > > I tried to call install.packages with the 'method=wget', and hoped for a > > username and password dialog. But no luc

Re: [R] Password protected R Repository

2011-09-28 Thread Uwe Ligges
On 28.09.2011 15:51, Stefan Petersson wrote: Prof Brian Ripley stats.ox.ac.uk> writes: Who said that RCurl::getURL worked with install.packages? (At least, I assume this is from RCurl: you did not mention it.) install.packages() first calls available.packages(), and that uses download.fil

Re: [R] Password protected R Repository

2011-09-28 Thread Stefan Petersson
Prof Brian Ripley stats.ox.ac.uk> writes: > > Who said that RCurl::getURL worked with install.packages? > (At least, I assume this is from RCurl: you did not mention it.) > > install.packages() first calls available.packages(), and that uses > download.file to get the PACKAGES[.gz] file. It t

Re: [R] Password protected R Repository

2011-09-28 Thread Prof Brian Ripley
Who said that RCurl::getURL worked with install.packages? (At least, I assume this is from RCurl: you did not mention it.) install.packages() first calls available.packages(), and that uses download.file to get the PACKAGES[.gz] file. It then calls download.file to get the packages. So pleas

Re: [R] Password protected R Repository

2011-09-28 Thread Stefan Petersson
inizio.se> writes: > > > Hi, > > I've set up a very simple R repository. Just a single source > library. Everything works fine. I can install the package on my client > using: > > install.packages(repos='http://www.myServer.se/myRepo/', > pkgs='myLib', dep=TRUE) > > However, I want to prote

[R] Password protected R Repository

2011-09-28 Thread stefan . petersson
Hi, I've set up a very simple R repository. Just a single source library. Everything works fine. I can install the package on my client using: install.packages(repos='http://www.myServer.se/myRepo/', pkgs='myLib', dep=TRUE) However, I want to protect the repo, so I use a .htaccess, placed di