similar to: split.screen problem and segments in figure margin

Displaying 20 results from an estimated 10000 matches similar to: "split.screen problem and segments in figure margin"

2003 Apr 17
2
BATCH and tcltk
Hi R-hackers I try to write a batch (in Windows, i have to use!) with Rcmd BATCH D:\Test.R D:\Test.Rout and Rterm.exe --no-restore --no-save < D:\Test.R > D:\Test.Rout. In my file Test.R are any tk-codelines (like: Window1 <- tktoplevel(); ... tkbutton...). It works not interactifly, what is written in Rcmd BATCH --help. Exist there a way to do it all the same? Please help...
2003 May 13
3
Delete files from R
Hi, I have a file: d:\foo.txt and want to delete this. I tried: system("del d:/foo.txt") works not system("notepad d:/foo.txt") works Is it possible that I can't delete files or do I have misunderstood something? (del is a DOS-command. The "string works" under DOS "\") Thanks a lot Thomas ----- Windows XP R 1.6.2 (update!, I know)
2003 Apr 25
1
Rcmd vs. Rterm.exe
Hi r-hackers, What exactly is the difference in call r from a batch between this two ways: Rterm.exe ... Rcmd BATCH ... (I have to install perl first, I know) I haven't found any documentation about the difference (readme, FAQs, ...). I use rterm.exe, but is there a benefit in using rcmd? Can you explain me that or give me a link? Thanks Thomas Thomas Untern?hrer
2003 Sep 23
1
AW: Rank and extract data from a series
Hi, >I would like to rank a time-series of data, extract the top ten data items from this series, determine the >corresponding row numbers for each value in the sample, and take a mean of these *row numbers* (not the data). >I would like to do this in R, rather than pre-process the data on the UNIX command line if possible, as I need to >calculate other statistics for the series.
2003 Aug 25
2
Save graph as .wmf
Hi, Is there no function in R similar to jpeg(...) or postscript(...) for windows meta files? The function savePlot(...) is not really what I need. I'd like to save the plot on my disk without open a new plot window. And I don't want to save it on my disk and convert it from a *.* to .wmf (there are too many). Thanks for any help Thomas
2003 May 06
1
C++ - R - example
Hi, Does anybody has a simple example (a for loop, or so) how to use a C-function In R? If it's possible, a *.cpp-file and what I need (wrapper or what ever). I'm absolutly not a C++-hacker! I try several ways, was reading the "writing R extension" and the windows-FAQ, but failed. I try to programm a matrix inversion in a for-loop in C, which needs much time in R and want to
2003 Aug 05
1
A little problem
Hi, Does anybody knows a easy way (without for-loops, maybe with something like match) to solve this problem: x <- rep(1,3) y <- c(0,1,0,1,0,1,1,1,0,0,0,0,1,0) if (x is a part of y){ find out where it is and do something } Thanks a lot Thomas
2004 Jul 07
1
AW: boxplot a list of objects
One possibility ist boxplot(sapply(ListOfNames, get, env = .GlobalEnv)) Hope that this helps Thomas -----Urspr??ngliche Nachricht----- Von: Lefebure Tristan [mailto:Tristan.Lefebure at univ-lyon1.fr] Gesendet: Mittwoch, 7. Juli 2004 10:34 An: r-help at stat.math.ethz.ch Betreff: [R] boxplot a list of objects Hi list, #Imagine we have vectors of different length (in practice 100 vectors):
2003 Aug 11
1
Memory-problem?
Hi, I have a big problem with my R-script. It seems to be a memory problem, but I'm not sure. My script: test.window <- function(stat, some arguments){ several ifs and ifs in ifs (if(){...if(){...}}) } ... for (ii in 1 : length(data)){ ## data is a vector of length 2500 stat <- test.window( some arguments ) ## there are 15 arguments including a "big" list
2003 Apr 24
3
R TclTk Examples
Hi, I've been learning how to use R TclTk in Windows over the last few months. I have recently put together a collection of examples of some common widgets and their corresponding R code, at http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/ I would be interested in any feedback - Is it useful? Does it contain any significant errors or bad coding style? Does anyone else want to
2003 Apr 06
5
Odd and Even
Hi, I'm trying to create a function, jim(p) which varies depending on whether the value of p is odd or even. I was trying to use th eIf function, but i cant work out a formula to work out if p is odd or even. Thanks, Dave __________________________________________________ Yahoo! Plus For a better Internet experience http://www.yahoo.co.uk/btoffer
2008 Sep 16
1
plotting on the figure margin
Dear R-list members, I am trying to put a legend just outside the plotting area of a graph. 1. Is there some way to plot symbols on the figure margin, in the same way as function "mtext" can write on the margin? 2. Is there some way to use the "legend" function (or some equivalent function) to plot a legend on the figure margin? 3. Any other way to plot either symbols or a
2004 Nov 09
1
gplot.hexbin - how to set figure margin.
Hi, Would like to use to the hexbin package to plot a 2D hist - because it looks really _cool_. My problem is related to drawing a pdf hexbin graphic in series of other graphics. All other figures have a par(mar=c(3.2,3.2,1,1)). So the gplot.hexbin figure in this series looks a little alienated? Was trying a to specify the _mar_ using par, viewport, hexViewport etc. a little. My question. How
2009 May 11
3
Looking for a quick way to combine rows in a matrix
I'm working with genotype data in a frequency table: > a=matrix(1:16, nrow=4) > rownames(a)=c("AA","AT","TA","TT") > a [,1] [,2] [,3] [,4] AA 1 5 9 13 AT 2 6 10 14 TA 3 7 11 15 TT 4 8 12 16 'AT' and 'TA' are essentially the same, and I'd like to combine (add) the rows to reflect
2010 Apr 17
2
Interacting with dendrogram plots, locator() or click()
I would like to explore dendrogam plots interactively. For example, click on a node and return information about all of the children of that node. Is there a high level wrapper for locator() or click() that will return the nearest dendrogram node on a plot? If not, is there a way to obtain the [x,y] coordinates of all the nodes on a plot? Thanks, David David J. States, M.D., Ph.D. Professor
2011 Nov 30
1
install "multtest" and "preprocessCore" packages in Bioconductor library
Hi Nguyen, > Subject: [R] install "multtest" and "preprocessCore" packages in > Bioconductor library > Date: Wed, 30 Nov 2011 09:57:36 -0800 > From: UyenThao Nguyen <unguyen at tethysbio.com> > To: r-help <r-help at r-project.org> > CC: uth.nguyen at ucdavis.edu <uth.nguyen at ucdavis.edu> > > Hi All, > > I've tried to
2007 May 21
4
How to compare linear models with intercept and those without intercept using minimizing adjs R^2 strategy
Dear R-list, I apologize for my many emails but I think I know how to desctribe my problem differently and more clearly. My question is how to compare linear models with intercept and those without intercept using maximizing adjusted R^2 strategy. Now I do it like the following: > library(leaps) > n=20 > x=matrix(rnorm(n*3),ncol=3) > b=c(1,2,0) > intercept=1 >
2014 Jun 23
2
Unfixed bugs in latest R-patched
A new version of pqR is now available at pqR-project.org, which fixes several bugs that are also present in the latest R Core patch release (r66002). A number of bugs found previously during pqR development are also unfixed in the latest R Core release. Here is the list of these bugs that are unfixed in r66002 (including documentation deficiencies), taken from the pqR bug fix and documentation
2002 Sep 26
0
split.screen problem (PR#2069)
Full_Name: Chris Bodily Version: 1.5.1 OS: W2K Submission from: (NULL) (63.106.106.2) I took the following code directly from the 'split.screen' help page in R and modified one line to highlight the problem I encountered. Basically, it appears that when plotting in split screens and attempting to return to a particular screen to add or update points, the axes from the original plot are
2011 Feb 14
1
conditional value assignment
Dear R-Help, I am trying to compute a new variable, let's call it "target cannon orientation (tco)" based conditionally on old variables, "TargetColor," "CannonOriB," and "CannonOriR." For every case in the data set, if TargetColor is "B" then I want tco to equal the value for that case of CannonOirB, else CannonOriR. I've tried writing