Displaying 20 results from an estimated 3000 matches similar to: "[fdo] Detect my own session being closed"
2020 Feb 06
2
[fdo] Detect my own session being closed
The problem is that I don't want to have a system service, because I 
would also need a communication protocol, an arbitration algorithm... I 
think that there should be an API in logind that would allow a program 
to block the logout the same than it allows to block shutdown and 
reboot, and being notified of that. In fact, sometimes I receive a 
notification in Gnome Shell telling me that
2009 Aug 09
2
two-passes in thusnelda
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all:
I'm testing thusnelda and I'm trying to use the two-pass feature, but
when I try it with
/usr/bin/ffmpeg2thusnelda  /home/raster/Escritorio/devede/holidays\ at\
galicia.mpg  -o  /home/raster/output.ogv  -v  10  -a  10  --optimize
- --first-pass  /home/raster/output.ogv.firstpass_data
I receive the error
Could not set up the first
2009 Aug 09
2
two-passes in thusnelda
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all:
I'm testing thusnelda and I'm trying to use the two-pass feature, but
when I try it with
/usr/bin/ffmpeg2thusnelda  /home/raster/Escritorio/devede/holidays\ at\
galicia.mpg  -o  /home/raster/output.ogv  -v  10  -a  10  --optimize
- --first-pass  /home/raster/output.ogv.firstpass_data
I receive the error
Could not set up the first
2009 Nov 17
12
ffmpeg2theora and VOB files
Dear,
I am using your ffmpeg2theora for converting VOB files to ogv. At
converting VTS_01_2.VOB (second file from DVD) theora can not find video
stream, only audio stream. Can you help me?
Thanks Martin Koryt?r
2009 Sep 25
4
libtheora 1.1 (Thusnelda) stable release
We are pleased to announce a new stable release of libtheora, the
Xiph.org Foundation's reference implementation of the royalty-free
Theora video format. This new release, version 1.1, codenamed
Thusnelda, incorporates all of the recent encoder improvements we have
been making over the past year, though some of the code had its
genesis all the way
back in 2003. It also brings substantial speed
2009 Sep 25
4
libtheora 1.1 (Thusnelda) stable release
We are pleased to announce a new stable release of libtheora, the
Xiph.org Foundation's reference implementation of the royalty-free
Theora video format. This new release, version 1.1, codenamed
Thusnelda, incorporates all of the recent encoder improvements we have
been making over the past year, though some of the code had its
genesis all the way
back in 2003. It also brings substantial speed
2009 Oct 18
1
Join two theora video files
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all:
I have a question which, maybe, could go to the Theora FAQ.
How can I join two theora video files in one without recompressing them?
Can I just join them one after the other, like with Ogg/Vorbis?
I've created a front-end for Thusnelda and want to offer extra features
not yet in other software. My idea is to do multithread compression
2013 Nov 03
1
on.exit() & sys.on.exit(): Calling them via eval() does not work as hoped
Why does the following eval() call on sys.on.exit() not return what I
expect/evaluate in the proper environment?
foo <- function() {
  cat("foo()...\n");
  on.exit( message("exiting") )
  cat("sys.on.exit():\n")
  res <- sys.on.exit()
  print(res)
  cat("eval(sys.on.exit()):\n")
  expr <- quote(sys.on.exit())
  print(expr)
  res <- eval(expr)
2004 May 03
1
Finalization and external pointers
I'm adding things to the Windows RGui so that there's more control of
the interface from within R.
One thing I'm considering is giving access to the Graphapp window
objects using external pointers.  This raises the issue of
finalization on both sides:
 - If someone creates a pointer referring to a window, then that
pointer should be changed to NULL when the window is closed.
 - If
2002 Nov 09
1
Calling function with proto in Rinternals.h
(Tried this query on r-help with no luck, maybe someone here can help?)
I would like to call the 'RFinalizerEx' function that appears in
Rinternals.h using ".Call". It worked for me in the past, but now I get
an error message something like: 'call function name not in call table'.
I'm using the 1.6.1 rpm from CRAN. Anyone know what's going on? Thanks.
Tim 
-- 
2012 Jan 25
4
x11() graphic device, displaying raster
Hello,
I am wondering about the X11() graphic device on Windows. 
I try to plot a raster image but nothing gets displayed. I
found some pages where it is mentioned that x11() not
always supports raster rendering.
Is there any add on for x11, any update or any R-package
which solves that displaying problem in Windows?
What I try to test it is an example from the
package {raster}:
library(raster)
2012 Jan 25
4
x11() graphic device, displaying raster
Hello,
I am wondering about the X11() graphic device on Windows. 
I try to plot a raster image but nothing gets displayed. I
found some pages where it is mentioned that x11() not
always supports raster rendering.
Is there any add on for x11, any update or any R-package
which solves that displaying problem in Windows?
What I try to test it is an example from the
package {raster}:
library(raster)
2004 Jun 10
1
tryCatch() and preventing interrupts in 'finally'
With tryCatch() it is possible to catch interrupts with tryCatch(). Then you
can use a 'finally' statement to clean up, release resources etc. However,
how can I "protect" against additional interrupts? This is a concern when
the hold down Ctrl+C and generates a sequence of interrupts. Example:
tryCatch({
  cat("Press Ctrl+C...\n");
  Sys.sleep(5);
}, interrupt =
2009 Feb 21
1
Extracting xy from raster based on raster value
I have a raster (which I called glc), which I read
into R as a raster with "raster.create.from.file" from the raster package (R-forge). Values in glc range between 1 and 27 (whole numbers only). I'd like to extract all cells with a value of 1 to create
a new raster with only the cells that have a value of 1, or to extract
the xy values of all raster cells with a value of 1. Could you
2012 Oct 29
3
How can I map numbers to colours with raster?
This code will read binary file and display it as a map. may problem is that
this code is using a continuous colour scheme, even though I have discrete
data (which  is a classification scheme). How can I map numbers to colours
with raster? Please
require(raster)
conne <- file("C:\\lai.bin", "rb")
sd<- readBin(conne, integer(), size=1,  n=360*720, signed=F)
2011 Jan 31
1
str() on raster objects fails for certain dimensions
Hi,
str() on raster objects fails for certain dimensions.  For example:
> str(as.raster(0, nrow=1, ncol=100))
 'raster' chr [1, 1:100] "#000000" "#000000" "#000000" "#000000" ...
> str(as.raster(0, nrow=1, ncol=101))
Error in `[.raster`(object, seq_len(max.len)) : subscript out of bounds
This seems to do with how str() and
2020 Oct 31
2
raster::levels() not working in packaged function.
Apologies, I cannot see how to make a rero for this issue.
I have a function that uses levels(r) tor return the RAT of a raster "r"
when the function is sourced from a script
source(".\R\function.r")
it works fine.
when the function is built into a package and sourced from there
library(mypackage) using the same script file to make the package
levels(r)[[1]]
the same line
2012 May 10
2
converting raster image
Dear R users, 
I was wondering how I can convert a raster image (that made R through interpolation)  into an ascii or csv format?
this is the last line of my command
p <- interpolate(r, tpsfit)
So p is my raster file which I want to convert into ascii or csv
Many thanks
Regards
Mintewab
2009 Dec 01
6
raster support in graphics devices
Hi
This is for developers of extension packages that provide extra 
*graphics devices* for R.
In the *development* version of R, support has been added to the 
graphics engine for sending raster images (bitmaps) to a graphics 
device.  This consists mainly of two new device functions:  dev_Raster() 
and dev_Cap().
The R_GE_version constant (in GraphicsEngine.h) has been bumped up to 6 
as a
2011 Jun 10
2
merge large number of raster objects
Hello,
I have a large number of raster objects in memory, with names RH100, 
RH101, RH102, etc. (myobjects <- ls(pattern='^RH')).
These rasters are sections of a continuous map, and I would like to 
combine them using the RasterObject merge tool in package 'raster.'
Merge expects an input list of raster objects (outmap<-merge(x, y, ...), 
where x, y, and ... are raster