Or with the Bioconductor IRanges package:
df <- with(input, DataFrame(station, year=IRanges(from, to), record))
expand(df, "year")
DataFrame with 24 rows and 3 columns
station year record
1 07EA001 1960 QMS
2 07EA001 1961 QMC
3 0
Dear all,
The latest issue of The R Journal is now available at
http://journal.r-project.org/archive/2016-1/
Many thanks to all contributors.
Michael Lawrence
___
r-annou...@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-announce
The data structures you mention are complex, and too much of their
complexity leaks into client code. Instead, aim to use higher level code
constructs on simpler data structures. In R, the most convenient operations
are those that are statistical in nature.
For example, one might solve your proble
You should check out the animint package.
https://github.com/tdhock/animint
On Mon, Jul 28, 2014 at 5:48 PM, Shi, Tao wrote:
> hi list,
>
> I'm comparing the changes of ~100 analytes in multiple treatment
> conditions. I plotted them in several different xy scattter plots. It
> would be nic
Just wanted to acknowledge this. It's a known issue, and one that has been
tricky to solve, because it's platform-specific, so it's probably some sort
of bug in the abstraction (GDK).
On Wed, Sep 17, 2014 at 12:26 AM, François Rebaudo <
francois.reba...@legs.cnrs-gif.fr> wrote:
> Hi,
> The follow
Perhaps this is a permissions (Xauthority) issue: is the same user running
both the X11 display and the R session?
On Thu, Oct 23, 2014 at 2:40 AM, R wrote:
> I have written some gWidgets scripts before in the past but have a
> different box now (Debian KWheezy) and cannot get gWidgets working
For the sake of prosterity, this question was asked and answered here:
https://support.bioconductor.org/p/80448
On Tue, Apr 5, 2016 at 10:27 AM, 何尧 wrote:
> I do have a bunch of genes ( nearly ~5) from the whole genome, which
> read in genomic ranges
>
> A range(gene) can be seem as an obse
On Thu, Jul 24, 2008 at 7:39 AM, paulandpen <[EMAIL PROTECTED]>
wrote:
> Hi all,
>
> I am getting the following error message.
>
> Does somebody know what needs to happen here?
>
> I have tried re-installing the RGtk2 package and also downloading a .dll
> file and installing it in the RGtk2 file f
On Mon, Aug 11, 2008 at 9:27 AM, <[EMAIL PROTECTED]> wrote:
> I have used Rattle ( R Analytical tool to learn easily )and R
> Commander and found them to be quite good. I don't use the command
> line interface because I find it too time consuming from other
> languages like SAS,SPSS. I am not sure
browseURL()
On Fri, Aug 15, 2008 at 3:55 AM, <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I was wondering if there's a way in R to open a web browser (such as
> Internet Explorer, or Firefox or whatever).
> I'm doing some analyses that have associated urls, and it would be nice to
> have the ability to
Am I missing something or does that list not include Emacs/ESS? It's also
missing TextMate (for the Mac people). There's probably a bunch more stuff
for Eclipse than it mentions.
Michael
On Mon, Sep 1, 2008 at 6:17 PM, Gabor Grothendieck
<[EMAIL PROTECTED]>wrote:
> Check out:
> http://www.scivie
Not sure of a RB tree available directly in R, but there's a nice public
domain C implementation from the UCSC genome browser library. It's used by
the IRanges Bioconductor package for implementing an interval tree.
On Fri, Sep 4, 2009 at 9:14 AM, Rune Schjellerup Philosof <
rphilo...@health.sdu.d
more hints? My OS is windows vista.
>
> Regards
>
> Ronggui
>
> On 26 October 2009 23:27, Michael Lawrence wrote:
> > Hi and sorry for the late reply. The Gdk library is part of the GTK+
> bundle
> > (GTK+, Gdk and GdkPixbuf are distributed together and hav
On Thu, Jun 25, 2009 at 8:29 AM, Bryan Hanson wrote:
> Hi All...
>
> I¹m trying to build a small demo using gWidgets which permits interactive
> scaling and selection among different things to plot. I can get the
> widgets
> for scaling to work just fine. I am using gcheckboxgroup to make the
>
On Mon, Apr 19, 2010 at 5:28 AM, Brian Lunergan wrote:
> Good morning folks:
>
> Made a second go at installing this and succeeded, but with some strange
> behaviours along the way. First the system back story.
>
>
My only guess is that installing RGtk2 from source is only possible if you
have th
Hi and sorry for the late reply. The Gdk library is part of the GTK+ bundle
(GTK+, Gdk and GdkPixbuf are distributed together and have synchronized
versions). So you'll just need GTK+ 2.12 or higher.
Michael
On Tue, Oct 20, 2009 at 8:16 AM, Ronggui Huang wrote:
> Dear all,
>
> I try to use RGtk2
On Mon, Nov 30, 2009 at 7:49 AM, j verzani wrote:
> jerry83 yahoo.com> writes:
>
> Jerry, see below:
>
> >
> >
> > Hi John,
> >
> > Thanks A LOT for your reply and the code. What I want to do is to include
> the
> ggobi display window to the widget
> > window setup by me. I tried add before but
On Fri, May 22, 2009 at 11:27 PM, Ronggui Huang wrote:
> 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 positio
t;-gtkWindow(show=F)
> w$SetSizeRequest(400,300)
> w$Add(da)
> w$Show()
>
> dgc <- gdkGCNew(da2)
> gdkGCSetLineAttributes(dgc, line.width=2,
> line.style="solid","round","round")
> gdkDrawRectangle(da2,dgc,FALSE,10,10,100,100)
>
>
> Ro
On Thu, May 28, 2009 at 7:35 PM, Ronggui Huang wrote:
> Dear all,
>
> I want to set tool-tips for a gtkButton. I use the following code
> which works under Windows. However, it doesn't work under Linux. Any
> hints? Thanks.
>
Unfortunately, on platforms besides Windows, the event loop runs via an
On Fri, May 29, 2009 at 3:47 AM, wrote:
> Dear Group members
>
>
> I was wondering whether there is any interface to use processing (
> www.processing.org) to visualize R analyses?
>
Nothing direct, to my knowledge.
As far as I know, Processing is a high-level language on top of drawing and
use
I think I've got the threaded event loop working. Uploaded it to CRAN as
2.12.12. Should appear in a few days.
Michael
On Fri, May 29, 2009 at 11:24 AM, Ronggui Huang wrote:
> Noted with thanks.
>
> Regards
>
> Ronggui
>
> 2009/5/29 Michael Lawrence :
> >
> &g
On Thu, Jun 4, 2009 at 7:53 AM, Harsh wrote:
> Hi UseRs,
> I recently started working with the RGtk2 library. The documentation
> is comprehensive and I've tried learning from the examples in most Gtk
> tutorials (which have C code). This is a little problematic, but has
> helped quite a bit in g
Possible using RGtk2. Just need to get it into a GdkPixbuf. See
gtkClipboardSetImage(). To get a graphic as a pixbuf, you can use
cairoDevice (drawing to a GdkPixmap and copying over), or output the graphic
to a temporary file and read it back in.
Michael
On Fri, Jun 12, 2009 at 5:42 AM, Hadley W
I would recommend just running gtkMain(), so that GTK+ blocks R. Then you
need your GUI to call gtkMainQuit() when it's time to kill R.
On Fri, Jun 12, 2009 at 6:59 AM, Olivier Nuñez wrote:
> Dear John,
>
> I have a question.
>
> When I run a RGtk code in my terminal (without using the R GUI)
>
On Sat, Mar 28, 2009 at 6:08 PM, zubin wrote:
> Hello, we are writing rich internet user interfaces and like to call R for
> some of the computational needs on the data, as well as some creation of
> image files. Our objects communicate via the SOAP interface. We have been
> researching the var
On Mon, Mar 30, 2009 at 6:01 AM, Irene Gallego Romero wrote:
> Dear all,
>
> I have some very big data files that look something like this:
>
> id chr pos ihh1 ihh2 xpehh
> rs5748748 22 15795572 0.0230222 0.0268394 -0.153413
> rs5748755 22 15806401 0.0186084 0.0268672 -0.367296
> rs2385785 22 1580
On Tue, Apr 14, 2009 at 1:23 AM, Harsh wrote:
> HI R users,
> I would appreciate information/examples/suggestions on building GUIs
> for R applications.
> I am currently working on a project that would require the following
> functionalities :
>
> 1) Display a window to the user. Provide a funct
You might want to check out the Qt stuff we've been working on. The qtutils
package has a graphics device that supports zooming and other fun stuff.
Also, qtpaint provides a flexible low-level engine for interactive graphics.
See: http://github.com/ggobi/qtpaint and http://github.com/ggobi/qtutils
2010/10/28 W Eryk Wolski
> Failed to load RGtk2 dynamic library, attempting to install it.
> trying URL '
> http://downloads.sourceforge.net/gladewin32/gtk-2.12.9-win32-2.exe'
> Content type 'application/x-msdownload' length 7378984 bytes (7.0 Mb)
>
> I run the complete setup of GTK .
> Hence, I
This is to announce the release of the RGtk2 2.20.x series. RGtk2 is an
interface between R and the GTK+ GUI toolkit and friends. The new release
updates the bindings to support up to GTK+ 2.20 (and remains backwards
compatible to 2.8). Previously, the interface supported only up to GTK+
2.12, whic
On Tue, Nov 16, 2010 at 10:59 AM, Fencl, Martin wrote:
> Helllo,
> I am having trouble with running the library Playwith in the R-2.12.0.
> running under 32bit Windows XP. After calling the library the error message
> "The procedure entry point gdk_cairo_reset_clip could not be located in the
> dy
On Mon, Nov 15, 2010 at 10:57 AM, Graham Williams <
graham.willi...@anu.edu.au> wrote:
> On 16 November 2010 02:40, Feng Mai wrote:
>
> >
> > I also have the problem trying to start rattle
> >
> > Windows 7 32-bit R 2.12.0
> >
> > When I try library(rattle) I get an error message
> > "The procedu
Please watch for 2.20.5 and let me know if it helps. Not really sure what is
going on here, but someone else has reported the same issue.
Thanks,
Michael
On Wed, Dec 29, 2010 at 6:44 AM, Shige Song wrote:
> Dear All,
>
> I am trying to compile&install the package "RGtk2" on my Ubuntu 10.04
> bo
Shige Song wrote:
>
> Look forward to it.
>>
>> Thanks.
>>
>> Shige
>>
>> On Sat, Jan 1, 2011 at 8:45 AM, Michael Lawrence
>> wrote:
>>
>>> Please watch for 2.20.5 and let me know if it helps. Not really sure what
>>> is
&g
This sounds like a DLL conflict to me. For example, do you have Matlab
installed? Sometimes if Matlab is on the PATH, the DLLs can conflict.
Michael
On Thu, May 27, 2010 at 11:06 PM, Tal Galili wrote:
> Hello dear R-help list and Michael Lawrence.
>
> I wish to use GTK with R.
>
Hi Tal,
Thanks for working through this. GGobi needs to be rebuilt for the new
version of GTK+. I'm probably the person to do that, but my time is short
these days. I'll try to get to it soon. The new binary will just include the
necessary DLLs, so that this GTK+ installation step is unnecessary.
Do you get an error message in a dialog box? My guess is that you just need
to update your GTK+.
On Tue, Mar 1, 2011 at 8:58 AM, R Heberto Ghezzo, Dr <
heberto.ghe...@mcgill.ca> wrote:
> hello, i tried to run playwith but :
>
> > library(playwith)
> Loading required package: lattice
> Loading req
Have you installed the 64 bit binaries of GTK+?
http://ftp.gnome.org/pub/gnome/binaries/win64/gtk+/2.22/gtk+-bundle_2.22.1-20101229_win64.zip
Michael
On Mon, Mar 14, 2011 at 4:56 AM, Joaquim Tinoco
wrote:
> Dear all,
>
>
>
> I am relatively new to R!
>
> I migrated from a windows 32-bits machin
On Sun, Apr 3, 2011 at 8:29 PM, Cleber N. Borges wrote:
> hello all
> I am trying to learn how to use the RGtk2 package...
> so, my first problem is: I don't get the right way for populate my
> gtkListStore object!
> any help is welcome... because I am trying several day to mount the code...
> Tha
I will look into this.
Michael
On Sun, Apr 17, 2011 at 8:34 PM, Richard M. Heiberger wrote:
> In several tries, I am finding the locator and identify functions on the
> cairo device on Windows,
> with R-2.13.0, do not seem to work correctly. Here is my experience with
> locator where I click th
The gain from updating will be that RGtk2 now looks in a specific (internal)
place for the libraries, so you should no longer need to worry about library
conflicts and PATH settings. In theory.
Michael
On Tue, Oct 25, 2011 at 5:46 PM, Aref wrote:
> Thank you for the response and I am sorry abou
Currently, the GtkDrawingArea object has no real knowledge that it is being
used as a graphics device. You could do something like: stick the device ID
on da1/da2 as an attribute, and then have a function that does dev.set with
that attribute.
Michael
On Mon, Mar 5, 2012 at 1:14 PM, Mark Heckmann
e.
Michael
I think this problem is very general when working with RGtk2, Cairo and
> multiple drawing areas (e.g. on notebook tabs).
> So I wonder if there is another way to go about it. Do you have an idea?
>
> Thanks in advance
> --Mark
>
>
> Am 06.03.2012 um 13:52 schrieb Mic
Hi Mark,
This comes down to the way that GTK+ allocates size to its widgets. The
allocation of a widget is initialized to have a width and height of 1. When
a child is added to a visible parent, the parent will execute its lay out
algorithm and allocate a certain amount of space to the widget. The
Sorry for the late reply to this one. You'll need to make sure that the
drawing area is realized prior to plotting, i.e., it should be in a visible
container. Also, since you are using GtkFixed, you will need to set an
explicit size request on the drawing area (otherwise it has zero area).
Michael
GGobi needs a 64 bit binary before we can get rggobi available on Windows
again.
On Fri, Apr 27, 2012 at 6:27 PM, Indrajit Sengupta
wrote:
> I came across this web site:
>
> http://cran.r-project.org/bin/windows/contrib/2.15/check/
>
> Where I checked the file: rggobi-check.log
>
> The contents o
There's SJava, http://www.omegahat.org/RSJava.
On Thu, May 22, 2008 at 12:50 PM, Munir, Danish <[EMAIL PROTECTED]>
wrote:
>
> Has anyone come across any alternatives to rJava and JRI? Are they any
> good? Better perhaps?
>
> Please give your reasons.
>
> Thanks,
> Danish
> - - - - - - - - - - - -
emacs + ess
On Fri, May 23, 2008 at 8:54 AM, Alexandra Almeida <[EMAIL PROTECTED]>
wrote:
> People,
>
> I'm a ubunto user and I used to write my scipts in "Java Gui for R", but it
> is a very slow tool to run my scripts...
> Do you know some efficient IDE for R?
> Thank!!!
>
> Alexandra Almei
This is not really addressing your problem, but I thought you might want to
know that the rtracklayer package in Bioconductor already supports parsing
BED files, as well as GFF and WIG. It's main purpose is to load the tracks
into genome browsers, like UCSC.
Michael
On Wed, May 28, 2008 at 1:11 A
See: http://www.omegahat.org/Rlibstree/
Binds R to libstree for suffix tree operations.
Libstree is included with the package, so don't worry about building it
separately.
Michael
On Tue, Jun 17, 2008 at 10:28 PM, Daren Tan <[EMAIL PROTECTED]> wrote:
>
> i need to compute the longest common su
On Tue, Jun 17, 2008 at 6:25 PM, David Arnold <[EMAIL PROTECTED]>
wrote:
> All,
>
> I've found odesolve and lsoda.
>
> Any other packages for differential equations?
>
There's Rsundials, which gives you an algebraic ode solver.
>
> Any good tutorials on using R and solving differential and part
On Fri, Jun 27, 2008 at 12:05 AM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am a new member to R programming.
>
> Am generating some visuals by using Cairo library. But Cairo is not
> compatible with all compilers
May I ask which compiler you are using? There are other vector
For some reason, cairoDevice has been crashing the Mac for a while. It has
something to do with the rotation of text through Pango. That's all I've
been able to determine. Kind of tough without access to a Mac... but it DID
work once upon a time..
2008/7/15 Felix Andrews <[EMAIL PROTECTED]>:
> De
On Wed, Mar 19, 2008 at 12:56 PM, jeffreya <[EMAIL PROTECTED]> wrote:
>
> Hi.
>
> I'm looking to create a user-friendly program built around some R methods
> I've written. The program should be as easy to install and use as possible
> and will be built around a GUI. This program will be cross-p
Sorry about this. cairoDevice 2.8 (just uploaded to CRAN) should fix this
problem.
On Tue, Apr 29, 2008 at 1:08 PM, Josh Gilbert <[EMAIL PROTECTED]> wrote:
> I sent this to R-Help and the listed maintainer of cairoDevice, I hope
> that was the right thing to do.
>
> For some reason, Cairo_png put
On Tue, May 6, 2008 at 10:32 AM, Mark Kimpel <[EMAIL PROTECTED]> wrote:
> I am running 64-bit Ubuntu 8.04 and when I invoke rggobi the interactive
> graph displays but R crashes. See my sessionInfo() and a short example
> below. Ggobi and rggobi installed without complaints. Mark
>
> > sessionInfo
rrently is distributing graphviz 2.16.1
>
Do you have libgvc.so.3 on your system?
Michael
> Thanks,
> Mark
>
>
> On Wed, May 7, 2008 at 12:14 AM, Michael Lawrence <[EMAIL PROTECTED]>
> wrote:
>
> >
> >
> > On Tue, May 6, 2008 at 6:06 PM, Mark Ki
On Wed, May 7, 2008 at 11:40 AM, Mark Kimpel <[EMAIL PROTECTED]> wrote:
> Uninstalling and reinstalling ggobi via Synaptic solved the problem, at
> least for the demo data mtcars. Rotation works fine. No crashes on exit.
>
> Thanks for the good advice.
>
I am pretty sure what Paul is referring to
This is possible using the cairoDevice package and RGtk2.
Turning an R graphic into a raw vector of bytes:
library(cairoDevice)
library(RGtk2)
# create a pixmap and tell cairoDevice to draw to it
pixmap <- gdkPixmapNew(w=500, h=500, depth=24)
asCairoDevice(pixmap)
# make a dummy plot
plot(1:1
On Jan 22, 2008 6:41 AM, ronggui <[EMAIL PROTECTED]> wrote:
> Thanks, John,
> Here is some code to show what I want to do. BTW, it seems there is a
> bug in svalue in gWidgetstcltk for gtext when using the drop=T
> argument.
>
> getsel <- function(obj, toolkit, ...) {
> ### get the selected text f
Just saw this one. This should be fixed in RGtk2 2.12.7 on CRAN.
Thanks,
Michael
On Tue, Sep 30, 2008 at 12:03 AM, Tomislav Puða <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using R 2.7.2 for Windows.I have also installed gtk-dev-2.12.9 and
> rattle 2.3.65. When I work in rattle, I occasionally get
On Tue, Oct 7, 2008 at 10:32 AM, Wade Wall <[EMAIL PROTECTED]> wrote:
> Sorry that my post wasn't very clear.
>
> What I am wanting to do is learn to build some simple GUIs for a limited
> number of functions. Basically, I am envisioning a screen with check boxes,
> a drop down menu etc. that user
On Sun, Oct 12, 2008 at 4:50 PM, Dirk Eddelbuettel <[EMAIL PROTECTED]> wrote:
>
> On 12 October 2008 at 12:53, cls59 wrote:
> | On a related note... does anyone know good resources for binding a C++
> | program to the R library?
>
> RCpp, at http://rcpp.r-forge.r-project.org, formerly known as
> R
On Tue, Oct 14, 2008 at 7:15 PM, john verzani <[EMAIL PROTECTED]> wrote:
> Tim Smith yahoo.com> writes:
>
> >
> > Thanks Charlie - I just tried it, but still get the same error:
> >
> > ---
> > > install.packages("gWidgets",dependencies=TRUE)
>
> ...
>
> > > library(gW
On Thu, Feb 12, 2009 at 3:41 PM, Michael Bibo <
michael_b...@health.qld.gov.au> wrote:
> Mark Ungrin utoronto.ca> writes:
>
> > > * Installing *source* package 'RGtk2' ...
> > > checking for pkg-config... /usr/bin/pkg-config
> > > checking pkg-config is at least version 0.9.0... yes
> > > checkin
Just to be sure you're aware, there are packages for chromatograpy and mass
spec data in Bioconductor. Like xcms. Don't think any will directly address
your problem, but they might be useful.
Michael
On Tue, Feb 17, 2009 at 5:44 AM, bartjoosen wrote:
>
> Hi,
>
> I'm trying to match peaks betwee
> > I think this issue has more to do with the event loop than gWidgets.
> > I've cc'ed Michael Lawrence, who may be able to shed more light on
> > this. Perhaps gIdleAdd from RGtk2 can work around this, but I didn't
> > get anywhere. My understanding is tha
That would be a good idea. I'm finishing up a much more comprehensive guide
that will become available soon.
Thanks for the suggestion,
Michael
2008/2/14 Felix Andrews <[EMAIL PROTECTED]>:
> I just discovered a good introduction to the RGtk2 package:
> RShowDoc("overview2", package="RGtk2")
>
>
On Fri, Feb 29, 2008 at 6:45 AM, Antje <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I was wondering whether there are flexible packages available with which
> you
> can create user interfaces? (I've read about "gWidgets"!?)
gWidgets provides an easy to use API for developing GUIs in R. It's an
abs
A good example of using glade with RGtk2 is the rattle package.
See: http://rattle.togaware.com/
On Mon, Dec 8, 2008 at 8:15 AM, Cleber Nogueira Borges
<[EMAIL PROTECTED]>wrote:
> hello all,
>
>
> where I find a example or tutorial of RGtk2 package?
> I would like to know about the gladeXML func
On 9/27/07, Moisan Yves <[EMAIL PROTECTED]> wrote:
>
> > My experience is that cairoDevice is a lot slower than Cairo,
> especially
> on Windows, and about equally flaky. If you see how many layers are
> involved with Cairo on Windows you will not be surprised.
>
> Actually, I ended up trying to l
Hi,
In my package RGtk2, there's a directory called 'src/RGtk2' that contains,
like all the other directories in the package, a '.svn' directory. It seems
that R CMD build is somehow missing that one '.svn' in 'src/RGtk2', even
though it excludes all the other instances of '.svn'.
I've tried putt
ude list which it uses to remove files from a
> staged build. Printing out the exclude list (at ca line 232) should be
> informative. One possibility is simply that there is a permissions issue
> in deleting that directory.
>
> On Sun, 30 Sep 2007, Michael Lawrence wrote:
>
> &
I think a better idea would be to make a jEdit plugin that embeds an R
console component (perhaps the one from JGR, but the last I checked it was
not embeddable, unfortunately). Anyway, it would be easy enough to roll your
own by extending the existing jEdit Console plugin using JRI. I would have
d
it
ever crashing on me.
-John Thaden
>
>On Thu, 25 Oct 2007 07:25:12, Michael Lawrence wrote:
>
>> I think a better idea would be to make a jEdit plugin
>> that embeds an R console component (perhaps the one from
>> JGR, but the last I checked it was no
76 matches
Mail list logo