Displaying 20 results from an estimated 1000 matches similar to: "Samba 3.24 + LDAP"
2003 Mar 04
0
Samba+Winbindd
How do you do !!!
Compile samba-2.2.7a with -with-winbind -with-acl-support, has adjusted
smb.conf
[global]
netbios name = server
workgroup = sgtp
server string = Samba Server
max log size = 50
security = domain
wins support = yes
password server = DOM MULT *
encrypt passwords = yes
log level = 3
log file =
2012 Dec 15
3
Cannot build custom locale with utf-8 charset
I am trying, without success, to compile a custom locale for the utf-8
character set. I have issued this command:
localedef --no-archive -f UTF-8 -i
/usr/share/i18n/locales/en_CA at yyyy-mmm-dd en_CA at yyyy-mmm-dd.utf8
which produces the requisite files without reporting an error but
which none-the-less insists on using the iso-8859-1 charset:
LC_ALL=en_CA at yyyy-mm-dd locale charmap
2010 May 07
2
Problems with the IMAP proxy after upgrading from dovecot 1.1.16 to 1.211
We have frequent timeout problems after upgrading our imap servers
from dovecot 1.1.16 to dovecot 1.2.11. One server acts as proxy only,
and the other one is the "real" imap server". The credentials for the
proxy service are stored in a remote MYSQL database.
There were no trouble with dovecot 1.1.16. But now, with the most
recent version, we get frequent login failures. It
2011 May 15
1
Find String Between Characters
Dear R Helpers,
I am trying to isolate a set of characters between two other characters in
a long string file. I tried some of the examples on the R help pages and
elsewhere, but I am not able to get it. Your help would be much
appreciated.
require(scrapeR)
2009 Jun 10
1
Weird behavior in receive_data function
Dear List,
I'm trying to get diff/removed data and it's offset out. So I write a
functions in receive_data. When I run backup, I found there is a weird
behavior which I don't understand.
i = recv_token(f_in, &data) will receive (i = -1, offset2 = 0) some
where in the middle of the transfer procedure. That's to say, it's going
to transfer the first data block from sender,
2007 Jun 21
1
[LLVMdev] A question about LLVM assembly
Hello, LLVM guys.
I've tried to emit the following simple function to LLVM assmbly.
---------------------------------------------------------
void test(long s, double* a) {
char h = ttt(s);
*a = s;
mmm();
}
---------------------------------------------------------
It's spat out as follows:
---------------------------------------------------------
void %test(int %s, double* %a) {
2004 Mar 25
1
factor based on pattern match ?
Hello,
is't possible to specify pattern in levels ?
> y=c("ff","f","m","mm","fm","mf","ffm","mmf","mmm","fff");
> factor(y)
[1] ff f m mm fm mf ffm mmf mmm fff
Levels: f ff fff ffm fm m mf mm mmf mmm
I want to specify levels using regexp ("f.*","m.*") or use
2001 Jul 02
1
margin.table
Hello all,
I was wondering if the following behaviour of margin.table in R 1.3.0 is normal.
> mm <- data.frame(x=c(0,0,1), y=c(1,1,0), z=c(0,1,0))
> margin.table(mm,1)
[1] 1 2 3
<0 rows> (or 0-length row.names)
while using 'apply(x,margin,sum)' I get
> apply(mm,1,sum)
1 2 3
1 2 1
which appears to be normal. Similar behaviour when margin=2.
On the other hand, the
2012 Feb 09
1
Apply pmax to dataframe with different args based on dataframe factor
# I have a dataframe in the following form:
track <- c(rep('A', 3), rep('B', 4), rep('C', 4))
value <- c(0.15, 0.25, 0.35, 0.05, 0.99, 0.32, 0.13, 0.80, 0.75, 0.60, 0.44)
df <- data.frame(track=factor(track), value=value)
#> print(df)
#track value
#1 A 0.15
#2 A 0.25
#3 A 0.35
#4 B 0.05
#5 B 0.99
#6 B 0.32
#7 B 0.13
2012 Jan 27
3
Grabbing Column and Row titles
Please use dput() to post your example matrix.
Rambler1 wrote
>
> I have run into a problem in my code. What I want to accomplish is this:
> I have a user input stock symbols into a list and from there I run the
> quantmod package to get historical data. I compute the correlation matrix
> and then turn that matrix into a simple matrix with 1's or 0's depending
> on
2011 Apr 12
2
Assign Character Value to Data Frame
Dear R Helpers,
I am trying to write a character value to the row of a data frame and am
running into a problem that I don't have when I do this for numeric
arguments. For example, the following works just fine:
> test<-data.frame(number=numeric(1))
> test[1,]<-.5
> test
number
1 0.5
But the following bombs out:
> hold<-data.frame(symbol=character(1))
>
2009 Dec 03
1
How build hist combining data
I would like to ask if there is some simple way for building a hist from the
following data.
mm <-c(2,3,0,4,5,0,2,9,0)
mmm <- matrix(mm,ncol=3, nrow=3)
x <- c(0,1.45,2.9)
in mmm there are frequencies (each column is separate histogram and each row
corresponds to value of x).
So that for the first histogram we have 2 times interval [0,1.45] and 3
times [1.45,2.90].
Thanks a lot!
2011 Mar 18
1
Replace split with regex for speed ?
Have timestamp in format HH:MM:SS.MMM.UUU and need to remove the last "." so
it is in format HH:MM:SS.MMMUUU.
What is the fastest way to do this, since it has to be repeated on millions
of rows. Should I use regex ?
Currently doing it with a string split, which is slow:
>head(ts)
[1] 09:30:00.000.245 09:30:00.000.256 09:30:00.000.633 09:30:00.001.309
09:30:00.003.635
2007 Dec 13
6
spliting strings ...
Hi everyone,
I have a vector of strings, each string made up by different number of words. I want to get a new vector which has only the first word of each string in the first vector. I came up with this:
str <- c('aaa bbb', 'cc', 'd eee aa', 'mmm o n')
str1 <- rep(1, length(str))
for (i in 1:length(str)) {
str1[i] <- strsplit(str, "
2008 Sep 23
0
答复: Re: 答复: RE: 答复:RE:
Hi all,
I have started stubdom, thank all of you. But I still met a problem, that is I found stubdom block when it run 107s. the message in "xm li" :
Domain-0 0 1719 2 r----- 171.9
hvmachine 1 256 1 -b---- 110.6
hvmachine-dm
2011 Apr 20
1
taking rows from data.frames in list to form new data.frame?
Hi,
I am having a problem figuring out how to extract a subset of rows. I
have a list with 68 similar data.frames. Each data.frame is 500 rows
by 5 columns. I want to take one row from each data.frame based upon
the data in a particular column (i.e. it matches a symbol). For
example:
> str(database)
List of 68
$ X2011.01.11:'data.frame': 500 obs. of 5 variables:
..$ Symbol
2006 Jun 05
3
How to get dd mmm and yyyy from dd-mmm-yyyy
The input values could be something like this:
01-Dec-2006
01-December-2006
1-June-2006
Is there an easy to way to get the three variables populated dd, mmm and
yyyy for any of the above input values? I tried to look at regex but couldn''
anything simple.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Nov 09
2
help to merge two data frame if name matches
Dear All,
I have two data like this :
$cat main.csv
name,id,memory,storage
mohan,1,100.20,1.10
ram,1,200,100
kumar,1,400,50
xxx,1,100,40
aaa,1,800,45
mount,1,200,80
> main <- read.csv(file='main.csv',sep=',' , header=TRUE)
> main
name id memory storage
1 mohan 1 100.2 10
2 ram 1 200.0 100
3 kumar 1 400.0 50
4 xxx 1
2013 May 16
2
A function that can modify an object? Or at least shows principles how to modify an object?
Hi, If I have an R object UUU, where the second element is U2, based on
"g" column of my.table
my.table of UUU is:
mmm ggg gindex map Info
aaa123 U1 1 1 1
aaa124 U1 1 2 1
bbb1378 U2 2 1 1
bbb8888 U2 2 2 0
bbb1389 U2 2 3
2008 May 30
0
Problems with hclust and/or cutree.
I have been attempting to do some work using hclust, and have run
into a (possibly subtle) problem.
The background is that I constructed a dissimilarity matrix ``d1''
(it involved something called the ``Jaccard similarity coefficient'';
I won't go
into the details unless requested). I then did
d2 <- as.dist(d1)
try <- hclust(d2,method=ward)