[Rd] problem with display of complex number

2018-07-09 Thread Ei-ji Nakama
Hi, > 1e10+5i [1] 1e+10+0e+00i > Im(1e10+5i) [1] 5 maybe little better... --- R-3.5.1.orig/src/main/complex.c2018-03-26 07:02:25.0 +0900 +++ R-3.5.1/src/main/complex.c2018-07-10 12:50:42.523874767 +0900 @@ -381,6 +381,7 @@ r->i = fround(pow10 * x->i, digits)/pow10; }

Re: [Rd] Different results for cos,sin,tan and cospi,sinpi,tanpi

2016-12-05 Thread Ei-ji Nakama
nf); +if ( x == -0.5 ) return(R_NegInf); +}else if (_odd){ +if ( x == 1.5 ) return(R_NegInf); +if ( x == -1.5 ) return(R_PosInf); +} +// otherwise +return tan(M_PI * x); } -#if !defined(HAVE_TANPI) && defined(HAVE___TANPI) -double tanpi(double x) { -return __tanpi(x);

Re: [Rd] Different results for cos,sin,tan and cospi,sinpi,tanpi

2016-12-01 Thread Ei-ji Nakama
i(double x) { > return __cospi(x); > } > > And AFAICS the system versions on Solaris and OS X behave the same way as > R's substitute. > > > > > On 01/12/2016 09:12, Martin Maechler wrote: >>>>>>> >>>>>>> Martin Maechler <ma

[Rd] Different results for cos,sin,tan and cospi,sinpi,tanpi

2016-11-30 Thread Ei-ji Nakama
Hi, i try sin, cos, and tan. > sapply(c(cos,sin,tan),function(x,y)x(y),1.23e45*pi) [1] 0.5444181 0.8388140 1.5407532 However, *pi results the following > sapply(c(cospi,sinpi,tanpi),function(x,y)x(y),1.23e45) [1] 1 0 0 Please try whether the following becomes all right. diff -ruN

Re: [Rd] additional leap second

2015-07-01 Thread Ei-ji Nakama
shortly, and the example in hist.POSIXt() needed alteration (it seems DJM did not run 'make check'!). On 01/07/2015 06:20, Ei-ji Nakama wrote: hi, Index: leap_second/src/library/base/R/zdatetime.R === --- leap_second/src

[Rd] additional leap second

2015-06-30 Thread Ei-ji Nakama
hi, Index: leap_second/src/library/base/R/zdatetime.R === --- leap_second/src/library/base/R/zdatetime.R(revision 68608) +++ leap_second/src/library/base/R/zdatetime.R(working copy) @@ -24,7 +24,8 @@ 1979-12-31,

Re: [Rd] does parLapplyLB do load-balancing?

2014-12-05 Thread Ei-ji Nakama
Hello, In such cases, try the Rhpc package. The following is the result of the benchmark. http://prs.ism.ac.jp/~nakama/Rhpc/#benchmark # but tuning is not finished... 2014-12-06 10:36 GMT+09:00 Chris Paciorek pacio...@stat.berkeley.edu: Looking at parLapplyLB, one sees that it takes in X and

Re: [Rd] Using a custom memory allocation function in R

2014-10-23 Thread Ei-ji Nakama
hello, I do not understand your aim... it not helpful in malloc_hook? example when I used hugepege is right here. http://prs.ism.ac.jp/~nakama/ISM/ism.c However, I think that you can more experiments in numaclt(see man numactl). 2014-10-22 23:53 GMT+09:00 SO User user3855...@gmail.com: Heads

Re: [Rd] [Fwd: Re: AIX-5.3 Issue installing Matrix Package]

2014-10-14 Thread Ei-ji Nakama
Issue installing Matrix Package From:shiv...@mail.ncmrwf.gov.in Date:Wed, October 8, 2014 3:31 pm To: Ei-ji Nakama nak...@ki.rim.or.jp Cc: Martin Maechler maech...@stat.math.ethz.ch R Development List r-devel@r-project.org

Re: [Rd] AIX-5.3 Issue installing Matrix Package

