Dear Bioc,

I am creating an R package for Bioconductor.
I am supplying sample data with the package.

Please tell me which is the best way to supply this data to those who will
then use my package ?

I see two alternatives:

1. Put the sample data tables (in .csv format) in the package's "data"
subdirectory.
   In the documentation I supply with my package, put an R statement which
imports
   those .csv files from the above "data" subdirectory.

   But how do I find out where (it may be different on different platforms)
the user has installed my
   package ?
   I need this information in order to tell my data import command, from
which directory to
   load the above sample data files.

2. Put the sample tables in a .Rdata workspace.
   In my documentation, put an R statement that loads the above .Rdata file.

Thank you.

--
John

	[[alternative HTML version deleted]]

