Displaying 20 results from an estimated 61 matches for "parenthetically".
2012 Dec 13
2
replace parenthetical phrases in a string
R-helpers,
I have a vector of character strings in which I would like to replace each
parenthetical phrase with a single space, " ". For example if I start with
x, I would like to end up with y.
x <- c("My toast=bog(keep=3 no=4) and eggs(er34)omit=32",
"dogs have ears",
"cats have tails (and ears, too!)")
y <- c("My toast=bog and eggs
2020 Sep 04
3
Misleading documentation on FP to integer conversion instructions?
> On Sep 4, 2020, at 2:40 PM, Neil Nelson via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
>> If fptosi takes 0.9 -> 0, then that is not 'rounding' in any sense I'm aware of (IEEE754 or otherwise).
>> Rounding (in the IEE754 sense) determines how a number is converted when it is halfway between two
>> candidate results. (see round(), ceil(),
2006 Aug 10
3
Is there a better way than x[1:length(x)-1] ?
Hi WizaRds,
In MATLAB you can do
x=1:10
and then specify
x(2:end)
to get
2 3 4 5 6 7 8 9 10
or whatever (note that in MATLAB the parenthetic index notation is used, not brackets as in R). The point is that 'end' allows you to refer to the final index point of the array.
Obviously there isn't much gain in syntax when the variable name is x, but when it's something like
2006 Aug 05
2
Strange if condition in preprocess.c
Dear Speex developers,
I think I found a typo in libspeex/preprocess.c (that still in the SVN
version too). Please correct me if I would be wrong. Patch is attached.
(Yours :parenthetically
&dezzy)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noise_var.patch
Type: text/x-patch
Size: 518 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20060805/584ca4d2/noise_var.bin
2017 Oct 21
1
Illegal Logical Values
> On Fri, 2017-10-20 at 14:01 +0000, brodie gaslam via R-devel wrote:
> > I'm thinking of this passage:
> >
> > > Logical values are sent as 0 (FALSE), 1 (TRUE) or INT_MIN =
> > > -2147483648 (NA, but only if NAOK is true), and the compiled code
> > > should return one of these three values. (Non-zero values other
> > > than INT_MIN are
2011 Aug 19
1
gsub for numeric characters in string
Dear all,
I have what is a bit of a confusing question, so I hope that I can explain
clearly. Thank you for your help in advance.
I would like to do a replacement procedure on several strings, but the way
that I am currently going about it is not working.
I have defined "len", which is a series comprising the lengths of different
items, all preceded by a colon.
> len
[1]
2004 Jan 07
1
Analyzing dendrograms
Ladies and Gentlemen,
As Johan Lindberg points out, the documentation for handling dendrograms
is sparse....Does anyone know who is responsible for or working on
development of tree methods and objects? I've written a couple of scripts
for my own use to translate between parenthetical (A(B(CD))) or binary
A00 B10 C11 D11 tree formats and cluster objects in R, but as an
inexperienced
2017 Oct 20
1
Illegal Logical Values
I'm wondering if WRE Section 5.2 should be a little more explicit about misuse of integer values other than NA, 0, and 1 in LGLSXPs.? I'm thinking of this passage:
> Logical values are sent as 0 (FALSE), 1 (TRUE) or INT_MIN = -2147483648 (NA, but only if NAOK is true), and the compiled code should return one of these three values. (Non-zero values other than INT_MIN are mapped to
2000 Dec 20
2
hyperlinks to other packages in .Rd files
Dear list members,
I've been working on an R package, which I just checked and built with the
new tools in the Windows version of R 1.2.0. (These tools are wonderful, by
the way.) Everything went fine, except that cross-references that I tried
to create to help pages in other packages don't work.
Page 14 of Writing R Extensions says:
"There are optional arguments specified as
2010 Oct 23
1
Plans for tighter integration of reference classes in R.
...e with other core functionality. Usage of refObjects as parent.env
is also probably precluded in the similar way (don't have a patched R, so can
not test yet).
Would it be possible, some day, to use refObjects as parent.env or function's
environment without "loosing the class"?
Parenthetically, the attributes of an object (including S3 classes) are not lost:
> env <- structure(new.env(), a1 = "fdsf", class = "old_class")
> tf <- function(x)x
> environment(tf) <- env
> environment(tf)
<environment: 056570a0>
attr(,"a1")
[1] "f...
2005 Sep 20
3
annotating an axis in bwplot (lattice)
Hi,
I'd like to add, say, the sample size for every group in a bwplot as a
parenthetical annotation to the axis. Here's a sketch:
--8<---------------cut here---------------start------------->8---
require(Hmisc)
age <- sample(1:100, 1000, replace = TRUE)
sex <- gl(2, 8, 1000, c("Male", "Female"))
grp <- gl(4, 6, 1000, letters[1:4])
bwplot(grp ~ age |
2020 May 01
2
[PATCH v2 2/3] mm/memory_hotplug: Introduce MHP_NO_FIRMWARE_MEMMAP
On Fri, May 1, 2020 at 10:21 AM David Hildenbrand <david at redhat.com> wrote:
>
> On 01.05.20 18:56, Dan Williams wrote:
> > On Fri, May 1, 2020 at 2:34 AM David Hildenbrand <david at redhat.com> wrote:
> >>
> >> On 01.05.20 00:24, Andrew Morton wrote:
> >>> On Thu, 30 Apr 2020 20:43:39 +0200 David Hildenbrand <david at redhat.com>
2020 May 01
2
[PATCH v2 2/3] mm/memory_hotplug: Introduce MHP_NO_FIRMWARE_MEMMAP
On Fri, May 1, 2020 at 10:21 AM David Hildenbrand <david at redhat.com> wrote:
>
> On 01.05.20 18:56, Dan Williams wrote:
> > On Fri, May 1, 2020 at 2:34 AM David Hildenbrand <david at redhat.com> wrote:
> >>
> >> On 01.05.20 00:24, Andrew Morton wrote:
> >>> On Thu, 30 Apr 2020 20:43:39 +0200 David Hildenbrand <david at redhat.com>
2007 May 01
2
Concepts question: environment, frame, search path
...ata type.
Elsewhere, it seems like a data.frame can be a collection of arbitrary
variables.
2. environment
---------------
Refman p122: "Environments consist of a frame, or collection of named
objects, and a pointer to an enclosing environment."
Is the "or" here explaining parenthetically that a frame is a collection of
named objects, or is separating too alternative structures for an
environment?
If the former, does this imply that a frame can contain arbitrary variables?
And "pointer"? Is that a type of thing in R?
3. R search path; attach()
-----------------------...
2023 Aug 18
1
[nbdkit PATCH] cc: Allow configuration without absolute paths
On Fri, Aug 18, 2023 at 08:27:45AM -0500, Eric Blake wrote:
> In https://gitlab.com/nbdkit/nbdkit/-/merge_requests/30, Khem reports
> that in a cross-compilation environment, nbdkit embeds the absolute
> name of the cross-compiler into the resulting cc plugin, even though
> running the plugin should be favoring the bare name 'cc'. This in
> turn leads to non-reproducible
2009 Mar 31
4
Convert Character to Date
Hello,
I have a date in the format Year-Month Name (e.g. 1990-January) and R classes it as a character. I want to convert this character into a date format, but when I try as.Date(1990-January, "%Y-%B"), I get back NA. The function strptime also gives me NA back. Thanks.
[[alternative HTML version deleted]]
2020 May 01
2
[PATCH v2 2/3] mm/memory_hotplug: Introduce MHP_NO_FIRMWARE_MEMMAP
On 01.05.20 19:45, David Hildenbrand wrote:
> On 01.05.20 19:39, Dan Williams wrote:
>> On Fri, May 1, 2020 at 10:21 AM David Hildenbrand <david at redhat.com> wrote:
>>>
>>> On 01.05.20 18:56, Dan Williams wrote:
>>>> On Fri, May 1, 2020 at 2:34 AM David Hildenbrand <david at redhat.com> wrote:
>>>>>
>>>>> On
2020 May 01
2
[PATCH v2 2/3] mm/memory_hotplug: Introduce MHP_NO_FIRMWARE_MEMMAP
On 01.05.20 19:45, David Hildenbrand wrote:
> On 01.05.20 19:39, Dan Williams wrote:
>> On Fri, May 1, 2020 at 10:21 AM David Hildenbrand <david at redhat.com> wrote:
>>>
>>> On 01.05.20 18:56, Dan Williams wrote:
>>>> On Fri, May 1, 2020 at 2:34 AM David Hildenbrand <david at redhat.com> wrote:
>>>>>
>>>>> On
2011 Oct 06
3
[LLVMdev] Multiple-Pipeline Itinerary
Is there a way to express a multiple pipeline itinerary using the
current scheme (maybe some trick with setting NextCycles = 0)?
Specifically, consider a case where a floating-point load simultaneously
uses units from a floating-point pipeline and a load/store pipeline.
Thanks in advance,
Hal
--
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory
2002 Sep 05
0
ape 0.1 is released
Ape is an R package for "analyses of phylogenetics and evolution". The
first version (0.1) has been released on 27 August 2002 and is available on
CRAN.
>From the 'Description' file of version 0.1:
Ape provides functions for reading, and plotting
phylogenetic trees in parenthetic format (standard Newick
format), analyses of comparative data in a