[Rd] spss long labels

2008-07-02 Thread Kurt Van Dijck
Hi, A frequently seen issue with importing SPSS data files, is that R does not import the 'long variable names'. I built a patch on the R-project's foreign module, in order to import the 'long variable names' from SPSS (record 7, subtype 13). To complete the job, I had to expand the struct

[Rd] how to concatenate two strings

2008-07-02 Thread Kurapati, Ravichandra (Ravichandra)
Is there any function in R To concatenate the two strings Thanks K.Ravichandra [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] how to concatenate two strings

2008-07-02 Thread Duncan Murdoch
Kurapati, Ravichandra (Ravichandra) wrote: Is there any function in R To concatenate the two strings paste() is what you want. (Generally questions like this should go to the R-help list. R-devel is more for development of R, or low-level programming with it.) Duncan Murdoch

Re: [Rd] Autoconf / Windows package building problem for device package

2008-07-02 Thread Tadashi Kadowaki
Simon, Now, pdf2 does not use manually created config.h, but create own config.h by itself. The package also does not refer internal headers installed with R. However, the package needs internal headers, because original pdf device code needs them. Therefore, It has local copies of the headers.

Re: [Rd] Autoconf / Windows package building problem for device package

2008-07-02 Thread Simon Urbanek
On Jul 2, 2008, at 6:41 AM, Tadashi Kadowaki wrote: Simon, Now, pdf2 does not use manually created config.h, I was referring to R - there is no configure step in the Windows build so config.h is created manually (or semi-automatically if you wish) and then shipped with R in a special

Re: [Rd] get ...

2008-07-02 Thread Luke Tierney
On Tue, 1 Jul 2008, Duncan Murdoch wrote: On 30/06/2008 10:56 AM, Luke Tierney wrote: On Sat, 28 Jun 2008, Peter Dalgaard wrote: Gabor Grothendieck wrote: Suppose we do this: f - function(...) environment() e - f(a = 1, b = 2) ls(e, all = TRUE) [1] ... e$... ... class(e$...)

Re: [Rd] get ...

2008-07-02 Thread Gabor Grothendieck
If access is removed it would be important to provide an alternative first -- removing access and only providing an alternative some time later does not seem prudent. On Wed, Jul 2, 2008 at 10:57 AM, Luke Tierney [EMAIL PROTECTED] wrote: On Tue, 1 Jul 2008, Duncan Murdoch wrote: On 30/06/2008

Re: [Rd] get ...

2008-07-02 Thread Luke Tierney
ACCESS TO WHAT FOR CRYING OUT LOUD!! What we have now is a way for a useless internal object that is in any case subject to change to leak out. How is that useful, never mind essential? Exists works, as it should, ls works, as it should. In the language, ... arguments in functions are

Re: [Rd] get ...

2008-07-02 Thread Duncan Murdoch
On 7/2/2008 10:57 AM, Luke Tierney wrote: On Tue, 1 Jul 2008, Duncan Murdoch wrote: On 30/06/2008 10:56 AM, Luke Tierney wrote: On Sat, 28 Jun 2008, Peter Dalgaard wrote: Gabor Grothendieck wrote: Suppose we do this: f - function(...) environment() e - f(a = 1, b = 2) ls(e, all = TRUE)

Re: [Rd] AIX 5.3 --enable-R-shlib make error with R-2.7.1

2008-07-02 Thread Jagat.K.Sheth
The patches were successful on this end. Many thanks to Ei-ji. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ei-ji Nakama Sent: Tuesday, July 01, 2008 8:06 AM To: Sheth, Jagat K Cc: r-devel@r-project.org Subject: Re: [Rd] AIX 5.3 --enable-R-shlib

[Rd] Data editor duplicates pairs of backslashes (PR#11897)

2008-07-02 Thread mtt2108
Full_Name: Magnus Torfason Version: 2.7.0 OS: Windows Vista Submission from: (NULL) (128.59.140.167) Each time a string is edited in the data editor (on Windows at least), any pairs of backslashes (an escaped backslash) are duplicated on each edit of the string. Note that one must actually

Re: [Rd] Data editor duplicates pairs of backslashes (PR#11897)

2008-07-02 Thread Duncan Murdoch
On 7/2/2008 10:05 AM, [EMAIL PROTECTED] wrote: Full_Name: Magnus Torfason Version: 2.7.0 OS: Windows Vista Submission from: (NULL) (128.59.140.167) Each time a string is edited in the data editor (on Windows at least), any pairs of backslashes (an escaped backslash) are duplicated on each edit

[Rd] Constructing logical expressions dynamically

2008-07-02 Thread Tom Murray
Hello, I am trying to construct a logical expression dynamically, for use in the subset() function. I am puzzled by problems with the code that follows below. Probably there's an easier way to select rows of a data frame according to some dynamic criteria--and I'd love to hear about it--but I'd

Re: [Rd] Constructing logical expressions dynamically

2008-07-02 Thread Duncan Murdoch
On 02/07/2008 7:27 PM, Tom Murray wrote: Hello, I am trying to construct a logical expression dynamically, for use in the subset() function. I am puzzled by problems with the code that follows below. Probably there's an easier way to select rows of a data frame according to some dynamic

Re: [Rd] Autoconf / Windows package building problem for device package

2008-07-02 Thread Tadashi Kadowaki
Simon, Now, pdf2 does not use manually created config.h, I was referring to R - there is no configure step in the Windows build so config.h is created manually (or semi-automatically if you wish) and then shipped with R in a special location. I misunderstand what you meant. I found