Re: [R] cannot open file '--no-restore.matrix'

2019-11-22 Thread Ana Marija
HI Ben, thank you so much , I did this: Rscript --no-save ENSG0154803.ld ENSG0154803.matrix MR.R Error: unexpected numeric constant in "1.000 0.089" Execution halted I made ENSG0154803.ld with: library(MASS) write.matrix(ENSG0154803.ld, file="ENSG0154803.ld") and it looks l

Re: [R] cannot open file '--no-restore.matrix'

2019-11-22 Thread Ben Tupper
Hi, You might check the order of your arguments. Options come before the script filename. See the details here... https://www.rdocumentation.org/packages/utils/versions/3.6.1/topics/Rscript Ben On Fri, Nov 22, 2019 at 8:17 PM Ana Marija wrote: > > Hello, > > I am trying to run this code: > h

[R] cannot open file '--no-restore.matrix'

2019-11-22 Thread Ana Marija
Hello, I am trying to run this code: https://github.com/eleporcu/TWMR/blob/master/MR.R with r-3.6.1 via: Rscript MR.R --no-save ENSG0154803 in the current directory I have saved: ENSG0154803.ld and ENSG0154803.matrix as the software requires but I am getting this error: Error in

[R] Creating map in R

2019-11-22 Thread Medic
Thank you very much! > From: Michael Hannon > ... following might be useful in this case: > https://stat.ethz.ch/mailman/listinfo/r-sig-geo __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Creating map in R

2019-11-22 Thread Michael Hannon
Yep, I had that same thought after I posted a reply to the OP. Not to discourage anybody from reading the posting guide, but a quick look at it suggests that the following might be useful in this case: https://stat.ethz.ch/mailman/listinfo/r-sig-geo On Thu, Nov 21, 2019 at 9:48 PM Jeff Newmiller