Displaying 20 results from an estimated 1000 matches similar to: "using text() to write into left margin"
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 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
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)
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 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 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 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 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 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
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
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 02
2
HTML Output from R
Task: To generate HTML output from R
Details: I am trying to serve up HTML output from R. That is analyses or
table of data from R saved as HTML output with formatted tables etc. This
file is then called in a CGI script to output to user browser. The CGI
script inspired by Mark J. Ray reads the HTML output, formats the header
and footer and any graphic output if necessary.
My question is: Has
1999 Oct 25
1
Summary: SQL-Interface
Some days ago I asked for general methods to access SQL-Databases.
Thanks to:
Terry Westley [twestley at buffalo.veridian.com], partha_bagchi at hgsi.com,
F.Tusell [etptupaf at bs.ehu.es], Michael Lapsley [mlapsley at ndirect.co.uk],
Robert Gentleman [rgentlem at jimmy.harvard.edu], Torsten Hothorn
[hothorn at statistik.uni-dortmund.de]
Several solutions were suggested:
(1) using Michael
2008 Sep 17
10
netfilter + vpn + how/why + etc...
Hi,
I have a few questions about the inner workings of netfilter
(a graphical layout of my network setup @
https://aequorin.homeunix.net:62389/local/media/network-graph.png)
1) These are the syslog entries for some simple connection tests.
Shorewall/netfilter has been set to record all stateful connections
SSH is recognized as phys(eth0) -> $FW traffic. This is because PHYSIN
is
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
2013 Jul 01
1
dotchart.R and left margin
Hello,
In trying to minimize the margin on the left hand side when using
dotchart I found what may be a typo in the code.
In the lines below from dotchart.R, should nmai[4L] be nmai[2L]?
if (!(is.null(labels) && is.null(glabels))) {
nmai <- par("mai")
nmai[2L] <- nmai[4L] + max(linch + goffset, ginch) + 0.1
par(mai = nmai)
}
Thank you,
Stephen Weigand
--
2011 Mar 07
1
postscript cuts off left margin
I am using the following commands:
postscript(file="test.eps",paper="special",width=6,height=6,horizontal=FALSE)
# fake data
x <- c(12,13,14)
y <- c(41,42,43)
plot(x,y,type="n",xlab=expression(paste("log ",nu[peak],"
[Hz]",sep="")),ylab=expression(paste("log ",L[peak]," [",ergs,"
2013 Jun 07
2
Dovecot IMAP
This is my first experience of the mail server.
Set up a mail server from Postfix + Dovecot with the MySQL authorization.
When you create a new user dovecot makes strange folder structure: the
'inbox' contains 'juncus', 'tash', 'sent' etc.
ie 'sent' and other folders are subdir to the 'inbox'.
My result:
04 LIST "" "*"
* LIST
2013 Jun 12
2
Dovecot 2 + IMAP
This is my first experience of the mail server.
Set up a mail server from Postfix + Dovecot with the MySQL
authorization. When you create a new user dovecot makes strange folder
structure: the 'inbox' contains 'juncus', 'tash', 'sent' etc. ie 'sent'
and other folders are subdir to the 'inbox'. How to make the imap
folders 'sent',