2014-10-08 Thread Ei-ji Nakama
hi, root 492034 336504 0 14:34:36 pts/11 0:00 sh /gpfs1/home/shivali/gang/R-3.1.1/lib/R/bin/Rcmd INSTALL Matrix maybe sh running is not good. please install bash. CONFIG_SHELL=/boo/foo/bash before running `configure make'. -- Best Regards, -- Eiji NAKAMA nakama (a) ki.rim.or.jp

Re: [Rd] Intel Fortran compiler returns a -1 TRUE value

2014-10-02 Thread Ei-ji Nakama
Hello The value generated by Fortran's .TRUE. evaluates as truthy -- as in all(z[[1]]) -- but is neither equal to nor identical to TRUE. Its numeric conversion to -1 is most unusual, every other system I've tried converts to +1. Please read the -fpscomp logicals option of ifort. --

Re: [Rd] Does anybody successfully built latest R on AIX 5.3?

2011-06-19 Thread Ei-ji Nakama
0.750802sec) 25.778 GFLOPS (N x T : N=2000 0.620694sec) 26.398 GFLOPS (T x N : N=2000 0.60611sec) 25.826 GFLOPS (T x T : N=2000 0.619536sec) It's fast with the structure (L2 shared cache) of the CPU to 2CPU. Best Regards, -- EI-JI Nakama  nakama (a) ki.rim.or.jp \u4e2d\u9593\u6804\u6cbb

Re: [Rd] SurviveGotoBLAS2 for Win64 (RC release)

2011-03-31 Thread Ei-ji Nakama
Good to see that at least someone is doing business as usual in Japan these days. Some people can't download it, can know the rolling blackouts in Tokyo area... Today is no plan of blackout. Best Regards, -- EI-JI Nakama  nakama (a) ki.rim.or.jp \u4e2d\u9593\u6804\u6cbb  nakama

Re: [Rd] SurviveGotoBLAS2 for Win64 (RC release)

2011-03-29 Thread Ei-ji Nakama
Hi, I made the GotoBLAS2 for OSX version. two binaries are divided by kind of powerPC. neither binaries are different on Intel. because there is not PPC, I can't confirm it. http://prs.ism.ac.jp/~nakama/SurviveGotoBLAS2/binary/OSX/ 2011/2/10 Ei-ji Nakama nak...@ki.rim.or.jp: Hi, I put below

[Rd] SurviveGotoBLAS2 for Win64 (RC release)

2011-02-09 Thread Ei-ji Nakama
Hi, I put below Rblas.dll(GotoBLAS2 for Win64). http://prs.ism.ac.jp/~nakama/SurviveGotoBLAS2/binary/windows/x64/ please choose the core-name of your CPU. The recognition of the CPU of DYNAMIC_ARCH is low. zdot[cu], zgemv came to calculate definitely. -- EI-JI Nakama  nakama (a) ki.rim.or.jp

Re: [Rd] SurviveGotoBLAS2 for Win64 (human sacrifice release)

2010-12-05 Thread Ei-ji Nakama
(Westmere-EP B1) / Xeon Processor 5600 (Westmere-EP B1), 32nm So I'd identified this as something which would need quite a bit of thought, maybe something to be done for R 2.13.0. I reaction may be dull. -- EI-JI Nakama  nakama (a) ki.rim.or.jp \u4e2d\u9593\u6804\u6cbb  nakama (a) ki.rim.or.jp

[Rd] SurviveGotoBLAS2 for Win64 (human sacrifice release)

2010-12-04 Thread Ei-ji Nakama
Hi, I put below Rblas.dll(GotoBLAS2 for Win64). http://prs.ism.ac.jp/~nakama/SurviveGotoBLAS2/binary/windows/x64/Rblas.dll It's a tryal phase. -- EI-JI Nakama  nakama (a) ki.rim.or.jp \u4e2d\u9593\u6804\u6cbb  nakama (a) ki.rim.or.jp __ R-devel@r

Re: [Rd] Failure to load the recommended package Matrix (Was: [R] Can one get a list of recommended packages?)

2010-06-15 Thread Ei-ji Nakama
. There is not the problem in R on Solaris10 which I use. Sorry in advance if I'm wrong. 2010/6/15 Dr. David Kirkby david.kir...@onetel.net: On 06/14/10 10:05 AM, Ei-ji Nakama wrote: And if you look at the other R-help message posted by David Kirby you will find a link to the trouble ticket report

Re: [Rd] Failure to load the recommended package Matrix (Was: [R] Can one get a list of recommended packages?)

2010-06-14 Thread Ei-ji Nakama
-sun-linker/lib/sparcv9:/usr/local/lib `/usr/local/gcc-4.4.1-sun-linker/lib/sparcv9' is 64bit, it is unnecessary. I think that this obstructs it. -- EI-JI Nakama nakama (a) ki.rim.or.jp \u4e2d\u9593\u6804\u6cbb nakama (a) ki.rim.or.jp __ R-devel@r

Re: [Rd] Failure to load the recommended package Matrix (Was: [R] Can one get a list of recommended packages?)

