From ingmar.schuster at informatik.uni-leipzig.de  Fri Jun 22 15:10:14 2012
From: ingmar.schuster at informatik.uni-leipzig.de (Ingmar Schuster)
Date: Fri, 22 Jun 2012 15:10:14 +0200
Subject: [Rd] Have download.packages consider non-CRAN repositories
In-Reply-To: <4FE316E0.3010407@statistik.tu-dortmund.de>
References: <CAGX06KOr_pi+CXFduJqdVz78kVcmjC8HK1GyvsXYh3Vy502J1Q@mail.gmail.com>
	<4FE30DFB.1060003@gmail.com>
	<4FE316E0.3010407@statistik.tu-dortmund.de>
Message-ID: <CAGX06KOXG1iuiaxiDitBfqx7v6ZXPKA4XGPmUsnKKW5_tr4KpQ@mail.gmail.com>

Hi Uwe and List,

Thanks for your suggestions.

It's a complete repository with source Packages and the PACKAGES(.gz)
index file under "src/contrib/". As mentioned: explicitly calling

install.packages("PACKAGE_NAME",
repos="file:///Users/arbeit/Documents/clarin/Open_Science/PMR2/",
type="source");

works without any problems. But configuring the repository through
R_HOME/etc/repositories and obmitting the repos argument to
install.packages() is what I want and what doesn't work. Ideas?

> And note that is must be a complete repository, i.e. packages in subdir
> "./src/contrib". A user can use install.packages(....., type="source") if
> you do not provide binaries in case they are expected by default.
>
> Uwe Ligges

I knew about the type="source" argument to install.packages() but
hoped there would be a way to permanently configure this as default
for a source-only repository.


Thanks,
Ingmar Schuster

-- 
Ingmar Schuster
Natural Language Processing Group
Department of Computer Science
University of Leipzig
Johannisgasse 26
04103 Leipzig, Germany

Tel. +49 341 9732205

http://asv.informatik.uni-leipzig.de/en/staff/Ingmar_Schuster



[Rd] Have download.packages consider non-CRAN repositories
Ingmar Schuster