Displaying 20 results from an estimated 8000 matches similar to: "can I have a matrix of factors, please?"
2004 Oct 26
2
need help debugging on Windows
Dear R-devel,
Apologies for bothering y'all with this seemingly perennial question. A
user reported problem with my most recent version of randomForest (4.4-1),
and I was able to reproduce it with his data with R-2.0.0 patched
(2004-10-24) on WinXP Pro. The problem is that it crashes R on Windows.
However, it does not happen on Linux (tried SUSE ES8 on our Opterons and
Quantian on my
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
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
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
2003 Jun 16
1
Problem when making refman.pdf on WinXP (R 1.7.1)
Dear R-help,
Can some one tell me what could be the problem? I downloaded the R-1.7.1
source and try to compile it on WinXP. "make", "make bitmapdll", "make
tcl", "make recommended" all ran w/o problem. However, when I ran "make
docs", it failed at creating refman.pdf, with no apparent error that I could
see. I have attached the log file
2005 Sep 23
1
undocumented objects in a package
Dear R-devel,
I recall that there used to be a mechanism to get around the requirement
that all objects in a package have associated documentation; i.e., a way to
specify a list of objects (mostly functions) that are not considered as part
of the package API. Is this still available? I cannot find any mention in
R-exts.
I realize that the way to go is to have a name space, and eventually
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
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
2004 Mar 25
2
compilers for R on AMD64
Dear R-devel,
A while ago Prof. Ripley had mentioned that g77 on AMD64 isn't the greatest,
and the Salford Fortran is likely to be better. My question is, has anyone
tried compiling R with Salford compilers (or other commercial compilers)?
If so, do they offer performance advantages over GCC?
TIA for any info.
Best,
Andy
Andy Liaw, PhD
Biometrics Research PO Box 2000, RY33-300
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 14
2
conditional import in NAMESPACE
Dear R-help,
Can some one tell me if it's possible to have conditional importFrom() in
the package NAMESPACE file? Basically I'd like to know if it's possible to
make the NAMESPACE file compatible with R 1.9.0 and those 1.8.1 and earlier.
The problem is that I want to import cmdscale(), which is in `mva' prior to
1.9.0 but in `stats' post 1.9.0.
Any pointer much appreciated!
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
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
2006 Oct 31
1
graphics ignore tabs in text
Dear R-help,
I seem to recall that I can use "\t" to get tab in a string on a
graphics device, but it doesn't seem to work. Try:
lab <- "a\tb\tc"
cat(lab, "\n") # works in the console output
plot(1:5, main=lab) # no tabs in the title
text(3, 3, lab) # no tabs in the text
I get the same result both in the windows() and pdf() devices. Any
ideas?
2004 Apr 03
1
make check-all does not find DESCRIPTION for VR packages
When running make check-all on R-1.9.0beta (2004-03-31) built with
pgf77/gcc/g++ on the Opteron (running SLES8), I get four warnings about not
finding the DESCRIPTION files for the packages in the VR bundle; e.g.,
cannot open file `/u1/scratch/R-1.9.0/tests/Packages/VR/spatial/DESCRIPTION'
Error in tools:::.checkPackageDepends(dir =
"/u1/scratch/R-1.9.0/tests/Packages/VR/spatial")
2004 Apr 05
0
speed difference between pgf77 and g77 on amd64
For those interested:
I compiled R-1.9.0beta_2004-04-02 with pgf77/gcc/g++ and g77/gcc/g++, both
_without_ fast BLAS. Both passed make check-all. Simple crossprod(m) for
fairly large `m' shows that the version compiled with pgf77 is about 15%
faster:
[andy@leo:scratch]% echo "set.seed(1); m <- matrix(runif(5e7), 1e4); gc();
system.time(crossprod(m))" | R-1.9.0-PGI/bin/R
2005 Mar 09
1
delay of warning for things in .Rprofile
Hi all,
I was playing with R-devel 2005-03-08 on winXP Pro (installed from Duncan's
installer). My .Rprofile contains:
options(defaultPackages=c(getOption("defaultPackages"), "mypkg"),
chmhelp=TRUE)
but "mypkg" has not yet been installed in the library/ directory of this
installation. When Rgui starts, I do not get any error or warning, but upon
2007 Oct 25
1
meaning of "trim" in mean()
(I see this in both R-patched r43124 and R-devel r43233.)
In the Argument section of ?mean:
trim the fraction (0 to 0.5) of observations to be trimmed from each
end of x before the mean is computed. Values outside that range are
taken as the nearest endpoint.
Then in the Value section:
If trim is non-zero, a symmetrically trimmed mean is computed with a
fraction of trim observations
2007 Nov 05
1
dot in function name taken as S3 method by package check
Hello everyone,
I'm trying to update the locfit package so that it passes package check
in R 2.6.0. However, the check seems to think some of the functions
with dot in the names are S3 methods (thus warns about the format of the
\usage{} part) when they are not. Can anyone recommend a workaround for
this? I tried reading R-exts, but couldn't find any hint. I'd very
much appreciate