similar to: how to REPLACE VALUES in a dataframe

Displaying 20 results from an estimated 200 matches similar to: "how to REPLACE VALUES in a dataframe"

2002 Sep 24
1
LDAP Group Mapping Problem w/ Samba 2.2.5
Hi there. I have set up a Samba 2.2.5 Server with LDAP support. I don't wont local system users, so i also set up PAM authentication against ldap. This works fine, Machine Trusts and Users are not needed to be local (in /etc/passwd or /etc/group). The same with Groups. Now here is my Problem. Example: Assume two users, alice and bob, and two groups, alice-group and bob-group which are
2012 Feb 21
1
Counting
Hi, Is there a short way of doing this? I have the following table in R: 12.0        0.5       0.6      0.2      0      0 12.3        1.2       0.8       0        0      0 13.1         0         1.2       0        0      0 10.1         0            0       0       1.3     0 10.2        1.3        1.2     0.9      0     1.3 So I have 5 rows and 6 columns. For each row, I want to count the
2015 Jan 22
2
sieve filter not working
Hi, OK. I tried your suggestion. I modified the dovecot config file "10-logging.conf", like so: log_path = syslog and mail_debug = yes It appears that the logging goes to "/var/log/maillog", not "messages" as I expected. Restarting service dovecot produces info in the "maillog" file showing the restart: ... Jan 22 15:20:14 coe dovecot: imap: Server
2009 Jan 05
1
adding a curve with xaxs="i"
I want the curve to touch the y axis like the curve touches the upper boundary. How can I eliminate the margin between axis and curve on the left side? x1 <- c(1,2,3,4,5) x2 <- c(2,4,6,8,10) mod <- lm (x2~x1) hm <- function (x) (mod$coe[1]+x*mod$coe[2]) plot.new() # ... box() curve (hm,lty=1,add=T,xaxs="i",yaxs="i") (R 2.8.1) -- Sensationsangebot verl?ngert: GMX
2011 Jun 20
1
Per-directory brick preference?
Hi, I operate a distributed replicated (1:2) setup that looks like this: server1:bigdisk,server1:smalldisk,server2:bigdisk,server2:smalldisk replica sets are bigdisk-bigdisk and smalldisk-smalldisk. This setup will be extended by another set of four bricks (same setup) within the next few days, and I could make those into another volume entirely, but I'd prefer not to, leaving me with more
2011 Aug 01
1
[Gluster 3.2.1] Réplication issues on a two bricks volume
Hello, I have installed GlusterFS one month ago, and replication have many issues : First of all, our infrastructure, 2 storage array of 8Tb in replication mode... We have our backups file on this arrays, so 6Tb of datas. I want replicate datas on the second storrage array, so, i use this command : # gluster volume rebalance REP_SVG migrate-data start And gluster start to replicate, in 2 weeks
2009 May 29
5
maxtrix to permutation vector
Hi, Is there a way to convert a matrix into a vector representing all permutations of values and column/row headings with native R functions? I did this with 2 nested for loops and it took about 25 minutes to run on a ~700x700 matrix. I'm assuming there must be a smarter way to do this with R's vector commands, but being new to R, I'm having trouble making it work. Thanks,
2013 Oct 11
1
One user getting: "Primary group is 0 and contains 0 supplementary groups" on standalone server
Greetings, We are having some rights issues on Samba 3.6.18 running on Slackware64 14.0 (the official Slackware Package). One of our users is having access issues and I believe I have traced the problem to the following entry in the log.smbd: Primary group is 0 and contains 0 supplementary groups Issuing the groups command for this user returns the 8 Linux groups in which the user has
2017 Sep 28
2
Bandwidth and latency requirements
Interesting table Karan!, Could you please tell us how you did the benchmark? fio or iozone orsimilar? thanks Arman. On Wed, Sep 27, 2017 at 1:20 PM, Karan Sandha <ksandha at redhat.com> wrote: > Hi Collin, > > During our arbiter latency testing for completion of ops we found the > below results:- an arbiter node in another data centre and both the data > bricks in the
2017 Sep 27
0
Bandwidth and latency requirements
Hi Collin, During our arbiter latency testing for completion of ops we found the below results:- an arbiter node in another data centre and both the data bricks in the same data centre, 1) File-size 1 KB (10000 files ) 2) mkdir Latency 5ms 10ms 20ms 50ms 100ms 200ms Ops Create 755 secs 1410 secs 2717 secs 5874 secs 12908 sec 26113 sec Mkdir 922 secs 1725 secs 3325 secs 8127
2015 Jan 22
4
sieve filter not working
Hi, I have a question. I have dovecot 2.0.9 running on a CentOS 6.6 email server for a small department, ~15 users. amavis and postfix are also enabled. It appears that amavis invokes spamassassin, which tags incoming spam email. All email is then put into users local inbox directory, regardless of spam tag X-Spam_Flag value of YES or NO. I want instead to redirect spam to a special directory.
2004 Jan 09
1
pdbedit bug?
If I try to do the following: /usr/local/samba/bin/pdbedit -a -u someusername -U 5000 This works as one would think, the account is created with a RID of 5000. But when I do: /usr/local/samba/bin/pdbedit -a -m -u somemachinename -U 3000 It does not work as you would think. The account is created but with the RID of the Unix UID*2+1000 not, a RID of 3000 as specificed on the command line. And
2005 Sep 09
2
R-help Digest, Vol 31, Issue 9
Hi: I use lm (linear model) to analyze 47 variables , 8 responses So I use loop to finish it . I want the program to show the results that P-value is less than 0.05. How can I cite the P-valus from lm result ? Ping The code: #using LM to model general fati for (j in 48:52) { for (i in 3:46){ gen.fat<-y_x[,j] gen.fat<-as.numeric(gen.fat) snp_marker<-y_x[,i] x<-colnames(y_x)
2009 May 29
1
matrix to vector
Hi, Is there a way to convert a matrix into a vector representing all permutations of values and column/row headings with native R functions? I did this with 2 nested for loops and it took about 25 minutes to run on a ~700x700 matrix. I'm assuming there must be a smarter way to do this with R's vector commands, but being new to R, I'm having trouble making it work. Thanks,
2012 Jul 25
1
regression analysis
Hi, I have to do 10,000 linear regression analysis, and the response variable (RESP) is the same for all independent variables (10,000). y ~ x[i] i = 1, ..., 10000 For each analysis must extract the p-value and put them in an orderly increasing. I thought an analysis of the type: ana = numeric(10000) for(i in 1:10000){ mod = lm(RESP~x[i] p-value[i] = summary(mod)$coe[2,4] } Could
2007 Jan 25
5
Custom com32
Hi all I've written a basic COM32 module that checks (using the DMI example code) the product and BIOS and if the BIOS is not at the required level, is supposed to exit and boot using a DOS floppy image to flash the BIOS. The problem is that I can't work out how to call the DOS floppy image. Looking at the website, I see "Run Command" AX=0003H via int 22. The image name will
2005 Jun 26
1
OCFS for SMP kernel (EM64T)
Hi all, My Ct's box is RH 3.0 SMP kernel EM64T. They are asking if OCFS for SMP (EM64T) is available or not. In following site, we can not see OCFS for SMP (EM64T). http://oss.oracle.com/projects/ocfs/files/RedHat/RHEL3/x86_64/1.0.14-1/ ---------- ocfs-2.4.21-EL-1.0.14-1.ia32e.rpm OCFS driver for kernel version 2.4.21-27.EL and higher (EM64T) ocfs-2.4.21-EL-1.0.14-1.src.rpm OCFS driver
2012 Nov 08
1
Package "glmulti": Include a variable in ALL models
Dear all, I have a question about the glmulti package. I want to include some variables in all models. To that end I applied the wrapper function as shown in the examples (http://www.inside-r.org/packages/cran/glmulti/docs/glmulti). To include the variable "Geslacht" in all models: > glm.redefined = function(formula, data, always="", ...)
2008 Jun 25
1
Still no joy using "print command" with 3.0.30
Greetings once again, I am still having trouble with the "print command" option in 3.0.30. In our computer lab, we force CUPS to print the jobs on hold, using: print command = lp -H hold -d %p %s This worked well with the Slackware packages of Samba 3.0.28 and CUPS 1.1.23. When I upgraded Samba to 3.0.30, the jobs were no longer queued on hold, but printed immediately. To
2006 Mar 04
7
Get ID after save
This is simple (I am sure) but how do you get the id of the inserted element after the element has been save? I thought it was something like this: @product = Product.new(params[:product] if @product.save add_image(product.id, params["image"]) flash[:notice] = ''Product was successfully created.'' redirect_to :action => ''list_products'' end