[R] write R extenesion issue

jiesheng zhang jiesheng at bioteam.net
Sun Oct 16 13:56:15 CEST 2005


Hi, duncan
I remove the built and packaged line from DESCRIPTION and install from 
source. It worked right now

Thanks
-jason

Duncan Murdoch wrote:
> jiesheng zhang wrote:
>> I found my attachment was discarded.
>> My R package structure lis listed here
>> -----------------------------
>> btRRTest
>>     DESCRIPTION
>>         Package: btRRTest
>>         Version: 0.0.1
>>         Date: 2005-10-15
>>         Title: a test remote R exeuction
>>         Author: jiesheng at bioteam.net
>>         Maintainer: jason zhang<jiesheng at bioteam.net>
>>         Depends: R (>= 1.8.0)
>>         Description: the remote execution of R call
>>         License: GPL version 2
>>         URL: http://www.bioteam.net
>>         Built: R 2.1.1; i686-pc-linux-gnu; 2005-09-20 00:07:19; unix
>>         Packaged: Sat Oct 15 23:42:11 2005; root
> 
> Is this from your source directory?  You shouldn't have the Built and 
> Packaged lines in your source.
> 
> If this is from the directory where it was installed, never mind, unless 
> those two directories are the same:  in which case the advice is "don't 
> do that".  Keep your installed copies separate from the source.
> 
> The error message you saw
> 
>> Error in library("btRRTest") : 'btRRTest' is not a valid package -- 
>> installed < 2.0.0?
> 
> indicates that the "Meta/package.rds" file is missing from your 
> installed package subdirectory, but it's hard to guess why.
> 
> Duncan Murdoch
>




More information about the R-help mailing list