[R] read binary file seek()

2009-07-27 Thread Andreas Posch
I want to read in a binary file using the readBin() function. In order to skip uninformative parts of the file I use the seek() function, I need to specify the number of bits to skip rather than the number of bytes to skip. E.g. seek(to.read,origin=current,blockSize) with blockSize giving

[R] check for new files in a given directory

2009-07-28 Thread Andreas Posch
I am trying to continuously evaluate online created data files using R-algorithms. Is there any simple way to let R iteratively check for new files in a given directory, load them and process them? Any help would be highly appreciated. Best, A. [[alternative HTML version

[R] check for new files in a given directory

2009-07-28 Thread Andreas Posch
I am trying to continuously evaluate online created data files using R-algorithms. Is there any simple way to let R iteratively check for new files in a given directory, load them and process them? I am using R on Windows XP. Any help would be highly appreciated. Best, A.

[R] read and write stdout() to tktext window

2008-06-12 Thread Andreas Posch
I've been trying to write the consoles output to a tktext window, but have not succeeded... Does anybody know if that works? Any help would be highly appreciated. Thanks in advance, Andreas Posch __ R-help@r-project.org mailing list https

[R] setvalue of a combobox

2008-06-17 Thread Andreas Posch
if I wanted to set the value of a combobox tt - tktoplevel() box - tkwidget(tt,ComboBox,values=c(1,2,3)) tkgrid(box) tcl(box,setvalue,first) does anybody know how I would access an index other than the first? as second, and numbers do not work.. thanks in advance Andreas Posch

[R] Sweavetcltk graphics; save R-tcltk windows as *.jpeg

2008-06-30 Thread Andreas Posch
As I didn't get Sweave to include tcltk graphics, I am desperately trying to save R-tcltk graphics as *.jpeg, does anybody know whether there is a way to do that? any help would be highly appreciated, best regards, Andreas Posch __ R-help@r

[R] Creating a list of functions

2008-06-05 Thread Andreas Posch
intended would be greatly appreciated. thanks in advance, andreas posch __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented