From edd at debian.org  Wed Dec 27 14:15:51 2017
From: edd at debian.org (Dirk Eddelbuettel)
Date: Wed, 27 Dec 2017 07:15:51 -0600
Subject: [Rd] Rscript fails with some packages (for example, h5)
In-Reply-To: <9467e2c6-55b4-5e70-dfd4-9891eb02a25b@gmail.com>
References: <CAL109eMo37PYMgE8KV0rxBgCGe-6Z1NhPrsUiQJfqCoJXfk6CA@mail.gmail.com>
 <23106.17557.985432.335423@bud.eddelbuettel.com>
 <CAL109eMSq6=mbSzrMnktNiOw=z5C=Tj7nDg9o4zNir-h5pCywg@mail.gmail.com>
 <23106.24430.6935.8034@bud.eddelbuettel.com>
 <9467e2c6-55b4-5e70-dfd4-9891eb02a25b@gmail.com>
Message-ID: <23107.40199.237407.973601@bud.eddelbuettel.com>


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



[Rd] Rscript fails with some packages (for example, h5)
Dirk Eddelbuettel