Message-ID: <CAL109eNTtAfPwLC74av1w_gu2t50n2enxse-Hxai7V=+MnMCzA@mail.gmail.com>
Date: 2017-12-27T14:11:50Z
From: Sun Yijiang
Subject: Rscript fails with some packages (for example, h5)
In-Reply-To: <23107.40199.237407.973601@bud.eddelbuettel.com>
Thanks for the details. I?m new to R, and I?m not blaming anything here,
just that I?m still not clear what good it makes to keep this inconsistency
between R and Rscript. To me (and probably to many others from Perl/Python
etc.), this is shockingly weird. I can live with that, and I also want to
know why.
Steve
Dirk Eddelbuettel <edd at debian.org>?2017?12?27? ??21:15???
>
> Duncan,
>
> Very nice tutorial. However it does NOT take away from the fact that _very_
> simple_ scripts (like the one posted by Sun at the beginning of this
> thread)
> simply _fail_ in error under Rscript.
>
> Whereas they don't under R or r.
>
> The R environment ships an interpreter meant for command-line and scripting
> use which fails on simple scripts that happen to use S4. But I am tired of
> arguing for reversing this as I have gotten nowhere in all those years.
>
> Dirk
>
> --
> http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
>
[[alternative HTML version deleted]]