search for: mwtoew

Displaying 17 results from an estimated 17 matches for "mwtoew".

Did you mean: mwtoews
2005 Jun 28
2
axTicks on a reverse ylog plot (PR#7973)
There is still issues with the reversed y-log scale plot: # Test case A: works as expected plot(10:100,log="y",ylim=c(100,11)) grid() par("yaxp") # Test case B: grid does not have horizontal lines; par("yaxp") is different plot(1:100,log="y",ylim=c(100,10)) grid() par("yaxp") In the second test case, axTicks for the horizontal lines (in
2006 Oct 11
4
Object attributes in R
Hi, I have questions about object attributes, and how they are handled when subsetted. My examples will use: tm <- (1:10)/10 ds <- (1:10)^2 attr(tm,"units") <- "sec" attr(ds,"units") <- "cm" dat <- data.frame(tm=tm,ds=ds) attr(dat,"id") <- "test1" When a "primitive class" object (numeric, character, etc.) is
2007 Feb 26
1
exact matching of names in attr
In R 2.5.0 (r40806), one of the change is to allow partial matching of "name" in the attr function. However, how can I tell if I have an exact match or not? For example, checking to see if an object has a "name" attribute, then giving it one if it doesn't: dat <- data.frame(x=1:10,y=rnorm(10)) if(is.null(attr(dat,"name"))) attr(dat,"name")
2008 May 26
1
Double HTML encoding in R Bug Tracking Submission form (PR#11517)
The "New Bug Report" form available from http://bugs.r-project.org/ appears to double encode the HTML of the "body" text area of the form. This behaviour can be seen in submission ID # 11515, where (as an example) "??" is converted to "&#916;" in the browser view or "&amp;#916;" in the HTML source code. Conversion to
2005 Jun 28
2
boxplot by factor (Package base version 2.1.1) ( PR#7976)
...uppose an additional argument, e.g., drop=TRUE, can be added, and the corresponding line mentioned above changed to something like: if (drop || !is.factor(f)) f <- factor(f) Then this additional argument can be pass on from boxplot.formula() to split(). Just my $0.02... Andy > From: mwtoews at sfu.ca > > I consider this to be an old bug, which also persists in Splus 7. It > is unnecessary, and annoying. > > ## Section 1: Consider a simple data frame with three possible > factors (in levels) > > d <- data.frame(a=sort(rnorm(10)*10), b=factor(c(rep(&qu...
2008 May 25
1
Using unicode with sprintf or paste in Windows (PR#11515)
Full_Name: Michael Toews Version: 2.7.0 OS: Windows XP SP2 Submission from: (NULL) (24.80.163.230) Using Unicode characters in Windows works with static strings (as of R 2.7.0), however fails when used with sprintf() or paste(). For example, on R 2.7.0 for Windows XP (SP2): Static string (works, showing Greek Delta character): > print("\u0394Q = 2.2 L/s") [1] "&#916;Q =
2008 Oct 06
1
Bug with message if there is no documentation; R2.8alpha Win32 (PR#13131)
In the latest R 2.8 alpha for Win32, if either of the commands are typed: > help("erfc") .. or .. > ?erfc the result is: No documentation for 'erfc' in specified packages and libraries: you could try '??erfc' This should be: 'help.search("erfc")', as shown in R 2.7.2 Apologies if this has already been submitted/fixed. -Mike --please do not edit
2006 Jun 29
1
write.table does not quote col.names properly (PR#9044)
Full_Name: Michael Toews Version: 2.3.1 OS: Mac OS 10.4.6 and WinXP/SP2 Submission from: (NULL) (24.80.163.133) This bug also affects related functions (write.csv, etc.), and can be demonstrated using either a matrix or data frame: m <- matrix(1:9,nrow=3, dimnames=list(c("A","B","C"), c("I","II","III")))
2006 Sep 19
4
Rgui.exe plot device "Save as" crash (PR#9237)
Full_Name: Michael Toews Version: 2.3.1 OS: WindowsXP Home/Proffesional SP2 Submission from: (NULL) (142.58.206.114) Hi, I have a bug that I can reproduce on two different MS Windows platforms (1:AMD64x2/WinXP SP2 Home; 2:P4/WinXP SP2 Prof.) which is triggered by the "Save as" dialog when saving a plot from a Windows device onto the Desktop. This bug is difficult to reproduce, but here
2007 Apr 20
1
sequential for loop
Hi all, I'm usually comfortable using the *apply functions for vectorizing loops in R. However, my particular problem now is using it in a sequential operation, which uses values evaluated in an offset of the loop vector. Here is my example using a for loop approach: dat <- data.frame(year=rep(1970:1980,each=365),yday=1:365) dat$value <-
2006 Sep 28
0
Documentation patch for 'match' and 'palette'
Here is a patch to improve documentation for finding useful, yet newish, functions: 'findInterval' and 'colorRamp'. I think that it is worthwhile to mention these in the 'seealso' section of the similar 'match' and 'palette' documents. I had difficulty finding these functions at first, as they have compound names. Modify the patch as needed. +mt
2007 Apr 19
0
Feature request for 'sprintf' optimization (PR#9621)
Full_Name: Michael Toews Version: R-devel and 2.4.1 OS: Debian etch and WindowsXP Submission from: (NULL) (142.58.206.114) This is a quick demonstration of the present time limitation of 'sprintf' on long vectors with a suggestion for significant optimization. First, consider a data.frame with numeric (double) values: dat <- data.frame(year=as.numeric(rep(1970:2000,each=365)),
2007 Dec 06
2
End of whiskers of boxplots are repeated on PDF device (PR#10499)
Full_Name: Michael Toews Version: 2.61 OS: WinXP SP2 Submission from: (NULL) (142.58.206.114) Using boxplot on a PDF device with more than one group (or boxes) produces multiple (and overlain) 1st and 3rd quartile ticks. There are exactly the multiple of boxplot groups as there are of each 1st and 3rd quartile ticks for each boxplot (drawn as a horizontal line at the end of each boxplot), which
2007 May 15
1
legend with mixed boxes and lines (not both)
Hi, I seem to be unable to get a mixed legend that has lines *or* polygons (not both). For example: ppi <- seq(0,2*pi,length.out=21)[-21] frame() plot.window(ylim=c(-5,5),xlim=c(-5,5),asp=1) polygon(cos(ppi)*4+rnorm(20,sd=.2),sin(ppi)*4+rnorm(20,sd=.2), col="green",border=FALSE) polygon(cos(ppi)*2+rnorm(20,sd=.1),sin(ppi)*2+rnorm(20,sd=.1), col="blue",border=FALSE)
2017 Sep 12
1
unpackPkgZip: "unable to move temporary installation" due to antivirus
Hi, Me and an office colleague on Microsoft Windows 10 PCs are having difficulty installing any package. This is a recent issue for us, and we suspect our McAfee antivirus has modified by our IT department. Let's take, for example, install.packages("mypackage"), here is the output: package ?mypackage? successfully unpacked and MD5 sums checked Warning in install.packages : unable
2005 Jun 28
0
boxplot by factor (Package base version 2.1.1) (PR#7976)
I consider this to be an old bug, which also persists in Splus 7. It is unnecessary, and annoying. ## Section 1: Consider a simple data frame with three possible factors (in levels) d <- data.frame(a=sort(rnorm(10)*10), b=factor(c(rep("A",4), rep("C", 6)), levels=c("A","B","C"))) tapply(d$a, d$b, mean) # returns three results, which I
2006 Oct 21
1
parse/INSTALL feature request(s)
Hi, I have a feature request for 'parse', and possibly the 'R CMD INSTALL' command to display more informative error information. Specifically, after making several modifications to a package on my system (the package name is irrelevant; I'm using R 2.3.1 on Debian): $ R CMD INSTALL seas * Installing *source* package 'seas' ... ** R ** data ** inst ** preparing