similar to: A small bug in R code of the legend function of the Graphics pacakge (PR#13340)

Displaying 20 results from an estimated 2000 matches similar to: "A small bug in R code of the legend function of the Graphics pacakge (PR#13340)"

2008 Oct 22
2
Can't open files containing russian letters in path (PR#13195)
Full_Name: Arkady Sherman Version: 2.8.0 OS: Windows XP sp3 ntfs file system Submission from: (NULL) (158.195.166.129) Freshly installed version 2.7.2 works well, but 2.8.0 can't open files with russian letters in its names. In error messages the letters are replaced with different symbols.
2003 Feb 24
2
"trace" argument in legend() (PR#2578)
Full_Name: Jerome Asselin Version: 1.6.2 OS: RedHat Linux 7.2 Submission from: (NULL) (142.103.173.179) Should be an easy fix... Consider the examble below: plot(0,0) legend(0,0,c("Hello!","Hi!"),pch=1:2,lty=1:2,trace=T) It gives the following trace: > plot(0,0) > legend(0,0,c("Hello!","Hi!"),pch=1:2,lty=1:2,trace=T) xchar= 0.05178 ;
1997 May 11
2
R-alpha: Logarithmic scales
Here are another three problems with logarithmic scales: 1) segments() does not work with logarithmic scales. I suggest to change lines 962-973 in "plot.c": for (i = 0; i < n; i++) { if (FINITE(xt(x0[i%nx0])) && FINITE(yt(y0[i%ny0])) && FINITE(xt(x1[i%nx1])) && FINITE(yt(y1[i%ny1]))) { GP->col = INTEGER(col)[i % ncol];
2008 Nov 04
0
(PR#13195) Can't open files containing russian letters in path
Thanks for the attention. So my windows locale is Russian (Cyrillic, Win-1251). I installed R-2.8.0-win32.exe. I've got a file with Cyrillic letters in its name, for example "C:\???.txt". When I try to open it from R menu "File->Source R code ..." it produces an error: > source("C:\\666.txt") Error in file(file, "r", encoding = encoding) :
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
2000 Oct 19
0
legend -- one more try
Dermot MacSweeney pointed out to me that after my "fix" of legend(), points were no longer coming out placed in the middle of the lines, but at the right-hand edge. It turns out that naively swapping the order of point-drawing and line-drawing also messes up the bookkeeping that legend() does on the current x-location. Here's my patch, which fixes that bookkeeping (and incidentally
2001 Jan 15
0
legend() patch never seems to have made it in
Perhaps I should have submitted this as a bug so that it would be officially tracked. It's not a big deal, but here it is again (I can't remember which version this patch is against, but I don't think legend() has changed since then ...) Basically, the problem is that if you want to have "opaque" points that overlay lines (rather than using type="b" and having
2001 Aug 27
1
colorbar legend for image()
Hi, are there any plans to add a colorbar legend to image()? Or such a possibility already implemented which I just haven't discovered yet. Anyway, I will be willing to spent some time on the implementation if there isn't anyone working on that already. Thanks Thomas -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read
2000 May 31
1
legend with multiple columns
I have made a minor hack to "legend" (in R 1.0.0, but I didn't notice any changes to legend in the 1.0.1 NEWS) to allow the legend to be formatted in multiple columns, or horizontally (number of columns <- number of legend items). (I find this helpful when I have lots of legend items and not a lot of vertical space to squeeze the legend into.) (Another hack I've considered
2015 Jun 18
3
[LLVMdev] Clang 3.6.1 integration with MSVC++
Hi, This page http://clang.llvm.org/docs/MSVCCompatibility.html says clang-cl supports C ++ exceptions, but I cannot compile code with simple try{}catch{} error : cannot compile this throw expression yet What am i doing wrong? -- WBR, Arkady Shapkin aka Dragon -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Jul 18
2
line jump in plot legend title
Hello, In order to reduce the width of my legend in a plot I introduced line jumps in the title. Here's the problem; the legend box hasn't adapted accordingly and part of the title is printed out of the frame. See the example below: plot(1:10) legend("bottomright", bg="white", fill=c(7,8,12,13,19),
2010 Mar 07
1
Using Samba NTLM authentication
Hi,guys . I implement HTTP Proxy running in Linux environment and my proxy have to support NTLM authentication. My proxy written in C++. I want to use samba API ,but I don't* know how and what* API can be used exactly. I would very appreciate if you can advice me some example code and any advice which can help me in my task. Thanks in advance,Arkady
2000 Jun 09
2
w0 in legend
In Version 1.1.0 Under development (unstable) (June 8, 2000) there seems to be a problem with an internal variable w0 in legend that generates the following new error: Error in legend((par()$usr)[1:2], (par()$usr)[3:4], Legend, lty = lty, : Object "w0" not found > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read
2008 Nov 29
0
A small bug in R code of the legend function of the Graphics (PR#13350)
Martin Maechler wrote: > but do.lines is never specified. It can be FALSE (if there are no > lines drawn) and a user can indeed set 'merge = TRUE" in such a > situation. > However, can you think of a situation where this was desirable? > I think it should not have any effect in such a case > {... but unfortunately it currently has ... yet another > sign that
2005 Sep 10
2
Output of warnings inside the source function
Hello, all. There is a problem to get an output of warnings() function to sink in a file specified. There are to files 1. File "test" with content: source("test_foo",local=T) 2. and file "test_foo" with content: options(warn = 1) sink("c:/temp/foo.txt",append=F) warning("Foo warning") warnings() sink() 3. If I run R as "c:\Program
1997 Jun 23
0
R-alpha: various graphics Q.
"contour" can't return a list of contours (it would be nice) "arrows" has different options from S-PLUS (no "open" or "rel" options, no "lwd" parameter or graphics parameter pass-through; "size" in S corresponds to "length" in R). [I know we needn't follow S-PLUS syntax slavishly, but it would be nice at least to
2010 Jul 22
5
legend in R plot
Hi all, I am have some difficulty with the legend function. I need to add a legend to describe the different line types in a plot. The legend box is small. It did not include sufficient length of each line type to help distinguish the differnt line types. Is there a way to fix this. Thank you Hannah [[alternative HTML version deleted]]
2007 Jul 03
1
Please help with legend command
Hi R-ers: I'm drawing a plot and have used different line types (lty) for different race/ethnicity groups. I want a legend that explains what line types correspond to the different race/ethnicity groups. I used the following code: legend( 1992 , 42 , c("Hispanic" , "non-Hispanic white (NHW)" , "non-Hispanic black" , "AI/AN" , "Asian" ) ,
2008 Dec 22
0
Align legend title
Dear R developers, I needed to align the title of legend for some of my plots. If there is interest to include this into base R, bellow are the examples and the relevent diffs. Regards, Gregor x <- 1:10 y1 <- 1.5 * x y2 <- 2.0 * x y <- cbind(y1, y2) source(file=url("http://gregor.gorjanc.googlepages.com/legend.R")) matplot(x, y, type="l", lty=c(1, 2)) ##
2013 Apr 23
1
Questions on function "readNamedRegionFromFile" in XLConnect pacakge
Hi, I have two questions on the function "readNamedRegionFromFile" in XLConnect pacakge. 1. In the documentation, # multiregion xlsx file from demoFiles subfolder of package XLConnect demoExcelFile <- system.file("demoFiles/multiregion.xlsx", package = "XLConnect") # Load a single named region into a single data.frame. df