Displaying 20 results from an estimated 2000 matches similar to: "FW: impossible escape?"
2006 Oct 11
1
impossible escape?
Greetings:
I've searched the R archives with no luck.
I want to print this to the screen as part of on-screen instructions as an
example:
default.FACTOR.labels <- c("Probe1", "Probe2", "Probe3")
I can't seem to trick gsub()
gsub("'", "\"", "default.FACTOR.labels <- c('Probe1', 'Probe2',
2012 Aug 23
3
Please help....normalization by the median of some control genes
Can someone show me some code to do normalization by the median of some control genes for the example below?
Many Many Thanks in advance
This strategy selects a subset of genes (called ?control genes?) and makes the median of their data distribution similar across arrays.
??? ??? id1??? id2??? id3
control1??? 0.8??? 0.7??? 0.6
control2??? 0.6??? 0.2??? 0.4
probe1??? ??? 0.3??? 0.2??? 0.5
2013 Mar 25
2
gptzfsboot: error 4 lba 30
Hi.
On one of my fresh installed servers I am seeing the following output during boot:
gptzfsboot: error 4 lba 30
gptzfsboot: error 4 lba 31
gptzfsboot: error 4 lba 31
gptzfsboot: error 4 lba 31
gptzfsboot: error 4 lba 30
gptzfsboot: error 4 lba 31
gptzfsboot: error 4 lba 31
gptzfsboot: error 4 lba 31
gptzfsboot: error 4 lba 31
gptzfsboot: error 4 lba 31
gptzfsboot: error 4 lba 31
gptzfsboot:
2009 Aug 26
1
Scripting - sort of
Dear R-ians:
I'm running R2.9.2 on a 6 year old Windows XP DELL with 2 Gig RAM and a 3MHz
Pentium 4 chip.
I've written a package using the User Menus Under Windows commands
(winMenuAdd, etc). It works very well.
I have 6 test cases and running any one of them requires many selections
form the menus and some keyboard entry, and it takes me hours to exercise
them all to see
2008 Jan 26
3
Which R version created a package?
Greetings, R-ians:
I would like to know which version or R was used to create a given package.
I think I remember seeing that topic discussed recently but cannot find it
among my notes. Can anyone tell me how to determine which version of R
created a package?
Thanks.
Charles Annis, P.E.
<mailto:Charles.Annis@StatisticalEngineering.com>
Charles.Annis@StatisticalEngineering.com
2009 May 02
1
compiled help pages
Greetings:
This should be easy but it isn't.
I have a home-brew package that works fine, with compiled html help pages,
all 150 of them. I want to make a similar package but not from scratch
since only a half-dozen routines are changed. So I created a new directory,
copied the old package into it and changed the name to newSTUFF. I changed
the names of all help pages too, as weill
2008 Apr 03
1
help with R semantics
Greetings:
I'm running R2.6.2 on a WinXP DELL box with 2 gig RAM.
I have created a new glm link function to be used with family = binomial.
The function works (although any suggested improvements would be welcome),
logit.FC <- function(POD.floor = 0, POD.ceiling =1)
{ if (POD.floor < 0 | POD.floor > 1) stop ("POD.floor must be between zero
and one.")
if
2008 Dec 31
1
cannot load package "splines"
Greetings R-Helpers:
I am trying to help a Chinese colleague who is experiencing difficulty
loading my package. He is running WindowsXP and the Chinese version of
R2.8.1.
As you can see from his screen-copy (below), my package is successfully
unpacked but cannot be loaded because splines balks when attempted to be
loaded. Package mh1823 requires package survival, which in turn requires
2008 Mar 18
1
invalid \uxxxx sequence while trying to create a package
Greetings, R-Helpers:
I am trying to build a package on WinXP, something that I have done before,
but infrequently, and have recently updated both the Rtools and the version
of R being used.
My test case fails after successfully creating the compiled html files with
this error message:
.
.
.
Created
c:\DOCUME~1\CHARLE~1\LOCALS~1\Temp\Rbuild142865646\March18\chm\March18.chm,
41,494
2008 Nov 15
1
HOW to provide a CITATION file?
Greetings, R-ians:
I am sure I am missing something obvious.
How do I provide a CITATION file for my home-brew package, so that it will
be packaged using
R CMD build --binary myPackage?
I have placed a CITATION file in the myPackage directory along with the
DESCRIPTION file, but it is ignored.
Thanks for your guidance.
Charles Annis, P.E.
Charles.Annis at StatisticalEngineering.com
2009 Feb 18
1
FW: Can't access CRAN
Dear R-Helpers:
I'm running R version 2.8.1 on a 1 year old HP Pavilion with a AMD Athelon
64 Dual Core Processor 4800+ 2.50GHz chip, Vista Home Premium SP1, and 2 GB
RAM. I can't add packages (even running as Administrator) because I can't
connect to a CRAN mirror.
> chooseCRANmirror()
(After nearly a minute I see the menu, and after any selection I immediately
see)
Warning
2006 Oct 12
2
avoiding a loop?
I have a vector, (not a list)
> repeated.measures.FACTOR.names
[1] "Insp1" "Insp2" "Insp3" "Insp4" "Insp5" "Insp6" "Insp7" "Insp8" "Insp9"
and would like to convert this into a single string
"Insp1,Insp2,Insp3,Insp4,Insp5,Insp6,Insp7,Insp8,Insp9"
I can do that with a loop, but isn't there
2006 Mar 05
2
plotting partial deriviatives
Dear R Helpers:
I am trying to annotate a plot. The following code snippet works, but it is
kind of a kludge since it adds the partial derivative symbols after creating
the plotmath frac(). Is there a more elegant way to write a partial
derivative?
dev.off()
plot(NA, xlim=c(-3,3), ylim=c(0,1.6), xlab="", ylab="", tck=-0.015)
text(1.6, 1, expression(paste("slope =
2006 Sep 29
3
control L to clear the Rgui screen in Windows
Greetings R-ians:
Searching the Searchable Mail Archives I discovered that ctrl L will clear
the Rgui screen, which is what I'd like to do from a print (or some similar)
statement.
Is there a mechanism to use the ctrl L clear-screen sequence in a script, or
print statement?
Thanks for your counsel.
Charles Annis, P.E.
Charles.Annis at StatisticalEngineering.com
phone: 561-352-9699
eFax:?
2006 Jul 05
1
tcl/tk with R
Greetings:
I would like to use tcl/tk with R, and have read "A Primer on the R-Tcl/Tk
Package" by Peter Dalgaard in Rnews, Volume 1/3, September 2001.
Are there more recent do-it-yourself instructions available?
I have been unsuccessful with the example in the tcltk2 package due to a
syntax error.
I think that I have isolated the problem to this code snippet:
for (i in
2006 Oct 23
1
R tcl/tk
Friends:
I am a long-time R user, learning tcl/tk, and am tying myself in knots over
something that should be simple.
I want to create a frame and put that frame inside the toplevel frame.
This works (i.e. it places text in col 1, and the corresponding entry box in
column 2) and later frame.2 resides where it should in the toplevel frame.
tkgrid(tklabel(frame.2, text="FACTOR column
2006 Nov 04
1
tcltk difficulties
Friends:
I have a tcltk widget for inputting constants and other values that are
needed by subsequent R functions. My widget works well. I have an OnOK
function that does what I had hoped it would. Among other input items the
widget also uses 6 radio buttons to select one of 6 choices. It functions
as it should.
Here is the problem: I would like one of the buttons to be the default and
to
2008 Sep 23
4
gsub difficulty
Greetings R-ians:
I know what doesn?t work but I don?t know why, nor how to remedy things.
I have a character string containing "." which I want to replace with " "
gsub(".", " ", file.label) replaces the every character with a blank.
However gsub(".xls", " ", file.label) replaces ".xls" with a blank as
expected.
It appears
2006 Jul 08
1
another tcl/tk query
Greetings:
I wish to use a tcl/tk widget to ask for user-selected parameter values. My
widget works ? it asks for and returns to my workspace the stuff I need.
Here is a snippet of my code:
###############################
OnOK <- function()
{
LOG.X <<- as.logical(as.character(tclvalue(log.X.buttonValue)))
LOG.Y <<- as.logical(as.character(tclvalue(log.Y.buttonValue)))
2005 Nov 10
1
converting a character string to a subscripted numeric variable
Dear R-helpers:
It seems that I have a mental block. (Some say that it sits atop my
shoulders.)
For reasons too tedious to retell I have an R object:
> input.line[7]
[1] "-13.24, -11.24, -9.24, -7.24, -5.24, -3.24, -1.24, 0.76, 2.76, 4.76,
6.76, 8.76, 10.76, 12.76, 14.76, 16.76, 18.76, 20.76, 22.76, 24.76, 26.76,
28.76, 30.76, 32.76, 34.76, 36.76, 38.76, 40.76, 42.76, 44.76, "