similar to: short way

Displaying 20 results from an estimated 3000 matches similar to: "short way"

2000 Nov 09
3
maximum of nsize=20000k ??
Dear R-ers, somehow it is not possible to increase nsize to more than 20000k. When I specify e.g. > R --vsize=10M --nsize=21000K the result is: free total (Mb) Ncells 99658 350000 6.7 Vcells 1219173 1310720 10.0 Maybe I have overlooked s.th.... Marcus -- +------------------------------------------------------- | Marcus Eger | E-Mail: eger.m at gmx.de (NEW) |
2000 Oct 17
3
Cleaning things up?
Hi, I know it must be written somewhere but I can't find it. I'd like to remove all variables or objects that I've created but not the functions. I look at a few things without success. Is there a R way of doing this? There are to many to create a manual list. Thanks in advance. Yves Gauvreau -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help
2000 Oct 11
5
"Executing" a string
In Matlab or Octave I can evaluate (evalf) the content of a string. In R I have looked around in the docs, but have not found a way to do something equivalent (which is possible, I think). Can anybody give me a pointer? ============================================================================= Thomas Hoffmann, Institut fuer Halbleiter- und Mikrosystemtechnik, TU Dresden E-mail: hoffmann at
2000 Oct 23
3
behaviour of plot(...,type="l")
plot(rnorm(100000),type="l") plots only about 7e4 lines while the same without type="l" works fine. Is this a feature or a bug or is this configurable? R : Copyright 2000, The R Development Core Team Version 1.1.1 (August 15, 2000) SunOS 5.5.1 Generic_103640-29 sun4u sparc SUNW,Ultra-1 Thanks Adrian -- Adrian Trapletti, Olsen & Associates Ltd., See- feldstrasse
2000 Aug 21
2
Loop removal possible?
Dear all, may be somebody have ideas to my following problem: I have to multiplicate each element of a vector with his position in the sorted vector. This isn't a problem ;-) But now i have a weighting vector with the weight of each observation, and my problem starts. A little example (due to my bad english) maybe helps to understand: x<-c(10,40,50,100) # income vector for instance
2001 Mar 07
2
help with dev.copy2eps
HI! I'm using the function dev.copy2eps to store a plot into a file. How can I change the default name of the file and the path where the file should be created ? Thanks -- Frank Gerrit Zoellner -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info",
2000 Dec 20
2
Names
I am trying to create a set of vectors which have similar names. They have a common part and an extra unique part. I am sure I have seen questions on this before but I have been unable to find it in the archive. There are examples of sets of names for columns of a data frame, but not for individual vectors. Suppose I want vectors named myvar.1 myvar.2 etc. I tried: >
2001 Mar 02
3
Post Hoc on repeated measures?
Hi all, I'm a potential new user of R and have to know this before I start using it: SPSS does not let you do a Post Hoc analysis on repeated measures data. This is a problem for me, since that is what I will have to do. Will R let me do this? /Fredrik -- ----------------------------------------------------------------- Fredrik Karlsson, Research Student Department of Philosophy and
2001 Mar 14
2
concatenating lists
Dear People, I have been trying to perform concatenation operations on lists without success. Consider the following example. > x <- runif(2) > y <- runif(2) > z <- runif(2) > xy <- list(x,y) > xyz <- list(x,y,z) I want to have a function foo such that foo(xy,z) is the same as xyz. This appears not to be as easy as I thought, though there must be a way. For example
2001 Feb 22
4
Setting elements in data frame
Hi all, I have a problem which I am biting my teeth into unsuccessfully: (x <- data.frame(S1=c("a","b","d","F"),N1=c(2,4,6,9),N2=c(6,NA,0,6))) S1 N1 N2 1 a 2 6 2 b 4 NA 3 d 6 0 4 F 9 6 > is.na(x) S1 N1 N2 1 FALSE FALSE FALSE 2 FALSE FALSE TRUE 3 FALSE FALSE FALSE 4 FALSE FALSE FALSE No I want to be able to do: 1) Setting
2000 Nov 21
3
boxplot grouped by two variables.
Is there a quick way to make boxplots groups by two variables? By that I mean, that if x axes have values ("A","B","C"), than at each value there would be a few boxplots each for a value of second variable (say ("1","2","3")). Thank You. -- Vadim Kutsyy http://www.kutsyy.com vadim at kutsyy.com The University of
2000 Nov 21
3
boxplot grouped by two variables.
Is there a quick way to make boxplots groups by two variables? By that I mean, that if x axes have values ("A","B","C"), than at each value there would be a few boxplots each for a value of second variable (say ("1","2","3")). Thank You. -- Vadim Kutsyy http://www.kutsyy.com vadim at kutsyy.com The University of
2000 Dec 18
2
Segmentation fault with expression on linux
I have a problem, that the plot of mathematical formula sometimes crashes R on Linux (SuSE 6.2 and 7.0 on a Dual PIII/500 machine with 1GB RAM). The problem occurs for example in demo("graphics"), i.e. in the last part were the mathematical symbols are plotted. There are several circumstances to reproduce this segmentation fault, but the following is one of the most simple examples. The
2001 Apr 27
1
creating expressions inside loop
Hello all, may be someone can give me a hint how to solve a little problem. I'm trying to create some expressions inside a for-loop which i want to evaluate AFTER this creation loop (but loop specific). To explain my problem here comes the code: y.mat <- t(matrix(rep(84:90,8) + as.numeric(gl(8,7)),nrow=7)) # > y.mat[1:2,] # [,1] [,2] [,3] [,4] [,5] [,6] [,7] # [1,] 85 86
2004 Aug 30
1
While installing Hmisc...
Dear R-Gurus: This afternoon I was installing the "Hmisc" package. I use R in Linux (Fedora Core 1 (yarrow)) on a Compaq presario with 128 MB RAM laptop. Opening an R session as a root user (superuser), I issued install.packages("Hmisc") and waited. R downloaded the package, installation was going on, and on the standard output I could see that a list of
2005 Feb 11
2
pb with package mix
hello, We've got a problem with the mix package in order to impute the missing data. After importing the data, the prelim function does not work (only the stlouis data works). We have done : >library(mix) >Manq <- read.table("C:/.../file.txt") >attach(Manq) >save(Manq,file="C:/../R/rw2001/library/mix/data/Manq.rda") >data(Manq) >Manq V1 V2 V3 V4 1
2004 Aug 26
3
plot.new?
Hi all, I am just beginning to use R and encountered a problem in trying to draw a regression line using the command "abline(coef(var)" and similar ones but got the error "plot.new has not been called yet". Does anybody know how can I call plot.new? Is this an additional package to be found somewhere on the web? Is it a functionality that I just have to "activate"
2004 Mar 22
4
R commands formating for LaTeX
Dear R users, I have to include typical UNIX formated R commands and outputs into the article using LaTeX. What is the easiest way to include R prompt commands and text outputs (including messages) into LaTeX documents? Is there any template or library? So far I'm trying to produce R commands in LaTeX using LaTeX general format options. Thanks, Rado
2005 Feb 11
5
Double sort a data frame
R-help, Long ago I asked how to sort a data frame according to one of the columns. But Iwas wondering ho I could "double sort" , i.e, sort according to one column and another one afterwards. It is quite easy in Excel but I am unable to implemented in R. I have searched in the R help archives and found nothing. Thank you in advance.
2004 Nov 23
4
data.frame into vector
Hi I want to extract a row from a data.frame but I want that object to be a vector . After trying some different ways I end up always with a data.frame or with the wrong vector. Any pointers? x <- data.frame(a = factor(c('a',2,'b')), b = c(4,5,6)) I want to get "a" "4" I tried: as.vector(x[1,]) a b 1 a 4 (resulting in a data.frame even after in my