Displaying 20 results from an estimated 500 matches similar to: "Assigning values to several consecutives rows in a sequence while leaving some empty"
2012 Mar 20
4
Batch mode creates huge diffs, bug(s)?
So the short summary of my problem is, the batch file rsync creates is HUGE
for a very small change. The idea is to create workstation image with
partimage, update it with some software and send the image update diff over
the wire to a large number of destinations over a satellite link, but the
batch file updates are several orders of magnitude too large. I don't know
exactly how partimage
2009 Apr 16
3
Presenting R Results in Webpages
I apologize in advance that this question is not specific to R, but I thought some R users may be using this in their work process flow.
I would like to be able to have a tool (prefer "scriptable") that will take two images and some pre-written text and put it on an simple webpage.
That is, it would look something like the following:
|---------------------------------------------|
2013 Jun 20
10
Two identical copies of an image mounted result in changes to both images if only one is modified
Hi,
I''ve observed a rather strange behaviour while trying to mount two
identical copies of the same image to different mount points.
Each modification to one image is also performed in the second one.
Example:
dd if=/dev/sda? of=image1 bs=1M
cp image1 image2
mount -o loop image1 m1
mount -o loop image2 m2
touch m2/hello
ls -la m1 //will now also include a file calles "hello"
2010 Aug 10
2
p-values with pvclust
Hi,
if you look at the first image (Image1) you see that there are 2 main
clusters 7 and 8
I wanted to use pvclust to calculate a p-value whether these clusters are
due to chance
or statistically significant. Unfortunately pvclust does not provide a
p-value for the first
brunch (7 and 8).
So I added a row to my matrix which is very different to the rest of the
data to create an additional
2005 Jan 22
9
Dragging images across the canvas
Hi wxRuby Gurus,
I''m trying to write a sample program which allows me to drag an image
(by left_mouse_button down) across the canvas.
I got it to work ... well, sort of. The problem is I can drag it only by
clicking on the left top corner of the image and nowhere else.
Besides, the dragging is not very smooth. How can I make it better?
I am using wxRuby 0.6.0 on Win XP (Home) and
2006 Jan 13
21
anyone interested in an Effect.Slideshow?
I had to make a sort of slideshow for a site I''m working on, and I was
thinking of making it into a Scriptaculous object. Anyone think of
reasons why I shouldn''t? You''d have to pass in all the image urls and a
div id, with an optional delay parameter to determine how long to leave
each image up before moving on. I could also have a ''randomize''
2010 Apr 02
1
compare two fingerprint images
Hello
I wanted to compare two fingerprint images. How do you do with R?.
Is there a role for cross-correlation of images?
Thanks
--
=========================================================
Juan Antonio Gil Pascual
Prof. Titular de M?todos de Investigaci?n en Educaci?n
correo: jgil at edu.uned.es
web: www.uned.es/personal/jgil
U.N.E.D.
Fac. de Educaci?n
Dpto. MIDE I
P? Senda del Rey,7 desp.
2005 Sep 23
1
Minor idea - "Press any key to boot within 5 second" style of thing...
I like how some cds, such as the windows installer discs will skip
booting from the disc if you accidentally left the drive because they
require you to hit a key to make them actually boot from the disc.
I've kind of tried to emulate this behavior using chain.c32, but, it
requires me to specify which harddrive, and I'd rather see an
independant setup. I've tried localboot -1, but, it
2012 Feb 15
3
built a lower triangular matrix from dataframe
Hello!
I'm trying to build a lower triangular matrix (with zeros in the diagonal)
from a particular dataframe.
The matrix I have to construct has 203 rows and 203 columns and that makes
20503 values to be included within (that's why I can't do it manually).
To illustrate the dataframe I have, I'll give you an example of a dataframe
and matrix with dimensions 6x6 (to make it
2008 Dec 04
2
Does animated gif will work properly using RMagick?
Dear all,
I have used RMagic to read and write a image while uploading. An
animated gif was read from my local machine and was written in my images
folder using RMagick. But the animated gif which i read was witten in my
folder without animation. What should i do to write the gif image with
animation.
Here is my code to read and write image while uploading.
image = params[:image][:blob]
2008 Jan 15
1
Converting Watir script to Mechanize
I have a Watir script that I would like to convert to a Mechanize
script. The watir code looks like this
require ''watir''
include Watir
def test
ie = IE.new
ie.goto(''http://cpref.gsm.com/inter.asp?r=8084'')
ie.text_field(:name, ''inter_string'').set(''Potassium'')
ie.button(:id, ''image1'').click
2005 Aug 23
2
Using tcltk to display jpeg images
Dear R Helpers,
Does anyone know how to use tcltk to display jpeg images? The manual says
that
one must use Tk_PhotoCreateImageFormat to register the jpeg image handler.
The
"ActiveTcl User Guide"
(http://support.serv.ch/lang/tcl/img/doc/img-jpeg.html)
says:-
"The package img::jpeg is a sub-package of Img. It can be loaded as a part
of the complete
Img support, via package require
2006 Apr 23
1
file_column does not work with update model
When I am creating a model, everything works but not during update
(where I use Model.update_attributes(model_attributes) ).
I get the error:
Do not know how to handle a string with value ''image_xxx.jpg'' that was
passed to a file_column. Check if the form''s encoding has been set to
''multipart/form-data''.
The form is indeed multipart. Does
2007 Nov 30
5
Problems with fedora 7 paravirtualize
I''m using Fedora 7 with xen''s virt-manager. I''d manage to install a full
virtualized WinXp domU after changing the settings in .xml files. Now I
would like to try to install the paravirtualize fedora 7 using virt-manager
I''m using this install media address >
http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/
And the virt-manager console
2003 Jul 31
2
help with graphics
I'd like to use lattice to make graphics under conditional structure like :
if (TRUE) { barchart(....)
dev.print(png, file = "image1.png", width = 600)
}
but there's nothing in the output file. It seems that it's too long to print graphic into the graphical output and the saved file is a blank picture.
it works if I do that without the conditionnal structure.
it doesn't
2009 Jul 15
2
ffmpeg2theora: issue converting from a png image list
Hi Jan, all
I am trying to generate a video introduction with a fade-in / fade-out
effect. To do this with ffmpeg2theora only, I generated a list of PNG
images: img001.png, img002.png... img299.png
The ffmpeg2theora man page says:
Encode a series of images:
ffmpeg2theora frame%06d.png -o output.ogv
That's exactly what I tried with the latest 0.24 release of ffmpeg2theora:
2008 Jul 25
4
Creating a Bootable Image file
Newbie Question:
We are using RHEL 5.2 with the 2.6.18-92.1.6.el5xen kernel. I am trying
to follow instructions that I found to create an bootable image by doing
the following:
I first created a 10 gig file and formatted the partition using the dd
and mkfs.ext3 commands:
dd if=/dev/zero if=generic.img bs=1024k count=10000
mkfs.ext3 -t ext3 generic.img
>From a working image that I
2009 Jul 07
2
paperclip unit testing
Hi,
Rails 2.3.2, paperclip 2.2.9.2
How can I unit test my model that has a paperclip attachment?
I add to my model:
--- CODE START ---
has_attached_file :image, :default_url => ''''
attr_protected :image_file_name, :image_content_type, :image_image_size
--- CODE END ---
Than I type a UNIT test:
--- CODE START ---
foo=FooModel.new({:image =>
2005 Apr 25
6
Proba( Ut+2=1 / ((Ut+1==1) && (Ut==1))) ?
Dear all,
First I apologize if my question is quite simple,
but i'm very newbie with R.
I have vectors of the form v = c(1,1,-1,-1,-1,1,1,1,1,-1,1)
(longer than this one of course).
The elements are only +1 or -1.
I would like to calculate :
- the frequencies of -1 occurences after 2 consecutives -1
- the frequencies of +1 occurences after 2 consecutives +1
It looks probably something like
2015 May 19
2
Pivot without copy
Hi,
Is it possible to "pivot" to a new image without doing blockcopy or
blockpull? I know how to use snapshots and blockpull to create a new image
and pivot to using it live, but what I would like to do is to have a VM
switch from using imageA.qcow2 to image2.qcow2 while running. I don't see
why this wouldn't be possible since some of the existing libvirt tools can
do this when