search for: ucalgary

Displaying 20 results from an estimated 331 matches for "ucalgary".

2008 Apr 10
4
File locks?
...tings changed depending on what is required (and the implications). Thanks Jim -- James Young, B.Sc. Ph.D. Student Interactions laboratory, Department of Computer Science, University of Calgary 2500 University Drive NW, Calgary, Alberta, Canada, T2N 1N4 Phone: +1.403.210.9502 E-mail: jim.young@ucalgary.ca URL: http://pages.cpsc.ucalgary.ca/~jyoung/<http://pages.cpsc.ucalgary.ca/%7Ejyoung/>
2010 Jun 02
4
Draw text with a box surround in plot.
text() can draw text on a plot. Do we have a way/function to draw text with a box surround it? Thanks, -james
2003 Nov 06
3
Stumped
...xt - but when I type in an option & hit return, nothing happens. We've watched the wire, but nothing leaves the box at this point. please let me know what I can post to help explain more. Thanks so much for any help! e. -- e r i k w i l l i a m s o n erik at cpsc.ucalgary.ca system admin . department of computer science . university of calgary
2010 Feb 12
1
Using seq_len() vs 1:n]
Pat Burns makes a good point. -Peter -------- Original Message -------- Subject: Re: [R] Using seq_len() vs 1:n Date: Fri, 12 Feb 2010 09:01:20 +0000 From: Patrick Burns <pburns at pburns.seanet.com> To: Peter Ehlers <ehlers at ucalgary.ca> References: <4B746AEF.10900 at ucalgary.ca> If you want your code to be compatible with S+, then 'seq_len' isn't going to work. On 11/02/2010 20:39, Peter Ehlers wrote: > R-people, > > Duncan Murdoch's response in > > https://stat.ethz.ch/pipermail/r-he...
2011 May 05
6
Averaging uneven measurements by time with uneven numbers of measurements
I have a new device that takes measurements anywhere from every second, to every 15 minutes (depending on changes). The matrix has a date, time and Y column (Y is the measurement). For three days it is 25,000 rows. How do I average the measurements by every 30 minutes so my matrix is 48 rows per day? I have been working on this and cannot figure out a simple method. Any ideas? Thank you. ----- In
2001 Dec 21
2
"at 0x78003b44 referenced memory at 0x00000000" (PR#1225)
...isinterpreting this. But I notice I have several versions of MSVCRT.dll on my machine, and I'm assuming that this routine is inside one of these dlls. So is there a particular MSVCRT.DLL that I should be using? Any other ideas? Really would like to get this working... John Abraham jabraham@ucalgary.ca -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel 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-devel-request@st...
2009 Mar 10
6
Pseudo-random numbers between two numbers
I would like to generate pseudo-random numbers between two numbers using R, up to a given distribution, for instance, rnorm. That is something like rnorm(HowMany,Min,Max,mean,sd) over rnorm(HowMany,mean,sd). I am wondering if dnorm(runif(HowMany, Min, Max), mean, sd) is good. Any idea? Thanks. -james
2009 Nov 20
6
How to add a top level title to multiple plots
How can I add an overall plot title to these four plots? I would like to have something that says, "Distribution Comparisons": par(mfrow = c(2, 2)) # Plot 1 plot(rnorm(10),type="l",col="red") title(main = list(paste("Normal"), ????????????????????????? col="black", cex = 1.0)) # Plot 2 plot(rpois(10,
2011 Jan 17
1
median by geometric mean -- are we missing what's important?
...about: > > x <- runif(20, -1, 100) > exp(median(log(pmax(0,x)))) > > It'll give -Inf if the two middle values are negative, when I guess we > should get NaN, but I can't see a 1-line way to handle that! > > Keith J > > "Peter Ehlers" <ehlers at ucalgary.ca> wrote in message > news:4D3468EF.5010601 at ucalgary.ca... >> I've been reminded by Prof. Brian Ripley that R's >> log() function will indeed handle zeros appropriately. >> >> Apologies to S Ellison and Hadley Wickham. >> >> Peter Ehlers >&gt...
2010 Jul 12
3
How to mean, min lists and numbers
I would like to sum/mean/min a list of lists and numbers to return the related lists. -1+2*c(1,1,0)+2+c(-1,10,-1) returns c(2,13,0) but sum(1,2*c(1,1,0),2,c(-1,10,-1)) returns 15 not a list. Using the suggestions of Gabor Grothendieck, Reduce('+',list(-1,2*c(1,1,0),2,c(-1,10,-1))) returns what we want, c(2,13,0). However, it seems that this way does not work to mean/min. So, how to
2001 Dec 19
3
ext3 inode error 28
hello: I have been reviewin my message slog and have found the following message: Dec 19 06:27:28 server02 kernel: EXT3-fs error (device sd(8,7)) in ext3_new_inode: error 28 What is error 28 and should I be worried about it? Ray Turcotte
2009 Sep 09
3
How to return/show the indexes of unusual points in boxplot?
I am wondering if you know how to return by function or show in boxplot, the indexes of unusual points, such as, points that are outside the box or in [Q3+1.5IQR,Max]. For example, > boxplot(c(4,rnorm(20),8)) There are 2 unusual points 4 and 8. How to show the indexes of 4 and 8 in the boxplot or return them by function? Thanks, -james
2002 Jul 17
3
Maximum File Size on Ext2/3
I need to find out what the maximum file size in an ext2/3 file system. It appears from the definition of the ext2_inode structure that since the i_size field is a 32 bit integer that the file would be limited by that. Thanks, Jason
2004 Sep 30
3
Is there any way to release memory in running time?
Hi all, I am doing some intensive computation right now. My system is Pentium4 3.20G + 1.0G RAM + WindowsXP + R1.9.1. It seems my computer is very powerful. However, when I do some simple matrix algebra operations based on a matrix (DD) with dimension 5000000 by 2, I found that the consumption of RAM is huge. For example, the command a <- 1 - DD[,2] eats my 100M RAM. Does anyone know how
2004 Nov 24
2
text() with invalid argument type crashes RGui.exe
...theless, if the behaviour is general, it might be better to generate an error. For anyone with more know-how than I have, here are the details of the crash: AppName: rgui.exe AppVer: 2.1.41115.0 ModName: r.dll ModVer: 2.1.41115.0 Offset: 000ef1b3 Peter Ehlers U of Calgary ehlers@math.ucalgary.ca
2004 Jun 10
2
Questions about Preserving registers
...t8087CW); 3. The following function may be useful in debugging; it returns false when the control word has been unexpectedly changed: function Okay8087CW:boolean; begin result := ((Default8087CW xor Get8087CW) and not $E060) = 0; end; Thanks. Rui Phone: (403)220-4501 Email: rwang@math.ucalgary.ca Department of Mathematics and Statistics University of Calgary [[alternative HTML version deleted]]
2011 May 07
2
Convenience-at-the-expense-of-clarity (was: quantmod's addTA plotting functions)
...ler can't tell you when the arguments are wrong. On a number of occasions it's taken far more time than it should to find errors of that sort. The convenience wasn't worth the wasted time. That's my rant for today. *-- Russ * On Thu, May 5, 2011 at 10:13 AM, P Ehlers <ehlers@ucalgary.ca> wrote: > Russ, > > All you have to do is replace > > > addTA(GSPC.EMA.3, on = 1, col = "#0000ff") > > with > > plot(addTA(GSPC.EMA.3, on = 1, col = "#0000ff")) > > etc. > > I can sympathize with the documentation frustratio...
2008 Jun 27
1
wiki contribution
Hi, I wanted to add a few notes in the wiki on the fastestmirror plugin on how you can add exclude info in the fastestmirror.conf file. This became important because amazingly ucalgary.ca shows up as a fastestmirror for servers I have in both Nevada and New York. However, the mirror is horribly slow for actual downloads and frequently times out. So, I just want to add info on how to add the exclude clause to this page: http://wiki.centos.org/PackageManagement/Yum/FastestMirror...
2004 May 25
2
Saving/exporting graphs
...ve graphs via the command line. I know i can right click on it and save it as wmf etc. But I was wandering if there is a function such as Splus' export.graph Thanks >From Alberto Nettel's Desk University of Calgary Math & Stats Department. Room 346, ext 7199 E-mail: nettel at math.ucalgary.ca
2004 May 26
1
apology
I apologise, I asked about exporting graphs and said I could not find it. Well I did, saveplot. my apologies. >From Alberto Nettel's Desk University of Calgary Math & Stats Department. Room 346, ext 7199 E-mail: nettel at math.ucalgary.ca