Displaying 20 results from an estimated 7000 matches similar to: "names of objects in .rda"
2007 Jun 06
2
name of the variable that will contain the result of a function
Hi everyone,
say I have a function called 'foo', which takes the argument arg1.
Is there any mechanism that I can use to "learn" about the variable
where foo(arg1) is going to be stored?
For example:
x <- foo(arg1)
so, inside foo() I'd like to be able to get the string "x".
if,
foo(arg1)
was used insted, I'd like to get NA.
thank you very much,
b
2007 Jan 18
5
how to get the index of entry with max value in an array?
Hi all:
A short question:
For example, a=[3,4,6,2,3], obviously the 3rd entry of the array has the maxium value, what I want is index of the maxium value: 3. is there a neat expression to get this index?
Thank you!
Best,
Feng
[[alternative HTML version deleted]]
2006 Nov 09
1
Failing to install R-2.4.0 on FC4
Hi everyone,
Firstly, I'm sorry for the cross-post. I re-read the posting guide
and it appears my question is more related to r-devel.... (i think :-) )
I downloaded the source code available at:
http://cran.fhcrc.org/src/base/R-2/R-2.4.0.tar.gz
to a linux machine (Linux 2.6.11-1.1369_FC4smp #1 SMP).
I successfully configured and compiled it, which means I'm able to
run it from the
2003 Jul 10
2
Administrative Share
Hi everybody,
I've been looking for information on "how to create administrative
shares", but I didn't find... Can you help me on this matter?
Regards,
--
Benilton Carvalho
DE / IMECC / UNICAMP
Red Hat Linux i18n Team
2006 Nov 29
1
tests for NULL objects
Hi Everyone,
After searching the subject and not being successful, I was wondering
if any you could explain me the idea behind the following fact:
all(NULL == 2) ## TRUE
any(NULL == 2) ## FALSE
Thanks a lot,
Benilton
--
Benilton Carvalho
PhD Candidate
Department of Biostatistics
Johns Hopkins University
2006 Nov 14
2
Problem with file size
Hi everyone,
I have 2 environments (2 different R sessions) as described below:
Session 1:
Name of the environment: "CrlmmInfo"
Objects in the environment:
index1: logical index - length 238304
index2: logical index - length 238304
priors: list of 4 - (matrix 6x6, 2 vectors of length 6, vector of
length 2) - all num
params: list of 4:
centers [238304 x 3 x
2006 Nov 14
2
Problem with file size
Hi everyone,
I have 2 environments (2 different R sessions) as described below:
Session 1:
Name of the environment: "CrlmmInfo"
Objects in the environment:
index1: logical index - length 238304
index2: logical index - length 238304
priors: list of 4 - (matrix 6x6, 2 vectors of length 6, vector of
length 2) - all num
params: list of 4:
centers [238304 x 3 x
2007 Jan 28
3
Inverse fuction of ecdf
Hi Everyone,
I want to generate some random numbers according to some empirical
distribution. Therefore I am looking for the inverse of an empirical
cumulative distribution function. I haven't found any in R. Can anyone
give a pointer?
Thanks,
Geoffrey
_______________________________________________________=0A=
=0A=
=0A=
The information in this email or in any file attached
1998 Sep 15
7
Samba and NIS
Dear All,
I am attempting to set up Samba 1.9.18p8 on a Sun E450 running Solaris
2.6. The Sun is configured as a NIS master serving a number of other
Unix machines. It is our primary development platform acting as a NIS
client and also has auto mounted home directories for users.
Samba has been built using GCC 2.8.1 with the following options set:
FLAGSM = -DSUNOS5 -DSHADOW_PWD -DAUTOMOUNT
2007 May 17
4
help with executing instruction every i-th run of loop
I am running a very long loop and would like to save intermediate
results in case of a system or program crash. Here is the skeleton of
what my code would be:
for (i in 1:zillion)
{
results[[i]]<-do.something.function()
if (logical.test(i)) {save(results, "results.tmp")}
}
logical.test would test to see if i/1000 has no remainder. What R
function would test that?
2009 Dec 26
1
[BioC] How to do RMA without summary to probeset level?
I think that you misunderstood me.
As far as I know, RMA does three things: background correction,
quantile normalization, and summary from probes to probesets. I want
the probe values after background correction and quantile
normalization but before the summary.
On Sat, Dec 26, 2009 at 12:07 PM, Benilton Carvalho <bcarvalh at jhsph.edu> wrote:
> pm(data)
>
> b
>
> On Dec
2003 Jul 10
2
DIAGNOSIS.TXT
Hi all,
working on the problem that I cannot log in from my NT4 box I noticed
that:
- Test 8 from DIAGNOSIS.TXT fails:
from the NT machine I try:
"net view \\server"
and I have:
"System error 5 has occurred.
Access denied"
I don't know how to handle this... Could you please help me?
Regards,
--
Benilton Carvalho
DE / IMECC / UNICAMP
Red Hat Linux i18n Team
2012 Feb 18
4
assigning NULL to a list element
Hi everyone,
For reasons beyond the scope of this message, I'd like to append a
NULL element to the end of a list.
tmp0 <- list(a=1, b=NULL, c=3)
append(tmp0, c(d=4)) ## works as expected
append(tmp0, c(d=NULL)) ## list with a/b/c only
Given that I could use
tmp0$a <- NULL
to remove 'a', I seem to understand why appending NULL returns me the
original list... But how should I
2007 Jun 06
6
p-value from GEE
Hi to all,
I found in the R-help archive how to calculate the p-value for a gee result:
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/74150.html
but there are two questions (I am afraid they are basic questions ...)
1. why is the result multiplicated with 2
2. how could I decide between lower.tail =TRUE and FALSE:
example:
2012 Mar 26
2
read.csv and field containing single quotes
I need to read in csv files, created by 3rd party, with fields
containing single quotes (as shown below).
"header1","header2","header3","header4"
"field1r1","field2r1","field3r1","field4r1"
"field1r2","field2r2","field3r2PartA), field3r2PartB Very" Long","field4r2"
2007 Jan 19
1
Suggestion on how to improve efficiency when using MASS:::hubers on high-dimensional arrays
Hi Everyone,
Given the scenario I have, I was wondering if anyone would be able to
give me a hind on how to get the results from hubers() in a more
efficient way.
I have an outcome on an array [N x S x D].
I also have a factor (levels 1,2,3) stored on a matrix N x S.
My objective is to get "mu" and "sigma" for each of the N rows
(outcome) stratified by the factor
2008 Jan 01
4
access data inside package
Dear all,
Happy new year!
I posted a very similar question a few days ago, but probably too
cluttered. Here is a tidy, minimal version:
I want to make a package, with a data.frame d and a function f given
below. Now, the function f needs to use the data.frame d. I could
(and that's what I've done temporarily) make a local duplicate of
this data.frame in the function definition,
2007 Jun 16
1
plot via xyplot not being saved
Hi everyone,
it's been a while I've been trying to save a plot created via
lattice:::xyplot
if I have a file tst.R with the following code:
y <- rnorm(100)
x <- rnorm(100)
z <- sample(letters[1:4], 100, rep=T)
library(lattice)
bitmap("tst.png")
xyplot(y~x|z)
dev.off()
and I source it, I get the tst.png file, which is a blank page.
If I copy and paste instead, I
2008 Feb 18
3
remove column names from a data frame
I want to remove the column names from a data frame. I do
it the long way, can any body show me a better way ?
df= data.frame(chrN= c(“chr1”, “chr2”, “chr3”), start= c(1,
2, 3), end= c(4, 5, 6), score= c(7, 8, 9))
df
#I write a txt file without row or column names
write.table(df,"df1.txt",sep='\t',quote=FALSE,row.names=F,col.names=F)
#then I read it with the header = F
2003 Jun 18
3
Slow windows -> cups print (Facts discovered)
Hi there,
Some days ago I've sent a mail talking about some problems printing from a
Windows machine to a printer installed on a Linux server (running CUPS 1.1.19
and SAMBA 2.2.7)
What was happening is when I send a page to be printed, I way 15/20 secs per page.
I've installed the network printer with the correct HP drivers.
After trying a LOT of stuff, I've installed the