Displaying 20 results from an estimated 600 matches similar to: "Re : paste first row string onto every string in column"
2009 Aug 12
4
paste first row string onto every string in column
Hi,
I am trying to edit a data frame such that the string in the first line is
appended onto the beginning of each element in the subsequent rows. The data
looks like this:
> df
V1 V2 V3 V4
1 DPA1* DPA1* DPB1* DPB1*
2 0103 0104 0401 0601
3 0103 0103 0301 0402
.
.
and what I want is this:
>dfnew
V1 V2 V3 V4
1 DPA1* DPA1* DPB1* DPB1*
2 DPA1*0103
2009 Dec 05
4
paste adjacent elements matching string
Hi all,
I would like to combine elements of a vector:
vec <- c("astring", "b", "cstring", "d", "e")
> vec
[1] "astring" "b" "cstring" "d" "e"
such that for every element that contains "string" at the end, it is
combined with the next element, so that I get this:
2009 Oct 05
3
how to have 'match' ignore no-matches
Hi all,
I think this is a very basic question, but I'm new to this so please bear
with me.
I'm using match to translate elements of a data frame using a lookup table.
If the content of a particular cell is not found in the lookup table, the
function returns NA. I'm wondering how I can just ignore those cells, and
return the original contents if no match is found in the lookup table.
2009 Mar 24
1
Missing TMP folder - Dovecot 1.2 Beta3
Recently after upgrading to 1.2 Beta3 from 1.1.13, I started to defer
mail. After looking into it deeper, it looks like Dovecot/sieve now asks
for a tmp folder in the imap (maildir) folder. Once I added the tmp
folder as the logs indicants, the mail was processed normally.
I have split my Inbox and imap store to different folder. Looking at
what it's trying to do, it looks to me that
2008 May 16
1
symbolic linking
I have a number directories under /opt on computer jack. I want some (not all)
of them to appear in /opt on computer jill.
I have the /opt directory on jack mounted on jill under /mnt/jack
If I go into the /opt directory on jill and do this:
ln -s /mnt/jack/opt/files .
I get /opt/files/files on jill. What I want is /opt/files and I can't see what
I'm doing wrong.
--
MELVILLE
2006 May 03
2
grouped output
hello,
Suppose I have a table that looks like this:
center name email
Health Jon jon@test.com
Health Bob bob@test.com
Admin Jane jan@test.com
Admin Jill jill@test.com
I would like the output to look like this:
Health
Jon jon@test.com
Bob bob@test.com
Admin
Jane jan@test.com
Jill jill@test.com
when i using cold fusion, this was easy via a tag called cfoutput.
when i was using java, this was
2013 Jan 16
1
Mapping SID>UID (and reverse)
Hi
I have a new Samba 3.6.10 server running on Solaris 10.
The server is a member of the local Active Directory (which I'll call "DOMAIN" in this email). Unix username resolution is via NIS. All domain users have NIS usernames as well.Winbind is running to allow SMBD to perform sid>uid mapping and I have setup idmap_nss. I am not using winbind in /etc/nsswitch.conf as NIS
2004 Feb 18
1
Preview Samba-3 by Example book
Hi All,
I know there has been a lot of interest in John Terpstra's upcoming book,
"Samba-3 by Example: Practical Exercises to Successful Deployment." The book
is scheduled to print end of March and can be found at local bookstores by
early April.
In the meantime, John will be giving a talk at the BYU UNIX User's Group
tomorrow, Thursday, February 19th at 8PM, where he will be
2004 Jun 03
2
Force user
Hello list
The Samba Howto Collection repeatedly asserts that by setting the sticky
bit on directories any files created in those directories will be created
with the owner set to that of the directory (for example, see
http://samba.mirror.ac.uk/samba/docs/man/howto/AccessControls.html#id2541262).
This has never worked for me. Files created inherit the group of the
directory, but not the owner.
2007 Jan 26
0
FW: reducing RODBC odbcQuery memory use?
New to R, sorry if one or either of these is an inappropriate list for a
question like this below; please let me know if this is a general help
question.
Jill Willie
Open Seas
Safeco Insurance
jilwil at safeco.com
-----Original Message-----
From: WILLIE, JILL
Sent: Thursday, January 25, 2007 2:27 PM
To: r-help at stat.math.ethz.ch
Subject: reducing RODBC odbcQuery memory use?
Basic
2008 Mar 03
0
reducing RODBC odbcQuery memory use?
1. Can I avoid having RODBC use so much memory (35 times the data size or more) making a data.frame & then .rda file via. sqlQuery/save?
2. If not, is there some more appropriate way from w/in R to pull large data sets (2-5GB) into .rda files from sql?
[R] reducing RODBC odbcQuery memory use?
From: WILLIE, JILL <JILWIL_at_SAFECO.com>
Date: Thu 25 Jan 2007 - 22:27:02 GMT
2004 Mar 03
0
Samba-3 by Example book availability
Hi All,
I appreciate those who have written requesting clarification as to when John
Terpstra's latest book, "Samba-3 By Example: Practical Exercises to
Successful Deployment" will be available. In answer to your queries, it's on
schedule to be available in retail outlets (your local technical bookstore,
Barnes & Noble, Borders, Amazon) by the first week of April. Or, it
2007 Jan 24
0
JOB: LARS internships
Insightful is seeking a pre-doctoral student and an undergraduate student for
two internship positions. The primary responsibilities are to assist in the
development of software for high-dimensional regression and machine learning
applications using least angle regression (LARS).
The pre-doctoral candidate should have a background and interest in
statistical methodology, algorithms, data
2007 Apr 27
1
[LLVMdev] question about PRE
Hi, I am Jill, I'm new here and new with llvm. I find that its old
PRE.cpp has been removed from llvm-1.9 and the project homepage says
that a GVN-PRE pass is being implemented.
Since many PRE algorithms have been suggested, and I think PRE further
differs according to the specific defination of equivalence, whether
it is an "optimal" algorithm and optimal at what metric, etc, can I
2004 Apr 06
1
"Samba-3 by Example" now available
Hi All,
Thanks to everyone who has written wanting more information on when "Samba-3
by Example" by John Terpstra will be available. The good news is that it is
available right now through your local bookstore or online sites like
Amazon.com.
There are already a couple of very positive comments posted to Amazon. These
indicate that if you want to get Samba-3 up and running, you'll
2003 Nov 14
1
spatial modeling
I am new to R and have a question about spatial econometrics. I have
noticed that you can easily test for spatial autocorrelation with the
spdep package, but was wondering if any code has been written to correct
for spatial autocorrelation? Or if there is any literature on this?
Thanks. -Jill
***************************************************
Jill L. Caviglia-Harris, Ph.D.
Assistant
2003 Nov 16
3
an object of class lm returned by lm?
Can someone tell me what an object of class lm returned by lm means? I
assumed it mean the regression model - but I'm not sure how to enter
this in. I have tried
y~a+b
but this is not working. I have also tried saving the regression
results and entering these, but again this is incorrect.
This language is from the following:
lm.LMtests(model, listw, zero.policy=FALSE,
2003 Jun 27
2
No dial Tone but its registering from remote site! Anyone with idea?
Hello Everyone -
Well, I think I'm getting closer with the asterisk connection. This is my
setup and I keep getting this error below in ,my /var/log/asterisk/messages
file. I have opened 5060 port on the firewall box.
I would this is Warning which I can ignore! But I see the connetcion coming
but NO DIAL TONE on mt ata186 box sitting in my 192.168.200.x site!
I'm using ATA186(cisco
2009 Nov 12
2
package "tm" fails to remove "the" with remove stopwords
I am using code that previously worked to remove stopwords using package
"tm". Even manually adding "the" to the list does not work to remove "the".
This package has undergone extensive redevelopment with changes to the
function syntax, so perhaps I am just missing something.
Please see my simple example, output, and sessionInfo() below.
Thanks!
Mark
require(tm)
2018 Mar 29
0
Regression Modeling Strategies and the rms Package 4-Day Short Course May 2018
*RMS Short Course 2018*
Frank E. Harrell, Jr., Ph.D., Professor
Department of Biostatistics, Vanderbilt University School of Medicine
fharrell.com @f2harrell
*May 15-18, 2018* With Optional R Workshop May 14
9:00am - 4:00pm
Alumni Hall
Vanderbilt University
Nashville Tennessee USA
See http://biostat.mc.vanderbilt.edu/RMSShortCourse2018 for details.
The course includes statistical