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

Ben Tupper btupper @end|ng |rom b|ge|ow@org
Sat Nov 23 02:44:18 CET 2019


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 <sokovic.anamarija using gmail.com> wrote:
>
> 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 ENSG00000154803
>
> in the current directory I have saved: ENSG00000154803.ld and
> ENSG00000154803.matrix as the software requires
>
> but I am getting this error:
>
> Error in file(file, "rt") : cannot open the connection
> Calls: read.table -> file
> In addition: Warning message:
> In file(file, "rt") :
>   cannot open file '--no-restore.matrix': No such file or directory
> Execution halted
>
>
> Please advise,
>
> Thanks
> Ana
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



-- 
Ben Tupper
Bigelow Laboratory for Ocean Science
West Boothbay Harbor, Maine
http://www.bigelow.org/
https://eco.bigelow.org



More information about the R-help mailing list