Skip to content
Back to formatted view

Raw Message

Message-ID: <4E4FF5C7.5030506@statistik.tu-dortmund.de>
Date: 2011-08-20T17:58:31Z
From: Uwe Ligges
Subject: 'install package(s) from local zip files': what is the syntax for that?
In-Reply-To: <00e701cc5f64$0e2c14c0$2a843e40$@gmail.com>

On 20.08.2011 20:07, Bogaso Christofer wrote:
> Dear all, if I want to install a package in windows system then generally I
> use the 'install package(s) from local zip files' from the 'package' menu.
> However I am interested to know that whether there is any syntax which I can
> use in the R console instead. I have tried with
> install.packages("__package_name", repos = 'f:/"), however could not.

Let me read ?install.packages for you:

The description of the first argument tells us:
"If repos = NULL, a character vector of file paths of ?.zip? files 
containing binary builds of packages."


Hence

install.packages("f:/__package_name", repos = NULL)

seems to be more appropriate here.

Uwe Ligges



>
>
>
> Any suggestion will be highly appreciated.
>
>
>
> Thanks,
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.