Displaying 20 results from an estimated 100 matches similar to: "axis labels not showing"
2011 Aug 10
2
choosing selective data with permutations
Hello,
I am a R beginner and hoping to obtain some hints or suggestions about
using permutations to sort a data set I have.
Here is an example dataset:
Ind1 11 00 12 15 28
Ind2 21 33 22 67 52
Ind3 22 45 21 22 56
Ind4 11 25 74 77 42
Ind5 41 32 67 45 22
This will be read into a variable using read.table. What I want to do
is permute these individuals and every
2012 May 10
2
Resampling question
Hello -
I have a population of 100 individuals that I would like to bootstrap
10 times, every time removing 5 *different* individuals.
So far, I have done the following:
pop <- read.table('mypop.txt', header=FALSE)
replicate(10, sample(pop, 95, replace=FALSE))
I have not actually gone through each of the 10 files created to make
sure no single individual was removed more than once
2012 Jun 08
2
changing font to italic for one entry in legend()
Hello,
I need to change the font for one of the items (C. elegans) in my
legend to italic. Can someone suggest how to accomplish this?
legend('bottomright', bty='n', c('C. elegans range', 'Study area'),
cex=0.8, fill=c('light gray', 'white'), border=c('black','black'))
I tried using lab.font=c(1,3) but R ignored and did not write
2015 Feb 25
2
Disable DHCPv6 on Cent7
So, I'm seeing a bunch of DHCPv6 traffic coming from my CentOS7
machines. Basically, the machines are trying to send router
solicitations, the packets are blocked at their egress firewalls, and
I get to see the logs.
I don't wish to disable IPv6. I don't wish to statically configure
IPv6 at this time. I wish to have the machines no longer attempting to
send router solicitations as
2015 Feb 25
0
Disable DHCPv6 on Cent7
On Wed, Feb 25, 2015 at 10:27 AM, Michael Mol <mikemol at gmail.com> wrote:
> So, I'm seeing a bunch of DHCPv6 traffic coming from my CentOS7
> machines. Basically, the machines are trying to send router
> solicitations, the packets are blocked at their egress firewalls, and
> I get to see the logs.
>
> I don't wish to disable IPv6. I don't wish to statically
2012 Aug 07
0
Snort: Problems configuring for init/start upon bootup rc.conf not working
Ladies/Gents,
/etc/init.d/snortd
more snortd
#!/bin/sh
# Description: start up script for snort
# chkconfig: 2345 40 60
#
# Source function library.
. /etc/rc.d/init.d/functions
#
case "$1" in
#
'start')
echo "Starting up Snort..."
/prod/snort/bin/snort -c /prod/snort/etc/snort.conf -D -g snort -u snort -i
eth0 -l /var/log/snort
echo "Done."
;;
#
2010 Jan 15
4
Bridging firewall with snv_125 and ipfilter
Has anyone gotten a transparent firewall working? I''m using snv_125 on an IBM x346 (snv_130
goes into endless boot loops on this hardware). I can create a working bridge with dladm, but
can''t stop packets, even with "block in quick all". That stops packets on my management
interface bge0, but not on the bridge. :(
tim at ghost:~# ifconfig -a
lo0:
2012 Mar 08
0
Programs on/off on virtual host machine
been playing with my host machine and thought some might want to see
what I have on and the full list of chkconfig
I have installed desktop and x windows system to bring up a desktop when
I want one with startx.
I turned 'off' quite a bit and yum removed quite a bit.
These set of programs still allow full use as a host so far, including
the startx desktop.
Always afraid to remove or
2014 May 20
1
abrt dump qt selinux
Hi all,
Note: selinux was in permissive prior to error
Got this with a yum update:
abrt_version: 2.0.8
cgroup:
cmdline: semodule -n -r oracle-port -b base.pp.bz2 -i
accountsd.pp.bz2 ada.pp.bz2 cachefilesd.pp.bz2 cpufreqselector.pp.bz2
chrome.pp.bz2 awstats.pp.bz2 abrt.pp.bz2 aiccu.pp.bz2 amanda.pp.bz2
afs.pp.bz2 apache.pp.bz2 arpwatch.pp.bz2 audioentropy.pp.bz2
asterisk.pp.bz2
2012 Apr 24
5
Not Quite Minimal CentOS 6.2
Hi All,
I a working on configuring a not-quite minimal installation of CentOS 6.2. I
tried doing the "minimal" installation available with the installer, but it's
a bit too minimal to be useful. So I'm cutting down from a less minimal
starting place. I'm pretty familiar with 5.x, but what I'm finding in 6.2 is a
lot of new stuff, and a lot of odd behavior. For example,
2015 Jul 02
2
libguestfs error: need help troubleshooting
Hi,
I'm trying to manually create a rhel7 image using the qemu-img and virt-install commands. I'm re-testing a procedure I previously wrote with the new grub commands that a customer suggested we add in. This procedure is available at: http://file.bne.redhat.com/dnavale/docs/review/RH-guides/AG-020715/#sect-create-images
As in the procedure, I'm able to run all steps successfully
2000 Nov 16
6
Backup Route
Hi there.
I''ve two Internet connections at the same box, one connection is
made through ADSL, and another is made with a Radio-Link (WaveLAN
IE822).
I wan''t to do a backup connection with the ADSL link.
With what tools I can do this?
ipchains, iptables, a third party tool?
--
____________________________________________________________
PIII 500MHz - 98MB RAM -
2015 Jul 03
1
Re: libguestfs error: need help troubleshooting
Hi Rich,
I'm not sure how far this helps as it mostly says 'No space left on device', but here's the output of the command you asked me to run:
➜ tmp /usr/bin/supermin --build -v -v -v --copy-kernel -f ext2 --host-cpu x86_64 /usr/lib64/guestfs/supermin.d -o /tmp/appliance.d
supermin: version: 5.1.9
supermin: rpm: detected RPM version 4.11
supermin: package handler: fedora/rpm
2002 Jun 22
7
bonding & vlan - kernel 2.4.18 (RHL7.3)
Hi,
Hopefully this won''t be too off-topic (I''ve seen both bonding & vlan
mentioned on the list, but not really together).
I''ve tried to get bonding (2 x 100Mb EEPro, but will want to try on
1000BaseT) and vlans to work together, but without luck. I can get them
working fine (seemingly at least - I didn''t tried bursting on the
bonded port) individually.
2011 Sep 27
2
Matrix and list indices
Hi guys,
I am trying to replace all elements of earth that are equal to zero with their corresponding elements in mars. I can do the replace with a bunch of for-loops, but I don't think this is the R way of doing things.
my_list <- list( earth=array(c(0,0,45,0,0,45,0,45),dim=c(2,2,2)), mars=array(c(8:1),dim=c(2,2,2)))
my_list
for (i in c(1:2)) {
for (j in c(1:2)) {
2003 Jul 30
6
reverse array indexing
Hi,
Suppose I have a multidimensional array:
tmp <- array(1:8, c(2,2,2))
is there a function out there that, given a one-dimensional array index,
will
return the separate indices for each array dimension?
for instance, tmp[8] is equivalent to tmp[2,2,2]. I'd like to derive the
vector (2,2,2)
from the index 8.
thanks,
Brad Buchsbaum
2008 Nov 12
2
Outer, kronecker, etc.
`outer` (and related functions like kronecker) require that their
functional argument operate elementwise on arrays. This means for
example that
outer( 1:2, 3:4, list)
or
outer(1:2,3:4,function(a,b){1})
gives an error.
Is there a version of `outer`/`kronecker`/etc. that takes arbitrary
functions and does its own elementwise mapping? In the first example
above, I'd expect the
2004 Mar 31
2
array addition doesn't recycle!
Hi,
I have noticed the following:
> a <- array(1:4, c(2, 2))
> A <- array(1:4, c(2,2,2))
> A + a
Error in A + a : non-conformable arrays
It works with a matrix + a vector, why doesn't it work with arrays?
Am I missing something?
How would you do the above operation efficiently (ie I need to add a
matrix to each "plane" of 3-dim array)? At the moment I am using
2005 Sep 28
3
is it possible to form matrix of matrices...and multiple arrays
Dear sirs,
1...........Kindly tell me is it possible to form a matrix which contains a no of matrices..
for eg..
if a,b,c,d are matrices....
and e is a matrix which contains a,b,c,d as rows and columns..
2..........Is it possible to form array of array of arrays
for eg..
"A" contains two set of arrays (1,2)...and each A[1] and A[2] individually contains two set of arrays
I tried like
2011 Nov 01
4
building a subscript programatically
Hi,
On ocasion, you need to subscript an array that has an arbitrary
(ie. not known in advance) number of dimensions. How do you deal with
these situations?
It appears that it is not possible use a list as an index, for
instance this fails:
> x <- array(NA, c(2,2,2))
> x[list(TRUE,TRUE,2)]
Error in x[list(TRUE, TRUE, 2)] : invalid subscript type 'list'
The only way I know is