Displaying 20 results from an estimated 10000 matches similar to: "print Text on device"
2012 Mar 23
1
Memory limits for MDSplot in randomForest package
Hello,
I am struggling to produce an MDS plot using the randomForest package
with a moderately large data set. My data set has one categorical
response variables, 7 predictor variables and just under 19000
observations. That means my proximity matrix is approximately 133000
by 133000 which is quite large. To train a random forest on this large
a dataset I have to use my institutions high
2007 Dec 27
2
Problem of lmer under FreeBSD
I encounter such problem with lmer under FreeBSD, but not under
Windows. Anyone knows why? Thanks.
> example(lmer)
lmer> (fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy))
Error in UseMethod("as.logical") : no applicable method for "as.logical"
> traceback()
9: as.logical(EMverbose)
8: as.logical(EMverbose)
7: lmerControl()
6:
2008 Mar 10
2
Multiple density plots
Hi all,
I'm interested in doing a multiple density plot on a number of columns in a
dataframe.
>DF
lineA.1 lineA.2 lineB.1 lineB.2
r1 5.355354 6.665575 10.288498 11.74750
r2 3.643415 5.427600 11.407112 13.97065
r3 5.813674 6.438502 9.628871 11.57456
r4 5.241340 5.125049 10.456221 12.35381
r5 4.640885 8.635518 8.344704 11.98484
r6 4.559852 6.416171 10.419599 10.89247
r7
2007 Nov 09
2
wrapper for coxph with a subset argument
Dear R-help -
Thanks to those who replied yesterday (Christos H. and Thomas L.)
regarding my question on coxph and model formula, the answers worked
perfectly.
My new question involves the following.
I want to run several coxph models (package survival) with the same
dataset, but different subsets of that dataset.
I have found a way to do this, described below in functions subwrap1 and
2007 Nov 08
2
mapply, coxph, and model formula
Hello -
I am wanting to create some Cox PH models with coxph (in package
survival) using different datasets.
The code below illustrates my current approach and problem with
completing this.
### BEGIN R SAMPLE CODE ##############################
library(survival)
#Define a function to make test data
makeTestDF <- function(n) {
times <- sample(1:200, n, replace = TRUE)
event
2007 Nov 28
1
Can't make affylmGUI work
Hi,
Can anyone help me of the affylmGUI package, I can't get it work and
searched for google but can't find any proper solutions.
I get the error information each time when I load my cells files, which
are shown in the following links.
-------------
http://clarezoe.googlepages.com/1.png
http://clarezoe.googlepages.com/2.png
http://clarezoe.googlepages.com/3.png
-------------
Errors also
2007 Sep 20
1
packages MANOR, qvalue, and tkWidgets fail install on Fedora 7 with latest R-beta build
Had some packages fail install so I updated to today's R-beta release.
On updating packages the following packages still fail. sessionInfo
follows. Mark
Warning messages:
1: In install.packages(update[instlib == l, "Package"], l, contriburl =
contriburl, :
installation of package 'MANOR' had non-zero exit status
2: In install.packages(update[instlib == l,
2008 Feb 20
0
Non-standard S4 behavior
Hi all,
I've been trying out the code from Chamber's "Classes and Methods in the S
language": http://www.omegahat.org/RSMethods/Intro.pdf
>From my session:
R> whatis <- function(object) paste( "sdw" )
R> setMethod( "whatis", "vector", function(object) paste( "cswdvcr" ) )
R> dumpMethod( "whatis",
2007 Aug 03
2
RSPython won't load in R 2.6.0 under Linux
I can compile RSPython without difficulty, been when I try to load it, I
get the error messages below. Also below are some cryptic warnings I get
on R boot (in case these are pertinent) and my sessionInfo().
Any help is appreciated. Thanks, Mark
Warning messages:
1: In .updateMethodsInTable(fdef, where, attach) :
Couldn't find methods table for "conditional", package
2008 Jan 23
3
How do I get a character and a symbol in a legend
In the following snippet
plot(1:10,1:10,type="n")
points(1:5,1:5,pch="+")
points(6:10,6:10,pch=20)
legend(5,5, c("A","B"), pch=c("+",20))
I want to get a legend with a "+" and a solid circle (pch=20).
However, what I get in the legend is "+" and "2". How can I get a "+"
and a solid circle?
thanks, Steve
2007 Aug 09
1
tcltk error on Linux
I am having trouble getting tcltk package to load on openSuse 10.2
running R-devel. I have specifically put my /usr/share/tcl directory in
my PATH, but R doesn't seem to see it. I also have installed tk on my
system. Any ideas on what the problem is?
Also, note that I have some warning messages on starting up R, not sure
what they mean or if they are pertinent.
Thanks, Mark
Warning
2008 May 19
1
RSQLite and undefined symbol:sqlite3_bind_in
Hi All,
I tried to install AnnotationDBI
like so:
source("http://bioconductor.org/biocLite.R")
biocLite("AnnotationDbi")
and got this error:
....
Loading required package: RSQLite
Error in dyn.load(file, ...) :
unable to load shared library '/RHEL3/local/lib64/R/library/
RSQLite/libs/RSQLite.so':
/RHEL3/local/lib64/R/library/RSQLite/libs/RSQLite.so: undefined
2008 Mar 31
2
ps or pdf
Hi everyone,
I have been making a fair amount of figures in R recently that I've
been touching up with Illustrator and I've found a difference between
pdf and ps files and I was wondering if someone could enlighten me
about them.
While the figures look the same, the ps version tends to have
truncated strings. The last character of short strings tends to be on
a string of its own, located
2007 Nov 21
1
Different freq returned by spec.ar() and spec.pgram()
Dear list,
I've recently become interested in comparing the spectral estimates
using the different methods ("pgram" and "ar") in the spectrum()
function in the stats package.
With many thanks to the authors of these complicated functions, I
would like to point out what looks to me like a bit of an
inconsistency -- but I would not be surprised if there is good
reasoning
2010 Feb 11
2
Suprising behavior of paste or cat?
I may be making a simple error, but I've looked at the str() of the
resulting objects and I can't see any obvious reason I'm having the
problem I am having, so I am reaching out to the R-help group. ?I am
generating a string in my code. ?When I make a slight modification
(add a comma at the end using my "lastcomma" function), I can no
longer successfully write that string to
2008 Jan 26
2
Error: C stack usage is too close to the limit
Lately R has been behaving strange on my Linux (Ubuntu 7.10) machine,
with occasional segfaults. Today something else and reproducible
happened:
If I type the code below (meant for calibrating data), I get the error
message that "the C stack usage is too close to the limit".
calcurve <- cbind(1:2e4, 1:2e4, 1:2e3); #dummy curve, real one is more complex
caldist <-
2007 Oct 05
3
R-2.6.0 package check problems
Hello
One of my packages, untb_1.3-2, passes R CMD check under
MacOSX (and apparently the systems used in the package check
summary page on CRAN) but fails with the following message on
R-2.6.0.tgz compiled last night on my (home) linux box. I hasten
to add that I have never seen this error before on home-compiled
pre-releases of R-2.6.0.
Can anyone help me understand what is going on?
2007 Jul 21
2
X11() dies in remote background
this is not a problem with R but a request for related advice.
i am trying to run a lengthy batch job from my home.
the OS is ...
Linux jedi.bwh.harvard.edu 2.4.22-openmosix1smp #1 SMP Fri Sep 5 01:05:37 CEST
2003 i686 athlon i386 GNU/Linux
i start the job and put it in the background. while i am connected, all is
well. eventually my ISP shuts down the connection if i do not do any
input.
2008 Feb 25
3
How to include the documentation of a function in a Sweave document?
Dear R-help,
I would like to include the documentation of an R function in an
*.rnw document processed by Sweave. Because I'm sharing my *.rnw
files with colleagues under Linux and Windows (I'm on Mac OS X),
I would like a pure R solution.
The naive approach doesn't work, because Sweaving this *.rnw
file:
-------- tmp.rnw --------
\documentclass{article}
\begin{document}
2008 Feb 11
2
image quality
dear all,
I am writing a sweave documentation for my analysis, and I am plotting huge
scatter plot data for microarray.
unlucly this take a lot of resource to my pc because of the quality of the
image which is to high (I see the PC get stuck for each single spot).
how can I overcome this problem? is there a way to make lighter image?
john
[[alternative HTML version deleted]]