search for: mamin

Displaying 20 results from an estimated 21 matches for "mamin".

Did you mean: main
2003 Jul 28
3
http://www.omegahat.org/RSXML
Hi, As the server www.omegahat.org seems to be down since quite a while, could someone send me the RSXML library for Windows2000 ? Many thanks, Marc Mamin
2004 Nov 23
2
sorting without order
...ped. I also need the equivalent of index.return from the standard "sort" function: f(c(10,1,10,100,1,10)) => grouped: c(10,10,10,1,1,100) ix: c(1,3,6,2,5,4) is there a way to achieve this which would be faster than the standard sort function? Thanks for any hints, Marc Mamin
2005 Feb 21
2
character occurence within a string
...|d') => 2 More precisely, I need to complete a vector of strings to ensure that all elements have the same count of a "separator": a|b|c a |a|b|c|d => a|b|c|| a|||| |a|b|c|d I guess that scan makes use of an internal function that would do the job... Thanks, Marc Mamin
2003 Sep 09
2
lattice.xyplot: adding grid lines
...ction(x, y) { panel.grid(h=2, v= 3) panel.xyplot(x, y) } ) Question: is it possible to keep all the formats of example [1] (colors, type="l", ...), and just add the grids appearing in example 2. Moreover I'd like to choose the color of the grid... Thanks for you help, Marc Mamin
2004 Sep 29
4
multiple match question
Hello, I'm looking for a fast way to retrieve the position of elements from a vector which match element in another vector. Example va<-c('a','e') vb<-c('a','b','c','d','e','f','e') f(va,vb) should return c(1,5,7) I have 2 different cases: I) my vector vb contains only distinct values II) my vector vb may
2004 Oct 20
2
does R provides a wait or pause function?
Hello, I'd like to insert a "wait" function in my code. The reason is that I output timestamped files and I want to ensure that at least 1 second separes 2 files to avoid overwriting the previous file. Thanks, Marc Mamin
2004 Oct 27
1
regexp,grep: capturing more than one substring
...As I would call this function very often with large data, I'm reluctant to use Sjava for performance reasons. Is this a wrong assumption that using Java directly would be slower or use more memory than to have a native R function? Does someone already has a solution for this :) Thanks, Marc Mamin
2005 Jan 12
2
mydataframe$colname: using substring of colname may also match some column (PR#7496)
Full_Name: Marc Mamin Version: 1.8, 2.0.0 OS: Windows & Linux Submission from: (NULL) (217.17.202.254) Using only the beginning of a column name will match it: >aaa<-1 >df<-as.data.frame(aaa) >names(df) [1] "aaa" >df$a [1] 1 !!!!!!!!! (I expect df$a to be undefind) >df$x >NU...
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
2003 Jul 18
0
line colors in lattice.xyplot with png device
On Friday 18 July 2003 12:28, r-help-request at stat.math.ethz.ch wrote: > Message: 9 > Date: Thu, 17 Jul 2003 13:50:29 +0200 > From: Marc Mamin <M.Mamin at intershop.de> > Subject: [R] line colors in lattice.xyplot with png device. > To: r-help at stat.math.ethz.ch > > Hi, > > R is very new for me, so excuse if my questions are too basic... > > ????????BTW, are there any forum ?where new R users could get help...
2003 Sep 18
1
lattice, trellis.device, dev.off() within a condition (seems t o be a bug)
...fine I've also tried following without success: if(condition a){ trellis.device(png,filename = filename_a,... xyplot(... } if(condition a){ dev.off() } Is there a way to get a list of all open devices in order to close them outsid the condition blocks ?? Thanks for your help, Marc Mamin
2004 Jun 08
2
Computting statistics on a matrix with 2 factor column
Hello, I suppose this is a basic question but couldn't find a solution.: I have a large matrix with let say 3 columns: V1 V2 V3 a x 2 a x 4 a y 8 b z 16 and I want to compute some statistics based on the levels resulting form the combination of the two first columns e.g.: SUM-> V1 V2 V3 a x 6 a y 8 b z 16 Thanks for your hints . Marc
2003 Jul 17
2
line colors in lattice.xyplot with png device.
...roud, which is quite problematic when printing the output. (I works on WIN2K) and last but not least, is there a way to use 2 different y axis, i.e. curve 1& 2 => left axis, curve 3 => right axis ? Sample codes would be welcome as I'm not yet used with the R syntax Thanks, Marc Mamin
2003 Jul 25
0
RODBC.sqlSave and Date format on Oracle
Hi, I try to use sqlSave to fill a date column in Oracle. value example: '05-JUL-03 13:35:09' sqlSave does not throw any error, but my table remain empty does anyone have experience with this ? Thanks, Marc Mamin
2004 May 07
1
Problem (Bug?) with readLines on Suze
Hello, I called readLines on Suze 9.0 with a directory as parameter instead of a file. R freezed for a very long time; this morning I could read following error message: Error in readLines(paste("/home/",foo,"/",sep="")) : cannot allocate buffer in readLines under W2K I get a more logical error ("cannot open file") (I'm still using R 1.8.1)
2004 Jun 03
1
catching the warnings
Hello, I'd like to catch the warnings in a variable in order to evaluate them, but... > tt<-warnings() Warning messages: 1: XML Parsing Error: test.xml:2: xmlParseStartTag: invalid element name 2: XML Parsing Error: test.xml:3: Extra content at the end of the document > tt NULL is there a way to achieve this (R1.8.1)? thanks, Marc
2005 Feb 26
3
averaging within columns
I have a dataframe with names in the first column and wait times between decisions in the second column. Since individuals make multiple decisions, I want the average for each individual. For example, the data might look like this name wtime jo 1 jo 2 jo 1 jo 3 tim 3 tim 2 tim 2 ro 1 ro 2 etc. I'm hoping there is something like mean(dataname$wtime[name]) which will just
2003 Aug 25
1
ODBC Oracle access
Hi all, I'm having trouble connecting to an oracle database using RODBC under winXP. Unfortunately I can't really send a reproducable error as the initial call to odbcConnect seems to hangs R and I have to kill the session. I have been using RODBC to sucessfully connect to an MS Access DB that has tables linked through to the oracle database in question and that seems to work OK but it
2004 Nov 19
3
Tools for data preparation?
Hello list, I'm regularly in the position where I have to do a lot of data manipulation, in order to get the data I have into a format R is happy with. This manipulation would generally be in one of two forms: - getting data from e.g. text log files into a tabular format - extracting sensible sample data from a very large data set (i.e. too large for R to handle) In general, I use Perl or
2004 Oct 08
1
reading partial file content
hi, I'd like to extract data from very large files (ca 1-2 Mio lines), and I already know which lines of these files I need. Is there a way to do it without filling the memory with the whole file content? The lines I need are randomly distributed within the files. Thanks, Marc -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at