Displaying 20 results from an estimated 40000 matches similar to: "how to match a dataframe and a list"
2003 Jan 31
2
Precompiled rsync 2.5.5 for SPARC Solaris 8 64bit
Hello List,
Would anybody have a precompiled version of rsync 2.5.5 for SPARC
Solaris 8 64bit?
Thanks in advance for your help,
Loris
--
Loris Serena
Unix Systems Administrator
PaddyPower Bookmakers
Phone : +353-1-4049633 http://www.paddypowerplc.com
Mobile: +353-87-9683760 mailto:lserena@paddypower.com
Privileged, confidential and/or copyright information
2003 Aug 13
4
Question on --include-from option.
Hello list,
I am running rsync 2.5.5 on some Solaris 7 and 8 boxes.
I'd like to sync different directories from one box to another.
This is my include file:
ppukweb2% more rsync-include-file
/tmp/loris/testrsync1
/tmp/loris/testrsync2
/tmp/loris/testrsync3
This is the command I run:
rsync -azv -e ssh --stats --include-from=/tmp/rsync-include-file
ppukweb8:/tmp/loris
and this is the
2003 Sep 18
1
modified include-from file not taken into account.
Hello list,
Using rsync 2.5.6 on Solaris 7/8 boxes:
I was happily running this script via crontab:
$ more webrsync.ksh
#!/bin/ksh
# @(#) File synchronization across hosts using rsync
#Description :
#
# Created : 4 September 2003
# Author : Loris Serena
set -x
LPATH=/usr/local/bin
for i in 1 3 4 5 6 7 8
do
${LPATH}/rsync -azvv -e ${LPATH}/ssh --stats
2011 Jun 30
1
Match strings across two differently sized dataframes and copy corresponding row to dataframe
Hello-
Sorry, this is a bit of a noob question, but I can't seem to progress
it any further.
I have two dataframes which contain a series of strings which exactly
match. The problem is one has more rows than the other (more cases
have been added) and they have been sorted so that they are not in the
same order. The smaller dataframe, though, contains in another column
which has codes
2012 Oct 26
1
using match-type function to return correctly ordered data from a dataframe
I am regularly running into a problem where I can't seem to figure out how
maintain correct data order when selecting data out of a dataframe. The
below code shows an example of trying to pull data from a dataframe using
ordered zip codes. My problem is returning the pulled data in the correct
order. This is a very simple example, but it illustrates a regular problem
that I am running into.
2005 Dec 28
4
"valid users" + ldap on Solaris 10 problems
Hello,
We have just migrated a server from sun solaris 8 to sun solaris 10. In
the old machine we had a Samba 3.0.20b and in the new one, we have samba
3.0.21, both compiled like this with no problems:
env LD_FLAGS="-L/usr/local/lib" ./configure --with-ldapsam --without-pam
--with-quotas --with-ldap --with-included-popt --with-acl-support
--with-libsmbclient
We share user's
2011 Jan 27
2
help for a loop procedure
Hello everybody!
I’m trying to define the optimal number of surveys to detect the highest
number of species within a monitoring season/session.
To do this I want to run all the possible combinations between a set of
samples and to calculate the total number of species for each combination of
2, 3, 4 …n samples events, so that at the end I will be able to define which
is the lowest number of
2017 Apr 19
4
difficulty in Ubuntu 14.04 apt-getting R 3.3.2
Hi:
I have a Dockerfile, which builds an image which installed R 3.3.2 in
Ubuntu 14.04, but building using that Dockerfile seems to have stopped
working and I am unclear why.
I believe the relevant error is:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet
2010 Sep 17
1
How to compare, match two columns from diferent dataframe and assign values from one datafram to the other
Dear R experts,
I'm new to R. It seems to be a simple question but I just can't find a way to do it. Please help me.
I have two data sets x and y as shown in the following. I want to compare the first two columns in x and y, find the matched ones and assign the relative value from column 2 of y to generate the third column of x. Any help wil be appreciated. Thanks.
> x
[,1]
2012 Jul 22
2
R Beginner : Loop and adding row to dataframe
Hi everybody,
I am currently quite inexperienced with R.
I try to create a function that simply take a value in a dataframe, look for
this value in another dataframe and copy all the row that have this value
This example is a simplified version of what I am doing but it's enough to
help me
listA
Name NACE
a 1
b 2
c 3
ListB
NACE aaa bbb ccc
1 a a c
1 a a c
1 a a c
2 a a c
2 a a c
3 a a c
4 a
2009 Apr 16
2
Translate the elements of a dataframe
The second beginner question. I want to create a new dataframe, where
each element of the original dataframe is translated to 1 if it was "+",
to 0 if it was "-" to -1 otherwise. I could do with:
Lines <- "a b c d
+ - + +
+ + + -
+ 1 - '+ '
- + + +
+ N - +"
DF <-
2008 Dec 03
2
Speeding up casting a dataframe from long to wide format
Hi,
I am casting a dataframe from long to wide format. The same codes that works for a smaller dataframe would take a long time (more than two hours and still running) for a longer dataframe of 2495227 rows and ten different predictors. How to make it more efficient ?
wer <- data.frame(Name=c(1:5, 4:5), Type=c(letters[1:5], letters[4:5]), Predictor=c("A", "A",
2009 Jun 01
1
Fwd: subset dataframe/list
--- the forwarded message follows ---
-------------- next part --------------
An embedded message was scrubbed...
From: "Cecilia Carmo" <cecilia.carmo at ua.pt>
Subject: Re: [R] subset dataframe/list
Date: Mon, 01 Jun 2009 21:33:15 +0100
Size: 3657
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090601/921f7638/attachment-0002.mht>
2017 Oct 13
0
Populate one data frame with values from another dataframe for rows that match
?merge
Bert
On Oct 13, 2017 12:09 PM, "Kevin Wamae" <KWamae at kemri-wellcome.org> wrote:
> I'm trying to populate the column ?pf_mcl? in myDF1 with values from
> myDF2, where rows match based on column "studyno" but the solutions I have
> found so far don't seem to be giving me the desired output.
>
> Below is a snapshot of the data.frames.
>
2017 Oct 13
0
Populate one data frame with values from another dataframe for rows that match
Hello,
Try the following.
myDF1$studyno <- as.character(myDF1$studyno)
myDF2$studyno <- as.character(myDF2$studyno)
i1 <- which(names(myDF1) == "pf_mcl")
merge(myDF1[-i1], myDF2, by = "studyno")
Hope this helps,
Rui Barradas
Em 13-10-2017 20:09, Kevin Wamae escreveu:
> I'm trying to populate the column ?pf_mcl? in myDF1 with values from myDF2, where rows
2017 Apr 27
2
R installation problems on Linux Mint 18.1 via jessie-cran3
Okay folks, I give up and - frankly - I'm fed up! I thought I'd sorted all
this last week, but clearly not. I've tried using mirrors from here in the
UK, Ireland, France and the USA and whichever mirror I use, all I get is
this:
clive at climate ~ $ sudo apt-get update
Hit:1 http://ubuntu.mirrors.uk2.net/ubuntu xenial InRelease
Ign:2 http://dl.google.com/linux/chrome/deb stable
2013 Mar 12
2
split data into columns from dataframe
Dear r-users,
Originally my data is in notepad. I use data.frame(...) to convert the data into columns but it has no header. The data below is what I got in R. I would like to extract these data:
19710629 39.3 19701126
19720629 33.8 19720517
...
when I use data2_30min[1, cbind(1,3,5)] command the result is NULL.
Then I tried data2_30min[1], it gives me the whole set of
2010 Jun 04
1
subsetting a dataframe
Hi there,
> a<-data.frame(c(1,2,2,5,9,9),c("A","B","C","D","E","F"))
> names(a)<-c("x1","x2")
> max(table(a$x1))
[1] 2
>
The above shows the max count for x1 is 2, which is correct. But we can't tell
there are 2 groups that meet this criteria: 2,2 and 9,9.
I then want to extract the
2010 Mar 10
1
nested subset for a dataframe
Hi,
I've a beginner question. I'm trying to extract data in my dataframe
according to some nested rules.
I have something like the dataframe test.df:
test.df = data.frame(V1=c(rep("A",10), rep("B",10), rep("C",5)),
V2=c(rep(1,5), rep(2,5), rep(1,5), rep(2,5), rep(1,5)))
V1 V2
1 A 1
2 A 1
3 A 1
4 A 1
5 A 1
6 A 2
7 A 2
8 A 2
9 A
2008 Jul 08
6
Question: Beginner stuck in a R cycle
Dear All,
I have a database of 200 observations named myD.
In the dataframe there are a column named code (with codes varying from 1 to 77), a column named "prevalence" with some quantitative measurements are given and an column named Pr_mean, with no values.
I would like to set a cycle to compute the average of prevalence values for each different code and store the averages under the