Re: [R] write R extenesion issue

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Sun 16 Oct 2005 - 03:03:53 EST

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@bioteam.net
> Maintainer: jason zhang<jiesheng@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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Oct 16 03:16:06 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:45 EST