Re: [R] Package installation and path.package

2013-09-09 Thread Prof Brian Ripley

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,  rip...@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, UKFax:  +44 1865 272595

__
R-help@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.


Re: [R] Package installation and path.package

2013-09-09 Thread Simon Zehnder
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 rip...@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,  rip...@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, UKFax:  +44 1865 272595

__
R-help@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.


[R] Package installation and path.package

2013-09-08 Thread Simon Zehnder
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? 


Best

Simon

__
R-help@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.


Re: [R] Package installation and path.package

2013-09-08 Thread David Winsemius

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

__
R-help@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.