MAKE
to gmake. Of course, gmake
should be in your path.
If it is not, specify the fully-qualified location of the
gmake executable. And if it is not on your system, install it.
The package could use the vanilla make, but it currently does
not and it is not a high priority issue for me.
If the error is about a missing library, then the problem is
with your setting of LD_LIBRARY_PATH
.
R CMD INSTALL -c RGtkThis is needed to create the additionally library libRGtk.so which other packages can use to share code from the RGtk package.
> library(RGtkExtra) Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "/usr/local/lib/R/library/RGtkExtra/libs/RGtkExtra.so": libRGtk.so: cannot open shared object file: No such file or directory Error in library(RGtkExtra) : .First.lib failedTo fix this, set the environment variable LD_LIBRARY_PATH to include the directory
/RGtk/libs/
.
g_utf8_get_char_validated
.
What can I do?
BTW, the links to the unstable sources can be replaced with the
stable/
directory if you want to be cautious, but some things may not
work with these older versions!
One can read the definitions from non-defs files and use the same code generation functions. All one needs to do is transform the descriptions of the classes, enums, flags, functions into the appropriate S objects. It is quite a simple structure.
"url_requested"
event/signal.
This is called with the HTML widget, the name of the URL
and a pointer to a GtkHTMLStream
object.
The callback should read the contents of the image,
perhaps from a remote server and then
write the contents to the GtkHTMLStream
.
The first step can be done using,
e.g. download.file()
or resolving a relative URL locally by
appending the base of the current document
to the URL name using
widget$GetBase()
.
The second step involves writing the
image contents to the HTML stream
given as the third argument to the callback.
This currently requires passing the
image to some C code R_readFileToHTMLStream
.
One calls this with the fully qualified name of the file
containing the image and the stream reference exactly as
given by the third argument of the callback.
An example of how this works is given in the
gtkHtmlImages.S
in connection with the viewHtml()
function from the
RGtkViewers.
Note that this mechanism makes it possible to interpret the URL in arbitrary ways. Specifically, the value of the URL need to be a URL, but instead may be an R command. Whether this is useful remains to be seen!
gtkWidgetGetParent()
should work
but unfortunately the underlying
Gtk routine gtk_widget_get_ancestor
doesn't behave properly.
While this misbehaves, you can access the parent directly as a Gtk argument of an object.
gtkObjectGetArg(obj, "parent")or
obj$GetArg("parent")use the argument.