[R] [R-pkgs] Announcing Rpad, a web-based workbook-style interface for R

2004-09-18 Thread Short, Tom
Rpad is an interactive, web-based analysis system. Rpad pages are
interactive workbook-type sheets based on R. Rpad is an analysis package, a
web-page designer, and a gui designer all wrapped in one. Rpad pages are 
run from the browser and connect to R running on the server (the same 
server that hosts the web pages).

Rpad includes the R package RpadUtils, which adds convenient code to
generate HTML widgets and convenience functions for generating web graphics
(png).
For more information and demonstrations, please see:
http://www.Rpad.org/Rpad/
Key features include:
(*) WYSIWYG editing -- The browser page is editable, so you can add 
comments or change the code or input data.

(*) GUI's -- Create GUI elements with R or with the Rpad interface.
(*) Fast -- No browser refreshes. The R process on the server stays alive 
while the browser page is open, so once the page is up and running, it is 
quite responsive.

(*) HTML output -- Create fancy HTML output using Eric Lecoutre's R2HTML.
(*) Simple plotting -- Has convenience functions to simplify creation and
presentation of web-friendly graphics.
(*) Flexible -- You can add features in a number of ways with javascript
and/or R.
(*) Cross platform -- Rpad pages work in Internet Explorer v5.5 or greater
and Mozilla (Firefox or Suite). The server-side code works in Apache in
Linux or Windows (although not as well in Windows).
(*) Open source -- Rpad brings together several powerful open-source
technologies, specifically: R, Mozile, HTMLArea, Statistics-R-0.02,
JSCookMenu, Apache, and R2HTML.
Feel free to use the r-sig-gui mailing list
(https://stat.ethz.ch/mailman/listinfo/r-sig-gui) for any feedback on Rpad, 
the demonstration pages, and especially for feedback and questions on
installing your own Rpad server.

- Tom
--
Tom Short
EPRI PEAC, www.epri-peac.com
T. A. Short, Electric Power Distribution Handbook, CRC Press, 2004.
http://www.crcpress.com/shopping_cart/products/product_detail.asp?sku=1791
___
R-packages mailing list
[EMAIL PROTECTED]
https://stat.ethz.ch/mailman/listinfo/r-packages
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Confused about specifying plot colors as RGB values

2004-09-18 Thread Uwe Ligges
Paul Roebuck wrote:
Based on reading 'rgb'
So, why are you not using rgb()?
 documentation, I would have thought
the following would have produced identical results. Can
someone explain how to make this happen? I need to be able
to specify an array of rgb values for the 'col' parameter.
colnames.col - c(black, red, blue, green)
colnames.rgb - apply(as.matrix(colnames.col), 1, col2rgb)
dimnames(colnames.rgb)[[2]] - colnames.col
baseline - 1:32
offset2 - 2*baseline
offset3 - 3*baseline
offset4 - 4*baseline
offsets - cbind(offset2, offset3, offset4)
# Produces expected result
X11()
matplot(baseline, col = colnames.col[1], type = l)
matlines(offsets, col = colnames.col[-1])
# Displays a ??yellow?? line
X11()
matplot(baseline, col = as.matrix(colnames.rgb[,1]), type = l)
matlines(offsets, col = colnames.rgb[,-1])
Yes, because 255 is a color number that is interpreted as yellow.
Why do you think you can specify a matrix of integer values and R knows 
that you mean an rgb representation rather than color numbers?

What you can do now (but I don't think you really want to do it this 
way!) is:

  cn - apply(colnames.rgb, 2,
function(x) rgb(x[1], x[2], x[3], maxColorValue=255))
  matplot(baseline, col = cn[1]), type = l)
  matlines(offsets, col = cn[-1])
Uwe Ligges

--
SIGSIG -- signature too long (core dumped)
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


[R] edit(crash)?

2004-09-18 Thread Dan Bolser

I found that the edit command kills my linux/R/emacs environment
sometimes.

How should I report this bug?

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] edit(crash)?

2004-09-18 Thread Peter Dalgaard
Dan Bolser [EMAIL PROTECTED] writes:

 I found that the edit command kills my linux/R/emacs environment
 sometimes.
 
 How should I report this bug?

Start by explaining exactly what goes wrong and what your setup is.
E.g. are you using ESS?

-- 
   O__   Peter Dalgaard Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics 2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark  Ph: (+45) 35327918
~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] edit(crash)?

2004-09-18 Thread Duncan Murdoch
On Sat, 18 Sep 2004 16:32:26 +0100 (BST), Dan Bolser
[EMAIL PROTECTED] wrote:


I found that the edit command kills my linux/R/emacs environment
sometimes.

How should I report this bug?

Figure out how to make the crash reproducible, then see if you can
figure out what causes the crash.  Try it out on the 2.0.0 alpha
release to see if the bug has been fixed.  If it looks like it hasn't,
use bug.report() to report all the details.

If you can't make it reproducible, it probably won't be fixed.  If you
can, and it's an R bug, it probably will be:  but it may well be an
ESS or Emacs bug.

Duncan Murdoch

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html