Displaying 20 results from an estimated 2000 matches similar to: "HTML Output from R"
1999 Aug 30
3
using underscore character in column names
Suppose you're reading data from a file in which the
column names contain underscore characters. Example:
------ start of file -----
pos_x pos_y
1.0 0.0
2.0 1.0
------ end of file -------
Using read.table, I can read this file just fine:
> data <- read.table (file="data", head=T)
> data
pos_x pos_y
1 1 0
2 2 1
>
However, I can't
1999 Jun 07
2
GIF graphics device
Is there a GIF graphics device or some other way to generate
a GIF from an R plot instead of postscript?
Then, I could paste a plot right into PowerPoint or Word.
--
Terry J. Westley, Principal Engineer
Veridian Engineering, Calspan Operations
P.O. Box 400, Buffalo, NY 14225
twestley at buffalo.veridian.com http://www.veridian.com
1999 Jun 28
3
using R interactively
1) Is it possible to erase data points, legends, and/or text
from an R plot?
2) What's the best way to find the closest data point to
what locator() returns?
For more background and some context on these questions, read on...
In using R interactively, I am displaying further details
about a specific data point when the user clicks on the
plot point.
Here's a simple example:
#
1999 Apr 01
2
need help installing ESS on Win95
Has anyone successfully installed ESS on Win95?
I have emacs version 19.34.6 and R version 0.63.3.
The ESS README and Makefiles seem pretty Unix-specific.
--
Terry J. Westley, Principal Engineer
Veridian Engineering, Calspan Operations
P.O. Box 400, Buffalo, NY 14225
twestley at buffalo.veridian.com http://www.veridian.com
1999 Nov 12
1
how to read a file one line at a time?
Is there a way to read a file one line at a time?
My file is potentially very large (multiple gigabytes)
so I'd like to read and process one line at a time.
The only choices I see are:
1) Direct the file to standard input and use readline(),
but then I have to parse the data columns myself.
2) Call scan() with nlines=1 over and over again, incrementing
skip, but I suspect that it will
1999 Sep 30
6
Graphics output device
Dear developers,
I wonder would you consider making a save to a graphics file format (as opposed
to ps)?
What prompts this is that we have just finished my wife's thesis using R
heavily for stats and graphs. The combination of latex, bibtex and R generated
.eps worked a treat and we were very pleased with both the final outcome and
the efficiency of gernerating it, especially when all the
1999 Apr 30
2
Graphs
I am trying to use the Windows version of R to do the following:
- Have a Delphi front-end which gets the user input
- Delphi will produce a R script, do a system call to R to
calculate the statistics.
Is there a better way? Maybe a library one can use in Delphi or
Visual C?
- How do one see a graph? A graph is plotted in a window which
IMMEDIATELY closes afterwords so that one can't
1999 Aug 03
2
Performance & capacity characteristics of R?
I hope this is merely a FAQ, and not an AFAQ (annoyingly....).
I'm a SAS programmer, with several years' experience of the system,
evaluating alternatives. See the SAS for Linux website (URL in sig) for
more info.
I'm exploring R's capabilities and limitations. I'd be very interested
in having a deeper understanding of it capacity and performance
limitations in dealing with
1999 May 14
1
HDF5 support in R
Has anyone succeeded in using HDF5 in R?
Using Solaris R version 0.64.0:
1) R was configured in this way:
cd /home/westley/R/R-0.64.0
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/home/westley/HDF/lib
./configure \
--prefix=/home/westley/R \
--with-g77=/usr/calspan/gnu/bin/g77 \
--x-lib=/usr/openwin/lib \
--with-hdf5-libs=/home/westley/HDF/lib
2) But, when I attempt to
1999 May 07
1
using text() to write into left margin
In version 0.63.0 for Win95, I can use text() to
write into the left margin (to the left of the axis)
as follows:
> plot(0:10,0:10,pch="+")
> text(c(1,0.5,0,-0.5,-1),1,"O")
I see 5 "O" symbols at the expected position, two of
which are left of the left axis.
However, in version 0.64.0 for Solaris 2.5.1 on a
Sparc/Ultra2, I only see three "O"
1999 Mar 29
1
Can R read NCSA's HDF?
I'm an R newbie, so please forgive if this question has been
asked and answered many times before on this mailing list. I
can't find anything in the manual (Notes or R), the FAQ or on
CRAN, so...
Has anyone implemented an interface so R can read NCSA's HDF?
--
Terry J. Westley, Principal Engineer
Veridian Engineering, Calspan Operations
P.O. Box 400, Buffalo, NY 14225
twestley at
1999 Oct 25
1
need help with building R on Solaris without using shared FORTRAN libraries
I need to build R (we're currently at R version 0.64.0) for
Solaris 2.5.1 on SunSPARC without using the libF77.so and
libsunmath.so shared libraries. I'd like to use statically
linked libraries instead.
Nothing I have tried has worked as measured by executing
the command "ldd R.binary" to see whether it references
the shared libraries or not.
This is what I've tried:
1)
2004 Jul 29
2
unwanted as.integer
> a <- sqlQuery(irrdb, "select count(field) from mytable where field = 1")
> print(a)
count(field)
1 8
> paste(a)
[1] "as.integer(8)"
Why the as.integer() representation? I later pass the result into this
write.html.table(), and what I get is rows of as.integer()... when all I
want is the integer itself.
as.integer(31) as.integer(21)
1999 Sep 27
0
HTML Output from R
Apologies to the group for not having summarized (and taking all this time)
all the replies I got on this topic.
The original question was if anyone had done HTML output from R. The
message also included a first attempt at writing such a function..
_________
Thanks, to Terry Westley who suggested that I model the function after
write.table. I was not aware of write.table (my fault). Since then I
1999 Jun 21
0
measure displayed size of a character string
Is there a way to measure the length of a character string as
text() or mtext() would display it? Not in characters, but in
inches or user coordinates.
I'm displaying a hierarchical list in the left margin. I'd like
to determine the length of the labels so that I can resize the
plot so the labels don't spill over into the plot area.
Like this:
1999 Jun 29
0
dev.print() doesn't copy graphics in left margin
I've a plot which puts some text and lines in a wider than
normal left margin (using xpd=T). When I use dev.print() to
capture the plot to postscript, it faithfully duplicates the
plot except for the graphics in the left margin.
I can't duplicate this effect in a simple plot such as
plot(runif(10)), so I can't give you sample code.
Any idea what I'm doing wrong?
R version
1999 Oct 25
0
errors terminating script
When running R in batch mode, I would like to detect certain
errors and prevent them from terminating the script.
Specifically, when I read in a file with read.table() and the
file is empty, the script terminates. There are occasions
when an empty file is OK, so I'd like to continue running.
How can I catch such errors?
--
Terry J. Westley, Software Systems Engineering Supervisor
Veridian
2001 Sep 27
4
using the pfe editor with R 1.1.3 under windows 2000
I am in the process of setting up R1.3.1 on a new computer running windows
2000. I am having problems running the PFE text editor simultaneously
within R for editing functions and outside R for editing
ordinary text files. The PFE editor behaves as I expected, if it is opened
in R AND but no other PFE window is open outside R. Similarly, it also
works fine if I am editing a text file outside
2004 Nov 19
4
3d Map with bars
Apologies in advance for the question. I am trying to draw a map of the US
as a surface plot so that I would be able to drop bars on the different
states (something like Uwe Ligges' scatterplot3d example 4). I am not sure
where to start looking for such a beast. If anyone has any pointers,
ideas, I will be grateful.
TIA,
Partha
2012 Feb 01
2
Problem with xtable- rescaling a table
Dear R users,
I am new to Latex and I am using the R package xtable to generate tables.
I want to produce a table that is very long. in the landscape format, but
I would need to rescale the table so that it fits in the page. xtable
enables me to have the landscape format, but I cannot rescale it, and there
seems to be a problem, if I use scalebox in Latex on my output produced
with stable and the