search for: rinner

Displaying 20 results from an estimated 49 matches for "rinner".

Did you mean: inner
2003 Jul 09
2
RODBC and Oracle: error "table does not exist"
Dear r-helpers! I have trouble reading data from an Oracle data base using RODBC Version 1.0-3, R Version 1.7.1, Windows XP, Oracle8 ODBC Driver Version 8.1.6.4.0: > library(RODBC) > channel <- odbcConnect(dsn="PAV32", case="oracle", believeNRows=FALSE) > # ok, this was succesful > x <- sqlTables(channel) > x[37, ] TABLE_CAT TABLE_SCHEM TABLE_NAME
2002 Jun 12
2
data mining: finding association rules
...indows)? Particulary, I wonder if a) anyone has done something like that with R or b)maybe someone has written an R-interface to some existing algorithm/software (e.g. to something like the "apriori"-program, available from http://fuzzy.cs.uni-magdeburg.de/~borgelt/#Software)? -Heinrich Rinner. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat...
2003 Aug 27
4
read.spss (package foreign) and character columns
Dear R users! I am using R Version 1.7.1, Windows XP, package "foreign" (Version: 0.6-1), SPSS 11.5.1. There is one thing I noticed with "read.spss", and I'd like to ask if this is considered to be a feature, or possibly a bug: When reading character columns, character strings seem to get filled with blanks at the end. Simple example: In SPSS, create a file with one
2003 May 14
2
number of patients in a hospital on a given date
...pat1 2002-03-16 pat1 2002-03-17 pat1 2002-03-18 pat2 2002-03-16 pat2 2002-03-17 >From this I could easily get A by using "table". So the trick would be to get a data.frame with one line for each day of each patient in the hospital - but how? I'd be happy about any ideas, Heinrich Rinner.
2009 Sep 02
4
within: order of newly added variables
Dear R community, I am using function 'within' in R.2.9.1 to add variables to an existing data.frame. This works wonderful, except for one minor point: The new variables are added to the data in reverse order. For example: x <- data.frame(a = 1:3, b = 4:6) y <- within(x, { c = a^2 d = b^2 e = c+d } ) gives a b e d c 1 1 4 17 16 1 2 2 5 29 25 4 3 3 6 45 36 9
2010 Oct 28
2
replace text at certain positions in a file
Hello, I am working with R version 2.10.1 under windows. In a text file, I need to replace all characters at certain column positions with blanks. For example, say the file contains two lines and looks like this: ab34cd78e fg3 hi78j I'd like to replace everything at positions 3-4 and 7-8 with blanks, so the output should be: ab cd e fg hi j [I'm not sure if this is really an R
2001 Jan 05
2
AW: running Rcmd INSTALL, again
...-2.95.2-1-msvcrt.zip" from "http://www.stats.ox.ac.uk/pub/bdr/RWin/tools.zip", even if my package has no C nor Fortran nor C++ sources? Heinrich. > ---------- > Von: Peter Dalgaard BSA[SMTP:p.dalgaard at biostat.ku.dk] > Gesendet: Freitag, 05. J?nner 2001 11:08 > An: RINNER Heinrich > Cc: 'r-help at stat.math.ethz.ch' > Betreff: Re: [R] running Rcmd INSTALL, again > > RINNER Heinrich <H.RINNER at TIROL.GV.AT> writes: > > > Ok, one last try. R1.2.0, WinNT 4.0: > > [R is installed in: R_HOME=D:\Programme\R\rw1020] > >...
2001 Jan 18
0
dotplot: character size of labels (PR#816)
...s to be a bug in "dotplot" concerning the "cex" parameter. Setting cex has no effect on the character size of the labels of the points. This problem was posted to r-help today (Thu, 18 Jan 2001); the solution given by Brian Ripley (and Uwe Ligges) seems to work for me. Heinrich Rinner. > version _ platform i386-pc-mingw32 arch x86 os Win32 system x86, Win32 status major 1 minor 2.0 year 2000 month 12 day 15 language...
2001 Jan 05
2
running Rcmd INSTALL, again
Ok, one last try. R1.2.0, WinNT 4.0: [R is installed in: R_HOME=D:\Programme\R\rw1020] Can anyone give a hint what the following error message (when running Rcmd INSTALL) means and what to do about it? cd D:\Programme\R\rw1020\src\library D:\Programme\R\rw1020\bin\rcmd install testfunctions make: Entering directory `/cygdrive/d/Programme/R/rw1020/src/gnuwin32' dlltool -k --as as --dllname
2010 Jan 26
2
tapply and more than one function, with different arguments
Dear R-users, I am working with R version 2.10.1. Say I have is a simple function like this: > my.fun <- function(x, mult) mult*sum(x) Now, I want to apply this function along with some other (say 'max') to a simple data.frame, like: > dat <- data.frame(x = 1:4, grp = c("a","a","b","b")) Ideally, the result would look something like
2001 Jan 05
1
AW: running Rcmd INSTALL: working now!
...uot; in which the wrong link "http://www.stats.ox.ac.uk/pub/bdr/RWin/tools.zip" is (was?) given. Thanks again to everyone who helped on this, Heinrich. > ---------- > Von: Guido Masarotto[SMTP:guido at sirio.stat.unipd.it] > Gesendet: Freitag, 05. J?nner 2001 12:08 > An: RINNER Heinrich > Cc: r-help at stat.math.ethz.ch > Betreff: Re: [R] running Rcmd INSTALL, again > > On Fri, Jan 05, 2001 at 11:25:51AM +0100, RINNER Heinrich wrote: > > Indeed, there is no file named "dlltool" anywhere around here! > > So, at last I am beginning to su...
2000 Sep 28
2
organizing work; dump function
...have to create new files each time and then copy these together somehow. So my questions are: 1) Does this way to organize ones functions make sense, or are there better alternatives? 2) If it makes sense, wouldn't an "append" argument to "dump" be a useful thing? Heinrich Rinner. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat...
2000 Dec 29
2
how to create help files
...procede in my simple example and how to make "help(f1)" work, it would be easier for me to figure out how to do these things generally. Maybe something like "Open a WindowsNT command window, got to directory xyz, and run the command(s) abc, ..."? Best wishes for 2001, Heinrich Rinner. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat...
2000 Jun 15
1
proportions - finite population correction
> Dear R-users! > > I am using R 1.0.0 and Windows NT 4.0. > Suppose I have a population of N=100 subjects, a binomial variable and a random sample of n=20 subjects from my population, giving 15 "successes". I am interested in obtaining a confidence interval for the proportion of "successes" in my population. In R, I can use > library(ctest) >
2007 Apr 05
1
read.spss (package foreign) and SPSS 15.0 files
Hello, does anyone have experience with reading SPSS Version 15.0 files into R (version 2.4.1, WinXP)? I have long been sucessfully reading SPSS files with read.spss from the wonderful foreign package, but somehow after upgrading from SPSS14 to SPSS15 I seem to have problems. Trying a simple example, where test.sav is a SPSS 15.0 data file consisting of x1=c(1,2,3) and
2009 Sep 03
1
putting reference lines or grids into the background of a plot
Dear R-community, using R.2.9.1, how do you put reference lines or grids into the _background_ of a plot? For example: barplot(3:1) abline(h = seq(0.5, 2.5 ,0.5), col = "red", lty = "dashed") -> The lines are before the bars (and the line parts going through the bars might be considered as "chart junk", I suppose). Now, in this toy example I could just do the
2001 Feb 26
1
"untable" function
Dear R-users! I am using R1.2.0 under Windows NT4.0, and have data of the following form: > #simple example of data structure: > x <- data.frame(group=LETTERS[1:3], class1=1:3, class2=4:6) > x group class1 class2 1 A 1 4 2 B 2 5 3 C 3 6 I would like to convert this to a data.frame y of the following form: > y group class counts 1
2003 Nov 14
5
ISOdate() and strptime()
Dear R-people! I am using R 1.8.0, under Windows XP. While using ISOdate() and strptime(), I noticed the following behaviour when "wrong" arguments (e.g., months>12) are given to these functions: > ISOdate(year=2003,month=2,day=20) #ok [1] "2003-02-20 13:00:00 Westeurop?ische Normalzeit" > ISOdate(year=2003,month=2,day=30) #wrong day, but returns a value [1]
2003 Jul 21
3
R commands from a text file ?
Hello I was wondering if it was possible to enter R commands from an external text file. If it is possible, it will be easy for repetetive tasks. Does anyone have an idea ? thanks in advance Ahmet Temiz TURKEY ______________________________________ ______________________________________ The views and opinions expressed in this e-mail message are ...{{dropped}}
2009 Dec 02
2
lattice: adding information on number of observations
Dear R-users, I am using R version 2.9.1 and lattice 0.17-26 under windows. In a lattice boxplot, I would like to add information on how many observations each singel boxplot is based upon. For example (the basic plot): # Begin R-code library(lattice) dat <- data.frame(panvar = rep(c("A","B","A","B"), c(3,7,4,6)), grp = rep(c("grp1",