[R] question about system.file()
murdoch@dunc@n @end|ng |rom gm@||@com
Fri Apr 10 21:54:48 CEST 2020
On 10/04/2020 3:46 p.m., Ana Marija wrote:
> I would like to try this example in this link:
> for example this line:
> bed.fn <- system.file("extdata", "plinkhapmap.bed.gz", package="SNPRelate")
> I have in current directory from where I would run this function a
> file named output4.bed
Just use "output4.bed" as the filename. The system.file() function is
for working out the filename of files installed in packages.
> in order to run the above, can I just run this:
> bed.fn <- system.file("output4.bed", package="SNPRelate")
> what is "extdata" ? Do I need it if my output4.bed is in the directory
> from where I am running this?
> Also do I need to have .gz format of output4.bed?
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help