Re: [R] question about system.file()

2020-04-11 Thread Jeff Newmiller
Only you have the power to solve your problem. Follow the instructions in the footer of any R-help email. On April 10, 2020 8:33:41 PM PDT, Anand Menon wrote: >Hello, Could you please help unsubscribe me from these emails. Thank >you. > >Kind Regards, >Anand K Menon >Cell: 1-416-939-3671 > > >On

Re: [R] question about system.file()

2020-04-11 Thread Rui Barradas
Hello, There are instructions to unsubscribe at the bottom of this e-mail and of every R-Help e-mail, see the all capital letters word. Hope this helps, Rui Barradas Às 04:33 de 11/04/20, Anand Menon escreveu: Hello, Could you please help unsubscribe me from these emails. Thank you. Kind R

Re: [R] question about system.file()

2020-04-11 Thread Anand Menon
Hello, Could you please help unsubscribe me from these emails. Thank you. Kind Regards, Anand K Menon Cell: 1-416-939-3671 On Fri, Apr 10, 2020 at 3:46 PM Ana Marija wrote: > Hello, > > I would like to try this example in this link: > > https://www.rdocumentation.org/packages/SNPRelate/version

Re: [R] question about system.file()

2020-04-10 Thread Rasmus Liland
On Fri, Apr 10, 2020 at 2:54 PM Duncan Murdoch wrote: > On 10/04/2020 3:46 p.m., Ana Marija wrote: > > 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

Re: [R] question about system.file()

2020-04-10 Thread Ana Marija
Got it, thanks! On Fri, Apr 10, 2020 at 2:54 PM Duncan Murdoch wrote: > > On 10/04/2020 3:46 p.m., Ana Marija wrote: > > Hello, > > > > I would like to try this example in this link: > > https://www.rdocumentation.org/packages/SNPRelate/versions/1.6.4/topics/snpgdsBED2GDS > > > > for example this

Re: [R] question about system.file()

2020-04-10 Thread Duncan Murdoch
On 10/04/2020 3:46 p.m., Ana Marija wrote: Hello, I would like to try this example in this link: https://www.rdocumentation.org/packages/SNPRelate/versions/1.6.4/topics/snpgdsBED2GDS for example this line: bed.fn <- system.file("extdata", "plinkhapmap.bed.gz", package="SNPRelate") I have in c

Re: [R] question about system.file()

2020-04-10 Thread Ana Marija
I tried to do this but I got this error: > bed.fn <- system.file("output4.bed", package="SNPRelate") > dim(bed.fn) NULL > fam.fn <- system.file("output4.fam", package="SNPRelate") > bim.fn <- system.file("output4.bim", package="SNPRelate") > snpgdsBED2GDS(bed.fn, fam.fn, bim.fn, "HapMap.gds") Star

[R] question about system.file()

2020-04-10 Thread Ana Marija
Hello, I would like to try this example in this link: https://www.rdocumentation.org/packages/SNPRelate/versions/1.6.4/topics/snpgdsBED2GDS 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