[Rd] Calendar week ISO (PR#14132)

2009-12-11 Thread samandrew
Hi there =20 I use Gnu R sometimes at work.=20 =20 Unfortunately we use Windows and R has problems with getting the calendar week number with the first week as the one which has at least 4 days. A colleague told me that he has the same problem.=20 =20 Below you can see what I use now, for fin

Re: [Rd] R on Windows crashes when using certain characters in strings in data frames (PR#14125)

2009-12-11 Thread Duncan Murdoch
On 11/12/2009 6:36 AM, Karl Ove Hufthammer wrote: On Thu, 10 Dec 2009 10:20:09 +0100 (CET) k...@huftis.org wrote: > The following commands trigger the crash for me: > > n=1e5 > k=10 > x=sample(k,n,replace=TRUE) > y=sample(k,n,replace=TRUE) > xy=paste(x,y,sep=" × ") > z=sample(n) > d=data.fra

[Rd] incorrect linetype with quartz device (PR#14129)

2009-12-11 Thread baptiste . auguie
Full_Name: baptiste auguié Version: 2.10.1 RC (2009-12-06 r50690) OS: Mac OSX 10.5 Submission from: (NULL) (90.25.215.172) The quartz() device, either in interactive use or with pdf file output, produces an incorrect dashed line when the data is dense. Consider the following comparison between q

[Rd] `mgp[1:3]' are of differing sign (PR#14130)

2009-12-11 Thread cornell . p . gonschior
Full_Name: Cornell Gonschior Version: 2.10.0 OS: Linux Submission from: (NULL) (212.201.28.40) Hi, in the introduction to R, you can find the following sentence in the par() chapter: "Use tck=0.01 and mgp=c(1,-1.5,0) for internal tick marks." I thought that's nice, because I wanted to have tick

[Rd] incorrect linetype with pdf device (PR#14128)

2009-12-11 Thread baptiste . auguie
Full_Name: baptiste auguié Version: 2.10.1 RC (2009-12-06 r50690) OS: Mac OSX 10.5 Submission from: (NULL) (90.25.215.172) The following code, run with a vanilla R session, produces different visual output for the two devices, library(grid) pdf("test-pdf.pdf") grid.newpage() grid.lines(gp=gpar

Re: [Rd] R on Windows crashes when using certain characters in strings in data frames (PR#14125)

2009-12-11 Thread Karl Ove Hufthammer
On Thu, 10 Dec 2009 10:20:09 +0100 (CET) k...@huftis.org wrote: > The following commands trigger the crash for me: > > n=1e5 > k=10 > x=sample(k,n,replace=TRUE) > y=sample(k,n,replace=TRUE) > xy=paste(x,y,sep=" × ") > z=sample(n) > d=data.frame(xy,z) Note: On the R Bug Tracking System Web site

Re: [Rd] binary string conversion to a vector (PR#14120)

2009-12-11 Thread Franc Brglez
Hello! Please accept my sincere apologies for annoying the R development team with my post this week. If I were required to register as "a developer" before submission, this would not have happened. To rehabilitate myself, please find at the bottom of this mail two R-functions, 'string2vector'

Re: [Rd] Which packages in R use C++?

2009-12-11 Thread Whit Armstrong
and fts, making heavy use of templates for R types: http://github.com/armstrtw/fts -Whit On Thu, Dec 10, 2009 at 4:16 PM, Dirk Eddelbuettel wrote: > > On 10 December 2009 at 15:02, Peng Yu wrote: > | I want to see some working examples on how to call C++ programs from > | R. Could somebody let