search for: monteiro

Displaying 20 results from an estimated 166 matches for "monteiro".

2014 Dec 02
3
Samba4 ClassicUpgrade
...from clients machines by iptables and the samba process stoped to consume memory. To resolve another problem I just commented full_audit options in my smb.conf file and now the command "samba-tool ntacl sysvolreset" works without errors and I'm able to create GPOs. Thanks Fabio Monteiro -------- Mensagem original -------- Assunto: [Samba] Samba4 ClassicUpgrade De: Fabio Monteiro <fabioitb at yahoo.com.br> Para: samba at lists.samba.org Data: 25/11/2014 13:17 > Hi, guys. > > I had a server Debian with samba (PDC) 3.6 and ldap, but I needed > upgrade to samba (AD...
2010 Oct 08
4
login_* options for 1.0.15
...service was enough to get things working again. Firstly i thought about the max fd number per process, but after checking it turned out it was already rather large, 8192 in our case. I cannot observe any concerning I/O load either. Besides upgrading, are there any suggestions? Regards, Hugo Monteiro. -- fct.unl.pt:~# cat .signature Hugo Monteiro Email : hugo.monteiro at fct.unl.pt Telefone : +351 212948300 Ext.15307 Web : http://hmonteiro.net Divis?o de Inform?tica Faculdade de Ci?ncias e Tecnologia da Universidade Nova de Lisboa Quinta da Torre 2829-516 Caparica Portugal Te...
2007 Mar 05
4
0 * NA = NA
...ead of NA? For example, suppose I have a vector with some valid values, while other values are NA. If I matrix-pre-multiply this by a weight row vector, whose weights that correspond to the NAs are zero, the outcome will still be NA: x <- c(1, NA, 1) wt <- c(2, 0, 1) wt %*% x # NA Alberto Monteiro
2007 Mar 23
5
Get "home" directory and simple I/O
...question: what is the _simplest_ way to read and write R variables to/from files such that they are stored in a human-readable but R-like form? For example, if (say), x is a vector defined as x <- c(1, 2, 3), can I write (and read) x as a file with just one line, namely: c(1, 2, 3) ? Alberto Monteiro
2008 Apr 29
4
XML write?
Is there any function to write a XML structure, after it was read using xmlTreeParse? Ex: library(XML) x <- xmlTreeParse("Irpf2008/aplicacao/dados/12345678901/12345678901.xml") # write it... Alberto Monteiro PS: please, brazilians, don't be offended by my foul language!
2008 Apr 19
2
mailtrain with dovecot antispam plugin
...d the stdin into another. code is #!/bin/bash echo $* > /tmp/sendmail-parms.txt exec cat<&0 >> /tmp/sendmail-msg.txt exit 0 So i tried a retrain and went to see what those txt files had. The parms.txt file was fine apparently, with cat /tmp/sendmail-parms.txt i got -f hm at hmonteiro.net notspam-hm at hmonteiro.net Then i did the same to the message file, with cat /tmp/sendmail-msg.txt, and i got the follwing Return-Path: <hugo.monteiro at fct.unl.pt>Delivered-To: hm at hmonteiro.net Received: (qmail 21616 invoked from network); 19 Apr 2008 16:21:17 -0000 Received: (...
2007 Feb 28
3
get more than get
This must be a stupid question, but is there any "extension" of get? For example: x <- 10 get("x") # gives me 10 get("x^2") # gives me an error Alberto Monteiro
2014 Dec 02
0
Samba4 ClassicUpgrade
On 02/12/14 13:04, Fabio Monteiro wrote: > Hi, Rowland! > > I know kerberos uses 88 tcp/udp port but the traffic from some client > machines (15 machines) was unbelievable. I think this clients has virus. > > Fabio Monteiro > > -------- Mensagem original -------- > Assunto: Re: [Samba] Samba4 ClassicUpgr...
2008 Jun 06
2
Plot matrix as many lines
...m <- rbind(c(1,2,3,4), c(2,3,2,1)) Is there any way to efficiently plot the _lines_ as if I was doing: plot(m[1,], type="l") points(m[2,], type="l", col="red") (of course, in the "real world" there much more than just 2 lines and 4 columns...) Alberto Monteiro
2008 Jun 10
2
A curious bug in read.xls
...und a curious bug in read.xls. I don't know if it's reproducible. It's like this: suppose I do a read.xls in a spreadsheet. A column begins with a number. Then, any strings below it will be rendered as NA. If the column begins with a string, then it will be rendered correctly. Alberto Monteiro
2008 Sep 30
2
plot inside graphic area
I am trying to plot a small graphic inside the graphic area of a bigger graphic. Does anybody know the commend for that? Thanks a lot! -- MSc José Alberto F. Monteiro Botanisches Institut Universität Basel السلام عليكم [[alternative HTML version deleted]]
2011 Jun 21
2
UIDL and message migration
...The only problem so far is with POP users. After doing an account migration with imapsync, and although both servers share the same pop3_uidl_format = %08Xu%08Xv, the client downloads every message that was already on the server. Any pointers would be very much appreciated. Best Regards, Hugo Monteiro.
2007 Jul 05
4
Me again, about the horrible documentation of tcltk
...e != "") cat("Selected file:", filename, "\n") but, besides filetypes, what are the other arguments to tkgetOpenFile? I would like to force the files to be sorted by time, with most recent files coming first (and no, the purpose is not to use for porn files). Alberto Monteiro
2007 Jul 16
2
Source inside source
...ile1.R, there is this line: source("dir2/file2.R") So, if I setwd to /files/dir1/, and then I call source("file1.R"), it will run correctly. However, if I setwd to /files, then call source("dir1/file1.R"), it will give an error when trying to source file2.R Alberto Monteiro
2007 Mar 30
3
RWiki, tcltk and plot
...mand=function() plot(matrix[,n])) }) tkgrid(dist.widget[[i]], row=i-1) tkgrid(plot.widget[[i]], row=i-1, column=1) } # # Game over - click and watch !!! # ############################################### # My question: is there any way to integrate the plot part into a tcltk window? Alberto Monteiro
2006 Oct 07
3
ifelse(logical, function1, function2) does not work
Why this kind of assignment does not work? n <- 1 f <- ifelse(n == 1, sin, cos) f(pi) this must be rewritten as: n <- 1 f <- cos if (n == 1) f <- sin f(pi) [oops. 1.224606e-16 instead of zero. Damn floating point errors :-/] Alberto Monteiro
2007 Feb 28
2
What is a expression good for?
I mean, I can generate a expression, for example, with: z <- expression(x+y) But then how can I _use_ it? Is it possible to retrieve information from it, for example, that z is a sum, its first argument is x (or expression(x)) and its second argument is y? Alberto Monteiro
2007 Jun 04
2
Abstract plot
...nstead of showing _numerical_ values, I would like to show _symbolic_ values. For example, I want to plot a function y = a x + b, where x varies between Xmin and Xmax. I would like the plot to show, in the x-axis, the strings Xmin and Xmax, instead of their numeric values. Is it possible? Alberto Monteiro
2008 Jun 16
2
Annoyance in as.numeric
...(matrix(c("1", "2", "3", "4"), 2, 2)) [1] 1 2 3 4 I could only figure out ugly ways to bypass this, like: x <- matrix(c("1", "2", "3", "4"), 2, 2) array(as.numeric(x), dim = dim(x), dimnames = dimnames(x)) Alberto Monteiro
2007 Mar 06
2
Package RODBC
...[%s]", name1)) # ok odbcClose(channel) 2nd, it seems that only "pure" strings (which are not links to strings) and numerical values are correctly fetched or selected. Is this a bug? 3rd, when do something like plan1[,1] a weird message about Levels appear. What is that? Alberto Monteiro