Displaying 20 results from an estimated 20000 matches similar to: "Dynamic string as element name in a list"
2003 May 28
1
Numbers that look equal, should be equal, but if() doesn't see as equal (repost with code included)
Hi!
Apologies for sending the mail without any code. Apparently somewhere along
the way the .R attachments got filtered out. I have included the code below
as clean as possible. My original mail is below the code.
Thank you again for your time.
regards,
Paul
vincentize <- function(data, bins)
{
if ( length(data) < 2 )
{
stop("The data is really short. Is that ok?");
}
2004 Feb 24
1
Accessing columns in data.frame using formula
Hello!
I'm trying the hard way to use a formula, in a function, to specify the
names of several important columns in a data.frame. Maybe I'm just battling
to figure out the right search terms :-( This is on XP, R 1.8.1.
So, for instance,
wery[1:5,]
V1 V2 V3 V4 V5 congr V7 V8 V9 ok RT
1 1 1 960 520 1483 c 1 r r 1 760
2 1 2 1060 450 3753 c 1 r r 1 555
2014 Apr 11
1
VIRT SIG Meeting Minutes [11/04]
Will copy these to
http://wiki.centos.org/SpecialInterestGroup/Virtualization, after intial
discussion or just point to the e-mail/email thread from the wiki. Feel
free to correct as needed.
Lars
== Attendees ==
SIG Members:
* LarsKurth (LK)
* GeorgeDunlap (GD)
* KaranbirSingh (KB)
Travelling:
* JohnnyHughes (JH)
Guest
* EuanHarris
=== Meeting time and cadence ===
Meetings will be
2003 Oct 15
1
is.na(v)<-b (was: Re: Beginner's query - segmentation fault)
I think the thread ended up with several people (not only me)
feeling certain they didn't like `is.na<-` but with the
developers defending it and me not really understanding
why.
Uwe Ligges was going to come up with an example of
`<- NA` going wrong (sorry Brian R, I mean behaving
unexpectedly), but never did, and I think the problem
has been fixed. It was apparently a problem with
2005 Apr 14
2
maildir in NFS
How can I configure the dovecot for working with maildir's through NFS?
If I add option "index_mmap_invalidate = yes" (as in doc/nfs.t) then in log I
have this message:
"Error: Error in configuration file /etc/dovecot.conf line 296: Unknown
setting: index_mmap_invalidate"
If I try to get the mail without option "index_mmap_invalidate" then I have in
log this
2003 Oct 16
1
Cbind warning message
Hello!
I'm not grasping why cbind (in the code below) warns that
Warning message:
number of rows of result
is not a multiple of vector length (arg 2) in: cbind(z, p)
when I do
sections <- function(length, parts)
{
p <- 1:parts
q <- length %/% parts
z <- array(p, dim=c(parts,q))
r <- length %% parts
if ( r > 0 )
{
p[r+1:length(p)] <- NA
z <-
2004 Jun 16
1
subset(..., drop=TRUE) doesn't seem to work.
Hello!
If I read ?subset, the workings of the argument drop (to me) seem to imply
equivalence of A and B (R 1.9.0):
#A
dd <- data.frame(rt=rnorm(10), c=factor(gl(2,5)))
dd <- subset(dd, c==1)
dd$c <- dd$c[, drop=TRUE]
table(dd$c)
1
5
#B
dd <- data.frame(rt=rnorm(10), c=factor(gl(2,5)))
dd <- subset(dd, c==1, drop=TRUE)
table(dd$c)
1 2
5 0
So to lose the second level of
2012 Jun 20
2
How Fatal? "Server and Client lk-version numbers are not same, reopening the fds"
Despite Joe Landman's sage advice to the contrary, I'm trying to
convince an IPoIB volume to service requests from a GbE client via
some /etc/hosts manipulation. (This may or may not be related to the
automount problems we're having as well.)
This has worked (and continues to work) well on another cluster with a
slightly older version of gluster - the 3.3.0qa42 version on both server
2012 Jun 22
1
Fedora 17 GlusterFS 3.3.0 problmes
When I do a NFS mount and do a ls I get:
[root at ovirt share]# ls
ls: reading directory .: Too many levels of symbolic links
[root at ovirt share]# ls -fl
ls: reading directory .: Too many levels of symbolic links
total 3636
drwxr-xr-x 3 root root 16384 Jun 21 19:34 .
dr-xr-xr-x. 21 root root 4096 Jun 21 19:29 ..
drwxr-xr-x 3 root root 16384 Jun 21 19:34 .
dr-xr-xr-x. 21 root root 4096
2002 May 22
3
Openssh still logs in while passwd is locked
>Using OpenSSH 3.1p1 on a Sun Solaris 7 box, I disabled an account using the
>'passwd -l ...' command to lock the users password. However, the user can
>still access the system via ssh. Whilst I could do other things such as
>moving their .ssh directory, removing their account home directory, etc,
>etc, is there some 'nicer' way to inform ssh that the account is now
2018 Apr 10
0
Gluster cluster on two networks
Marcus,
Can you share server-side gluster peer probe and client-side mount
command-lines.
On Tue, Apr 10, 2018 at 12:36 AM, Marcus Peders?n <marcus.pedersen at slu.se>
wrote:
> Hi all!
>
> I have setup a replicated/distributed gluster cluster 2 x (2 + 1).
>
> Centos 7 and gluster version 3.12.6 on server.
>
> All machines have two network interfaces and connected to
2018 Apr 09
2
Gluster cluster on two networks
Hi all!
I have setup a replicated/distributed gluster cluster 2 x (2 + 1).
Centos 7 and gluster version 3.12.6 on server.
All machines have two network interfaces and connected to two different networks,
10.10.0.0/16 (with hostnames in /etc/hosts, gluster version 3.12.6)
192.168.67.0/24 (with ldap, gluster version 3.13.1)
Gluster cluster was created on the 10.10.0.0/16 net, gluster peer
2018 Apr 10
1
Gluster cluster on two networks
Yes,
In first server (urd-gds-001):
gluster peer probe urd-gds-000
gluster peer probe urd-gds-002
gluster peer probe urd-gds-003
gluster peer probe urd-gds-004
gluster pool list (from urd-gds-001):
UUID Hostname State
bdbe4622-25f9-4ef1-aad1-639ca52fc7e0 urd-gds-002 Connected
2a48a3b9-efa0-4fb7-837f-c800f04bf99f urd-gds-003 Connected
ad893466-ad09-47f4-8bb4-4cea84085e5b urd-gds-004
2007 Jul 04
2
Adding data to existing plot with new=TRUE does not appear to work
Dear all,
I am trying to shove a number of cmdscale() results into a single plot
(k=1 so I'm trying to get multiple columns in the plot). From ?par I
learned that I can/should set new=TRUE in either par() or the plot
function itself. However with the following reduced code, I get only a
plot with a column of data points with x==2.
plot(1,10, xlim=range(0,3), ylim=range(0,10),
2008 Feb 20
2
intersecting rows of a matrix
useR's,
First, I would like to say thanks to John Fox for providing this segment of
code to perform intersection for multiple sets:
intersection <- function(x, y, ...){
if (missing(...)) intersect(x, y)
else intersect(x, intersection(y, ...))
}
I want to execute this function on the rows of a matrix I have:
Ik.mat.test <- matrix(c(2,3,6,1,2,6,6,1,2),byrow=T,nrow=3)
> Ik.mat.test
2004 Aug 26
1
library(car) Anova() and Error-term in aov()
Dear all,
Type III SS time again. This case trying to reproduce some SPSS (type III)
data in R for a repeated measures anova with a betwSS factor included. As I
understand this list etc, if I want type III then I can do
library(car)
Anova(lm.obj, type="III")
But for the repeated measures anova, I need to include an Error-term in the
aov() call (Psychology-guide from Jonathan Baron)
2016 Feb 17
2
How to define data for X86 assembler?
Hi,
Is there any documentation on the syntax accepted by X86 assembler?
I have this code in my .asm file to define data:
text db "127.1.1.1 google.lk"
But X86 assembler fails to understand it, with error:
error: unexpected token in argument list
text db "127.1.1.1 google.lk"
^
Any ideas how to fix this problem?
I tried to find some
2017 Dec 05
4
SAMBA VFS module for GlusterFS crashes
Hello,
I'm trying to set up a SAMBA server serving a GlusterFS volume.
Everything works fine if I locally mount the GlusterFS volume (`mount
-t glusterfs ...`) and then serve the mounted FS through SAMBA, but
the performance is slower by a 2x/3x compared to a SAMBA server with a
local ext4 filesystem.
I gather that SAMBA vfs_glusterfs module can give better
performance. However, as soon as I
2017 Dec 21
2
stale file handle on gluster NFS client when trying to remove a directory
Hi,
After running rm -rf on a directory, the files under it got deleted, but
the directory was not deleted and was showing stale file handle error.
After 18 minutes, I'm able to delete the directory. So could anyone help me
in knowing what could have happened or when in general I get such errors.
The following is NFS log:
[2017-12-21 13:56:01.592256] I [MSGID: 108019]
2002 May 15
3
graphics question
Hi
after browsing the documentation and web, I'm completely lost as how to
create the graph I describe below (as best as I can).
I've got 3 pairs of average response times: (390,396), (416, 421),
(406,415). Each of these pairs represents a level of a certain factor
(let's call it 'loc'), namely (in the same order), levels "c", "nc" and
"ni".