Displaying 20 results from an estimated 900 matches similar to: "corrupt data frame: columns will be truncated or padded with NAs in: format.data.frame(x, digits = digits)"
2005 Feb 15
0
Re: [Rd] corrupt data frame: columns will be truncated or padded with NAs in: format.data.frame(x, digits = digits)
James, thanks for the response.
I understand now my puzzle.
tmp <- data.frame(y1=1:4, f1=factor(c("A", "B", "C", "D")))
tmp$y2 <- NA
tmp[1:2, "y2"] <- 2
Does the job. I see that I should add a full column. In my case adding full
column of NAs and then adding values, solves my problems.
Thanks to all.
james.holtman at convergys.com
2005 Feb 14
1
corrupt data frame: columns will be truncated or padded with NAs in: format.data.frame(x, digits = digits)
Hello!
I posted on saturday mail with the same subject on r-help seeking
for help in my work, but now I realized that this list is more
appropriate for this. I think I found I bug. Bellow are comments
and reproducible examples:
# Create a data frame
(tmp <- data.frame(y1=1:4, f1=factor(c("A", "B", "C", "D"))))
y1 f1
1 1 A
2 2 B
3 3 C
4 4 D
#
2005 Feb 14
1
corrupt data frame: columns will be truncated or padded with NAs in: format.data.frame(x, digits = digits)
Hello!
I posted on saturday mail with the same subject on r-help seeking
for help in my work, but now I realized that this list is more
appropriate for this. I think I found I bug. Bellow are comments
and reproducible examples:
# Create a data frame
(tmp <- data.frame(y1=1:4, f1=factor(c("A", "B", "C", "D"))))
y1 f1
1 1 A
2 2 B
3 3 C
4 4 D
#
2013 Jul 29
0
[PATCH] drm/nva3-/hda: fix eld writing, needs to be padded
Commits 0a9e2b959 (drm/nvd0/disp: move HDA codec setup to core) and
a4feaf4ea (drm/nva3/disp: move hda codec handling to core) moved code
around but neglected to fill data up to 0x60 as before. This caused
/proc/asound/cardN/eld#3.0 to show eld_valid as 0. With this patch, that
file is again populated with the correct data.
See https://bugs.freedesktop.org/show_bug.cgi?id=67051
2018 Feb 08
0
[PATCH] syslinux/com32: Fix the printing of left zero padded hexadecimals with a leading '0x'.
On Thu, Feb 08, 2018 at 11:01:21AM +0000, Brett Walker via Syslinux wrote:
> From: Brett Walker <brett.walker at geometry.com.au>
>
> When printing hexadecimal numbers to a fixed width, padded with leading zeros,
> and also having a leading '0x'; the resultant string can be shortened by up to
> two characters if any leading zero padding character required is.
>
2009 Sep 18
1
what should names(x) be padded with when length(x) is increased?
R version 2.10.0 Under development (unstable) (2009-09-08 r49628)
Here are two somewhat related questions.
First, when we attach a too short names vector to a vector
the names vector is padded with NA's to the length of the
main vector: E.g.,
> x<-1:3
> names(x)<-c("One","Two")
> str(x)
Named int [1:3] 1 2 3
- attr(*, "names")=
2020 Sep 28
2
PSLP: Padded SLP Automatic Vectorization
Hey, I noticed this talk from the EuroLLVM 2015
(https://llvm.org/devmtg/2015-04/slides/pslp_slides_EUROLLVM2015.pdf) on
the PSLP vectorization algorithm (CGO 2015 paper:
http://vporpo.me/papers/pslp_cgo2015.pdf).
Is anyone working on implementing it?
If so, are there Phab reviews I can subscribe to?
Best,
Matt
2018 Feb 08
2
[PATCH] syslinux/com32: Fix the printing of left zero padded hexadecimals with a leading '0x'.
From: Brett Walker <brett.walker at geometry.com.au>
When printing hexadecimal numbers to a fixed width, padded with leading zeros,
and also having a leading '0x'; the resultant string can be shortened by up to
two characters if any leading zero padding character required is.
int hexnum = 0x00001234;
printf("%08X", hexnum); // results in 00001234
2005 Jun 16
3
Samba, OS X Tiger 10.4 plain text password, username null-padded?
Our samba server is running Solaris 9 and Samba 3.0.2.a . For reasons
*outside the scope of this question* we are using plaintext passwords
and authenticating via our NFS server. (I know this isn't a great
idea, but that's not the question)
With Panther, plaintext passwords worked fine. Snooping, I see the
plain text password and username go through.
With Tiger, we first had to apply
2020 Oct 02
2
PSLP: Padded SLP Automatic Vectorization
On 9/29/2020 14:37, David Chisnall via llvm-dev wrote:
> On 28/09/2020 15:45, Matt P. Dziubinski via llvm-dev wrote:
>> Hey, I noticed this talk from the EuroLLVM 2015
>> (https://llvm.org/devmtg/2015-04/slides/pslp_slides_EUROLLVM2015.pdf)
>> on the PSLP vectorization algorithm (CGO 2015 paper:
>> http://vporpo.me/papers/pslp_cgo2015.pdf).
>>
>> Is anyone
2003 Aug 08
0
VoicemailMain2, inband digits detection, rcf2833 digits detection (rtp issue, I think)
Hi!
I've been trying to use the Voicemail (and Voicemail2) applications with
an SIP Phone (X-Lite, for those who cares), when I use g.711(a/u) codec,
it works perfectly with inband (it detects the whole mailbox (in my case
10007)), but not with rfc2833 (in this case, it only detects 107 as the
mailbox number). With gsm codec, the inband doesn't work, I guess
that's due to the
2004 May 28
0
Problem with digits blending on inbound pulsed digits?
I have a situation where I am receiving DID calls using Immediate Start
Pulse signalling on a Loop Start trunk. The line terminates on a Newbridge
Mainstreet 3624 channel bank, which provides battery etc. The channel is
converted and routed to Asterisk. The lines are configured as follows:
/etc/asterisk/zapata.conf
; Channels 1-24 service MainStreet 3624 channel bank
context=infrom-did
group=1
2004 May 28
0
Problem with digits blending on inbound puls ed digits?
To answer my own question for the record:
The relevant timing parameters in zaptel.h are
#define ZT_MINPULSETIME (15 * 8) /* 15 ms minimum */
#define ZT_MAXPULSETIME (100 * 8) /* 150 ms maximum default, lowered
to 100ms */
#define ZT_PULSETIMEOUT ((ZT_MAXPULSETIME / 8) + 50)
And the pulse detecion loop that consumes these parameters begins at line
4866 of zaptel.c
The
2017 Jan 02
1
utils::ls.str(): Partial argument name 'digits' to seq() (should be digits.d?)
Should utils::ls.str() be updated as:
svn diff src/library/utils/R/str.R
Index: src/library/utils/R/str.R
===================================================================
--- src/library/utils/R/str.R (revision 71879)
+++ src/library/utils/R/str.R (working copy)
@@ -622,7 +622,7 @@
args$digits.d <- NULL
}
strargs <- c(list(max.level = max.level, give.attr = give.attr,
2011 Mar 04
2
sum of digits or how to slice a number into its digits
Dear R colleagues,
I face a seemingly simple problem I couldn't find a solution for myself
so far:
I have to sum the digits of numbers. Example: 1010 ->2 100100110 -> 4
Unfortunately there seems not to be a function for this task. So my idea
was to use sum(x) for it. But I did not figure out how to slice a number
to a vector of its digits. Example (continued from above): 1010 ->
2003 Dec 10
0
Trouble with AGI and SAY DIGITS and WAIT FOR DIGIT using PHP
Hi there,
AGI is partially not working for me with SAY DIGITS, SAY NUMBER, WAIT FOR
DIGITS etc. It appears that result is always one for any function that
looks for user input, regardless of which key was pressed. Playing sound
is only possible using EXEC. This applies to two * servers with RH 7.2
and RH 7.3 and very recent CVS. Any suggestion or tips about where I
goofed?
Thanks, Philipp
2005 Jun 14
0
Digit Map for IP500 - prepend digits from phone
via google, I found the reference regarding digit maps for the Polycom phones:
http://lists.digium.com/pipermail/asterisk-users/2005-January/082884.html
But, I don't see how to "prepend" a digit(s) to a number dialed (from the
phone, not in an Asterisk extensions file). For instance, I have several
trunks. Each trunk can be manually dialed by dialing a specific number in
front
2006 Mar 02
0
* dials out zap line first 6 digits, pause, then last digit
Hello, This seems to be a weird one. I'm at work now and will get some
more-verbose logs later when I get home if nobody has any ideas about
what's happening here.
I've got a tdm card with 1 FXO and 1 FXS. Asterisk is in the 1.2.x line,
so is zaptel. astlinux to be specific. I can get the versions at home
later if it might help. It's running on a silent epia 5000 board
2006 Jul 31
3
getting the last four digits of a string or number
I want to trim down a phone number to the last four digits before saving
it to the db. How would I do this? For example, 800-555-1212 which
could also be 8005551212, i want to save just 1212 (last four digits)
only.
--
Posted via http://www.ruby-forum.com/.
2006 Jun 16
1
helpers adding digits to generated links
Hi all,
I noticed that rails helper methods are adding extra info to the generated
links whereas previously they didn''t. Here are some examples:
<link href="/stylesheets/styles.css?1150398928" media="screen"
rel="Stylesheet" type="text/css" />
<script src="/javascripts/prototype.js?1148640823"