Displaying 20 results from an estimated 8000 matches similar to: "Delete Block of Rows"
2008 Jul 09
5
Summary Stats (not summary(x))
I'm looking for a function that lists a few summary stats for a column (or
row) of data. I'm aware of summary(x), but that does not give me what I'm
looking for.
I'm actually looking for something that is very similar to the descriptive
statistics tool in excel; i.e. Mean, Std. Error, Std. Deviation, Kurtosis.
I'm positive that I came across a function that did this (possibly
2008 Jul 24
4
Dividing by 0
I'm trying to calculate the percent change for a time-series variable.
Basically the first several observations often look like this,
x <- c(100, 0, 0, 150, 130, 0, 0, 200, 0)
and then later in the life of the variable they're are generally no more
0's. So when I try to calculate the percent change from one observation to
the next, I end up with a lot of NA/Nan/INF, and
2009 Jan 29
2
Taking the min of each row in a matrix
Hi,
I'm a new user. I've been reading through the manual and looking at
various examples but am still trying to make sense of the most
efficient ways to handle matrices of data.
If I have a 2D matrix of data, how do I get the mean, min, max value
of each row? I see the "mean" function on a matrix will give me
averages by row, but min and max give me the value for the entire
2006 Jan 19
3
problems with migrations in sql server
Is anyone using migrations with a SQL Server database who might be able to
lend me a hand? I''ve used migrations with MySql in the past and haven''t
run into any issues so forgive When I run rake migrate nothing is actually
getting updated in my database. I created a migration using
./script/generate migration AddFooTable and updated the migration to look as
follows:
class
2007 Nov 07
1
thumbnailer/swfdec-thumbnailer.c
thumbnailer/swfdec-thumbnailer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a31d0686b78df2da96b9d8d1e3220e63978bba30
Author: Benjamin Otte <otte at gnome.org>
Date: Wed Nov 7 20:02:04 2007 +0100
s/swfdec_player_get_image_size/swfdec_player_get_default_size/
diff --git a/thumbnailer/swfdec-thumbnailer.c b/thumbnailer/swfdec-thumbnailer.c
index
2009 Aug 24
1
hdf5 package segfault when processing large data
Hi there,
I am currently working on something that uses hdf5 library. I think
hdf5 is a great data format, I've used it somewhat extensively in
python via PyTables. I was looking for something similar to that in R.
The closest I can get is this library: hdf5. While it does not work
the same way as PyTables did, but it's good enough to let them
exchange data via hdf5 file.
There is just 1
2007 Jan 23
11
dynamic tablenames
Hi List!
May I tap into your combined common sense ?
I have a legacy logging app that needs to be modernized. At the moment,
Data is going to be stored in 5 tables, one table is going to contain
more than 200 million and 2 others about 60 million rows. Mysql will be
used, unless someone sees a major advantage in using something else (at
the moment data is stored in a raw positioned file format,
2006 Aug 14
4
Updating a table with Ajax
I''ve been banging my head against the wall trying to update a table
(add/delete rows) using Ajax. It seems simple enough but just doesn''t work
for me. I can get it to work using DIVs instead of a table, but doing the
layout with DIVs is much more cumbersome and I know it works for others with
a table (though I haven''t been able to find an exact example code anywhere).
2011 Mar 11
4
Any existing functions for reading and extracting data from path names?
Hi helpeRs,
I have inherited a set of data files that use the file system as a
sort of poor man's database, i.e., the data files are nested in
directories that indicate which city they come from. For example:
dir.create("deleteme")
for(i in paste("deleteme", c("New York", "Los Angeles"), sep="/")) {
dir.create(i)
for(j in
2003 Jan 23
2
Rsyncing of block devices to a remote file
Hello,
I'm looking for some assistance in modifying the rsync code
Situation: I used to back-up some of my (unmounted NTFS) disk partitions
remotely using the following shells construct:
dd if=/dev/hda1 | gzip | ssh me@backupmachine 'cat >
/backup-dir/hda1-backup.gz'
But now I want to use rsync for this, since transfering 10 gig takes a litle
to long if a file of a few kB has
2008 May 24
1
R-Excel Macro Problem
I'm trying to write R functions into VBA code. I've done this many other
times in other documents and everything has run great. But today I keep
recieving an error message "Run-time error '1004': Application-defined or
object-defined error."
Has anyone else encountered this same error message?
I do not recieve this error in the document when running regular VBA code.
2005 May 22
2
Killing ssshd seassions
Hello,
First, I'd like to say sorry if this isn't the right mailing list
to ask my question. I'm writting some application(on Linux) wich relys
on sshd, so I thought there is nothing wrong in posting my mail here.
The aplication i'm writting should, at some point, kill the user from
his terminal line. To achieve this I read the users utmp entry and
kill the ut_pid in it.. It
2004 Feb 22
6
help for MLE
Dear Sir/Madam,
I am using R version 1.8.1. I am doing following tast:
First generate 100 Gaussion(3,1) numbers, then write the likelihood function
to estimate the parameters of Gaussian distribution by direct maximizing the
likelihood function.
My likelihood function is:
>fn<-function(x)
>(-50*log((sd(x))^2))-50*log(sqrt(2*pi))-(1/2*((mean(x))^2))*(sum((x-(mean(x))^2))
After I
2010 Jan 13
4
How can I store the results
Dear R users,
I am running a R code which gives me 10 columns and
160 rows. I need to run the code for 100 times and each time I need to store
the results in a single file.
I do not know how can I store them in a single file without over writting
the results?
Thanks
Alex
[[alternative HTML version deleted]]
2012 Jan 05
22
[PATCH] Support Function Level Reset (FLR) in the xen-pciback module (v1) and some fixes.
The attached patches allow the pciback module to perform a reset whenever
a PCI device is:
- attached to the pciback module, as so:
echo "0000:01.07.0" > /sys/bus/pci/devices/pciback/bind
- detached from the pciback module, as so:
echo "0000:01.07.0" > /sys/bus/pci/devices/pciback/unbind
- and when the guest is done with (internally when the guest is not using
2008 Jul 30
1
Rprintf will not build in my C++ compiler
I have searched through the threads and "Rprintf" causing a build error
dosen't seem to be a problem for anyone else. And I've read through "R
Extensions" and "An Introduction to the .C Interface to R" and there doesn't
seem to be any troubleshooting for my problem.
My code is straight from "An Introduction to the .C Interface to R" pg. 3.
And
2008 May 12
5
MystIII-Exile
Hi everybody,
I'd like to play Myst III - Exile with wine on Ubuntu 8.04 but the installation doesn't work.
In fact I have the Trilogy DVD edition with Myst, Riven and Exile and I saw that Riven works well : http://appdb.winehq.org/objectManager.php?sClass=version&iId=10719.
But my problem is a bit weird : I can't find any exe file on the DVD to install Exile !!! Riven is easy to
2006 Dec 25
3
[patch] fix parallel building of tftp-hpa
if you try to build tftp-hpa in parallel, it may fail as the tftp and tftpd
subdirs may try to link before the libcommon.a has a chance to be generated
in the common subdir
trivial patch attached to address this
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL:
2004 Aug 28
4
RE: Promisc routing
> From: "Roy" <roy@xxx.lt>
>
> I want to set interface to promisc mode and do all routing with iptables.
> Is it somehow possible? as I see now kernel do not pass everything to
> ipables.
>
> Basicaly I want to ignore ethernet addess and use only ip for routing.
>
> I suppose this may require writting special kernel driver or it
> is possible
> in
2009 Mar 15
2
[LLVMdev] MachO and ELF Writers/MachineCodeEmitters are hard-coded into LLVMTargetMachine
Currently, the MachO and ELF Writers and MachineCodeEmitters are
hard-coded into LLVMTargetMachine and llc.
In other words, the 'object file generation' capabilities of the
Common Code Generator are not generic.
LLVMTargetMachine::addPassesToEmitFile explicitly checks whether the
derived backend TargetMachine implements one of getMachOWriterInfo or
getELFWriterInfo, and returns a