Displaying 20 results from an estimated 6000 matches similar to: "Need to clean a table, and compute mean and SD"
2009 May 12
2
How to display data content on a only row?
Hi
I'm sorry for my so basic question, but it's so basic that I can't find
anwser anywhere...
I have data like this:
[1] 16.8000000 6.5333333 5.0666667 3.9333333 2.2000000 1.6666667
[7] 1.2000000 1.0666667 0.7333333 0.6666667
[1] 35.6113946 6.9576953 4.5271667 2.3744674 1.4735768 1.1751393
[7] 1.2649111 0.7988086 0.7037316 0.7237469
[1] 32.9333333 15.6666667
2015 Jan 29
2
Indexing Mail faster
On Thu, 2015-01-29 at 15:56 +0800, Kevin Laurie wrote:
> Hey Joseph
> Thanks. Strace seems like a very useful tool
> Only problem is that I dont think it is maintained on ubuntu.
> Tried to run:-
> apt-get install strace but could not download it.
> Might need to download and build it. Do you know any other way of getting
> it?
> Thanks
> Kevin A.
try apt-cache search
2008 Nov 10
4
Weird custom type behaviour
Hey,
I have a very trivial parsedfile based type - http://pastie.org/311146
- that works fine when deployed and run under puppetd -t. However,
when being run by the daemonized puppet, it results in this error:
Mon Nov 10 03:50:48 +0000 2008
//Node[ams-proxy-2]/quagga/Quagga::Daemon[zebra]/Quagga_service[zebra]
(err): Failed to retrieve current state of resource: No ability to
determine if
2009 Dec 17
2
Sweave Makefile issue
Dear R-specialists,
I am trying to create a Makefile that will first convert all my .Rnw
files into .tex files and then, that will run the LaTeX compiler to
produce a pdf document. This issue has been discussed before. Hence,
I've basically adapted a Makefile I found at
http://n4.nabble.com/R-Sweave-R-and-complex-latex-projects-td810020.html#a810023
to make it compatible with a Windows
2010 Feb 05
5
VMWare ESXi & CentOS5.4
I have a brand new Dell Poweredge T310 server with 4G ram and 1TB
raid-5 hard drive in it. I Really only need to be able to run a copy
of CentOS 5.4 on it, but I'm wondering if in the build process should
I stick on ESXi 4 and then run CentOS as a vm? This would give me the
options to roll out other VM's if I want over the life of the server
(which I likely won't need) but the
2012 Jul 30
3
[LLVMdev] clean CMake build failing (Mac OS X 10.8)
Over the weekend I upgraded my system to Mac OS X 10.8, and now a clean cmake build fails.
The error message:
> Building C object runtime/libprofile/CMakeFiles/profile_rt-static.dir/CommonProfiling.c.o
> cc1: error: unrecognized command line option "-Wcovered-switch-default"
The configuration:
> Mac OS X 10.8
> CMake 2.8.8
> LLVM tot
> Apple clang version 4.0
2005 Jun 23
2
Betr.: Multiple IP Addresses in a single NIC
Hi,
You need to issue two commands:
/sbin/ifconfig eth0:0 xxx.xxx.xxx.xxx
/sbin/route add -host xxx.xxx.xxx.xxx dev eth0
For example:
/sbin/ifconfig eth0:0 172.16.1.199
/sbin/route add -host 172.16.1.199 dev eth0
You can even assign multiple aliases to one NIC (One of my servers has about 10 ip addresses):
For example:
/sbin/ifconfig eth0:0 172.16.1.199
/sbin/route add -host 172.16.1.199
2009 May 27
2
Object-oriented programming in R
Dear R-users,
I have very recently started learning about object-oriented programming
in R. I am far from being an expert in programming, although I do have
an elementary C++ background.
Please take a look at these lines of code.
> some.data = data.frame(V1 = 1:5, V2 = 6:10) ;
> p.plot = ggplot(data=some.data,aes(x=V1, y=V2)) ;
> class(p.plot) ;
> [1] "ggplot"
My
2012 Aug 19
2
Prueba de Thom y series temporales homogéneas de prueba
Hola a todos:
Hace unos meses estuve preguntando sobre la prueba de Thom para
comprobar la homogeneidad de series temporales sobre datos de radiación
e insolación (después he visto que también se usa con otras variables
meteorológicas) [0].
El caso es que por distintas razones no había podido avanzar en el
asunto y ahora vuelvo sobre él.
Creé una función para realizar la prueba de Thom pero
2008 Oct 30
3
VMWare Sandbox
I need to experiment with ldap for a site I manage, and wondered if
vmware would be a good way to go for some testing.
My current server is RHEL3, which is getting dated, and I think that I
should refresh this server entirely in the move to ldap.
We need to have an ldap server for publishing email addresses for a
VPN for a nursing home that the upstream can harvest and we can browse
to send
2006 May 26
3
validate a form NOT connected to a model
Is there any way to validate a form that isn''t connected to a model. I have
a form that connects to a controller action and I want to validate the
inputs on the form like I would with the validates_ATTRIBUTE_of property on
a model. Is there any way to do this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 May 20
1
Kate terminal window
Dear R-users,
I've recently switched to Ubuntu and I've decided to use Kate to edit my
R code. I really like how Kate allows one to simply pipe their code to
the terminal. However, I would find it even better if I could actually
get the Kate console to display error messages (or any console outputs
in fact) in red and my input in a different color. The instance of xterm
that Ubuntu
2009 May 26
4
Creating multiple graphs based on one variable
Dear List,
I would like to create several graphs of similar data. I have x and y values for several different individuals (in this case fish). I would like to plot the x and y values for each fish separately. I can do it using a for loop, but I think I should be using "apply". Please let me know what I am doing wrong, or if there is a "better" way to do this. What I have
2005 Aug 08
68
Pluralized Controller Names?
If I do:
script/generate controller Photo
I get a controller named photo_controller. OTOH, if I do:
script/generate scaffold Photo
I get a controller named photos_controller. (Note that the controller
name is pluralized).
I realize that I''m specifying the controller name explicitly in the
first case, but it seems
odd to me that the scaffold command generates a pluralized
2018 Feb 01
1
Customizing SBCC for lcov workflows
I’m working to implement Source Based Code Coverage in a workflow that uses lcov for report generation. We’ve customized our llvm-cov to add a command to convert the SBCC counter data to lcov’s ‘.info’ format. The problem is that the region-based counter definitions in SBCC can span source code regions that can contain blank lines (or lines with only comments). Converting this to lcov’s
2007 Jun 13
1
Pinging Static IPs on Lan
For some reason I can't ping or communicate with two of my machines
that have static IP's on my lan.
My mythbe and mythfe are both set to have static ip's in the event of
some sort of power problem the wife can stillwatch tv.
After installing CentOS5, I can't communicate with those two machines.
I read through the release notes and the docs on dhcp, but I can't
seem to see
2005 Nov 03
1
Upgrade 4.1 --> 4.2 Question
Hi,
I am in the proces of upgrading my CentOS 4.1 servers to 4.2. I've burnt
CentOS 4.2 CD's from the ISO images (these images work because I already
installed a new server with it), but I am unable to upgrade the existing
servers to 4.2 using the CD's....
Does anybody have a clue, why this is not working... or is the online
update option the only one...
Thom
2005 Jun 09
1
[Fwd: How to join to a DC ie. net join?]
Anyone on the list able to help this chap? The message
was mis-sent to samba-technical (the development list).
--dave
-------- Original Message --------
Subject: How to join to a DC ie. net join?
Date: Wed, 08 Jun 2005 16:19:46 -0700
From: The Kid From LA <lacakid@gmail.com>
Reply-To: The Kid From LA <lacakid@gmail.com>
To: samba-technical@lists.samba.org
I have read lots of
2012 Mar 24
3
How to compute within-group mean and sd?
Hi, I want to run something like
SELECT firm_id, count(*), mean(value), sd(value)
FROM table
GROUP BY firm_id;
But I have to write a for loop like
for ( id in unique(table$firm_id ) {
print(paste( id, mean(table[firm_id == id, "value"]) ))
}
Is there any way to do it easier? Thanks :)
Best,
Reeyarn Lee
[[alternative HTML version deleted]]
2017 Mar 11
2
Eaton 1500 USB constant disconnections
Hi,
I have a eaton 1500 that connects to an Ubuntu Xenial box via USB. The UPS
works, however exactly *ever 5 minutes* it disconnects and reconnects and I
see this in syslog:
Mar 10 19:50:32 spike kernel: usb 4-5: USB disconnect, device number 103
Mar 10 19:50:33 spike kernel: usb 4-5: new low-speed USB device number 104
using ohci-pci
Mar 10 19:50:34 spike kernel: usb 4-5: New USB device found,