2010-06-14 Thread Ei-ji Nakama
Sorry, my bark up the wrong tree... When LD_LIBRARY_PATH_32 is set, I think that I become it in such a state. http://docs.sun.com/app/docs/doc/819-0690/chapter1-11192?a=view#chapter1-9 It is better when there is the following. crle ; crle -64 ; env|grep LD_ 2010/6/14 Ei-ji Nakama nak

[Rd] small mistake of tcltk

2010-04-29 Thread Ei-ji Nakama
, s_ds); Tcl_SetStringObj(elem, s, -1); Tcl_DStringFree(s_ds); -- EI-JI Nakama nakama (a) ki.rim.or.jp \u4e2d\u9593\u6804\u6cbb nakama (a) ki.rim.or.jp __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [Rd] [R] sprintf() question

2009-05-18 Thread Ei-ji Nakama
USA __ r-h...@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- EI-JI

Re: [Rd] different results on linux and windows

2009-05-14 Thread Ei-ji Nakama
and srand. -- EI-JI Nakama nakama (a) ki.rim.or.jp \u4e2d\u9593\u6804\u6cbb nakama (a) ki.rim.or.jp __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] View() crashy on Ubuntu 9.04

2009-05-13 Thread Ei-ji Nakama
); snip } I think that this only has to limit GetCharP to isEditor=TRUE. moreover View() was strange operation of page down. http://prs.ism.ac.jp/~nakama/working/dataentry.patch I think that I improve the above-mentioned by this patch. -- EI-JI Nakama nakama (a) ki.rim.or.jp \u4e2d\u9593

Re: [Rd] [R] R with MKL

2009-03-18 Thread Ei-ji Nakama
libmkl_gnu_thread.a:zlabrd_omp.o: U _gfortran_internal_malloc64 libmkl_gnu_thread.a:clabrd_omp.o: U _gfortran_internal_free libmkl_gnu_thread.a:clabrd_omp.o: U _gfortran_internal_malloc64 Welcome to Hell of MKL.;-) 2009/3/18 Ei-ji Nakama nak...@ki.rim.or.jp

Re: [Rd] [R] R with MKL

2009-03-16 Thread Ei-ji Nakama
and comment out the include. Weird, since I am not building for Mac. Please note the thing that ABI of fortran is different with Intel compiler and GNU compiler. difficult to detect the mistake. -- EI-JI Nakama nakama (a) ki.rim.or.jp \u4e2d\u9593\u6804\u6cbb nakama (a) ki.rim.or.jp

[Rd] A small miss of PostScript of CJK in current R-devel

2008-12-24 Thread Ei-ji Nakama
Dear all. I'm sorry. I neglected test on CJK. http://prs.ism.ac.jp/~nakama/working/CIDHexText.patch now: 103.58 65.52 302e36 .5 0 0 t After an patch: 103.58 65.52 302e36 .5 0 t Best regards, -- EI-JI Nakama nakama (a) ki.rim.or.jp \u4e2d\u9593\u6804\u6cbb nakama (a) ki.rim.or.jp

Re: [Rd] [R] Building with MKL on Ubuntu

2008-11-06 Thread Ei-ji Nakama
\ ${MKL_LIB_PATH}/libmkl_core.a \ -Wl,--end-group -lgomp LDFLAGS=-L$MKL_LIB_PATH ./configure --with-lapack=$MKL --with-blas=$MKL -liomp5 -lguide -lpthread You omit three library, and please link Please check the result of the big %*% just to make sure. -- EI-JI Nakama nakama

Re: [Rd] AIX 5.3 --enable-R-shlib --with-x ---with-iconv make error with R-2.7.0 and R-2.7.1

2008-07-31 Thread Ei-ji Nakama
\ --enable-BLAS-shlib \ --with-x --with-readline=no make make install LANG=C make check-all success!! -- EI-JI Nakama nakama (a) ki.rim.or.jp \u4e2d\u9593\u6804\u6cbb nakama (a) ki.rim.or.jp __ R-devel@r-project.org mailing list https

Re: [Rd] AIX 5.3 --enable-R-shlib --with-x ---with-iconv make error with R-2.7.0 and R-2.7.1

2008-07-17 Thread Ei-ji Nakama
: LIBPATH=/my_libiconv_dir/lib:.:/rnd/homes/my/rdir/AIX/R-2.7.0/lib/R/lib:.:/usr/lib:/lib snip R_HOME=/rnd/homes/my/rdir/AIX/R-2.7.0 Because R add it in a shell of ``bin/R'', let's add LIBPATH when it was said that there is not it. best, -- EI-JI Nakama nakama (a) ki.rim.or.jp \u4e2d\u9593\u6804

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

2008-07-01 Thread Ei-ji Nakama
] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- EI-JI Nakama [EMAIL PROTECTED] \u4e2d\u9593\u6804\u6cbb [EMAIL PROTECTED] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman

[Rd] A problem about the Japanese font of OSX

2008-05-22 Thread Ei-ji Nakama
. -- EI-JI Nakama [EMAIL PROTECTED] \u4e2d\u9593\u6804\u6cbb [EMAIL PROTECTED] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Problem building R with Intel MKL v10 BLAS

2008-02-05 Thread Ei-ji Nakama
/makefile \ em64t export=blas_list xerbra=xerbla.o \ name=/usr/local/lib/libmkl_myblas MKL_ROOT=${MKL_ROOT} However, zdotu did not move even if I linked at this point in time -- EI-JI Nakama [EMAIL PROTECTED] \u4e2d\u9593\u6804\u6cbb [EMAIL PROTECTED

Re: [Rd] Problem building R with Intel MKL v10 BLAS

2008-01-30 Thread Ei-ji Nakama
++-4.2\ F77=gfortran-4.2\ FC=gfortran-4.2\ --with-lapack=$MKL --with-blas=$MKL mkl_core seemed to want to cause libiomp5. dgemm gave a funny result in matrix of 1000x1000 if I did not link with real libiomp5. -- EI-JI Nakama [EMAIL PROTECTED] \u4e2d\u9593\u6804\u6cbb

[Rd] chartr better

2007-09-13 Thread Ei-ji Nakama
; nb = wcstombs(NULL, wc, 0); cbuf = CallocCharBuf(nb); wcstombs(cbuf, wc, nb + 1); -- EI-JI Nakama [EMAIL PROTECTED] \u4e2d\u9593\u6804\u6cbb [EMAIL PROTECTED] __ R-devel@r-project.org mailing list https://stat.ethz.ch

Re: [Rd] There was a problem by the use of snow.

2007-06-25 Thread Ei-ji Nakama
); return R_SockWrite(this-fd, ptr, size * nitems)/size; } 2007/6/25, Prof Brian Ripley [EMAIL PROTECTED]: On Mon, 25 Jun 2007, Ei-ji Nakama wrote: problem of the very large memory require by the Sign extension. --- R-2.5.0.orig/src/main/serialize.c 2007-03-27 01:42:08.0 +0900

[Rd] There was a problem by the use of snow.

2007-06-24 Thread Ei-ji Nakama
) { +int timeout = asInteger(GetOption(install(timeout), R_BaseEnv)); Rsockconn this = (Rsockconn)con-private; +R_SockTimeout(timeout); return R_SockWrite(this-fd, ptr, size * nitems)/size; } -- EI-JI Nakama [EMAIL PROTECTED] \u4e2d\u9593\u6804\u6cbb [EMAIL PROTECTED

Re: [Rd] AIX testers needed

2007-05-21 Thread Ei-ji Nakama
keep investigating. My call to configure is listed below. /configure --prefix=$HOME/usr/local --program-suffix=rc --with-readline=no --with-x=no --enable-memory-profiling - Original Message - From: Ei-ji Nakama [EMAIL PROTECTED] To: Jason Barnhart [EMAIL PROTECTED] Cc: [EMAIL

Re: [Rd] AIX testers needed

2007-05-19 Thread Ei-ji Nakama
thanks to Ei-ji Nakama, R 2.5.0 alpha supports building on AIX (at least AIX 5.2 on one system). Would anyone able to test this please get the latest tarball from http://cran.r-project.org/src/base-prerelease/R-latest.tar.gz and try installing (after reading the AIX notes in R

Re: [Rd] Rmpi and OpenMPI ?

2007-03-29 Thread Ei-ji Nakama
https://stat.ethz.ch/mailman/listinfo/r-devel -- EI-JI Nakama [EMAIL PROTECTED] \u4e2d\u9593\u6804\u6cbb [EMAIL PROTECTED] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [R] crush in edit()

2006-10-17 Thread Ei-ji Nakama
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- EI-JI Nakama [EMAIL PROTECTED] \u4e2d\u9593\u6804\u6cbb [EMAIL PROTECTED

Re: [Rd] Bug in 2.4.0 Windows menu setup (PR#9277)

2006-10-06 Thread Ei-ji Nakama
/7, Duncan Murdoch [EMAIL PROTECTED]: On 10/6/2006 1:35 PM, Hin-Tak Leung wrote: Duncan Murdoch wrote: On 2006-10-5 8:06, Ei-ji Nakama wrote: I do not understand Chinese, but recognize kanji. RGui-zh_CN.po is written in utf-8, but charset=CP936 wrote. perl -p -i -e 's#charset=CP936

Re: [Rd] Bug in 2.4.0 Windows menu setup (PR#9277)

2006-10-05 Thread Ei-ji Nakama
/listinfo/r-devel -- EI-JI Nakama [EMAIL PROTECTED] \u4e2d\u9593\u6804\u6cbb [EMAIL PROTECTED] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Thai locale not working on Mac OSX (PR#9175)

2006-09-01 Thread Ei-ji Nakama
fine but not with some other languages such as Bahasa Indonesia and Bahasa Malaysia. Thai locale is OK on Windows and Linux. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- EI-JI Nakama [EMAIL PROTECTED

Re: [Rd] Sys.setlocale upsets windows graphics device (PR#8887)

2006-05-23 Thread Ei-ji Nakama
) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 -- EI-JI Nakama [EMAIL PROTECTED] \u4e2d\u9593\u6804\u6cbb [EMAIL PROTECTED] __ R-devel@r-project.org mailing list https

Re: [Rd] Sys.setlocale upsets windows graphics device (PR#8887)

2006-05-23 Thread Ei-ji Nakama
Yes, if this processing does not exist on japanese locale will fall. 2006/5/23, Prof Brian Ripley [EMAIL PROTECTED]: Is this necessary to avoid LC_CTYPE=C? If so, I stopped that at C level yesterday (it was already disallowed when starting R). On Tue, 23 May 2006, Ei-ji Nakama wrote

Re: [Rd] Sys.setlocale upsets windows graphics device (PR#8887)

2006-05-22 Thread Ei-ji Nakama
, +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 -- EI-JI Nakama [EMAIL PROTECTED] \u4e2d\u9593\u6804\u6cbb [EMAIL PROTECTED

Re: [Rd] AIX libjpeg still looms

2006-04-19 Thread Ei-ji Nakama
]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- EI-JI Nakama [EMAIL PROTECTED] \u4e2d\u9593\u6804\u6cbb [EMAIL PROTECTED] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] UTF8 letters are imaged incorrectly (PR#8770)

2006-04-14 Thread Ei-ji Nakama
/listinfo/r-devel -- EI-JI Nakama [EMAIL PROTECTED] \u4e2d\u9593\u6804\u6cbb [EMAIL PROTECTED] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] UTF8 letters are imaged incorrectly (PR#8770)

2006-04-14 Thread Ei-ji Nakama
=ru_RU.UTF-8 LC_NAME=ru_RU.UTF-8 LC_ADDRESS=ru_RU.UTF-8 LC_TELEPHONE=ru_RU.UTF-8 LC_MEASUREMENT=ru_RU.UTF-8 LC_IDENTIFICATION=ru_RU.UTF-8 LC_ALL= ,but fonts in xfontsel is koi8-r(in rgstry) -- EI-JI Nakama [EMAIL PROTECTED] \u4e2d\u9593\u6804\u6cbb [EMAIL PROTECTED

Re: [Rd] UTF8 letters are imaged incorrectly (PR#8770)

2006-04-14 Thread Ei-ji Nakama
. I am not readable, but probably the following URL is useful. http://ru.gentoo-wiki.com/HOWTO_ru_RU.utf8_Gentoo_way -- EI-JI Nakama [EMAIL PROTECTED] \u4e2d\u9593\u6804\u6cbb [EMAIL PROTECTED] __ R-devel@r-project.org mailing list https

[Rd] R-beta on AIX5.2

2005-12-13 Thread Ei-ji Nakama
I build R-beta on AIX5.2 is failed. make[3]: Entering directory `/home/nakama/Rbeta/R-beta/src/nmath' xlc_r -I. -I../../src/include -I../../src/include -I/usr/local/include -I/opt/freeware/include -DHAVE_CONFIG_H -q64 -I/usr/local/include -I/opt/freeware/include -O2 -D_ALL_SOURCE

Re: [Rd] R crashes for large formulas in lm() (PR#8180)

2005-10-05 Thread Ei-ji Nakama
Hi, Wed, 5 Oct 2005 13:38:12 +0100 (BST) Prof Brian Ripley [EMAIL PROTECTED] wrote. This is almost certainly C stack overflow, which will be _very_ OS-specific. I can run this 9-var example in Linux with a stacksize of 30Mb, but not the default 10Mb. I tried it with the default stack under