[R] Package installation and path.package

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Sep 9 07:58:57 CEST 2013


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