Displaying 20 results from an estimated 30000 matches similar to: "Understanding Sockets"
2006 Mar 20
2
Noob Understanding Collections
Okay, I''ve had some success rendering partials and felt I''d try
something more interesting with collections.
I have a query run by my model, which works. When I run it from the
console I can see all of the data I want. However, bringing that
into my view isn''t working the way I think. So obviously I''m
thinking wrong, but I can''t see where my
2010 Mar 18
1
Using a function to consolidate variables
Dear List,
I'm getting the error: object of type 'closure' is not subsettable
And am not sure how to get around the problem. I've included two
short code sets below. One that shows what I want to do and works,
but without using the function much, and another that tries to use the
function but causes the error.
# THIS WORKS AND SHOWS WHAT I'D LIKE TO DO
a <- c(1,2,3)
b
2004 Jun 22
3
Unify Incoming and Outgoing sound files
Hi, i have a call center which receives many calls at day. Those calls are stored in a directory in my asterisk server as WAV files. The problem is that each call is divided in 2 files: an IN.WAV file and OUT.WAV file. The OUT.WAV file is what im speaking to other person, the IN.WAV file is what that person is speaking to me.
I need to unify that files into one complete file that consolidate a
2011 Dec 01
1
Fw: calculate mean of multiple rows in a data frame
NAME
ID
a
b
c
d
1
Control_1
probe~B01R01C01
381
213
345
653
2
Control_2
probe~B01R01C02
574
629
563
783
3
Control_1
probe~B01R09C01
673
511
521
967
4
Control_3
probe~B01R09C02
53
809
999
50
5
MM0289~RFU:11810.15
probe~B29R13C06
681
34
115
587
6
MM0289~RFU:9238.41
probe~B29R13C05
784
443
20
784
7
MM16597~RFU:36765.38
probe~B44R15C20
719
251
790
445
8
MM16597~RFU:41258.94
probe~B44R15C19
677
2009 May 10
1
Select the rows in a dataframe that matches a criteria in another dataframe
Hi everyone! Thank you for the help you have been given to
me, and here I'm with another problem with my dataframes:
I have two dataframes (with much more observations), like
these:
Dataframe1
Firm Year cash
500400200 2007 100
500400200 2006 200
500400200 2005 400
500400300 2007 300
500400300 2006 240
500400300 2005 120
500400400
2006 Jun 01
2
Migrating Data from Many Databases to One
I had some concerns about breaking Rails table relationships (:has_many,
:has_and_belongs_to_many, :belongs_to, :acts_as_*, etc) when moving multiple
databases (using the same application) into one.
I seem to be stuck when trying to wrap my head around a good database design
for what I would like to do or if I am just completely not thinking
straight. I guess this isn''t related
2014 Dec 01
1
Re: [PATCH] fish: show synopsis if command syntax is wrong
On Mon, Dec 01, 2014 at 02:42:54PM +0800, Hu Tao wrote:
> On Mon, Dec 01, 2014 at 10:25:51AM +0800, Hu Tao wrote:
> > On Fri, Nov 28, 2014 at 03:00:39PM +0100, Pino Toscano wrote:
> > > On Friday 28 November 2014 17:55:51 Hu Tao wrote:
> > > > This patch lets guestfish show command synopsis if the syntax of command issued
> > > > by user is wrong, rather
2014 Dec 01
2
Re: [PATCH] fish: show synopsis if command syntax is wrong
On Fri, Nov 28, 2014 at 03:00:39PM +0100, Pino Toscano wrote:
> On Friday 28 November 2014 17:55:51 Hu Tao wrote:
> > This patch lets guestfish show command synopsis if the syntax of command issued
> > by user is wrong, rather than telling user that the number of parameters is wrong.
>
> The idea seems sound to me.
>
> Shouldn't that be done also for fish commands?
2008 Nov 20
10
issues with movnti emulation
We''ve got reports of that change causing HVM data corruption issues. While
I can''t see what''s wrong with the patch, I''d suggest at least reverting it from
the 3.3 tree (which is what our code is based upon) for the time being.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
2018 Aug 18
2
[PATCH] build: Build synopsis.c before main.c
synopsis.c was defined as dependency of the nbdkit program, but it
should be define as dependency of main.c. Otherwise "make" fail with:
main.c:180:10: fatal error: synopsis.c: No such file or directory
#include "synopsis.c"
^~~~~~~~~~~~
Fixes commit 445e18f3dbb2 (src, docs: Generate the nbdkit command
synopsis from a single source).
---
src/Makefile.am | 2 +-
1
2016 Aug 30
1
[PATCH v2] drm/nouveau/gr: mark gm107_grctx_generate_tpcid() static
On 30 August 2016 at 00:01, Sean Paul <seanpaul at google.com> wrote:
> On Mon, Aug 29, 2016 at 9:02 AM, Baoyou Xie <baoyou.xie at linaro.org> wrote:
> > We get 1 warning when build kernel with W=1:
> > drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c:937:1: warning: no
> previous prototype for 'gm107_grctx_generate_tpcid' [-Wmissing-prototypes]
> >
2003 Nov 20
3
Having Samba integrate/replace existing mixed Unix/Windows network
I've recently inherited a two-headed monster of a network and would like to
see what Samba can do for me to help clean up the situation. Due to
bias/preference of the past administrator, who favored Unix, when it came
time to introduce Windows machines to our department, he basically built a
parallel network (physically and logically), and let a graduate student
manage the Windows
2018 Jan 15
1
consolidate three function into one
Thank you, your suggestion is simpler and logically better. I had impression that the last object in a function gets returned, so I did not add the print function at the bottom line of the function definition. Returning an object and graph the object are different process, I am a beginner for writing R function and need to find a good guide source about writing R functions. If you know a good
2008 Jul 08
4
Can R do this ?
I have a folder full of pngs and jpgs, and would like to consolidate them into a pdf with appropriate title and labels. Can this be done via R ?
_________________________________________________________________
Easily publish your photos to your Spaces with Photo Gallery.
[[alternative HTML version deleted]]
2018 Jan 15
0
consolidate three function into one
That is certainly OK, but you can also just use
print(ggsurvplot(...))
as your final statement.
out <- RFS( ...)
would then return the ggsurvplot object *and* graph it.
Any good R tutorial or a web search will provide more details on function
returns, which you might find useful.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
2018 Aug 18
1
Re: [PATCH v2] build: Build synopsis.c before main.c
On Sun, Aug 19, 2018 at 12:43 AM Richard W.M. Jones <rjones@redhat.com>
wrote:
> From: Nir Soffer <nirsof@gmail.com>
>
> synopsis.c was defined as dependency of the nbdkit program, but it
> should be define as dependency of main.c. Otherwise "make" fail with:
>
> main.c:180:10: fatal error: synopsis.c: No such file or directory
> #include
2018 Jan 15
2
consolidate three function into one
Hi Richard,
Thank you so much!! I understand the problem now, I assign a name to the "ggsurvplot" object and then add print(fig) at bottom of function definition, now figure gets printed on screen.
Ding
# function to generate RFS curves
RFS <- function( inputfile, N ) {
cluster<- survfit(Surv(RFS_days2, OV_Had_a_Recurrence_CODE) ~ clusters,
data =
2018 Jan 14
0
consolidate three function into one
FAQ 7.22
You must print a ggplot object, for example with
print(m52.2cluster)
For the FAQ, run the line
system.file("../../doc/FAQ")
in R on your computer.
Open up the resulting filepath in your favorite editor and scroll down to 7.22
On Sun, Jan 14, 2018 at 4:21 PM, Ding, Yuan Chun <ycding at coh.org> wrote:
> Hi Bert,
>
> I am sorry to bother you on weekend.
>
2018 Jan 14
2
consolidate three function into one
Hi Bert,
I am sorry to bother you on weekend.
I am still struggling on defining a correct function.
I first defined the function RFS (see below), then run it by provide the two argument.
m52.2cluster <-RFS(inputfile =allinfo_m52, N=2 )
I do not get error message, but no figure displays on screen. I do not know what is going on.
Can you help me a little more on this issue?
Thank you,
2014 Dec 01
2
[PATCH v2] fish: show synopsis if command syntax is wrong
This patch lets guestfish show command synopsis if the syntax of command issued
by user is wrong, rather than telling user that the number of parameters is wrong.
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
changes in v2:
- fix the error of ' error: control reaches end of non-void function [-Werror=return-type]'
- change the return value from -2 to -1
fish/cmds-gperf.h |