[Rd] Windows R CMD build leftovers

2005-11-24 Thread Martin Morgan
A command R CMD build that fails, e.g., because of C code compilation errors, leaves a directory %TMPDIR%/Rinst.xxx containing the file R.css. Although R CMD INSTALL --build cleans up after itself, build does not. A fix is below. Also, build.in references Rcmd.exe, which I thought was no longer

Re: [Rd] write.csv ignores 'row.names'

2005-11-24 Thread Prof Brian Ripley
On Thu, 24 Nov 2005, Roger Peng wrote: > Okay, upon further examination, it appears that it works fine if you set > 'row.names = FALSE' as opposed to 'row.names = F'. Yes. Adding eval.parent() (not eval()) would be better, though, as it would allow a variable (like F) to be used. I rather like

Re: [Rd] write.csv ignores 'row.names'

2005-11-24 Thread Peter Dalgaard
Roger Peng <[EMAIL PROTECTED]> writes: > Okay, upon further examination, it appears that it works fine if you set > 'row.names = FALSE' as opposed to 'row.names = F'. Nope. It's still a bug and you're quite right that eval() is needed. We can't have that an argument only works when supplied as a

Re: [Rd] write.csv ignores 'row.names'

2005-11-24 Thread Roger Peng
Okay, upon further examination, it appears that it works fine if you set 'row.names = FALSE' as opposed to 'row.names = F'. -roger Roger Peng wrote: > Upon replying to this email, I took a look at 'write.csv()' and noticed > something interesting. I remember there being a discussion sometime i

[Rd] write.csv ignores 'row.names'

2005-11-24 Thread Roger Peng
Upon replying to this email, I took a look at 'write.csv()' and noticed something interesting. I remember there being a discussion sometime in the past about letting 'write.csv()' accept the 'row.names' argument. However, I get the following error: > write.csv(airquality, file = "myfile.csv",

Re: [Rd] write.csv

2005-11-24 Thread Prof Brian Ripley
On Thu, 24 Nov 2005, Roger Peng wrote: > If you don't want the row names, as 'write.csv()' writes out by default, > try > > write.table(, file = "myfile.csv", sep = ",", row.names = FALSE) Or, better (since it sets other args to the appropriate values), write.csv(, file = "myfile.csv", row.names

Re: [Rd] write.csv

2005-11-24 Thread Florence Combes
I don't understand very well if your problem is rownames or column names, but what you want must be : row.names=FALSE and/or col.names=FALSE, which are arguments of the function 'write.table()' don't think you need to load any particular package for that. see also : --

Re: [Rd] write.csv

2005-11-24 Thread Roger Peng
If you don't want the row names, as 'write.csv()' writes out by default, try write.table(, file = "myfile.csv", sep = ",", row.names = FALSE) -roger Sven Schaltenbrand wrote: > hallo, > > i have a problem by writing a csv file > the first colum is filled with index numbers from 1 to n. > i ha

Re: [Rd] write.csv

2005-11-24 Thread Gavin Simpson
On Thu, 2005-11-24 at 17:00 +0100, Sven Schaltenbrand wrote: > hallo, > > i have a problem by writing a csv file > the first colum is filled with index numbers from 1 to n. > i have to unique two csv files once a week while one file is always the > same. > can anybody tell me, how to write the da

[Rd] write.csv

2005-11-24 Thread Sven Schaltenbrand
hallo, i have a problem by writing a csv file the first colum is filled with index numbers from 1 to n. i have to unique two csv files once a week while one file is always the same. can anybody tell me, how to write the dataset into a csv file without the first row of the indexnumbers. x[,-1] doe

Re: [Rd] Changes to Windows registry in R-2.2.0

2005-11-24 Thread Duncan Murdoch
On 11/24/2005 5:37 AM, Len Thomas wrote: > R-Devel, > > I note from the CHANGES log accompanying the Windows version of R-2.2.0 that > the behaviour with respect to the Windows registry has changed. It says: > > "If the user chooses to register R during installation, a registry entry > HKEY_LOC

[Rd] Changes to Windows registry in R-2.2.0

2005-11-24 Thread Len Thomas
R-Devel, I note from the CHANGES log accompanying the Windows version of R-2.2.0 that the behaviour with respect to the Windows registry has changed. It says: "If the user chooses to register R during installation, a registry entry HKEY_LOCAL_MACHINE\Software\R-core\R\{version}\InstallPath will

Re: [Rd] winMenuAdd

2005-11-24 Thread Prof Brian Ripley
On Wed, 23 Nov 2005, Seth Falcon wrote: > On 23 Nov 2005, [EMAIL PROTECTED] wrote: > >> I can see no change in the relevant code since 2.2.0 and the release >> version of 2.2.0 does this for me. >> >> It seems to be a long-standard error in rui.c that only 10 menus are >> allocated but 16 are test

Re: [Rd] Infinite recursion in S3 methods crashes R on windows (related to PR#8203?)

2005-11-24 Thread Peter Dalgaard
Rich FitzJohn <[EMAIL PROTECTED]> writes: > Hi, > > Infinite recursion in S3 methods seem to crash R on Windows 2000 (R > terminating with the ("Rgui.exe has generated errors...") message, > rather than throwing an error. This happens with both Rgui and Rterm. > > The following toy example trig

Re: [Rd] Makefiles and other customization

2005-11-24 Thread Kurt Hornik
> Ross Boylan writes: > Writing R Extensions mentions that a package developer can provide a > Makefile, but gives very little information about what should be in it. > It says there must be a clean target, and later on there's mention of > $(SHLIB): $(OBJECTS) > $(SHLIB_LIN

Re: [Rd] problem with \eqn (PR#8322)

2005-11-24 Thread Kurt Hornik
> Hin-Tak Leung writes: > Ross Boylan wrote: >> On Mon, 2005-11-21 at 10:27 +, Hin-Tak Leung wrote: >> >>> Kurt Hornik wrote: >>> >>> Definitely a problem in Rdconv. E.g., $ cat foo.Rd \description{ \eqn{{A}}{B} } [EMAIL PROTECTED]:~/tmp$