Displaying 20 results from an estimated 5000 matches similar to: "Keeping track of occurrence of warning message"
2003 Mar 17
2
search function
Could any one tell me there is a search
function for R-help Archives?
Thanks
2003 Mar 13
2
memory limit
Hi,
I get an error saying " Cannot allocate vector of size 71289kb". So I tried
to increase memory by memory.limit(size=3000000000), I also tried other
numbers. Each time I get the message NULL and then I still get the same
error as above. I'm using Windows 2000. The system has 1G RAM, and 1.6GHz
processor. I was only running R, and was trying to do use a BioConductor
package. I
2002 Jun 15
1
plot.hclust with lots of objects
Dear all,
the default plotting method for hclust trees looks just fine for few
objects like in the
example dataset. But when it comes to many objects (some 1000 - I'm
trying to visualize clustered microarray data) it renders a tree, that
one cannot inspect, because of overlapping text and lines. My question
is, is there a way or a plotting parameter for plotting a tree which is
wide enough
2003 Sep 24
1
heatmap and hclust
Hi all,
The function heatmap uses the functions dist and hclust with default
parameters.
How to change these parameters? For example, i want to use the ward
criterion for hierarchical
clustering with binary distance.
Best regards,
Olivier.
2003 Mar 18
1
Building hdf5 for ms-windows
I am trying to build hdf5 for ms-windows. I downloaded the hdf5_1.4.7.tar.gz, gunzipped it and got a tar file. I extracted everything into a directory tree called hdf5. I also found a Makevars.win and libhdf5.def in the R help archives from March 2002. I put those two in hdf5 as well.
I issued the command Rcmd build --binary hdf5
but got this message complaining it can''t find
2001 Sep 27
1
multiple versions
Can anyone suggest a good way to handle multiple versions of R
and also other tools like gcc and perl (in Unix). I have been
using soft links from my personal bin to the version I want to
use, but this has some drawbacks. With this scheme it is
difficult to run different versions of R in different windows,
and use of gcc appears to be complicated in several respects when
I try to change among
2003 Apr 22
3
lexical scope
Hi everyone
another documented feature that was a bit unexpected for me:
R> x <- 19
R> f <- function(t){t+x}
R> f(100)
[1] 119
--as expected: x is visible from within f()
..but...
R> g <- function(a){x <- 1e99 ; return(f(a))}
R> g(4)
[1] 23
--the "x" that is visible from within g() is just 19, which is not the
one I expected it to find.
R> rm(x)
2002 May 02
2
a question
Hi,
I have a program written in R which is good on the version 1.2, but for
the fallowing versions of R, an error always is at the same place.
That is at the level of the fallowing line:
Sur<-
getInitial(res2[m:M,2]~SSasymp(res2[m:M,1],Asymp,resp0,lrc),data=res2)
Error in eval(expr,envir,enclos):numeric envir arg not of length one
I don't know at all this langage for the instant.
2002 Mar 05
3
location of maximum
Dear R-users,
I'm trying to extract the exact location of the maximum value in a
vector or a matrix, meaning I want not only the maximum itself but also
at which position (e.g row 6, column 12) it is located.
I appreciate any suggestions.
Thanks,
Patrick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patrick.vcf
Type: text/x-vcard
Size: 339 bytes
Desc:
2002 Sep 21
2
need help for eval()
Hello,
I need help, after hours trying to do it myself,
to do the following:
I have an object, named, say, F1 from a class "fichier" that I buildt.
this F1 has a slot named datas ,which is a vector, so I can access to
: F1 at datas[1], F1 at datas[2], ...
Now I have a string s="F1 at datas[1]" and need to retreive the real
content of F1 at datas[1] using s.
2003 Mar 18
3
Package installation when $RHOME is not writable (win)
I'm using R in a student lab with machines running win XP. $RHOME is not
writable by the students. How do I set this up so that they can install
packages?
Thanks,
Robert.
----
Robert King, Statistics, School of Mathematical & Physical Sciences,
University of Newcastle, Australia
Room V133 ph +61 2 4921 5548
Robert.King at newcastle.edu.au
2002 Apr 24
2
Multiple frequencies
Hi!
I'm having a small problem with an assignment I have to do.
We want to do an anova on some values, given for four
different types of medicine. The different sample numbers are
not identical (eg for molecule A we have 8 values, for B we have
14, etc.).
What would the most elegant way of getting this info into R
to do an lm be? I usually try to use data.frames but R
categorically
2002 Mar 17
3
apply problem
> data(iris)
# iris3 is first 3 rows of iris
> iris3 <- iris[1:3,]
# z compares row 1 to each row of iris3 and is correctly
computed
> z <- c(F,F,F)
> for(i in seq(z)) z[i] <- identical(iris3[1,],iris3[i,])
> z
[1] TRUE FALSE FALSE
# this should do the same but is incorrect
> apply(iris3,1,function(x)identical(x,iris3[1,]))
1 2 3
FALSE FALSE FALSE
2002 May 25
2
Function objects as arguments of a function
Hello, R users.
In C (or C++) language, a function can be used as
an argument of another function as follows:
// function used as an argument
void foo(int x)
{
...
}
// function using a function as an argument
void bar(void (*func)(int ), int arg1, int arg2)
{
....
}
// The function 'bar' will be called as follows
int main()
{
....
bar(foo, arg4foo, other_arg);
2002 Oct 14
2
Vector of quantiles
I have a quick question which is very simple but I seem to have a mental
block!
I'm using the pchisq function to specify a Chi Squared distribution with 9 df
which I'm then going to use in the Kolmogorov-Smirnov Test to test some
simulated values.
so simply: pchisq(q, df=9)
I know that q is the vector of quantiles but could anybody tell me what
exactly this vector needs to contain?
2002 Mar 20
4
A Very Trivial Question
Hi,
This is a very trivial question, and I do not know why I cannot remember
the answer at all!
How does one get the entire system information (which OS, R
version....etc) using an R command?
Thanks,
Kevin
------------------------------------------------------------------------------
Ko-Kang Kevin Wang
Postgraduate PGDipSci Student
Department of Statistics
University of Auckland
New Zealand
2002 May 15
3
Processing "vignette" files
Is there any way to process the "vignette" documantation files?
I have been looking at the bioconductor packages and most of them have
*.Rnw files in doc directories. They look like regular TeX but have
sections showing R code that seem to choke TeX.
Thanks,
Andy
__________________________________
Andy Jaworski
Engineering Systems Technology Center
3M Center, 518-1-01
St. Paul, MN
2001 Dec 31
2
Extracting/setting elements from/in a matrix/array
Dear all,
I had to extracts/set elements from/in a matrix. Let say I have two
vectors dim1 and dim2 of indices in the respective two dimensions of a
matrix: I want to extract all the corresponding elements. I the case of a
nxn matrix, dim1 <- 1:n and dim2 <- 1:n would extract the diagonal.
I know one way would be to use the functions 'row' and 'col', but the
matrixes I
2001 Oct 17
2
File reading.
Hi all,
Appologies for the rather basic IO question but I am rather new to R...
Migrated from IDL/Matlab recently. I have a rather simple Fortran
control file (sigh...) that I am trying to parse and read using R. My
problem is that the file's format is somewhat flexible. Imagine:
---
1> 39 1901
2> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
3> 22 24 26 28 30 32 34 36
2002 Aug 07
3
Reading characters using read.table()
Hello,
I need to read a vector containing names of different variables from a
text file (a unique column). Among them one is called "T". When I use
the function read.table with default arguments and when I call the
element of the data frame corresponding to name of this variable it
returns me the logical value "TRUE" whereas I was expected it to return
the character