Displaying 20 results from an estimated 50000 matches similar to: "drop"
2009 Apr 08
1
Student
Hi,
I have problem. In the function below (test and test2) i want the function
test not to print the variable data but i want the function test2 to use the
variable test$data.
This is the creation of the variable data:
> matrice=c(1:10)
> matrice=matrix(matrice,nrow=5,ncol=2)
This is the function test:
> test=function(data){
+ return(list(x=5,data=data))
+ }
This is the function
2010 Jun 03
4
data-management: Rowwise NA
Dear RĀ“ers..
In this mock dataset how can I generate a logical variable based on whether just tes or tes3 are NA in each row??
test<-sample(c("A",NA,"B"),100,replace=T)
test2<-sample(c("A",NA,"B"),100,replace=T)
test3<-sample(c("A",NA,"B"),100,replace=T)
tes<-cbind(test,test2,test3)
2013 Aug 01
1
trouble with setting individual quota values for multiple namespaces
Hello all
please apologize that I repost this problem again. I tried to get some
help several times on the list but did not find/get a solution.
I am still struggling to setup different quotas for namespaces.
In addition to the default "INBOX" namespace I have created a namespace
called "MailArchive" which should have its own quota value of 5G per user.
At first I
2011 Dec 05
1
Subsetting a data frame
Hi R users,
I really need help with subsetting data frames:
I have a large database of medical records and I want to be able to match
patterns from a list of search terms .
I've used this simplified data frame in a previous example:
db <- structure(list(ind = c("ind1", "ind2", "ind3", "ind4"), test1 = c(1,
2, 1.3, 3), test2 = c(56L, 27L, 58L,
2016 Aug 30
1
cat(..., append=TRUE) on sftp share
Dear R-SIG-Debian Team,
r-devel sent me to you.
Situation:
Ubuntu 16.04, R-3.3.1, and a file in a folder mounted with sftp via
gnome virtual file system.
for(i in 1:10){cat(i,file =
"/run/user/1001/gvfs/sftp:host=server/path on server/test2",append = TRUE)}
gives a file that reads |10| and not |12345678910|
Further checking:
* A mapped network drive on Windows 7 and
2015 Nov 18
1
[Mesa-dev] llvm TGSI backend (WIP) questions
Hi,
On 13-11-15 19:51, Tom Stellard wrote:
> On Fri, Nov 13, 2015 at 02:46:52PM +0100, Hans de Goede wrote:
>> Hi All,
>>
>> So as discussed I've started working on a TGSI backend for
>> llvm to use as a way to get compute going on nouveau (and other gpu-s).
>>
>> I'm still learning all the ins and outs of llvm so I do not have
>> much to show
2016 Nov 02
2
doveadm index: can't index a different namespace?
It's ALWAYS failed on the other NAMESPACE.
Some of the logging looks weird as well for the 2nd namespace:
Nov 2 12:32:03 thebighonker dovecot: imap-login: Login: user=<mrm>,
method=PLAIN, rip=207.231.91.36, lip=192.147.25.65, mpid=76712, TLS,
session=<HC+00VRAWczP51sk>
Nov 2 12:32:03 thebighonker dovecot: imap(mrm): Debug: Loading modules
from directory: /usr/local/lib/dovecot
2013 Jan 14
1
I'm trying to parse 1 column of a dataframe into 3 seperate columns
I have a factor called 'utm_medium' in the dataframe 'data'
> str(data$utm_medium)
Factor w/ 396925 levels
"","affiliateID=&sessionID=0000821850667323ec6ae6cffd28f380&etag=",..:
366183 355880 357141 20908 357513 365348 368088 360827 31704 364767 ...
The data in this factor is delimited with '&'. I basically want the
affiliateID,
2005 Aug 05
1
S4 generating function
Can someone explain what the problem is when I use the
generating function? And how to get debug() to stop in
the Superclass initialize method?
---- source -----
setClass("Superclass",
representation(id = "character"),
contains = "VIRTUAL")
setMethod("initialize",
signature(.Object = "Superclass"),
2012 Nov 20
1
[LLVMdev] Removing unused global constant
Hi
I create a simple bytecode file with clang -c -emit-llvm test.c -o test.bc
#include <stdio.h>
void hello(){
printf("hello\n");
}
void hello2(){
printf("hello2\n");
}
Then i want to keep only the hello function so i do :
llvm-extract -func=hello -o test2.bc test.bc
but the string constants are removed and "@.str" is marked as external
@str
2009 May 07
1
paste with apply, spaces and NA
Hello everyone,
I've come up with a problem with using paste() inside apply() that I
can't seem to solve.
Briefly, if I'm using paste to collapse the rows of a data frame, AND
the data frame
contains strings with spaces, AND there are NA values in subsequent
columns, then
paste() introduces spaces. This only happens with that particular combination of
data values and commands. I have
2016 Nov 02
5
doveadm index: can't index a different namespace?
nope -- No difference
thebighonker.lerctr.org ~ $ ls -l ~/MAILARCHIVE/
total 176
drwx------ 6 ler ler 7 May 25 2014 2004
drwx------ 8 ler ler 8 Mar 3 2013 2005
drwx------ 11 ler ler 11 Mar 3 2013 2006
drwx------ 11 ler ler 11 May 3 2013 2007
drwx------ 14 ler ler 14 Mar 3 2013 2008
drwx------ 14 ler ler 14 Mar 3 2013 2009
drwx------ 14 ler ler 14 Mar 3 2013
2016 Nov 02
2
doveadm index: can't index a different namespace?
one other thing, fts_autoindex does NOT appear to be working on the
#ARCHIVE/ NAMESPACE.
I wonder if these are all interrelated?
On Wed, Nov 2, 2016 at 1:10 PM, Larry Rosenman <larryrtx at gmail.com> wrote:
> FWIW it DOES work on my default NAMESPACE, just not the #ARCHIVE/
> NAMESPACE.
>
>
> On Wed, Nov 2, 2016 at 12:32 PM, Larry Rosenman <larryrtx at gmail.com>
>
2011 Oct 05
2
Subsetting a data frame with multiple values and exclusions.
Hi all,
I realise that the convention is to provide a working example of my problem
but the data are of a sensitive nature so I'm not able to do that in this
case.
I need to query a database for multiple search terms:
db <- structure(list(ind = c("ind1", "ind2", "ind3", "ind4"), test1 = c(1,
2, 1.3, 3), test2 = c(56L, 27L, 58L, 2L), test3 =
2011 Mar 05
1
generating factors from the edit function
Dear R People:
If I use the fix or edit function for a new data frame, I would like
to have my character data as factors.
Is there a "built in" way to do this, please?
Here is what I did:
> test2.df <- data.frame()
> test2.df <- fix(test2.df,factor.mode="character")
> str(test2.df)
'data.frame': 5 obs. of 2 variables:
$ var1: num 1 2 3 4 5
$
2016 Nov 02
2
doveadm index: can't index a different namespace?
clamav-rules is NOT a directory, nor are any of the others:
thebighonker.lerctr.org ~/MAILARCHIVE $ cd 2016/10
thebighonker.lerctr.org ~/MAILARCHIVE/2016/10 $ ls -l
total 72106
-rw-r--r-- 1 ler ler 440461 Nov 1 00:05 Amplify_Mail
-rw-r--r-- 1 ler ler 104102478 Nov 1 14:53 INBOX
drwxr-xr-x 3 ler ler 4 Nov 1 00:05 SA
-rw-r--r-- 1 ler ler 21083767 Nov 1 00:05 SENT
2016 Nov 02
2
doveadm index: can't index a different namespace?
thebighonker.lerctr.org ~ $ doveadm mailbox status -u ler at lerctr.org vsize
\#ARCHIVE/2016/10/clamav-rules
#ARCHIVE/2016/10/clamav-rules vsize=3840752
thebighonker.lerctr.org ~ $
On Wed, Nov 2, 2016 at 12:22 PM, Timo Sirainen <tss at iki.fi> wrote:
> On 02 Nov 2016, at 19:19, Larry Rosenman <larryrtx at gmail.com> wrote:
> >
> > clamav-rules is NOT a directory, nor
2007 May 16
2
substitute "x" for "pattern" in a list, while preservign list "structure". lapply, gsub, list...?
I am experimenting with some of the common r functions.
I had a question re:using "gsub" (or some similar functions) on the contents of a list.
I want to design a function that looks at "everything" contained din a list, and anytime it finds the text string "pattern" replace it with "x". I also wish to preserve the "structure" of the original
2009 Nov 04
2
[LLVMdev] BasicAliasAnalysis: constant does not alias with noalias parameter
Here is another change I'd like to suggest to the BasicAliasAnalysis.
LLVM fails to remove the dead store in the following code:
%t = type { i32 }
define void @f(%t* noalias nocapture %stuff ) {
%p = getelementptr inbounds %t* %stuff, i32 0, i32 0
store i32 1, i32* %p; <-- This store is dead
%x = load i32* inttoptr (i32 12345 to i32*)
store i32 %x, i32* %p
ret
2012 Jun 01
1
Drop values of one dataframe based on the value of another
Hello all,
Let me first say that this isn't a question about outliers. I am using
the outlier function from the outliers package but I am using it only
because it is a convenient wrapper to determine values that have the
largest difference between itself and the sample mean. Where I am
running into problems is that I am several groups where I want to
calculate the "outlier" within