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 directly under 'myRepo' on the server. I use
'Authentication Basic' and 'require valid-user'.

I've tried a few
things. From the
obvious:

install.packages(repos=getURL('http://www.myServer.se/myRepo',
userpwd='user:password'), pkgs='myLib', dep=TRUE)

To the more
elaborate:

h 
        [[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.

Reply via email to