Displaying 20 results from an estimated 1000 matches similar to: "R graphics device for flash apps"
2007 Jul 06
1
Hook for running a function before evaluation
Hello,
I like much addTaskCallback() and friends. However, there are situations
were we would like to have a function run BEFORE, not after every
top-level tasks. I think specifically to reset options(width = ) to
accommodate to the current width of the console, using something like:
options(width = system("tput cols"))
I am sure there are many other situations where this could be
2008 Nov 28
7
Examples of advanced data visualization
Dear R-help,
I am looking for ideas and presentations of new and advanced data visualization
methods. As an example of what I am searching for, the 'Many Eyes' pages at
http://manyeyes.alphaworks.ibm.com/manyeyes/
may provide a good paradigm. I would be interested even if it will not be easy
to implement such examples in R, e.g. because of the interactive nature of these
graphical
2004 Aug 18
3
R as shared library
Hello folks,
I'm embarking on a project to embed R into the Apache web server, and
I'd like your help. Currently, I'm looking for a way for R code to call
back into a shared library from which the R shared library was loaded.
Essentially, apache starts and loads mod_R.so which runs an
initialization routine which calls Rf_initEmbeddedR() and the following
code:
/* override to
2012 Jan 11
1
Rook: software and specification for R web applications and servers
Dear ?useRs,
Rook version 1.0-3 has been submitted to CRAN. In the mean time you
can get it here:
https://github.com/jeffreyhorner/rRack/blob/master/Rook_1.0-3.tar.gz
The latest release contains support for deployment with rApache. Please see
3.6.5 and 3.6.6 under section 'Configuring rApache' in the manual:
http://www.rapache.net/manual.html#Configuring_rapache
What is Rook? A
2012 Jan 11
1
Rook: software and specification for R web applications and servers
Dear ?useRs,
Rook version 1.0-3 has been submitted to CRAN. In the mean time you
can get it here:
https://github.com/jeffreyhorner/rRack/blob/master/Rook_1.0-3.tar.gz
The latest release contains support for deployment with rApache. Please see
3.6.5 and 3.6.6 under section 'Configuring rApache' in the manual:
http://www.rapache.net/manual.html#Configuring_rapache
What is Rook? A
2007 May 01
1
Embedding R and registering routines
Hello,
The use of .Call and the like all depend on loading shared libraries and
registering routines from it. Also, .Primitive and .Internal depend on
routines being registered in the R binary. And applications that embed R
can override routines declared in Rinterfac.h, but is there a way for an
application embedding R to register other routines defined in the
application without loading a
2010 Jul 02
2
Best way to determine if you're running 32 or 64 bit R on windows
Hi,
Is this sufficient?
if (.Machine$sizeof.pointer==4){
cat('32\n')
} else {
cat('64\n')
}
Or is it better to test something in R.version, say os?
I'd like to use this to specify appropriate linker arguments when
building the RMySQL windows package.
Jeff
--
http://biostat.mc.vanderbilt.edu/JeffreyHorner
2011 Nov 11
1
When collected warnings exceeds 50
Hi,
I've been tracking down a memory leak in an rApache application,
http://data.vanderbilt.edu/rapache/bbplot. The code was deployed in
2007 and has survived numerous upgrades of both R and rApache
(including upgrades and bugs in RMySQL). It's written in such a way so
that web crawlers will download every possible URL the app will
create. It's not a high-traffic app, but just about
2008 Jul 24
3
Should this PDF render correctly without font embedding?
A professor here at Vanderbilt sent me the following code. Each of the
text strings should right justify against the center vertical bar, but
because of font issues it doesn't. I understand that there are
workarounds, but I was just curious if this was consistent across all
platforms. On linux with R 2.7.1 and R-trunk (r46103), both acrobat
reader 8 and kpdf render it incorrectly. How
2006 Sep 29
1
Possible bug in Rcons_vprintf
In R-2-4-branch r39548, Rcons_vprintf is called from stdout_vfprintf
when R_Outputfile is NULL. When called and output is greater than
R_BUFSIZE, output is truncated to R_BUFSIZE. Here's a one-line fix:
Index: src/main/printutils.c
===================================================================
--- src/main/printutils.c (revision 39548)
+++ src/main/printutils.c (working
2015 Mar 06
1
R with Array Hashes
On Fri, Mar 6, 2015 at 9:36 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
>
> Jeff,
>
> Nice writeup and promising idea. From the "gimme numbers" department:
>
> - do you pass the R regression tests?
I made sure that the implementation passed 99% of the tests, however
there were two that gave differing results which I think are related
to traversing hashed
2010 Oct 01
2
Will PrintWarnings remain non static?
Hi,
The C function PrintWarnings is currently not in the C API, but it is
declared non static in the svn trunk as of revision 53110 . As this is
the only function that creates the last.warning object used by the R
function warnings(), I think it would be useful for programs that
embed R to be able to call it.
So, will it remain non static, that is callable although it's not
declared in the
2008 Sep 04
1
Possible R graphics devices
Hello all,
I've been working on a new R Graphics device that targets Adobe's
Shockwave Flash format (SWF for short). It uses http://www.libming.org/
on the backend. Here are some example outputs so far:
http://160.129.129.41/~hornerj/plots/
Once you click on the above, choose a directory like 'smooth' and then
click on test.html to see a side-by-side comparison of the swf
2006 Oct 07
1
Request to open up getConnection to embedded interface
Hello all,
I would like to request that getConnection() and the struct Rconn
declarations be added to the R embedded interface. Here's why.
It's common in CGI scripts for web applications to direct stdin, stdout,
and stderr map to reading from the browser, writing to the browser, and
writing to a web log file respectively; very nice and neat. However,
things get a little hairy once
2006 Oct 05
1
littler release 0.0.6
What ?
------
We are pleased to announce version 0.0.6 of littler
What's new ?
------------
This version includes a bug fix or two as well as a number of small
enhancements to the documentation.
For OS X and the r/R confusion, our recommended suggestion is to call
configure using either the --program-suffix=X or --program-prefix=Y
option to have the binary and manual
2011 Apr 12
2
parse_Rd raises error when example section contains a quoted percent character
I was writing Rd documentation for a new package when I came across
this issue. Here's the smallest example:
> library(tools)
> cat("\\examples{x <- '<%=rnorm(1)%>'}\n",file=file.path(tempdir(),'test.Rd'))
> readLines(file.path(tempdir(),'test.Rd'))
[1] "\\examples{x <- '<%=rnorm(1)%>'}"
>
2007 Mar 24
2
Subtle bug in do_basename
Hello,
I've been wondering why my no-optimization R-devel builds have been
hanging during "building/updating package indices ...". I tracked it
down with gdb to this line from do_basename in utils.c:
while ( *(p = buf + strlen(buf) - 1) == fsp ) *p = '\0';
Now, imagine if your compiler places the variable fsp immediately before
buf on the stack, and strlen(buf) is 0.
2010 Dec 11
1
Rapache on windows
Hello all,
I searched on the www but could not find installation instructution for
rapache on windows. The page says that the release runs on UNIX/Linux and
Mac OS X operating systems.
Has anyone been able to configure it on windows? Any idea how to go about
it?
Thank you.
2005 Jan 21
2
Struggling with S3/S4 interface issues and External Pointers
I'm currently working on embedding R into the Apache2 webserver (with
some positive results...), but I'm struggling to identify the best way
to expose the apache data and functions to R.
A couple of thoughts:
In light of the recent discussion on "S3/S4 classes performance
comparson", I'm leaning toward implementing the interface with S3 style
classes. I appreciate
2011 Feb 03
2
Creating a reference class object from a class definition in a package fails
Hi,
I'm trying to create a package that contains reference class
definitions from which users can create reference objects, but there
seems to be something awry.
My toy example creates an empty package via
package.skeleton('TestClass') to which I add the following R code:
TestClass <- setRefClass('TestClass',fields=c('name'))
Unfortunately my R console output