[R] Package under R 2.1.0: package.rds

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Apr 21 10:30:36 CEST 2005


huan.huang at uk.bnpparibas.com wrote:

> I sent this email yesterday and it didn't come out in the email list. I
> re-send it here:

Well, I have already answered to this message yesterday!!!
Please look into the mailing list archives if your own mail account is 
misconfigured...

Uwe Ligges



> Hi everybody,
> 
> I have trouble installing my own package under R 2.1.0 (it is fine under R
> 2.0.1). My OS is Windows NT.
> 
> I installed my package 'mag' by using menu "Packages/Install package from
> local zip files....". It's fine (html package description was updated). But
> when I typed in library(mag) it gave me error:
> Error in library(mag) : there is no package called 'mag'
> 
> I traced the library() and found the problem is in meta/package.rds
> I don't have my own package.rds file. I copied the whole meta directory from base package (to make my package work under R 2.0.0). Function
> .find.package() looks up some package information in package.rds file and get the wrong information (info about base rather than mine "mag".
> 
> I was trying to make my own package.rds file. I looked up the manual (writing R extension) and R help archives and can't find relevant information.
> Can anybody show me the way to it please?
> 
> Many many thanks,
> Huan
> 
> 
> 
> This message and any attachments (the "message") is\ intende...{{dropped}}
> 
> ______________________________________________
> R-help at 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




More information about the R-help mailing list