Displaying 20 results from an estimated 3000 matches similar to: "binary data"
2004 Aug 28
4
removing invariant columns from a matrix
I'm looking for an efficient way of removing zero-variance columns from
a large matrix.
Any suggestions?
Thanks,
- Moises
[[alternative HTML version deleted]]
2004 Aug 16
3
capture stderr in Windows
I'm using the following command to run R in Windows
"Rterm --no-save --no-restore < "Rscriptfile" > "Rstdoutfile"
How can I capture the text sent by R to stderr in a file?
Thanks,
- Moises
[[alternative HTML version deleted]]
2004 Jun 20
9
A way to list only variables or functions?
I am curious if there is any way to list only variables or functions in
current environment, rather than listing all objects? Thanks.
--
Daehyok Shin (Peter)
Geography Department
Univ. of North Carolina-Chapel Hill
2004 Jun 20
9
A way to list only variables or functions?
I am curious if there is any way to list only variables or functions in
current environment, rather than listing all objects? Thanks.
--
Daehyok Shin (Peter)
Geography Department
Univ. of North Carolina-Chapel Hill
2004 Jul 10
6
where does R search when source()?
Exactly where does R search for foo.R if I type source("foo.R")?
Only from current working directory (same as getwd()), from all directories
specified by e.g. $PATH? Thanks.
Daehyok Shin
2004 Jul 10
6
where does R search when source()?
Exactly where does R search for foo.R if I type source("foo.R")?
Only from current working directory (same as getwd()), from all directories
specified by e.g. $PATH? Thanks.
Daehyok Shin
2004 Jun 07
7
Vectors of years, months, and days to dates?
The interface for dates in R is a little confusing to me.
I want to create a vector of Date objects from vectors of years, months, and
days.
One solution I found is:
years <- c(1991, 1992)
months <- c(1, 10)
days <- c(1, 2)
dates <- as.Date(ISOdate(years, months, days))
But, in this solution the ISOdate function converts the vectors into
characters,
which can cause serious
2004 Apr 12
4
Only referenc copy when calling C routine?
What happens when I pass an array to a dynamically linked C routine?
Is only its reference copied when an array is passed and returned?
Or, is its whole content copied?
In R extension manual, I found the following description.
But, I can't know exactly which is true.
"There can be up to 65 further arguments giving R objects to be passed to
compiled code.
Normally these are copied before
2004 Apr 06
2
A package to read and write NetCDF?
I am looking for a package to read and write NetCDF files.
NetCDF package says it can only read, not write.
Another package for the standard binary file format?
Daehyok Shin
2004 Dec 06
1
VR package not found for R version 1.9.1
I'm trying to install the VR package for version 1.9.1 but I'm getting
the following error message:
> install.packages("VR")
trying URL `http://cran.r-project.org/bin/windows/contrib/1.9/PACKAGES'
Content type `text/plain; charset=iso-8859-1' length 20716 bytes
opened URL
downloaded 20Kb
trying URL
2004 Apr 07
3
More user-friendly error message needed.
When I tried the following commands, I got a strange message.
> x<-data.frame(y=c(1:10))
> plot(x$z)
Error in xy.coords(x, y, xlabel, ylabel, log) :
x and y lengths differ
"The data frame, x, does not have a field named z."
may be better user-friendly message for this kind of common error.
Daehyok Shin
2004 Apr 07
3
More user-friendly error message needed.
When I tried the following commands, I got a strange message.
> x<-data.frame(y=c(1:10))
> plot(x$z)
Error in xy.coords(x, y, xlabel, ylabel, log) :
x and y lengths differ
"The data frame, x, does not have a field named z."
may be better user-friendly message for this kind of common error.
Daehyok Shin
2004 Apr 20
1
Can't find memory.size()
I try memory.size function to find out available memory size,
but surprisingly R complains it can't find the function.
?memory.size also failed.
Is it not in the base library? If so, why can't my R find it?
I am using the binary 1.9.0 version for Mandrake 9.1.
Thanks in advance.
Daehyok Shin
Terrestrial Hydrological Ecosystem Modellers
Geography Department
University of North
2004 Jul 22
2
Files and classes in a package?
While installing my small package, I met a tricky problem.
For clarity, let me explain it with the following simplified example.
In ~/pkg/R/aclass.R,
setClass("aclass", contains="bclass", representation(i="numeric"))
In ~/pkg/R/bclass.R,
setClass("bclass", representation(j="numeric"))
After building a "pkg" package, the file
2004 Apr 05
1
Deep copy in R
I am handling spatial data of huge volumes,
so sensitive to the silent duplication of data in script programs.
In the following R program, exactly when is the vector data deeply copied?
Thanks in advance.
1 v <- 1:10000
2 z <- f(v)
--------- function f ----------
3 f <- function(x) {
4 y = x
5 y[10] = 1
6 xf = date.frame(x=x)
7 xf$x[10] = 1
8
2011 Sep 02
2
Chemical Names in Data Frames
Greetings -
I am working on some data that contain chemical names with air concentrations, and I am creating a data frame with date/time and each chemical having its own column. However, these are organic chemicals (e.g. 1-butene, 2,3,4-trimethylbenzene etc). The package I am going to be using the data with is openair, and many of the great functions require you to specify a column name which
2009 Sep 30
2
E1/T1 Tapping call recording in Asterisk - Testing needed
Howdy,
I've spent a couple of days writing a new feature for Asterisk that allows
to record calls in T1 or E1 PRI lines using Asterisk connected to tapped
lines. This means that you don't have to install anything in the PBX's/telco
equipment that is going to be monitored, all you need is to install a device
like the PN 633 Tap Connection Adapter that is available for example, from
2004 Jul 22
2
Standard error of a sum
Folks,
This is so simple is driving me crazy. It's not really an R question is
more an Statistics question.
I applied a chemical in 3 different events during a growing season. I
took 3 samples in each event to estimate mean applied chemical.
Thus, I can easily estimate means and st.err by event. I can then
estimate the total chemical applied for the whole season by adding the 3
means
2007 Aug 02
1
New user help with plot.default
Hi - I'm just starting out with R and have come up against a problem with
what should be a simple operation. I'm plotting a range of safety standards
for 7 different chemicals. I don't want the standard box and whisker plot -
I just a dot for each value. Whilst using "plot.default" I get the error
"invalid xlim value" - which is confusing since using the same script
2009 Sep 28
6
SAS user now converting to R - Help with Transpose
I am just starting to code in R and need some help as I am used to doing this
in SAS.
I have a dataset that looks like this:
Chemical Well1 Well2 Well3 Well4
BOD 13.2 14.2 15.5 14.2
O2 7.8 2.6 3.5 2.4
TURB 10.2 14.6 18.5 17.3
and so on with more chemicals....
I would like to transpose my data so that it looks like this:
Chemical WellID Value
BOD Well1 13.2
BOD Well2 14.2
BOD Well3 15.5
BOD