Re: [Rd] possible bug in "R Editor"

2012-05-31 Thread Prof Brian Ripley

On 31/05/2012 07:04, Wincent wrote:

Dear all,

I clicked "File-New Script" to open a R Editor, typed some commands in
it and then saved it to a file. If the location where I tried to save
the script contained Chinese Character, R Editor complained,

Error: invalid input 'E:\Some.Chinese.Characters\new_file.R' in 'utf8towcs'



sessionInfo()

R version 2.15.0 (2012-03-30)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=Chinese (Simplified)_People's Republic of China.936
[2] LC_CTYPE=Chinese (Simplified)_People's Republic of China.936
[3] LC_MONETARY=Chinese (Simplified)_People's Republic of China.936
[4] LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_People's Republic of China.936

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base

loaded via a namespace (and not attached):
[1] tools_2.15.0


It is not a bug in the editor. It may be a bug in iconv or other parts 
of the handling of wide characters in the save routine.  I can see how 
the code can be simplified, but we really need to be able to reproduce 
this, and surely that was not the real example.  (One of the problems is 
that the editor title has to be in the native encoding, so this has to 
be done in a Chinese version of Windows.)


--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] R Installation Manual - ATLAS BLAS guidance that is not in the current version

2012-05-31 Thread Adler, Avraham
I apologize for the late response, but I missed Professor Ripley's reply. For 
what it is worth, I have successfully compiled a 32-bit ATLAS-based BLAS for 
Windows for the Core-i7 that passes the make checks and library tools tests 
(which may be found at 
 for those 
interested in either testing or using it). Using this BLAS, I find a speedup of 
around 500% for matrix multiplications of 1000x1000 dense matrices. 
Unfortunately, in the environment in which I operate, I am currently 
constrained to a 32-bit operating system. If and when the transition is made to 
64bit, I will gladly use  Professor Nakama's versions, although none of them 
are optimized for Core i7 (Sandy Bridge or otherwise) CPUs. 

As the necessity to remove the xerbla remains, and implementing it does allow 
for the proper compilation of R under Windows, I will just have to archive that 
information myself and use it the next time I need to update the BLAS. I am 
thankful that the Windows-based MAKEFILE still allows for the compilation of 
Rblas.dll linking to an ATLAS-based BLAS, and although I regret that the 
manuals will no longer contain that information, I certainly defer to the 
expertise and experience of those much more knowledgeable than I in matters 
programming, compilation, and R.

Thank you,

Avraham Adler

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel