[R] Package installation and path.package

Simon Zehnder szehnder at uni-bonn.de
Mon Sep 9 10:14:26 CEST 2013


I am following your suggestion and move this discussion to the R-devel list. 

Best 

Simon
On Sep 9, 2013, at 7:58 AM, Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:

> On 09/09/2013 02:09, David Winsemius wrote:
>> 
>> On Sep 8, 2013, at 8:00 AM, Simon Zehnder wrote:
>> 
>>> Dear R-Users and R-Devels,
>>> 
>>> I am writing right now my own package that makes use of 'tempfile' and there within with 'path.package'. When I install it, I get the error: Error in path.package("mypackage") : none of the packages are loaded.
>>> 
>>> I understand the error, but I would like to have a workaround. How can I give the path to the package I am actually installing without getting this error?
>> 
>> (We do not have the code so this is speculation.) Your packages should be assumed to be available in one of the directories in .libPaths()
>> 
> Not until the package is fully installed.  We do have no idea what is going on here ... and R-devel seems the appropriate list.
> 
> -- 
> Brian D. Ripley,                  ripley at stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list