[Rd] 2.8.0 release bugs (PR#13210)

2008-10-28 Thread janek . musek
Dear colleagues, Using the last release 2.8.0 I had (for the first time since working with R) the difficulties in transmission of some Central European letters (=B9=F0= =E8=E6=BE) from R editor to the console and graphic window. They appear correctly in commands in R editor window, yet after

Re: [Rd] Errors in R CMD check for R 2.8.0

2008-10-28 Thread dxc13
When I type library(tcltk) under R 2.8.0 I get the error message: Loading Tcl/Tk interface ...Error in inDL(x, as.logical(local), as.logical(now), ...) : unable to load shared library 'C:/PROGRA~1/R/R-28~1.0/library/tcltk/libs/tcltk.dll': LoadLibrary failure: The specified procedure could

[Rd] write.csv(..., col.names = FALSE) (PR#13202)

2008-10-28 Thread Albrecht, Dr. Stefan (AIM SE)
Dear Paul, Thanks for your hint to write.table(). I have already chosen this route. Note that if row.names = FALSE, col.names gets TRUE and not NA. rn - eval.parent(Call$row.names) Call$col.names - if (is.logical(rn) !rn) TRUE else NA This is in contradiction to your

Re: [Rd] Errors in R CMD check for R 2.8.0

2008-10-28 Thread Uwe Ligges
dxc13 wrote: When I type library(tcltk) under R 2.8.0 I get the error message: Loading Tcl/Tk interface ...Error in inDL(x, as.logical(local), as.logical(now), ...) : unable to load shared library 'C:/PROGRA~1/R/R-28~1.0/library/tcltk/libs/tcltk.dll': LoadLibrary failure: The specified

[Rd] A question about the API mkchar()

2008-10-28 Thread Fán Lóng
Hi guys, I've got a question about the API mkchar(). I have met some difficulty in parsing utf-8 string to mkchar() in R-2.7.0. I was intending to parse an utf-8 string str_jan (some Japanese characters such asふ, whose utf-8 code is E381B5) to R API SEXP mkChar(const char *name) , we only

Re: [Rd] Errors in R CMD check for R 2.8.0

2008-10-28 Thread Gabor Grothendieck
You could go to \Users\JoeDoe\Documents\R\win-library and rename 2.8 to 2.8x, say, reinstall R, grab movedir.bat from http://batchfiles.googlecode.com placing it in \Users\JoeDoe\Documents\R\win-library (or anywhere on your path) and then check that it created a

[Rd] Fixing an only one coefficient in an ARIMA model

2008-10-28 Thread Yohann MOREAU
Good afternoon, I would like fitting an ARIMA model without the first coefficient. For example, I want to fit an AR(3) like this : y[t]=a[1]*y[t-1]+a[2]*y[t-2]+a[3]*y[t-3], where a[1]=0. How can I specify it in the function arima, if it is possible ? Thank you in advance. Yohann Moreau

Re: [Rd] 2.8.0 release bugs (PR#13210)

2008-10-28 Thread maechler
Dear Janek, jm == janek musek [EMAIL PROTECTED] on Mon, 27 Oct 2008 20:30:10 +0100 (CET) writes: jm Dear colleagues, Using the last release 2.8.0 I had (for jm the first time since working with R) the difficulties in jm transmission of some Central European letters (=B9=F0=

Re: [Rd] A question about the API mkchar()

2008-10-28 Thread Simon Urbanek
On Oct 28, 2008, at 6:26 , Fán Lóng wrote: Hi guys, Hey guy :) I've got a question about the API mkchar(). I have met some difficulty in parsing utf-8 string to mkchar() in R-2.7.0. There is no mkchar() in R. Did you perhaps mean mkChar()? I was intending to parse an utf-8 string

Re: [Rd] Arith ops dropping S4 bit [Was: S4 object does not commute? (PR#13209)]

2008-10-28 Thread John Chambers
The asymmetry is just the symptom of a more fundamental issue: There are no operator methods currently defined for vector classes, either combined with each other or with a non-S4 object. The consequence is that computations drop through to the primitive C code. Not a good idea, because that

Re: [Rd] Arith ops dropping S4 bit [Was: S4 object does not commute? (PR#13222)

2008-10-28 Thread jmc
The asymmetry is just the symptom of a more fundamental issue: There are no operator methods currently defined for vector classes, either combined with each other or with a non-S4 object. The consequence is that computations drop through to the primitive C code. Not a good idea, because that

[Rd] writting null (\000 or ^@) to an external text file without the new warning

2008-10-28 Thread Greg Snow
I have some functions that write an external text file for postprocessing by another program. Some instructions to the other program need to be indicated by null values (\000 or ^@). The function currently uses code like: writeChar(rawToChar(as.raw(0)), con) where con is a connection to the

Re: [Rd] writting null (\000 or ^@) to an external text file without the new warning

2008-10-28 Thread Barry Rowlingson
2008/10/28 Greg Snow [EMAIL PROTECTED]: I have some functions that write an external text file for postprocessing by another program. Some instructions to the other program need to be indicated by null values (\000 or ^@). The function currently uses code like:

Re: [Rd] writting null (\000 or ^@) to an external text file without the new warning

2008-10-28 Thread Simon Urbanek
On Oct 28, 2008, at 14:23 , Greg Snow wrote: I have some functions that write an external text file for postprocessing by another program. Some instructions to the other program need to be indicated by null values (\000 or ^@). The function currently uses code like:

Re: [Rd] writting null (\000 or ^@) to an external text file without the new warning

2008-10-28 Thread Greg Snow
Thanks, I had assumed that writeChar(,con) would write 0 bytes to the file and had seen the other construct somewhere else. A quick test of writeChar(,con) does have the ^@ (when viewed in emacs) in the correct place, and there were no warnings, so I will change to that. Thanks again, --

Re: [Rd] writting null (\000 or ^@) to an external text file without the new warning

2008-10-28 Thread Simon Urbanek
On Oct 28, 2008, at 17:32 , Greg Snow wrote: Thanks, I had assumed that writeChar(,con) would write 0 bytes to the file and had seen the other construct somewhere else. A quick test of writeChar(,con) does have the ^@ (when viewed in emacs) in the correct place, and there were no