Displaying 20 results from an estimated 2000 matches similar to: "Extreme slowdown with named vectors. A bug? (PR#9280)"
2006 Oct 06
2
Extreme slowdown with named vectors. A bug?
Tried the following with R --vanilla on the Rv2.4.0 release (see
details at the end). I think the script and its comments speaks for
itself, but the outcome is certainly not wanted.
for (n in 58950:58970) {
cat("n=", n, "\n", sep="");
# Clean up first
rm(names, x, y); gc();
# Create a named vector of length n
# Try with format "%5d" and it
2008 Nov 19
1
more efficient small subsets from moderate vectors?
This creates a named vector of length nx, then repeatedly draws a
single sample from it.
lkup <- function(nx, m=10000L) {
tbl <- seq_len(nx)
names(tbl) <- as.character(tbl)
v <- sample(names(tbl), m, replace=TRUE)
system.time(for(k in v) tbl[k], gcFirst=TRUE)
}
There is an abrupt performance degredation at nx=1000
> lkup(1000)
user system elapsed
0.180
2007 Dec 03
2
interaction with C++ code (PR#10487)
Full_Name: Ian Wilson
Version: 2.6.1
OS: linux
Submission from: (NULL) (128.240.229.7)
The problem is new to R2.6.?. The code works as expected in R-2.5.0. I get the
problem with two different operating systems - an older redhat and new ubuntu
and with both g++4.1 and g++3.4.
I have a problem with character data that is passed back from C++ code. A small
example is the following C++ code
2010 Sep 08
0
Correction to vec-subset speed patch
I found a bug in one of the fourteen speed patches I posted, namely in
patch-vec-subset. I've fixed this (I now see one does need to
duplicate index vectors sometimes, though one can avoid it most of the
time). I also split this patch in two, since it really has two
different and independent parts. The patch-vec-subset patch now has
only some straightforward (locally-checkable) speedups for
2008 Feb 26
1
load windows file in linux
Hello R users,
I have windows XP running Rv2.6.0 and a Solaris OS 10 x86-64 running
Rv2.4.0.
I transferred several large .rda files from windows to linux because
of memory issues. I saved as .rda files on windows. In linux, the
files load and have the proper dimensions, but will not index. I get
the following error:
"negative length vectors are not allowed".
However, I can load
2007 May 07
0
Analyzing "Stacked" Time Series
I have a question about pooling or "stacking" several time series
?samples? (sorry in advance for the long, possibly confusing, message).
I'm sure I'm revealing far more ignorance than I'm aware of, but
that's why I'm sending this...
[Example at bottom]
I have regional migration flows (?samples?) from, say, regions A to B, A
to C, B to A, ?., C to B (Noted as
2017 Mar 14
0
Re: virt-customize fail to inject firstboot script when running it from script.
On Mon, Mar 13, 2017 at 11:48:05PM +0200, Keresztes Péter-Zoltán wrote:
> Hello,
>
> We have a nodejs app which is injecting first boot scripts using virt-customize however the exact same commands are working when triggered manually.
>
> Here is the debug output of the commands
Which version of virt-customize? A number of bugs were fixed in this
part of the code in the last
2008 Jan 07
3
Storeconfigs
Hello,
Anyone have any luck getting storeconfigs + MySQL working? I was getting
some freaky uninformative errors:
err: Could not call: wrong number of arguments (1 for 0)
It''d be great if we could get a wiki page up, there appears to be a
pretty large consensus of people who are unable to get it running.
Regards,
AJ
2017 Mar 14
2
Re: virt-customize fail to inject firstboot script when running it from script.
I am running libguestfs version 1.34.2
The issue is the following. When I start the vm with virt-log I see this:
Mar 13 17:33:30 multi6 firstboot.sh[358]: /usr/lib/virt-sysprep/firstboot.sh start
Mar 13 17:33:30 multi6 cron[359]: (CRON) INFO (Running @reboot jobs)
Mar 13 17:33:30 multi6 firstboot.sh[358]: Scripts dir: /usr/lib/virt-sysprep/scripts
Mar 13 17:33:30 multi6 firstboot.sh[358]: ===
2004 Sep 09
1
Apt repositories for CentOS?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Greetings again folks,
One of the things I like about Fedora Core is the fact that I can add
apt as a repository tool. Has anyone done this for CentOS-3? Why was
yum chosen? I prefer apt over yum because of features and was wondering
if anyone had created an apt repository for CentOS.
Thanks in advance for the info, I'm not trying to start an
2017 Mar 13
2
virt-customize fail to inject firstboot script when running it from script.
Hello,
We have a nodejs app which is injecting first boot scripts using virt-customize however the exact same commands are working when triggered manually.
Here is the debug output of the commands
Regards,
Peter
[ 0.0] Examining the guest ...
libguestfs: trace: set_network true
libguestfs: trace: set_network = 0
libguestfs: trace: add_drive
2010 May 16
1
Reading JPEG file, converting to HEX
Colleagues,
I am using R to assemble RTF documents (which are plain text). I need to embed a JPEG graphic that was created with R. I presume that the steps need to be:
a. read the file into R
b. convert the object to HEX format
c. write the converted object to a textfile.
If I read the file into R using readLines, I get the following (only the first 5 lines shown):
> >
2006 Nov 25
3
[PATCH] HTTP accept filter support for FreeBSD
This small patch extends configure_socket_options to support FreeBSD''s
accf_http(9), which defers accept() until there''s a full HTTP request
to read.
Seems to work fine on 6.1-STABLE. DragonflyBSD should work too provided
the /freebsd/ line is modified to match it.
accf_http(9): http://www.freebsd.org/cgi/man.cgi?query=accf_http&sektion=9
--
Thomas
2006 Feb 05
0
Add LUKS support to fstype, second version
The attached patch adds support for detecting LUKS partitions (Linux
Unified Key Setup - http://luks.endorphin.org/) to fstype. This makes it
easier to automatically detect and activate encrypted (root) partitions
from an initramfs image.
The patch is now against klibc's git tree instead of klibc-1.2.
Signed-off-by: David H?rdeman <david@2gen.com>
--
fstype.c | 17
2006 Aug 11
1
Engines & Rails 1.1.6
An excerpt from the recently-unearthed diary of Doctor Hans Zarkov:
"There''s no sun! It''s 8:24 in the morning, and there''s no sun!
There is a patch in the Engines release branch now (Changeset #415:
http://dev.rails-engines.org/repository/changesets/415), which should
work with Rails 1.1.6, and hopefully all Rails 1.1.x versions. Do you
want to live forever?
2005 Sep 22
0
Multiple SIP Phone Calls Overlapping on the Same Phone
I have another freaky situation that is occuring. I am getting
overlapping phone calls on the same phone.
Basically when a user hits the hook fast enough, the current SIP phone
call connection does not get killed by the Asterisk server while a
second SIP connection gets created giving the user overlapping calls.
The way to reproduce this is by hitting the hook fast and furious. The
telltale sign
2008 Oct 13
0
Unknown call every 30 minutes on the dot.
Here's some freaky stuff coming from Areski CDR tool:
101. 2008-10-13 03:41:23 DAHDI/1... 0000000 "unknown" <0000000> BackGround
silence/5 s
ANSWERED 00:20
102. 2008-10-13 03:11:30 DAHDI/1... 0000000 "unknown" <0000000> BackGround
silence/5 s
ANSWERED 00:21
103. 2008-10-13 02:41:23 DAHDI/1... 0000000 "unknown" <0000000> BackGround
2004 Sep 03
0
display turns into "static"
Has anyone seen a problem when booting into isolinux where the display
will become scrambled looking almost like static on a TV. I am
running a K8N Neo 2 motherboard with an AMD 64 3500+. I first thought
something freaky was going on with my flat pannel so I swapped it out
for a crt. That didn't fix the problem so I swapped out the geforce
4 card for a geforce 2 card with the same results.
2019 Feb 21
2
Virus scan + removal on a mdbox mail storage
Hello David,
----- Nachricht von David Pottage via dovecot <dovecot at dovecot.org> ---------
Datum: Thu, 21 Feb 2019 13:58:14 +0000
Von: David Pottage via dovecot <dovecot at dovecot.org>
Antwort an: David Pottage <david at chrestomanci.org>
Betreff: Re: Virus scan + removal on a mdbox mail storage
An: dovecot at dovecot.org
[...]
>> NO! My
2008 Jul 23
0
[LLVMdev] GEP::getIndexValid() with other iterators
Hi Chris,
> What flavor of iterators do you want to pass in? vector or
> smallvector? If so, a pointer to the first element + extents is fine.
I was passing a std::vector in. And you are quite right, first element + size
works like a charm.
Since I am using a vector of uint64_t's instead of Value*, I did need to add
an extra version of getIndexedType(), taking a uint64_t* instead