Hi Shakil

Why don't you use the regular mechanism for data in packages, e.g.: https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Data-in-packages

Btw, is the preprint of the associated paper out already?

        best wishes
                Wolfgang


17.7.17 10:25, Shakil Mohamad scripsit:
Hi,

I manually stored some .RDATA in one of my package's folder named 'results'
located in the 'inst' folder (
https://github.com/mshasan/OPWpaper/inst/simulations/results). I need to
use those .RDATA to build the vignettes. For example, one of my vignettes'
names is 'FWER_and_FDR' in which I tried the following code to load .RDATA.
Although it passed R CMD check but did not pass BioCheck. Can you tell me
what can I do?

```{r load_fwer_data}
fwer_dat <- system.file("simulations/results", package = "OPWpaper")
setwd(fwer_dat)
load("simu_fwer.RDATA")

# another way---------
# load(system.file("simulations/results", "simu_fwer.RDATA", package =
"OPWpaper"), envir = environment())
```

Thank you, I appreciate your time and considerations.

-----
Shakil



<https://mailtrack.io/> Sent with Mailtrack
<https://mailtrack.io/install?source=signature&lang=en&referral=shakilmoham...@gmail.com&idSignature=22>

        [[alternative HTML version deleted]]

_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel


--
With thanks in advance-
Wolfgang

-------
Wolfgang Huber
Principal Investigator, EMBL Senior Scientist
European Molecular Biology Laboratory (EMBL)
Heidelberg, Germany

wolfgang.hu...@embl.de
http://www.huber.embl.de

_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

Reply via email to