Displaying 20 results from an estimated 300 matches similar to: "Count cases in a list"
2010 May 08
5
contar casos en un vector
Buenas noches, tengo dos vectores con nombres. El primero es largo,
nombreL, y el segundo corto, nombreC. Quiero contar cuantas veces
aparece alguno de los nombres del vector corto en el largo.
Lo que estoy haciendo es lo siguiente:
cuenta <- 0
topL <- length(nombreL)
topC <- length(nombreC)
for (i in 1:topL) {
for (j in 1:topC) {
2010 May 10
1
Interfaz con R
Estimados amigos, en el siguiente link dejo una direccion para la descarga
de Runner una interfaz gratuita para R (sólo para windows xp o posterior )
que puede ser últil para alguno de Uds.
https://sites.google.com/site/runnerstatisticalsoftware/download
Posiblemente mirar el manual podria ayudarlos a evaluar si esta interfaz
puede ayudarlos en el trabajo diario.
Cualquier sugerencia será
2010 May 16
1
improvement
Hi, if i just want a vector filled with names which has length(index) > 0.
For example if
nombreC <- c("Juan", "Carlos", "Ana", "Mar?a")
nombreL <- c("Juan Campo", "Carlos Gallardo", "Ana Iglesias", "Mar?a
Bacaldi", "Juan Grondona", "Dario Grandineti", "Jaime Acosta",
2010 Jun 18
5
convertir archivo texto en data frame
Tengo un archivo de texto donde cada línea es de la siguiente forma:
"aa-mm-dd hh:mm:ss Nombre Apellido"
¿Hay alguna forma de usar read.table o algo similar para obtener
directamente un data frame que tenga dos columnas donde una tenga la
fecha y quede de tipo PosiX y la otra character con el nombre
completo?
Gracias,
Sebastián.
2004 Nov 29
1
SAMBA / LDAP / Domain Password change problem
I have our Samba server mostly working, however it will not allow me to
change the password on the client desktop or via USRMGR. The error
message we are getting is "the system cannot change your password now
because the domain TOPC is not available". USRMGR reports "Could no find
domain controller for this domain"
Everything is authenticating properly. Any ideas?
I'm
2010 Jan 25
1
Using Protect filter on a merge rules file
Hy, I've a strange problem using rsync version
3.0.6 protocol version 30:
My /etc/rsyncd.conf:
---------------------------------------------------
...
[bianco-home]
read only = no
filter = . /etc/rsync/filter/bianco-home
path=/home/bianco/
list = yes
use chroot = no
auth users = bianco
uid= bianco
secrets file = /etc/rsync/rsyncd.secrets
...
2005 Jul 28
2
Win95 on a Samba3+LDAP domain on a Debian box
Hi folks,
I have successfuly migrated a WinNT 4.0 Domain to a Debian server with
Samba3+Ldap following the Samba-3 by Example guide from John H. Terpstra (an
impressive good guide) and The Linux Samba-OpenLADP Howto from Jerome Tournier &
Olivier Lemaire.
The domain holds about 800 accounts. There are WinNT servers, WinXP and Win95
clients belonging to it.
WinNT servers and WinXP clients
2006 Jan 26
3
userPassword in a LDAP database of a Samba3 domain
Hi folks,
I have been able to migrate a WinNT4 domain to a Samba3 PDC domain using
openldap as a backend and smbldap-tools to vampire the WinNT4 domain (pretty
much following Samba3 by Example and documentation in smbldap project by IDEALX).
Nevertheless, all 600 users migraged from the WinNT4 domain have attributes like
these on the ldap database:
userPassword: {crypt}x
2007 Oct 03
3
Pagination problem with acts_as_ferret
Hi,
am using this wonderful plugin acts_as_ferret and according to the
tutorial at http://railsenvy.com/2007/2/19/acts-as- ? rial#basic
I worked it out except the pagination feature.
If I have 12 records and I give limit to 10, its correctly displaying 10
records in the first page and is giving the link to the second page too.
But when I go to the next page I find the same 10 records instead of
2003 Dec 04
4
bug in as.POSIXct ?
I think that there is a bug in the as.POSIXct function on Windows.
Here is what I get on Win2000, Pentium III machine in R 1.8.1.
> dd1 <- ISOdatetime(2003, 10, 26, 0, 59, 59)
> dd2 <- ISOdatetime(2003, 10, 26, 1, 0, 0)
> dd2 - dd1
Time difference of 1.000278 hours
Now, the 26th of October was the day that change to the standard time
occurred, so I suspect that this has
2008 Mar 01
2
No route matches with {:method=>:get} Error in AWDWR Book
Hi I''m working on the AWDWR book and I''m on the admin section of the
book. I have rails 2 installed on my machine and I have ran into an
error when I created my controller login but when I go to
http://localhost:3000/login/index I get this error:
No route matches "/login/index" with {:method=>:get}
I haven''t touched the routes.rb file and when I generated
2003 Nov 20
4
Tuning the Linux kernel?
Hi all-
It's often mentioned here that recompiling the Linux kernel may improve the
performance of asterisk.
My question is: Does re-compiling the kernel have any effect if there are
no changes to the configuration?
What parameters will typically improve performance?
Thanks for any insight!
Scott
Scott M. Stingel
Emerging Voice Technology Inc.
Palo Alto, California and London,
2006 Sep 15
7
is there a multiline ruby "comment" approach? like java's /* code */ ???
Hi,
Just wondering if there is a way to easy comment out a block of ruby code
without putting the "#" characters on each line?
Is there an equivalent to java''s /* */, for example:
/* askdf
asd
fasdf
as
dfasd
fa
*/
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2005 Feb 03
6
Newbie: Running an application within wine (installed fine)
I had successfully installed BrilliantPhoto with wine, so that I have
the directory:
file:/home/dotancohen/.wine/c/Program Files/Brilliant Labs/BrilliantPhoto
but when I run the command
wine /home/dotancohen/.wine/c/Program\ Files/Brilliant\
Labs/BrilliantPhoto/BrilliantPhoto.exe
it justs sits there with no output until I ctrl-Z it. Silly me, I even
tried to click the icon in Konqueror to start
2016 Jul 05
2
Adding a NOP bitcode instruction
Hi,
I'm trying to follow the instructions on how to add a new bitcode
instruction:
http://llvm.org/docs/ExtendingLLVM.html
This is my first foray into the guts of LLVM and I'm not sure I'm doing
things the right way. I came up with a patch that adds a NOP (no
operation) that will work with llvm-as, llvm-dis, and lli. It would be
nice if one of the experts could take a look and give
2006 Feb 28
0
Call me ASAP
2020 Nov 05
1
Named class vector
The source to the noquote() function looks like this:
noquote <- function(obj, right = FALSE) {
## constructor for a useful "minor" class
if(!inherits(obj,"noquote"))
class(obj) <- c(attr(obj, "class"),
if(right) c(right = "noquote") else "noquote")
obj
}
Notice what happens with right =
1997 Aug 20
1
R-alpha: R-0.50-a3(+) Method despatching bug ?
It is very wierd... Can some of you confirm the following behavior ?
It is a new bug (feature ?) which was not yet in 0.49 ...
noquote <- function(obj) {
## constructor for a useful "minor" class
if(!inherits(obj,"noquote")) class(obj) <- c(class(obj),"noquote")
obj
}
"[.noquote" <- function (x, subs) structure(unclass(x)[subs], class =
2009 Dec 09
4
binary string conversion to a vector (PR#14120)
Full_Name: Franc Brglez
Version: R 2.9.1 GUI 1.28 Tiger build 32-bit (5444)
OS: MacOSX -- 10.6.2
Submission from: (NULL) (24.148.163.114)
I am demonstrating what may be a bug or my lack of experience. Please review as
it would help to hear from someone.
MANY THANKS -- Franc Brglez
The function "binS2binV" returns what I consider a wrong value -- see the
terminal output
binS2binV =
2009 Apr 07
3
write text file as output without quotes
Hi R,
When I use the below to write the text file
try=data.frame(rep("a",5), rep("b",5))
write.table(try,"z:\\try.txt",row.names=F,col.names=F,sep="\t")
the output contains two columns with quotes! Is there a way to write
without quotes?
I tried
try[,1]=noquote(try[,1])
try[,2]=noquote(try[,2])
Thank you,
Regards,
Ravi Shankar