Displaying 20 results from an estimated 10000 matches similar to: "Follow-Up: R on FC4"
2006 Jul 04
1
problem getting R 2.3.1 svn r38481 to pass make check-all
Hi,
I noticed this problem on my home desktop running FC4 and again on my
laptop running FC5. Both have previously compiled and passed make
check-all on 2.3.1 svn revisions from 10 days ago or so. On both these
machines, make check-all is consistently failing (4 out of 4 attempts on
the FC 4 desktop and 3 out of 3 on the FC 5 laptop) in the
p-r-random-tests tests. This is with both default
2005 Aug 14
1
make check-all fails (PR#8063)
Full_Name: Jed Kaplan
Version: 2.1.1 Patched
OS: Fedora Core 4
Submission from: (NULL) (66.31.221.212)
Installation through "make check" succeeds. "Make check-all" fails with the
following tail message:
"
make[3]: Entering directory `/mnt/linuxApp/usr/local/R/R-patched/tests'
running code in 'p-r-random-tests.R' ...make[3]: *** [p-r-random-tests.Rout]
Error 1
2006 Jan 11
2
R 2.2.2-1 RPM build problem and solution on RH AS 4 x86_64
I have a dual Xeon x86_64 system running Red Hat AS 4. There are no
x86_64 rpms in http://cran.us.r-project.org/bin/linux/redhat/el4/ (the
i386 ones are a point release behind anyway) , and the fc4 rpms have a
whole web of dependencies I don't want to pull in. So I decided to
build http://cran.us.r-project.org/bin/linux/redhat/SRPMS/R-2.2.1-1.fc3.src.rpm
.
When I ran rpmbuild. one of the
2005 Aug 03
1
deparse(substitute(x)) and S3 methods
Dear List,
I have the following function:
coca <- function(x, ...)
{
if(is.null(class(x))) class(x) <- data.class(x)
UseMethod("coca", x)
}
and a default method
coca.default <- function(x, y, method = c("predictive", "symmetric"),
reg.method = c("simpls", "eigen"), weights =
NULL,
2005 Aug 02
1
problem using evaluating a formula
##data
y1 <- matrix(c(3,1,0,1,0,1,1,0,0,0,1,0,0,0,1,1,0,1,1,1),
nrow = 5, byrow = TRUE)
y2 <- matrix(c
(3,0,10,3,3,0,0,1,1,0,0,0,0,0,1,0,1,0,0,2,1,0,1,1,0,2,1,1,4,1),
nrow = 5, byrow = TRUE)
y1 <- as.data.frame(y1)
y2 <- as.data.frame(y2)
rownames(y1) <- rownames(y2) <- paste("site", 1:5, sep = "")
colnames(y1) <-
2003 Jul 01
1
Warning message in scatter.smooth (modreg)
Dear list,
In using the scatter.smooth() function (modreg) on a small data set (100
obs) the following error was produced:
> scatter.smooth(Na, S)
Warning message:
k-d tree limited by memory. ncmax= 200
I haven't used scatter.smooth much but when I have, I haven't seen this
message before.
gc() returns
> gc()
used (Mb) gc trigger (Mb)
Ncells 417693 11.2 667722
2005 Apr 06
1
axis.Date problem, bug(?)
Dear List,
I have the following problem with axis.Date, here is an artificial example:
dates <- scan(what = "character")
"25/03/2000" "26/03/2000" "27/03/2000" "28/03/2000" "29/03/2000"
"30/03/2000" "31/03/2000" "01/04/2000" "02/04/2000" "03/04/2000"
"04/04/2000"
2005 Oct 10
1
Documenting newly created generic versions of non-generic base R functions
Hi,
Following the Writing R Extensions manual, I created a method for the
cor function. As cor is not a generic, I followed the advice of section
6.1 of the same manual and did the following:
cor <- function(x, ...) UseMethod("cor")
cor.default <- stats::cor
cor.symcoca <- function{ some code }
I used package.skeleton to create the basic set-up of my package,
containing the
2005 Jun 01
0
StructTS and arima and missing values
Dear List,
I am thinking about ways in which I might analyse some stratigraphic
data. The nature of the data series I have generates a number of issues:
1) The data I have in mind come from a sediment core sequence taken from
the bottom of a lake. The sequence is sliced into a priori defined
slices, in this case 0.2cm per slice. in this way a sequence of 0.2cm
slices is produced for the
2005 Nov 15
0
plots in a matrix
Hi,
consider the following example:
I have a matrix like this:
spp.mds$points
[,1] [,2]
CLAP0 1.79703164 -11.66716182
CLAP30 3.87034797 -7.48168377
YBI0000 10.27538316 -3.32226184
YBI0100 0.58463806 -1.25748701
hir10000 5.82907036 -4.09695960
hir10016 -2.22113472 -4.86563557
gyn30000 5.14643671 -3.58706541
gyn30032 2.99552434 -6.21815132
...
2005 Jun 01
0
RESOLVED: R GUI for Linux?
1) As long as the developer version of tcltk is installed, I now have no problem compiling R with tcltk support on Fedora Core 3. After extracting the gunzipped directory, I switch to the new directory and execute the following two commands:
./configure ----enable-R-shlib
make
2) After compiling JGR as specified on their web site, the JGR program is initialized with the 'run' file.
2005 Nov 30
1
\dQuote{} in \code{} not processed
Just wondering if this is the expected behaviour.
I was wanting to produce quoted text within \code{}, without manually
entering the '"'. \dQuote{} seems advisable after reading the Writing R
Extensions manual, so I tried \code{\dQuote{mytext}} expecting it to
produce "mytext" in monospace font (with ' ' round it in the R help
files) but it appears that
2005 Apr 29
2
Automating plot labelling in custom function in lapply() ?
Dear List,
Consider the following example:
dat <- data.frame(var1 = rnorm(100), var2 = rnorm(100),
var3 = rnorm(100), var4 = rnorm(100))
oldpar <- par(mfrow = c(2,2), no.readonly = TRUE)
invisible(lapply(dat,
function(x) {
plot(density(x),
main = deparse(substitute(x))) }
)
)
2005 May 04
1
make hanging during compile of r-patched/R-devel on Fedora Core 3
Hi,
On a new Dell laptop, with a fresh FC3 installation (with latest updates
applied) I am experiencing make hanging consistently after/during
building grDevices. This happens when using the configure flag
--with-lapack (I have the LAPACK rpm distributed with FC3 installed).
The last two lines of output are:
make[5]: Leaving directory
2005 Nov 09
2
Packages that require other packages - How?
Dear list,
The help page for library/require contains the following paragraph in
the section "Packages that require other packages":
The source code for a package that requires one or more other
packages should have a call to 'require', preferably near the
beginning of the source, and of course before any code that uses
functions, classes or methods from the
2005 Aug 16
4
as.character and a formula
Dear list,
given this formula:
> fmla <- formula(y1 ~ spp1 + spp2 + spp3 + spp5)
> fmla[[3]]
spp1 + spp2 + spp3 + spp5
is this the intended behaviour of as.character:
> as.character(fmla[[3]])
[1] "+" "spp1 + spp2 + spp3" "spp5"
? Where does the extra "+" come from?
> as.character(fmla)
[1] "~"
2005 Nov 30
3
Building a windows binary of a package on Linux
Dear List,
Can I build a binary package (.zip) for Windows on my Linux machine from
my package sources? There is no C, C++, Fortran code involved, just
plain ol' R. I read through the article by Jun and Rossini, but (on
first reading) this seems more targeted at building a Windows version of
R and Windows package binaries that contain C, C++, Fortran code that
needs to be compiled.
Thanks,
2004 Jun 11
2
Sweave and multiple graphs
Dear list,
I am using Sweave to build a small report. I want to produce a series of
figures, each figure containing a number of plots and then have them
included in the Sweave file.
An example would be to :
postscript(file = "ANCbwplot%03d.eps", onefile = FALSE, other options...)
oldpar <- par(mfrow = c(2,2))
....
do lots of plots to produce a number of eps files
....
par(oldpar)
2003 Feb 28
1
summary.glm() print problem(?) with cor = TRUE
Hi,
I've had a look the bug list and searched though the R documentation, email
lists etc. but didn't see anything on this:
when I do:
summary(species.glm1, correlation = TRUE)
I get a correlation matrix like this:
Correlation of Coefficients:
( p I(H C
pH * 1
I(pH^2) * B 1
Ca . . 1
I(Ca^2) . . B
attr(,"legend")
[1] 0 ` ' 0.3 `.'
2004 Nov 04
3
sub- and superscript in plot labels
Dear List,
I need to add a subscript and a superscript to some of the ions in the
labels on some plots.
I have got to here but now I'm stuck:
plot(1:10, xlab = expression(paste("nm SO"[4], " ", mu, "eq cm"^{-2}, "
yr"^{-1})))
Which gives almost what I require. No matter what I tried, however, I
could not get bot a sub script *and* a superscript