[Rd] proposal for use ICU for timezone convertion on windows and a draft patch

2023-01-11 Thread yu gong
ks of this patch. if it doable ,then I will modify it and send it to bugs.r-project.org best regards, Yu Gong [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] proposal for use ICU for timezone convertion on windows and a draft patch

2023-01-11 Thread yu gong
use ucal_getTimeZoneIDForWindowsID implement the conversion.) please feel free to share your thoughts or feedbacks of this short version patch. best regards, Yu Gong ____ From: R-devel on behalf of yu gong Sent: Wednesday, January 11, 2023 22:25 To: r-devel@r-pro

[Rd] about RGui HighDPI awareness on windows

2023-01-20 Thread yu gong
further test. So I post the patch https://github.com/armgong/misc-r-patch/blob/main/dpi-c-code.diff if you interested in this ,please read or try the patch. Looking forward to hear your thoughts about this patch. Best regards, Yu Gong [[alternative HTML version deleted

Re: [Rd] about RGui HighDPI awareness on windows

2023-01-21 Thread yu gong
test PCS. The patch url is https://github.com/armgong/misc-r-patch/blob/main/dpi-c-code.diff and two test picture of my PCS are also in the repo. Looking forward to any feedback or feedback from you. Best regards, Yu Gong From: R-devel on behalf of yu gong

[Rd] need help from someone know screen reader and R high DPI GUI

2023-02-08 Thread yu gong
.diff . If anyone need the compiled binary on windows x64 , I can upload it on github repo also. thanks, Yu Gong [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] need help from someone know screen reader and R high DPI GUI

2023-02-08 Thread yu gong
thanks Andrew I upload the binary to https://github.com/armgong/misc-r-patch/releases/download/v0.0.1/r-highdpi-x64.zip thanks, Yu Gong From: R-devel on behalf of Andrew Hart via R-devel Sent: Thursday, February 9, 2023 3:24 To: r-devel@r-project.org

[Rd] a quick and dirty way to compile R on win arm64 using clangarm64

2023-08-12 Thread yu gong
-aarch64-winpthreads-git 11.0.0.r107.gd367cc9d7-1 mingw-w64-clang-aarch64-xz 5.4.4-1 mingw-w64-clang-aarch64-zlib 1.2.13-3 mingw-w64-clang-aarch64-zstd 1.5.5-1 3 cd r/src/gnuwin32 make In next week, will try more mod for win11 arm64 Yu Gong [[alternative HTML version deleted

Re: [Rd] a quick and dirty way to compile R on win arm64 using clangarm64

2023-08-12 Thread yu gong
sorry forgot dynamic link ICU 1 svn checkout R-trunk and add USE_LLVM=YES and ICU_LIBS ?= -licuin -licuuc -licudt -lstdc++ in MKRules.dist or Mkrules.local From: R-devel on behalf of yu gong Sent: Sunday, August 13, 2023 11:14 To: r-devel@r-project.org

Re: [Rd] R-4.3 version list.files function could not work correctly in chinese

2023-08-13 Thread yu gong
I am afraid this issue a bite more complicated. Test Rgui and Rterm 4.3.1 and svn trunk on Windows 10 x64 (build 19044) , Chinese file name shows correctly (file content ANSI or UTF-8 ). I saw OP picture (using Rstudio), maybe this is Rstudio issues? From: R-d

Re: [Rd] R-4.3 version list.files function could not work correctly in chinese

2023-08-13 Thread yu gong
Could you test it on RGui and Rterm first, see it work or not. then try RStudio? From: R-devel on behalf of 叶月光 Sent: Friday, August 11, 2023 11:41 To: r-devel@r-project.org Subject: [Rd] R-4.3 version list.files function could not work correctly in chinese

Re: [Rd] a quick and dirty way to compile R on win arm64 using clangarm64

2023-08-13 Thread yu gong
>Well, yes, R-devel builds with clang/flang also for Windows/aarch64. I've >committed this option (USE_LLVM) last week together with other required >changes, > but it is still work in progress, not documented nor well tested. > I have created for this a (subset) of Rtools43 for >aarch64 (availa

Re: [Rd] R-4.3 version list.files function could not work correctly in chinese

2023-08-16 Thread yu gong
a little more information for this issue. Search in MS website today , found doc about "Maximum Path Length Limitation", Maximum Path Length Limitation - Win32 apps | Microsoft Learn . According th

[Rd] Rjulia: a package for R call Julia through Julia C API

2014-06-06 Thread Yu Gong
hello everyone,recently I write a package for R call Julia through Julia C API https://github.com/armgong/RJulia now the package can do 1 finish basic typemapping, now int boolean double R vector to julia 1d-array is ok,and julia int32 int64 float64 bool 1D array to R vector is also ok. 2 R STRSXP

Re: [Rd] Rjulia: a package for R call Julia through Julia C API

2014-06-06 Thread Yu Gong
I think somebody already do "call R from julia"  https://github.com/lgautier/Rif.jl Yu Gong On Friday, June 6, 2014 7:30 PM, Karl Forner wrote: Excellent. By any chance are you aware of a julia way to perform the opposite: call R from julia ? Thanks On Fri, Jun 6, 2014 at 7

[Rd] using C code to create data frame but always return as list

2014-06-23 Thread Yu Gong
there is my code,  expect return value  is a data frame but R say it is list: SEXP Julia_R_MD_NA_DataFrame(jl_value_t* Var) {  SEXP ans,names,rownames;  char evalcmd[4096];  int i;  const char* dfname="DataFrameName0tmp";  jl_set_global(jl_main_module, jl_symbol(dfname), (jl_value_t*)Var);  //Get

Re: [Rd] using C code to create data frame but always return as list

2014-06-24 Thread Yu Gong
sorry, i am make mistake,it indeed return a data frame ,please ignore this question On Tuesday, June 24, 2014 2:57 PM, Yu Gong wrote: there is my code,  expect return value  is a data frame but R say it is list: SEXP Julia_R_MD_NA_DataFrame(jl_value_t* Var) {  SEXP ans,names,rownames

[Rd] patch about mingwbuild 4.9.1

2014-07-18 Thread Yu Gong
3 R0.def R1.def >> R.def  $(DLL) -shared $(DLLFLAGS) $($*-DLLFLAGS) -o $@ R.def $^ $($*-DLLLIBS) $(DLLLIBS) Yu Gong 2014/07/18 [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] patch about mingwbuild 4.9.1

2014-07-20 Thread Yu Gong
x27;s/.refptr*//g'   >> tmp.def; \ Yu Gong On Sunday, July 20, 2014 8:35 PM, Prof Brian Ripley wrote: I think you used the wrong code model: these come from defaulting to the medium-code model intended for x64 Cygwin -- see https://gcc.gnu.org/ml/gcc-patches/2013-03/msg00858.