similar to: faster image display?

Displaying 20 results from an estimated 800 matches similar to: "faster image display?"

2007 Sep 04
2
Efficient sampling from a discrete distribution in R
Hello r-help, As far as I've seen, there is no function in R dedicated to sampling from a discrete distribution with a specified mass function. The standard library doesn't come with anything called rdiscrete or rpmf, and I can't find any such thing on the cheat sheet or in the Probability Distributions chapter of _An Introduction to R_. Googling also didn't bring back anything.
2008 Jul 28
1
equivalent to "require" for imports? (cairoDevice)
Hi R-devel I use the packages RGtk2 and cairoDevice. The cairoDevice package has a few stand-alone functions, plus "asCairoDevice" which depends on RGtk2 and calls require(RGtk2). So cairoDevice lists RGtk2 under "Suggests" in the DESCRIPTION file. It can not Import RGtk2 because that would force all users to install RGtk2. The upshot of this is, if you *import* the RGtk2
2012 Mar 08
3
"figure margins too large" in RGtk2 drawing area as cairo device - why?
When using a gtkDrawingArea as a Cairo device I very often encounter the error: "figure margins too large" Even for the below "getting started" example from http://www.ggobi.org/rgtk2/ this is the case. > win = gtkWindow() > da = gtkDrawingArea() > win$add(da) > asCairoDevice(da) [1] TRUE > plot(1:10) Fehler in plot.new() : Grafikr?nder zu gro? > Also
2009 May 23
1
Draw a rectangle on top of an image using RGtk2?
Dear all, I use gtkImageFromFile to display an image. Then I want to do some gsignal to handle mouse event. I click the mouse and move a another position and release. I can get the position of the firs click and the release position, then I would to draw a rectangle to display the region I have selected. I need some hints on what functions should I look for. I tried to google but don't know
2007 Jun 07
2
reading BMP or TIFF files
I realize that this question has been asked before (2003); From: Yi-Xiong Zhou Date: Sat 22 Nov 2003 - 10:57:35 EST but I am hoping that the answer has changed. Namely, I would rather read the BMP (or TIFF) files directly instead of putting them though a separate utility for conversion as suggested by, From: Prof Brian Ripley Date: Sat 22 Nov 2003 - 15:23:33 EST "Even easier is
2008 Aug 01
1
creating image using RGB values
Hi R users, I would like to create an image using three matrices which contain the values of Red, Green, and Blue of each pixel, i.e. one matrix which has values of red, one which has values of green, and one which has values of blue. The values are between 0 and 1 instead of 0-255. I have obtained the matrices using the getChannels of pixmap library. I wonder if anyone knows how to create the
2010 May 06
1
Encoding a wave file with a bad header
If I use Speex, JSpeex actually, to compress an otherwise valid wave file with zero lengths in the header would it impact the compression at all? Here's what I'm doing during compression in Java: AudioFormat wavFormat = ais.getFormat(); AudioFormat speexFormat = new AudioFormat(SpeexEncoding.SPEEX_Q5, wavFormat.getSampleRate(),
2006 May 09
4
Can't there be a cd command?
R is quite a powerful environment. Here's a small way it could be even better. I wanted to change the working directory, so I tried the obvious thing > cd("foo") Error: couldn't find function "cd" Then I looked for `directory' in the FAQ but found nothing. A search for directory in the introduction also turned up nothing. A Google search for "gnu R
2008 Jan 01
3
3rdrail run rake task error: no Ruby script found in input (LoadError) (Windows)
Hi, dudes I got a question here. When I run "rake db:migrate" in 3rdrail, it throws an error: D:\ruby\bin\ruby.exe: no Ruby script found in input (LoadError). I have set the ruby interpreter paths, And can''t find the solution on Google. Any good ideas? Issac --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the
2008 Feb 14
1
RGtk2 : Using GtkImage with GIF (PR#10757)
Full_Name: Hans Dieter Version: 2.6.1 OS: Windows Submission from: (NULL) (217.93.95.129) Hi, I build a GUI with RGtk2 and used an GtkImage to display pictures like jpegs and others. This works but if I load a gif-Image it's not animated. It show's only the first picture, in general an GtkImage can display an animated gif. Greetings
2012 Mar 05
2
changing the drawing context using Cairo and RGtk2
I am not too familiar with Cairo and RGtk2 and have the following problem: I have a container with two GTK drawing areas converted into Cairo devices. I know that I can set the current drawing context e.g. using dev.set(). But this is tedious. How can I set the context using the objects da1 or da2? w <- gtkWindow() w$setSizeRequest(400, 400) vbox <- gtkVBox() da1 <- gtkDrawingArea()
2011 Dec 22
1
RGtk2: How to overlay a gtkDrawingArea with a button or any other widget?
I try to overlay a plot inside a gtkDrawingArea with a button (or any other widget). I tried to put both into a gtkFixed container. But this does not work, no printing occurs. Does someone know a solution? What I tried: w <- gtkWindow() w$setSizeRequest(400,400) fx <- gtkFixed() da <- gtkDrawingArea() fx$put(da, 100, 100) asCairoDevice(da) par(mar=c(0,0,0,0)) plot(1:10) btn.1
2006 Jun 08
1
Vega 50 10 FXO
Has anyone here using VegaStream FXO with asterisk? I just got the Vega 50 10 FXO and all I could manage by now is to get outgoing calls. Any pointers and a script sample would be appreciated. Thanks, Issac
2004 May 18
1
Build R-1.9.0 with static libraries ?
Dear all, Which options should I use when running the configure script and/or which changes should I make to Makeconf to build the binary for R-1.9.0 but using only statically linked libraries ? I need to build a binary that is portable between several different Linux (RedHat) distributions. Thanks in advance for your help, Melanie -- http://recherche-en-danger.apinc.org
2005 Aug 04
3
how to read individual values from a pixmap object
Hi All, I have a greyscale image that I am reading in through RGDAL and placing in a pixmap object. As an example use the logo.jpg file that comes with the RGDAL package: #Read the file logo <- system.file("pictures/logo.jpg", package="rgdal")[1] x <- new("GDALReadOnlyDataset", logo) #Create the pixmap object xGrey <- getPixmapGDAL(x) Now I would
2009 May 25
2
cairoDevice.dll error, but it exists..?
Hello, running windows vista, R2.9. Installed the following libraries: (*latticist*, *playwith* and *Cairo*) Wanted then to run, to evaluate the visualization features: >data(iris) >library(latticist) >latticist(iris) However, i tested my desktop and laptop and get the following error after typing latticist(iris): latticist(iris) Loading required package: playwith Loading
2011 Jun 09
1
cairoDevice on Windows: succesful installation but does not load
Hi! I've tried to install playwith on Windows XP but, > install.packages("cairoDevice") trying URL 'http://cran.at.r-project.org/bin/windows/contrib/2.13/cairoDevice_2.15.zip' Content type 'application/zip' length 52371 bytes (51 Kb) opened URL downloaded 51 Kb package 'cairoDevice' successfully unpacked and MD5 sums checked The downloaded packages are
2010 Jul 12
1
errors from update.packages()
Running R.2.11.1, debian linux, I tried to update.packages as root within R and get errors for cairoDevice and latticeExtra I don't know how to fix. For cairoDevice, I don't know what gtk+2.0 is; for latticeExtra, I'm surprised that R cannot find RColorBrewer built for R 2.10+ What to do? > old.packages() Package LibPath Installed Built
2010 Mar 22
4
Playwith on Mint
Hello, I am having trouble installing the package playwith on the latest Mint "helena", running R version 2.10.1 (2009-12-14). I suspect it has to do with the GTK library but as far as I can tell there is nothing wrong with it. Any help extremely appreciated. I include the output: > install.packages("playwith") Warning in install.packages("playwith") :
2011 Mar 01
2
can't open Cairo device
Dear list, in R under wheezy the following error occurs: > library(cairoDevice) > Cairo() Error in Cairo() : Graphics API version mismatch It seems to be Debian-specific, as I tried the same under OpenSUSE 11.3 and it worked. I tried installing cairoDevice via `apt-get install r-cran-cairodevice' and with `install.packages("cairoDevice")' in R (without any