[Rd] Including data in packages

2010-10-14 Thread Janko Thyson
Dear List, I would like to include a couple of objects in a package I am developing and I don't really get it yet. The objects should be available after package load as some functions depend on it. I tried the following: 1) Bundling all objects that I need in the file

Re: [Rd] Including data in packages

2010-10-14 Thread Dirk Eddelbuettel
On 14 October 2010 at 21:06, Janko Thyson wrote: | The thing is that I don't understand how the actual 'transfer' happens when | the package is build and installed. Where do the objects 'live' after | installation and how can I access them after firing library(mypackage)? For | example, there is

Re: [Rd] Including data in packages

2010-10-14 Thread Janko Thyson
) to the tar.gz and eventually to the installed package? Regards, Janko -Ursprüngliche Nachricht- Von: Dirk Eddelbuettel [mailto:e...@debian.org] Gesendet: Donnerstag, 14. Oktober 2010 21:18 An: Janko Thyson Cc: r-de...@r-project. org Betreff: Re: [Rd] Including data in packages On 14

Re: [Rd] Including data in packages

2010-10-14 Thread Janko Thyson
] Gesendet: Donnerstag, 14. Oktober 2010 21:35 An: Janko Thyson Betreff: RE: [Rd] Including data in packages Janko, You have to save the data objects you want into that directory in your source package. Then when you build/install it will be there. Regards, Brian -Original Message