Displaying 20 results from an estimated 300 matches similar to: "Dialect for shell scripts"
2017 Dec 18
2
Dialect for shell scripts
>>>>> I?aki ?car writes:
Same from here: in addition to what the standards say, it always pays to
be defensive and check "Portable Shell Programming" in the Autoconf
manual. Among other things, this says
'$((EXPRESSION))'
Arithmetic expansion is not portable as some shells (most notably
Solaris 10 '/bin/sh') don't support it.
motivating
2017 Dec 18
0
Dialect for shell scripts
For what it's worth, Autoconf does not assume that arithmetic
expansion will be available. Instead, it emits the following shell
code:
if ( eval 'test $(( 1 + 1 )) = 2' ) 2>/dev/null; then
eval 'func_arith ()
{
func_arith_result=$(( $* ))
}'
else
func_arith ()
{
func_arith_result=`expr "$@"`
}
fi
2017-12-17 23:55 GMT+01:00 Rodrigo Tobar
2017 Dec 18
0
Dialect for shell scripts
I do not have a dog in this fight, but I have to ask:
How much person time is worthwhile to invest in supporting Solaris 10?
It has been closed-source (Post-Oracle)
<https://en.wikipedia.org/wiki/Solaris_(operating_system)#Post-Oracle_closed_source_(Solaris_10_after_March_2010,_and_Solaris_11_(2011_and_later))>
since
March 2010.
On Mon, Dec 18, 2017 at 1:23 PM, Kurt Hornik
2017 Dec 18
1
Dialect for shell scripts
Solaris is pretty much dead at this point (closed source or not), but it is not the only oddball OS around.
The need to support a wide palette of (Unix) OS variations has been rapidly declining in later years. Fifteen years ago every supercomputer seemed to have its own set of OS quirks and we wanted to be able to support the cutting edge. Now things seem to converge on a few variations on the
2018 Feb 20
2
How to modify dots and dispatch NextMethod
Hi all,
Not sure if this belongs to R-devel or R-package-devel. Anyways...
Suppose we have objects of class c("foo", "bar"), and there are two S3
methods c.foo, c.bar. In c.foo, I'm trying to modify the dots and
forward the dispatch using NextMethod without any success. This is
what I've tried so far:
c.foo <- function(..., recursive=FALSE) {
dots <-
2015 Feb 14
3
C5 BASH IF
On 02/14/2015 12:03 PM, Les Mikesell wrote:
> On Sat, Feb 14, 2015 at 11:36 AM, J Martin Rushton
> <martinrushton56 at btinternet.com> wrote:
>> <snip>
>>> To understand it completely you need to know the order of
>>> operations as the shell makes multiple passes over the line,
>>> parsing, processing metacharacters, and expanding variables. And
2018 Feb 22
2
How to modify dots and dispatch NextMethod
The example is invoking NextMethod via an anonymous function, which is
not allowed (see documentation for NextMethod). Normally one gets a
runtime error "'NextMethod' called from an anonymous function", but not
here as the anonymous function is called via do.call. I will fix so that
there is a runtime error in this case as well, thanks for uncovering
this problem.
I
2018 Jan 22
2
How to address the following: CRAN packages not using Suggests conditionally
Re-sending, since I forgot to include the list, sorry. I'm including
r-package-devel too this time, as it seems more appropriate for this list.
El 22 ene. 2018 10:11, "I?aki ?car" <i.ucar86 at gmail.com> escribi?:
>
>
> El 22 ene. 2018 8:12, "Ulrich Bodenhofer" <bodenhofer at bioinf.jku.at>
> escribi?:
>
> Dear colleagues, dear members of
2018 Feb 22
2
How to modify dots and dispatch NextMethod
On 02/22/2018 12:07 PM, I?aki ?car wrote:
> 2018-02-22 10:29 GMT+01:00 Tomas Kalibera <tomas.kalibera at gmail.com>:
>> The example is invoking NextMethod via an anonymous function, which is not
>> allowed (see documentation for NextMethod).
> Thanks for your response. I definitely missed that bit.
>
>> Normally one gets a runtime
>> error
2020 Oct 31
1
R 4.0 for CentOS 7
On Sat, 31 Oct 2020 at 20:52, H <agents at meddatainc.com> wrote:
>
> Understood. Since I am running CentOS 7, I guess I could create a CentOS 8 docker container and install R in that? I am not planning to upgrade the system to CentOS 8.
Of course, you can do that. With podman it's even easier. But then I'd
use Fedora as the base image instead, because you'll enjoy binary
2018 Aug 09
2
SIGSEGV in R_RunWeakRefFinalizer, object allocated with Rcpp
Thanks, Tomas, Luke, for the clarifications. Then, I have another question.
But first, let me introduce how I ended up here, because obviously I
just don't go around dyn.unloading things that I've just compiled. I
was testing a package with valgrind. Everything ok, no leaks. Great.
But I'm always suspicious (probably unjustifiably) of all the memory
that is reported as "still
2018 Jan 22
1
How to address the following: CRAN packages not using Suggests conditionally
On 01/22/2018 08:40 AM, Ulrich Bodenhofer wrote:
> Thanks a lot, I?aki, this is a perfect solution! I already implemented
> it and it works great. I'll wait for 2 more days before I submit the
> revised package to CRAN - in order to give others to comment on it.
It's very easy for 'pictures of code' (unevaluated code chunks in
vignettes) to drift from the actual
2018 Aug 09
4
SIGSEGV in R_RunWeakRefFinalizer, object allocated with Rcpp
On 9 August 2018 at 20:37, Tomas Kalibera wrote:
| So to answer your original question, this could probably be handled in
| Rcpp,
Hm. Why do you say that / what did you have in mind?
Recall that we do not alter SEXPs or introduce additional additional
reference counters -- because we do not think that altering the basic R API
for such calls would be a wise strategy. So we do more or less what
2018 Jun 08
6
Subsetting the "ROW"s of an object
Hi all,
Is there a better to way to subset the ROWs (in the sense of NROW) of
an vector, matrix, data frame or array than this?
subset_ROW <- function(x, i) {
nd <- length(dim(x))
if (nd <= 1L) {
x[i]
} else {
dims <- rep(list(quote(expr = )), nd - 1L)
do.call(`[`, c(list(quote(x), quote(i)), dims, list(drop = FALSE)))
}
}
subset_ROW(1:10, 4:6)
#> [1] 4 5 6
2019 Jan 25
0
[klibc:update-dash] [PARSER] Handle backslash newlines properly after dollar sign
Commit-ID: e168c38081489046ec1dc612597b718a5adee74c
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=e168c38081489046ec1dc612597b718a5adee74c
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Mon, 29 Sep 2014 22:52:41 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:57:21 +0000
[klibc] [PARSER] Handle
2020 Mar 28
0
[klibc:update-dash] dash: [PARSER] Handle backslash newlines properly after dollar sign
Commit-ID: 0b425be3b607419cc27bdab4de3f9178b637c7c7
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=0b425be3b607419cc27bdab4de3f9178b637c7c7
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Mon, 29 Sep 2014 22:52:41 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:54 +0000
[klibc] dash: [PARSER] Handle
2018 Jan 24
5
Why R should never move to git
Lately I've been doing some work with the manipulateWidget package,
which lives on Github at
https://github.com/rte-antares-rpackage/manipulateWidget/. Last week I
found a bug, so being a good community member, I put together a patch.
Since the package lives on Github, I followed instructions to put
together a "pull request":
- I forked the main branch to my own Github account
2020 May 04
7
R package RPMs for Fedora
Hi all,
Three months ago, I wrote to Martyn Plummer (to his Warwick email) and
offered my help to maintain and modernize this [1] rather updated
README, but received no response. Does anyone know how to reach him,
or maybe I should contact CRAN directly?
[1] https://cran.r-project.org/bin/linux/redhat/README
Regards,
--
I?aki ?car
2020 Oct 31
3
R 4.0 for CentOS 7
Please, see spot's comment in the BZ I linked in my previous comment.
The thing is not that it can't be done (you could install a newer
devtoolset, v8 or v9, build R and use it), the thing is that it cannot
be distributed in EPEL, because we're allowed to build against a
devtoolset, but not depend on it, so the distribution would be broken
(you could not install packages unless you
2014 Aug 06
2
List open connections with negotiated dialect
Hi all
How can I list of all opened connections to a share and see protocol
negotiated?
Ubuntu 12.04, Samba 3 & 4
Regards
Daniel
--
View this message in context: http://samba.2283325.n4.nabble.com/List-open-connections-with-negotiated-dialect-tp4670389.html
Sent from the Samba - General mailing list archive at Nabble.com.