Displaying 20 results from an estimated 20000 matches similar to: "Delete files from R"
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 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
2003 Sep 06
1
split.screen problem and segments in figure margin
hi,
two questions...
1. what happens with points()?
after the split.screen function points() start not at x = 1 (at x = - something)
graphics.off()
x11()
split.screen(c(3, 1))
split.screen(c(2, 1), 1)
screen(3)
plot(dat, type = "n")
screen(4)
plot(dat, type = "n")
screen(2)
plot(dat, type = "n")
dat <- rnorm(1000)
for (i in 1:length(dat)){
screen(3)
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 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
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
2009 Jul 21
2
animated grid graphics
I need to make a fairly complex animated graphic and decided to use grid for it.
A very simple example of what I need:
##==============================================================================
library(grid)
grid.newpage()
pushViewport(plotViewport())
pushViewport(viewport(xscale = extendrange(c(0, 100)),
yscale = extendrange(c(0, 100))))
grid.xaxis()
grid.yaxis()
2003 Apr 23
0
tk windows position
Dear r-hackers,
I want to split my screen into four screens (like split it do in Rgui). To get this I do the following:
Window1 <- tktoplevel()
Window1 <- tktoplevel()
Window1 <- tktoplevel()
Thomas Untern?hrer E-Mail: thomas.unternaehrer at zhwin.ch
Institut f?r Datenanalyse und Prozessdesign Tel: 052/ 267 7813
Z?rcher Hochschule Winterthur
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
2010 Jun 15
4
samba migration to another llinux distro
Hello
I need a description how to move painlessly samba from one system to
another without re-adding to the domain windows clients. Currently, I
have samba Version 3.0.28a-1.fc7
on Fedora 7 and I want to move it on CentOS 5.5 As far as the server
hardware remains the same. In addition to changing the system i would
like to change new disks and add a new 3ware 9650SE Raid controller
(samba
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
>
2006 Jul 18
4
Problem running Windows Notepad under Wine
Gentlefolk,
I need to give someone the ability to create Windows-format text
documents, which I can then copy (via SMB) to a W2000 machine for
further processing. I've got the file-sharing up and running, and Wine
installed and running Windows Notepad OK, but I've hit a snag trying to
set it up to load Notepad automatically when the file-icon is clicked :-
Environment - ubuntu 6.06,
2009 Feb 06
2
[patch] 'c' and 'd' in setacl
Hi Timo,
Hi *,
I just recognized that the new imap-acl plugin in dovecot 1.2 does not
know the obsolete rights 'd' and 'c' when setting. According to RFC
4314 section 2.1.1.:
If a client includes the "d" right in a rights list, then it MUST be
treated as if the client had included every member of the "delete"
right.
and
If a client includes