Displaying 20 results from an estimated 600 matches similar to: "Can R read NCSA's HDF?"
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 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 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 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 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 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 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 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:
#
1998 Nov 20
2
R and hdf
Hi,
I've been playing with R for only a few days, so I'm not terribly
familiar with it yet. Has anyone ever done any work using HDF or
NetCDF files with R? Both file formats have libraries which can be
linked to a program to read and write data to these formats. Is this
sort of thing possible with R? We are planning to use the HDF format to
store experimental data collected by some
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
2010 Jan 26
2
hdf files
hello,
I have a problem to open an hdf file. i have downloaded the package 'hdf5' as it was advised on R seek. But when i try to load the file, the R console sends me an eror message:
setwd("C:/Documents and Settings/Karine/Bureau/data/")
#install.packages('hdf5')
library("hdf5")
sea_ice <- hdf5load("asi-s6250-20090704-v5i.hdf", load =
1999 Aug 16
1
configure / linking problem when using hdf5
I've installed hdf5 [library & includes] here locally, last week.
[see ?hdf5save in R]
There is a remaining compilation / linking problem for me:
The hdf5 library uses "compress2" a routine defined in Gnu's zlib,
but not available in the zlib that comes with X11R6.3 (which we have installed).
Now unfortunately,
the final link statement for R (0.65) [for me, with hdf5
2007 Apr 23
1
Bug in R 2.4.1 ?
Hello everybody,
I'm using hdf5 files to store results from intermediate calculations.
These are usually part of a list, called "res". As I want the hdf-files
to contain all the members of res in its top "directory", I used to do
attach(res)
do.call("hdf5save", args=c(fileout=file.path(dir, ofile),
as.list(names(res))))
detach(res)
which did what I
2010 Sep 23
2
hdf-files
Dear All,
I have data in HDF file format and would like to read it into R.
I have tried the package hdf5 without success.
Any ideas and suggestions??
Kind regards,
Katrin
--
Katrin Fleischer
Vrije Universiteit Amsterdam
Faculty of Earth and Life Sciences
Subdepartment Hydrolgy and Geo-Environmental Sciences
Room E-360
De Boelelaan 1085
1081 HV AMSTERDAM
Tel: +31 20 59 87391
2011 Mar 04
2
Fixing the HDF5 package: the on.exit mystery
Dear all,
I'm trying to fix a subtle bug in the hdf5 package. This package provides an
interfaces to the HDF5 library and hence allows one to load data into R from
files in the HDF5 format. The bug appeared during a period in which R changed
but the package did not.
I include below both the R and C code, stripped of everything except what is
needed to show the bug. What is supposed to
2007 Apr 13
2
R on Solaris 10 x64
Hi R Developers,
Greg is helping me with debugging R on Solaris 10 x64. Please let us
know if you have any thoughts or tips that can help us debug this.
Thanks,
David
************
Using default transfer plist
in vector_io: permuting
About to write
*** caught segfault ***
address e8554000, cause 'memory not mapped'
Traceback:
1: .External("do_hdf5save", call,
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
2009 Aug 24
1
hdf5 package segfault when processing large data
Hi there,
I am currently working on something that uses hdf5 library. I think
hdf5 is a great data format, I've used it somewhat extensively in
python via PyTables. I was looking for something similar to that in R.
The closest I can get is this library: hdf5. While it does not work
the same way as PyTables did, but it's good enough to let them
exchange data via hdf5 file.
There is just 1