similar to: Speed Optimization: Faster Way of Accessing data.frame in a Loop?

Displaying 20 results from an estimated 20000 matches similar to: "Speed Optimization: Faster Way of Accessing data.frame in a Loop?"

2003 Dec 17
2
Easiest way to get the mean of a row of a data.frame?
Dear r-helpers! I am kind of new to R. I would like to calculate the mean of the numbers of this expression: data(USArrests) USArrests[row.names(M) == "Alabama",] class() tells me it's a ``data.frame,'' what I actually desire is to get all numbers of a row as a vector or a list to let mean() calculate the mean of the whole row. (I know this doesn't make sense
2014 Dec 02
16
[Bug 86935] New: unknown kepler chipset
https://bugs.freedesktop.org/show_bug.cgi?id=86935 Bug ID: 86935 Summary: unknown kepler chipset Product: xorg Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Driver/nouveau Assignee: nouveau at lists.freedesktop.org
2004 Aug 03
1
Using MASSv3's example from 8.7 in R?
Dear list! I am interested in learning about MLE and I wonder whether it is possible to use the examples for maximum likelihood estimation given in 8.7 in MASSv3 with R? AFAIU R does not have a direct replacement for S-PLUS's ms() which the examples use for the fitting, but optim() may be of help for me. However, I am not sure how I can convert the use of ms() using optim()--is there an
2009 Mar 11
3
2.6.28.7 domU oops: invalid opcode 0000
Hi, below is the output of the kernel just before it goes down and crashes. I have to use "xm destroy" to kill it. I have tried the enable/disable the "Optimize for Size" setting in the kernel. I hopes that it''s some kind of compiler bug because of the "invalid opcode" thing. But actually I don''t a clue what this might be caused by. Do you
2005 Feb 27
5
Finding Equal Elements in Vectors
Hello! I have two vectors and want to know how many of their elements are equal - what's the best way to do this in R? Best regards, Sven
2018 Feb 21
2
how to build wmic
Andrew, Thanks very much. After sending my question, I discovered that the DCOM area was disabled in the build as of 8 years ago, so it became clear that this is not currently supported in any way. Steve Koehler On Wed, Feb 21, 2018 at 11:49 AM, Andrew Bartlett <abartlet at samba.org> wrote: > On Wed, 2018-02-21 at 11:16 -0600, Stephen Koehler via samba wrote: > > I see that
2006 Jun 20
4
Prototype $A not defined
Hello, I apologize for posting prototype related email to this list, yet I have not seen any reference to email or list on the prototype web site and I know the author of that library is part of the rails development team so I am trying to reach him. Basically I have installed "FireBug" which is a javascript/html/css/dom debugger for firefox and since I plugged prototype.js and
2018 Feb 21
2
how to build wmic
I see that the Samba sources include the WMI client (wmic), but I have not succeeded in getting the configure/make to build it. Does anyone know if this feature is supported in current (4.7.4) Samba, and, if so, how to build it? Steve Koehler
2003 Feb 26
1
strange log entries
hello, we use tinc for some permanent vpn tunnels with both sides are dynamic. in the last days we got following log entries on both ends: Receiving packet failed: Resource temporarily unavailable Receiving packet failed: Resource temporarily unavailable Receiving packet failed: Resource temporarily unavailable Receiving packet failed: Resource temporarily unavailable Rereading configuration
2003 Dec 30
2
split.screen problem with jpeg/png device (PR#6223)
Full_Name: Steve Koehler Version: 1.8.1 OS: Solaris and Windows Submission from: (NULL) (192.55.214.50) In the following program, if output is sent to X11, you get all four graphs, but if output is sent to .jpeg, you only get the C and D graphs. A workaround is to do all the screen splitting at the top, before using any screens. This also fails with .png output. jpeg ("test.jpeg")
2008 Apr 01
2
Unknown internal error
Hello, I just found this message in our dovecot logfiles: "Disconnected: BUG: Unknown internal error" Should I worry about this ? There are no complaints yet (although it is not limited to one user). It seems to occur with different clients (Apple/MacOS mail, Windows/Thunderbird, Pine). We're running dovecot 1.0.10 on Solaris 10 with mboxes (NFS) and local index storage. There are
2003 Jan 31
1
svm regression in R
Hallo, I have a question concerning SVM regression in R. I intend to use SVMs for feature selection (and knowledge discovery). For this purpose I will need to extract the weights that are associated with my features. I understand from a previous thread on SVM classification, that predictive models can be derived from SVs, coefficiants and rhos, but it is unclear for me how to transfer this
2002 May 28
4
id & filter problems in data.frame
Hi, a questionaire data-set with more than one row for one Person make me problems. (1) i want create a function which count the used row for the relevant id ! example: id c.row 1 1 1 2 1 3 2 1 2 2 4 1 4 2 4 3 4 4 4 5 (2) i have got a problem to filter & analyse , because the filter criteria is unlucky a row above or under the ratings which i would like to
2003 Jul 24
3
data.frame subsetting
Hi, is there advice how to subset a data.frame, where until R version 1.7.0 it was possible to write > data[["subset"]] which meant the same as > data$subset (data is a data.frame). From 1.7.1 on this does not seem to work longer. Could there be a bug in downwards compatibility? sincerely yours Dirk
2013 Jan 05
38
[Bug 59057] New: Black screen after resume from s2ram
https://bugs.freedesktop.org/show_bug.cgi?id=59057 Priority: medium Bug ID: 59057 Assignee: nouveau at lists.freedesktop.org Summary: Black screen after resume from s2ram QA Contact: xorg-team at lists.x.org Severity: normal Classification: Unclassified OS: Linux (All) Reporter: pontus.fuchs at gmail.com
2016 Apr 10
0
what is the faster way to search for a pattern in a few million entries data frame ?
On 10/04/2016 2:03 PM, Fabien Tarrade wrote: > Hi there, > > I have a data frame DF with 40 millions strings and their frequency. I > am searching for strings with a given pattern and I am trying to speed > up this part of my code. I try many options but so far I am not > satisfied. I tried: > - grepl and subset are equivalent in term of processing time >
2015 Jan 29
0
Indexing Mail faster
Hi Micheal, Here is how it should look:- ~# telnet localhost imap Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. . login user at domain.net password . OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS
2016 Apr 10
0
what is the faster way to search for a pattern in a few million entries data frame ?
Hi Fabien, I was going to send this last night, but I thought it was too simple. Runs in about one millisecond. df<-data.frame(freq=runif(1000), strings=apply(matrix(sample(LETTERS,10000,TRUE),ncol=10), 1,paste,collapse="")) match.ind<-grep("DF",df$strings) match.ind [1] 2 11 91 133 169 444 547 605 734 943 Jim On Mon, Apr 11, 2016 at 5:27 AM, Fabien Tarrade
2016 Apr 10
0
what is the faster way to search for a pattern in a few million entries data frame ?
On 04/10/2016 03:27 PM, Fabien Tarrade wrote: > Hi Duncan, >> Didn't you post the same question yesterday? Perhaps nobody answered >> because your question is unanswerable. > sorry, I got a email that my message was waiting for approval and when I > look at the forum I didn't see my message and this is why I sent it > again and this time I did check that the
2016 Apr 10
2
what is the faster way to search for a pattern in a few million entries data frame ?
Hi there, I have a data frame DF with 40 millions strings and their frequency. I am searching for strings with a given pattern and I am trying to speed up this part of my code. I try many options but so far I am not satisfied. I tried: - grepl and subset are equivalent in term of processing time grepl(paste0("^",pattern),df$Strings) subset(df,