Displaying 20 results from an estimated 509 matches for "mmm".
Did you mean:
mm
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
ISO-8859-1
So, I tried this variant:
localedef --no-archive -f /usr/share/i18n/charmaps/UTF-8 -i...
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: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060605/144caa21/attachment.html
2006 Apr 08
5
rails.el on Ubuntu
Anybody who have a working .emacs (++) for Ubuntu (or Debian) with the
newest emacs-rails (v.0.3). I have especially trouble with getting
HTML Mode Snippets to work.
- Henrik
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, " ")[[i]][1]
}
str1
'aaa' 'cc' 'd' 'mmm'
Now, is there any way to do this simpler?
Thanks,
Monica
____________________________________________...
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)
mmm<-scrape(url="http://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0000320193&owner=exclude&count=40")
str(mmm)
I want to get the number 0000320193 that is between the CIK= and the &. I
have tried
g <- grep( "CIK=|&", mmm )
and
temp<-grep(...
2006 Mar 14
3
rails on emacs - need a working .emacs sample
I would like to hear from some one who has ecb, multiple modes with
ruby mode + html mode, rails mode all working together and playing
well.
I had ecb working with Ruby syntax highlighting. That was a no-brainer
since I just had to apt-get them on my Debian Sarge box.
It got a bit more comlex after I got most of the .el files in the articles
http://www.emacswiki.org/cgi-bin/emacs/RubyOnRails
2006 Apr 19
4
emacs rails 0.39
Testing version of Emacs Rails (http://rubyforge.org/projects/emacs-rails/)
was released. If you have some suggestion or you find some bugs please
inform us.
Features:
* Management of WEBrick/Mongrel
* Display color log file
* Toggle Switch between Action/View and other file (tests, helpers)
automaticly or with menu
* Switching to file from current line f.e. from redirect_to :controller =>
2009 Jun 10
1
Weird behavior in receive_data function
...> memset(buffer,0, 256);
> sprintf(buffer,"media-test-3MB-file/origin/test/test%02d.dat",l);
> printf("writting %s \n",buffer);
> fd = open(buffer, O_RDWR|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR);
> for(lll = 0; lll < nSize; lll++)
> {
> for(mmm = 0; mmm < nAdjust; mmm++)
> {
> for(nnn = 0; nnn < nBlock; nnn++)
> {
> write_fhead_char(fd, &ch, 1);
> }
> ch++;
> }
> }
> }
> printf("origin files done!\n");
>
File 2:
This is the second time backu...
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) {
entry:
%tmp = cast int %s to uint ; <uint> [#uses=1]
%tmp = tail call sbyte %tt...
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 some
another method. So, I could have 2 levels, say, F and M, where
F means everything beginni...
2011 Apr 12
2
Assign Character Value to Data Frame
...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))
> hold[1,]<-"NYSE:MMM"
Warning message:
In `[<-.factor`(`*tmp*`, iseq, value = "NYSE:MMM") :
invalid factor level, NAs generated
Could someone please guide me as to what adjustment I need to make to
assign this character value to this row of the data frame? Your help
would be very much appreciated....
2007 Oct 03
4
Win2003 ADS, wbinfo -u and -g almost works
I've been chasing this problem for several days. I have taken the
3.0.26a Fedora 7 SRPM from the Samba FTP site and rebuilt it on RedHat
EL5 and installed it. It runs, but it has exactly the same problem as
the original 3.0.23c version.
I can join the domain and 'wbinfo -t' returns OK.
However, 'wbinfo -g' returns only two groups then gives a failure
message and
2003 May 19
0
Samba 3.24 + LDAP
Please help me
im install samba 3.24 with ldap support:
smbclient write error:
[root@bene bin]# ./smbclient -L mmm -U murphy
doing parameter ldap ssl = no
doing parameter workgroup = murphy
doing parameter netbios name = mmm
handle_netbios_name: set global_myname to: MMM
doing parameter comment = Linux RedHat Samba Server
doing parameter security = user
doing parameter null passwords = Yes
doing parameter encry...
2010 May 07
2
Problems with the IMAP proxy after upgrading from dovecot 1.1.16 to 1.211
...NULL as password, destuser,
host, 'zzz' as port, 'Y' as proxy, '0' as proxy_timeout, 'Y' as
nopassword, 'Y' as nodelay from accounts where user ='uid';
May 7 14:48:47 ttt dovecot: auth(default): client out:
OK^I1^Iuser=uid^Idestuser=luid^Ihost=mmm.mmm.mmm.mmm^Iport=zzz^Iproxy^Iproxy_timeout=0^Ipass=<hidden>
May 7 14:48:47 ttt dovecot: imap-login: proxy(uid): started proxying
to mmm.mmm.mmm.mmm:zzz/luid: user=<uid>, method=PLAIN,
rip=yyy.yyy.yyy.yyy, lip=xxx.xxx.xxx.xxx, TLS
May 7 14:48:48 ttt dovecot: imap-login: proxy(uid)...
2007 Feb 23
3
mixture of 2 normals - starting values
...e an easy access to this
book. Could anybody point me to a description of the method that I could
use?
Any help will be appreciated. Thanks in advance,
Andy
__________________________________
Andy Jaworski
518-1-01
Process Laboratory
3M Corporate Research Laboratory
-----
E-mail: apjaworski at mmm.com
Tel: (651) 733-6092
Fax: (651) 736-3122
2001 Jul 02
1
margin.table
...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 following seems to be fine.
> mmm <- as.matrix(mm)
> margin.table(mmm,1)
1 2 3
1 2 1
> margin.table(mmm,2)
x y z
1 2 1
I am using
> version
_
platform i386-pc-mingw32
arch x86
os Win32
system x86, Win32
status
major 1...
2012 Feb 09
1
Apply pmax to dataframe with different args based on dataframe factor
...eshold['A'] <- 0.2
threshold['B'] <- 0.4
threshold['C'] <- 0.5
for (track in levels(df$track)){
df[df$track==track,]$outcome <- pmax(df[df$track==track,]$outcome,
threshold[track])
}
# Warning messages:
# 1: In is.na(mmm) : is.na() applied to non-(list or vector) of type 'NULL'
# 2: In is.na(mmm) : is.na() applied to non-(list or vector) of type 'NULL'
# 3: In is.na(mmm) : is.na() applied to non-(list or vector) of type 'NULL'
#******************
# Desired Results:
#> print(df)
#tra...
2003 Dec 04
4
bug in as.POSIXct ?
...e in version 1.8.1 patched 11-24 on a Linux
machine, i.e. the above difference is 1second. However, the swicth between
CDT and CSD also accurs at 1:00.
Andy
__________________________________
Andy Jaworski
518-1-01
Process Laboratory
3M Corporate Research Laboratory
-----
E-mail: apjaworski at mmm.com
Tel: (651) 733-6092
Fax: (651) 736-3122
2012 Jan 27
3
Grabbing Column and Row titles
...t matrix into a simple matrix with 1's or 0's depending
> on how strong the correlation is. From here I would like to go into the
> matrix and take all the 1's and match them with their row/column titles.
> So for each 1 I have two stock symblos. For example:
> MMM ACE ABT ANF HD PEP K GOOG BIDU JNJ
> MMM 0 1 0 0 0 1 0 0 0
> 0
> ACE 1 0 0 0 0 0 0 0
> 0 1
> ABT 0 0 0 0 0 1 0 0...
2012 Aug 04
3
Problem accessing Samba Share from Windows
Hello everybody,
I am using Ubuntu 12.04LTS server running samba server on it. I have
problem accessing the shares from Windows XP with \\servername\share,
but no problem accessing \\ip\share. How can i correct this problem?. I
have tried every single example found on google with no good results.
Any help will be appreciated.
Sincerely,
Carlos R. Pena
My smb.conf
[global]
workgroup =