Displaying 20 results from an estimated 11000 matches similar to: "undocumented objects in a package"
2003 Jun 23
2
Lwd ignored when printing on Windows
Dear R-help,
Has anyone notice the problem that, on Windows (NT and XP), when printing a
graph using the "File -> Print..." menu in the graphics window to print the
graph, that line width seemed to be ignored in the printed output? For
example, if I make a plot with plot(1:10, type="l", lwd=5), it looks right
on screen, but when printed out using the menu, it looks like
2004 Mar 25
1
yet another fast BLAS (from AMD this time)
Dear R-devel,
Has anyone played with this?
http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_2282,00.html
<http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_2282,00.html>
.
I'll probably give it a shot...
Best,
Andy
Andy Liaw, PhD
Biometrics Research PO Box 2000, RY33-300
Merck Research Labs Rahway, NJ 07065
mailto:andy_liaw@merck.com
2004 Oct 20
7
Q about strsplit and regexp
Dear R-help,
This one is probably a piece of cake for regexp masters. I'd like to split
a character vector (for simplicity, say of length one for now) that contains
fields that are delimited by arbitrary number of white spaces (e.g., " a b
c "). How do I get the character vector that contain the fields? In the
example I gave, I've tried:
> strsplit(" a b c
2003 Aug 26
4
R on Linux/Opteron?
Dear R-help:
Has anyone tried using R on the the AMD Opteron in either 64- or 32-bit
mode? If so, any good/bad experiences, comments, etc? We are considering
getting this hardware, and would like to know if R can run smoothly on such
a beast. Any comment much appreciated.
Best,
Andy
Andy Liaw, PhD
Biometrics Research PO Box 2000, RY33-300
Merck Research Labs Rahway, NJ
2005 Feb 07
5
R on Beowulf cluster?
Dear R-help,
Has anyone tried running R on a Beowulf-type cluster? I can get R to run in
batch (using R CMD BATCH) on a cluster, but am wondering if it is possible
to get an interactive R session on a compute node. Right now, if I run:
beorun --nolocal R
I just get the R start-up message and back to the shell prompt. If I try
bpsh 0 R
I can get R started (but the R prompt does not
2008 Mar 19
1
how to exclude terms preceded by - from model frame
[I believe few users manipulate formulae and model frames like this, so
I'm posting here instead of R-help.]
I just found out that model.frame() includes all terms, including those
preceded by "-" in the formula, in its output (as mentioned on its help
page). Is there a recommended way of excluding "negative" terms? My
guess is that I can use info in the terms attribute
2005 Jan 10
1
help diagnosing ftp problem
Dear R-help,
I've been compiling R from source on our Linux boxes for quite a while. One
thing that bugs me is that I always get an error when make check-all where
it choked up running tests/internet.R. That wasn't a big deal, as I can run
install.packages()/update.packages() fine, and that's all I use the 'net
connection for. The problem is that it takes a _long_ time to fail
2006 Nov 30
1
strange error from R CMD check about xaxp
Dear R-devel,
Kurt had alerted me to the problem that the randomForest package that I
maintain has been failing checks in R-devel. However, I just can't see
why or where it's failing. I'd very much appreciate any pointer.
The failure occur when running the example code in varImpPlot.Rd:
> varImpPlot(mtcars.rf)
Error in par(opar) : invalid value specified for graphical parameter
2004 Apr 15
7
all(logical(0)) and any(logical(0))
Dear R-help,
I was bitten by the behavior of all() when given logical(0): It is TRUE!
(And any(logical(0)) is FALSE.) Wouldn't it be better to return logical(0)
in both cases?
The problem surfaced because some un-named individual called randomForest(x,
y, xtest, ytest,...), and gave y as a two-level factor, but ytest as just
numeric vector. I thought I check for that in my code by testing
2004 Jan 09
2
debugging strange segfault
Dear R-devel,
Can anyone give me some hints on how to go about debugging a strange
segfault in my randomForest package? Here's the scoop:
A user reported segfault when running predict() in the randomForest package.
I asked for the data and code. The combination runs fine under WinXPPro,
but does give segfault on one of our Linux boxes running R (1.7.0 through
R-devel_2004-01-08) on
2006 Oct 03
3
how do I tell configure where to find Java? [Broadcast]
Before I do that, I would need to remove the gcj stuff that are in /usr/bin.
If I know how to remove gcj, I'd gladly do that. However, for the
particular version of the OS, the entire GCC seems to be bundled into one
rpm, and I could not remove just the gcj component. Neither do I wish to
mess with files that are part of some RPMs--- in my experience that's
invitation for trouble later.
2006 Jun 06
1
a plead to package developers regarding GCC
Dear DevelopeRs,
I'd like to ask those who develop R packages with compiled code to please
try avoiding dependency on GCC (gcc/g77/gfortran/g++) specific features in
the code, for the simple reason that there are non-GCC compilers out there
that might choke on such features.
I found this out back when I was trying to build R-2.3.0-to-be on our dual
Opteron based Scyld cluster. Because the
2006 Oct 03
3
how do I tell configure where to find Java?
Dear R-help,
I'm trying to build R-2.4.0 on our Opteron-based Scyld cluster. The system
has gcj (the GNU Java compiler, part of GCC) stuff in /usr/bin. When I
installed jdk 1.5.08, the install script placed it in /usr/java (I didn't
have a choice, as the script didn't offer that option). Now when I run
configure in R-2.4.0, it finds gcj, which is not what I want to use. Is
there a
2004 Jun 24
4
news file included in source but not binary package
Dear R-devel,
I've noticed that when I place a `NEWS' file in the top-level directory for
a package, then do R CMD build mypkg, the file gets included in the .tar.gz
file. However, if I do R CMD build --binary mypkg, the `NEWS' file does not
get included in the .zip file. Is this intentional? Is there a way I can
get such a file included in the pre-compiled package automatically?
2005 Feb 08
1
Windows Printing and Line Widths
Hi all,
I develop and print from both Windows and Linux, and am seeing some
printing inconsistencies first described about a year and a half ago by
Andy Liaw (see below). Specifically, the line widths on my windows plots
are about 5 times smaller than that on Linux, and my windows printouts
do not match what my screen looks like. However, if I print to a pdf
file first, then I can get accurate
2004 Mar 16
2
make check failed for R-1.9.0alpha (2004-03-16) when link against Goto's BLAS
Dear all,
Has anyone seen the same problem? I tried compiling R-1.9.0 alpha
(2004-03-16) on our Opteron box running SUSE Linux ES8. I ran:
./configure --enable-R-shlib --with-blas=goto
and got:
Source directory: .
Installation directory: /usr/local
C compiler: gcc -m64 -O2 -g -msse2 -march=k8 -Wall
--pedantic
C++ compiler: g++ -m64 -O2 -g
2006 Mar 09
1
R2.2.1-patched build failed with PGI 6.1 on x86-64
Hi All,
While attempting to build R-patched using the Portland Group compiler suite
on our dual Opteron 250 box running Scyld 29cz5 (based on RH, kernel
2.4.29), I get:
make[5]: Leaving directory
`/home/andy/Rbuild/R221-pgi/src/library/tools/src'
make[5]: Entering directory
`/home/andy/Rbuild/R221-pgi/src/library/tools/src'
pgcc -I../../../../include -I/include -I/include/CC -fpic
2004 May 10
7
strange behavior of names<-
Dear R-help,
I've encounter what seems to me a strange problem with "names<-". Suppose I
define the function:
fun <- function(x, f) {
m <- tapply(x, f, mean)
ans <- x - m[match(f, unique(f))]
names(ans) <- names(x)
ans
}
which subtract out the means of `x' grouped by `f' (which is the same as,
e.g., resid(lm(x~f)) if `f' is a factor).
2004 Dec 14
3
make check-all failed on SLES8 for x86_64
Hi all,
I've only now noticed that on our Opteron boxes running Suse Enterprise
Server 8 that R-2.0.1 did not pass make chek-all. It bombed in
tests/lapack.R at:
> eigenok <- function(A, E, Eps = 1000 * .Machine$double.eps) {
V <- E$vect
lam <- E$values
stopifnot(abs(A %*% V - V %*% diag(lam)) < Eps, .... [TRUNCATED]
> Ceigenok <- function(A, E, Eps =
2006 Mar 10
2
problem building R-patched on x86-64 with PGI 6.1
Dear R-devel,
[I'm not sure if this is appropriate for R-devel. If not, I'm more than
happy to move it to R-help.]
As those of you who saw my post on R-help know, I've been trying to build
R-patched on a dual Opteron box running Scyld Beowulf, using the PGI 6.1
compilers. The build went fine, but I couldn't get it to pass make
check-all. Jennifer Lai, who reported success with