Displaying 20 results from an estimated 5000 matches similar to: "Assigning a zero length vector to a list (PR#8157)"
2005 Aug 19
1
PS driver crashes when no permissions (PR#8078)
Full_Name: Jussi Jousimo
Version: 2.1.1
OS: Linux
Submission from: (NULL) (193.167.195.60)
R 2.1.1 crashes when it is trying to write a file with the postscript driver to
a directory, where the user has no permission to write. For example,
postscript("foo.ps") gives an error message: *** glibc detected *** free():
invalid pointer: 0x08a469b0 ***. The problem is at the PSDeviceDriver
2010 Feb 19
3
Rubbish values written with zero-length vectors (PR#14217)
Full_Name: George Russell
Version: 2.10.0, 2.11.0 (2009-12-13 r50716)
OS: Windows
Submission from: (NULL) (217.111.3.131)
R trace:
-- cut here --
> v <- integer(0)
> v[[1]] <- v
> v
[1] 20522144
> v <- numeric(0)
> v[[1]] <- v
> v
[1] 4.254131e-314
> sessionInfo()
R version 2.10.0 (2009-10-26)
i386-pc-mingw32
locale:
[1] LC_COLLATE=German_Germany.1252
2024 Apr 05
1
Bug in out-of-bounds assignment of list object to expression() vector
On Fri, 5 Apr 2024 08:15:20 -0400
June Choe <jchoe001 at gmail.com> wrote:
> When assigning a list to an out of bounds index (ex: the next, n+1
> index), it errors the same but now changes the values of the vector
> to NULL:
>
> ```
> x <- expression(a,b,c)
> x[[4]] <- list() # Error
> x
> #> expression(NULL, NULL, NULL)
> ```
>
> Curiously,
2024 Apr 05
1
[External] Re: Bug in out-of-bounds assignment of list object to expression() vector
On Fri, 5 Apr 2024, Ivan Krylov via R-devel wrote:
> On Fri, 5 Apr 2024 08:15:20 -0400
> June Choe <jchoe001 at gmail.com> wrote:
>
>> When assigning a list to an out of bounds index (ex: the next, n+1
>> index), it errors the same but now changes the values of the vector
>> to NULL:
>>
>> ```
>> x <- expression(a,b,c)
>> x[[4]] <-
2013 Jan 09
2
Bug in list subset assignment due to NAMED optimization
In R version 2.15.2 (2012-10-26) i386-apple-darwin9.8.0/i386 (32-bit) I get
the following:
> a <- list(1)
> (a[[1]] <- a)
[[1]]
[[1]][[1]]
[1] 1
but
> a <- list(1)
> b <- a
> (a[[1]] <- a)
[[1]]
[1] 1
And similarly:
> a <- list(x=1)
> (a$x <- a)
$x
$x$x
[1] 1
but
> a <- list(x=1)
> b <- a
> (a$x <- a)
$x
[1] 1
In both cases the
2024 Apr 05
3
Bug in out-of-bounds assignment of list object to expression() vector
There seems to be a bug in out-of-bounds assignment of list objects to an
expression() vector. Tested on release and devel. (Many thanks to folks
over at Mastodon for the help narrowing down this bug)
When assigning a list into an existing index, it correctly errors on
incompatible type, and the expression vector is unchanged:
```
x <- expression(a,b,c)
x[[3]] <- list() # Error
x
#>
2013 May 21
3
Adding ndpi-netfilter rules
Hi
Is there any way to insert L7 rules by using the ndpi-netfilter module?
/GH
------------------------------------------------------------------------------
Try New Relic Now & We''ll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers
2012 Oct 08
3
Shorewall 4.5.8 IPSEC in a multi-ISP configuration
Hi,
I'm using IPSEC in a multi-ISP configuration,
lsm 0.131, Kernel 2.6.32, ipsec-tools 0.8.0
This worked fine with Shorewall/Shorewall-Lite 4.5.7.
After updating Shorewall to 4.5.8 the routing of ESP packets doesn't work.
If I change the Providers.pm file and add connmark => "! --mark
0/$mask" like before in Shorewall 4.5.7 than everything works fine.
add_ijump
2013 May 21
3
Redirect incoming port to another port internal.
Hi all,
I have tried to figure out how to do this one but I think I have just
confused myself more.
My firewall is a 2 interface setup, the same box is my router to my uplink.
I''m not using nat at all and have a public IP range behind this machine.
net = eth0
loc = eth1
Most of my rules are mainly the basic
HTTP(ACCEPT) net loc:111.111.111.112
SMTP(ACCEPT) net
2010 Sep 28
4
Mailman - searchable archive
Mailman works well for our mailing lists, but the archive is
unacceptable - the worst thing is lack of search function.
I got one tip for this:
1) emails converted to html format with mhonarc
2) search can be done with htdig
Opinions? Maybe there are better software solutions for this - I hope.
- Jussi
--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9
2008 Aug 21
3
Disk quotas for Sendmail
Hi,
CentOS 5.x, Sendmail 8.13.8.
I would like to start using disk quotas on my Sendmail server, and optimally
they should be configurable by user or group. How can this be done? (I tried
to google, but no success.)
- Jussi
--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. & fax +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hirvi at greenspot.fi *
2010 Jan 04
2
Sendmail error: auxpropfunc error invalid parameter supplied
I just noticed this error in my messages log after restarting sendmail.
The only change I have made is
1) manual fix in /usr/share/spamassassin/72_active.conf
2) sa-update (several times)
Now the mail is not running ok, my mail queue keeps growing.
Regards,
Jussi Hirvi
2008 Feb 22
3
Problem with cut
Hi All,
I might misunderstood how cut works. But following behaviour surprises
me.
vv <- seq(150, 346, by= 4)
cc <- cut(vv, 12)
cc[vv == 330]
Results [1] (330,346]
I would have expected 330 to fall into (313,330] category.
Can you please advice what do I do wrong?
Many Thanks,
Jussi Lehto
-------------- next part --------------
Visit our website at http://www.ubs.com
This message
2007 Jan 19
2
Installing 4.4 - problem on 386
I tried installing with several options (noacpi noapm; noprobe; noprobe
skipddc noacpi noapm nodma). Always I get the same error.
BUT this is not in fac a CentOS problem at all, because I get the same error
always when I boot from hd (Fedora Core), IF there is a CD in the CD-ROM
drive. (I tried with CentOS 1/4, CentOS 2/4 and a HP printer software CD.)
It must be something with the CD drive!
2005 May 31
2
A suggestion to improve ifelse behaviour with vector yes/no arguments
Dear All,
I luckily found the following feature (or problem) when tried to apply ifelse-function to an ordered data.
> test <- c(TRUE, TRUE, TRUE, FALSE, FALSE, FALSE, FALSE)
> ifelse(test, 0, 1:4)
[1] 0 0 0 4 1 2 3
>
It roots into the ifelse-syntax:
ans[!test & !nas] <- rep(no, length.out = length(ans))[!test & !nas]
Would it be possible to disable this feature in the
2008 Aug 15
1
Hard disk, format, filesystem
Ok, I give up... I have to ask. This is CentOS 5.
I switched one of my raid1 disks, and I already thought I had succeeded. But
now it seems that something is very wrong with the first partition on the
new disk. Luckily my system is fully bootable with the other disk.
Here's some info. The new disk is sdb.
// I removed all partitions with parted, and created the first one again.
// parted
2012 Oct 14
1
Trouble with Apache2 ProxyPass
This problem probably has a simple solution, so I''m hoping the experienced
shorewall users can help me.
I''ve got a 3-interface (net,dmz, & loc) firewall and have several apache2
virtual web sites in the dmz. They come into 1 apache server in the dmz, and
are redirected with the directive "ProxyPass" and "ProxyPassReverse" in my
Apache
2011 Apr 27
2
Where is my qemu command?
KVM virtualization is full of wonders. :-/
I would need to attach an USB disk to a vm, but how?
The command "qemu" would provide a way:
[root at a134-224 yum.repos.d]# man qemu-kvm
> QEMU(1)
> NAME
> qemu-doc - QEMU Emulator User Documentation
>
> SYNOPSIS
> usage: qemu [options] [disk_image]
(...)
> -usbdevice devname
> Add the
2010 Oct 12
2
Openwebmail emergency (Perl)
After system update yesterday, Openwebmail now gives an error:
> Undefined subroutine &Compress::Zlib::memGzip called at /var/www/cgi-bin/openwebmail/shares/ow-shared.pl line 1175.
I tried to do
perl -MCPAN -e shell
install Compress::Zlib
But it says Compress::Zlib is up-to-date. What do to?? I cannot find an
answer by googling.
- Jussi
--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15
2008 Oct 17
7
ls and rm: "argument list too long"
Since when is there a limit in how long directory listings CentOS can show
(ls), or how large directories can be removed (rm). It is really annoying to
say, for example
rm -rf /var/amavis/tmp
and get only "argument list too long" as feedback.
Is there a way to go round this problem?
I have CentOS 5.2.
- Jussi
--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki *