search for: o'riordain

Displaying 20 results from an estimated 35 matches for "o'riordain".

2003 Oct 15
3
r-ish ? how can i improve my code?
Hi Folks, I'm trying to learn R. One of my intentions is to do some Monte-Carlo type modelling of road "accidents". Below, to simplify things, I've appended a little program which does a 'monte-carlo' type simulation. However, it is written in a way which seems a bit un-n...
2006 May 11
4
data input strategy - lots of csv files
Good morning, I have currently 63 .csv files most of which have lines which look like 01/06/05,23445 Though some files have two numbers beside each date. There are missing values, and currently the longest file has 318 rows. (merge() is losing the head and doing runaway memory allocation - but tha...
2012 Mar 14
2
Moore-Penrose Generalized determinant?
Is there a function in R to calculate the generalized determinant of a singular matrix? - similar to the ginv() used to compute the generalized inverse. I can't seem to find any R related posts at all. Thanks in advance, Sean O'Riordain Trinity College Dublin -- View this message in context: http://r.78969...
2010 Jan 07
2
table() and setting useNA to be there by default?
Good morning, Is there a way to get table() to default to including NAs - as in... table(..., useNA='ifany') or table(..., useNA='always') or table(..., exclude=NULL) ? I can't see a way under table() or options() or searching the archives (probably using the wrong keyword?)....
2005 Jul 05
2
finding out more about an object, e.g. lm
Hi! I'm trying to use lm(y~x) amongst others in an automated way; I've gone through the section on indexing in R-lang and I've looked MASS4. How do I find out more about the structure of the returned object? In perl I can look at object structure pretty-printed in the debugger - is there an R equivalent?...
2008 Dec 01
1
trivial spelling correction
Good evening, Spotted a very minor spelling mistake in the source for the grep help. And thanks to R-Core for all their work - it's a tribute to R-Core, that these sort of "problems" are rare indeed. Best regards, Sean O'Riordain Dublin sean at sean7:~/R/RSVN/R/trunk/src/library...
2011 Apr 25
1
possible minor doc clarification?
Good afternoon, As a clarification does it make sense to remove the second 'not' in the 'See Also' documentation for file_test ? Kind regards, Sean O'Riordain ----- Index: src/library/utils/man/filetest.Rd =================================================================== --- s...
2013 Apr 10
1
Issue with Control-Z in a text file on Windows - readLines() appears to truncate
Working on Windows I have had to deal with CSV files that, unfortunately, contain embedded Control-Zs, i.e. ASCII character 26 in decimal, and the readLines() function in R on Windows (2.15.2 and 3.0.0) appears to truncate at the control-Z. There is no problem at all on Ubuntu Linux with R 3.0.0. Am...
2006 Sep 18
1
uniform integer RNG 0 to t inclusive
Good morning, I'm trying to concisely generate a single integer from 0 to n inclusive, where n might be of the order of hundreds of millions. This will however be used many times during the general procedure, so it must be "reasonably efficient" in both memory and time... (at some later...
2006 May 20
1
merge problem... extra lines appear in the presence of NAs
Good morning! I've searched the docs etc... Am I doing something wrong or is this a bug? I'm doing a merge of two dataframes and getting extra rows in the resulting dataframe - the dataframes being merged might have NAs... count <- 10 nacount <- 3 a1 <- as.data.frame(as.Date(&quot...
2008 Mar 19
1
running balance down a dataframe referring back to previous row
Good morning, I've searched high and low and I've tried many different ways of doing this, but I can't seem to get it to work. I'm looking for a way of vectorising a "running balance"; i.e. the value in the first row of the dataframe is zero, and following rows add to this r...
2008 Mar 28
1
cpu usage high with windows change dir / winDialogString (PR#11045)
Good afternoon, This is possibly a windows only bug, definitely of comparatively low importance - but for the sake of completeness here we go. I've searched http://bugs.R-project.org/ etc., but can find no mention. For RGui.exe, the CPU usage goes to 100% for certain dialog boxes for the durati...
2005 Jul 08
2
Sweave resource leak: leftover temp files (PR#7999)
This is great. Thank you for your help, but let me make sure I fully understand. Here is the looping file I use to subset the data frame, create a tex file, and Sweave it. This results in N number of tex files where N is equal to the number of rows in the data frame. list <- unique(wide$stuid) master = "master.te...
2005 Aug 09
2
connexion problem getHdata (HMisc)
********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** Hi Just installing R and some packages in my new job...
2003 Jun 12
2
R_PHP_Online version 0.2 with Security Fix
Hi all, Thanks to Dr Paul Murrell in New Zealand to remind me of security consideration. I am releasing version 0.2 with security fix. This version will allow you to add banned R function names in a list. R_PHP_Online is a PHP CGI web interface to run R programs online, with the capability to show graphics online....
2008 Jul 25
0
discrete event simulation - "factory" with rework
Good morning, I wonder could somebody help me bridge the gap? I want to try and simulate a "factory" type environment with an object moving between stages of production with errors and re-work. The intent of this is to demonstrate the effect of error rates and re-work at various stages in...
2008 Mar 29
0
cpu usage high with windows change dir / winDialogString (PR#11051)
On 28/03/2008 12:05 PM, seanpor at acm.org wrote: > Good afternoon, > > This is possibly a windows only bug, definitely of comparatively low > importance - but for the sake of completeness here we go. I've > searched http://bugs.R-project.org/ etc., but can find no mention. >...
2010 Feb 19
1
sample on data.frame
Currently, sample of a data.frame is a sample of the columns: e.g. sample(data.frame(a=1,b=2:3,c=4),2) => data.frame(b=2:3,c=c(4,4)) I'd have thought it would be much more common to want a sample of the rows. It's easy enough to define an appropriate function for this: sample.data.frame <- function(x...
2013 Apr 09
1
Fwd: R unzip method gives filenames as character
Question: would it be better if the contents list of the unzip() function returned the filenames as character rather than factor since they are probably unique strings? > tmp <- unzip(fnam, list=TRUE) > str(tmp) 'data.frame': 31 obs. of 3 variables: $ Name : Factor w/ 31 levels &quot...
2013 Aug 10
1
broken link in docs for Binormial functions
On the local documentation page for Binomial, i.e. http://127.0.0.1:xxxx/library/stats/html/Binomial.html The link to Catherine Loader's paper "Catherine Loader (2000). *Fast and Accurate Computation of Binomial Probabilities*; available from http://www.herine.net/stat/software/dbinom.html....