[R] Package installation and path.package

David Winsemius dwinsemius at comcast.net
Mon Sep 9 03:09:41 CEST 2013


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()

-- 

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list