search for: armgong

Displaying 7 results from an estimated 7 matches for "armgong".

Did you mean: among
2014 Jun 06
1
Rjulia: a package for R call Julia through Julia C API
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 to julia string 1D array and Julia string array to STRSXP is written but not sure it is correct or not? 3...
2023 Jan 20
1
about RGui HighDPI awareness on windows
...try add HighDPI awareness to RGui in last two days. I write an initial POC(just for verify and only SystemDPI awareness partial implemented) , try to mod graphapp used in R to implemented DPI scaling. it seems works on my laptop , but need 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]]
2010 Jan 04
2
I have finished compiling of R 64 bit on 64 bit Windows use MINGW64
hi ,everyone I have finished compiling of R 64 bit on 64 bit Windows system by using MINGW64, include the standard and recommended packages.tested it on Windows 2008 server R2 X64.it run very well.I wander anyone interested in it ,and anyone who want to continue testing  it with me?  and who can provide a space let me upload the R files Best wishes!                    2010/1/4                    
2014 Jun 24
2
using C code to create data frame but always return as list
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 Frame cols   sprintf(evalcmd,"size(%s,2)",dfname);  jl_value_t*
2023 Jan 11
1
proposal for use ICU for timezone convertion on windows and a draft patch
...ICU lib on default , so no additional library or tools need for use this function for time zone conversion. so I wrote a quick and dirty patch use the ucal_getTimeZoneIDForWindowsID, I think maybe better discuss here before I send patch to bugs.r-project.org. I put the patch on https://github.com/armgong/misc-r-patch/blob/main/registryTZ-ICU.diff. this patch mainly do following three steps : 1 read current English time zone name from registry ; 2 read current region name from registry(this also affect conversion); 3 use ucal_getTimeZoneIDForWindowsID implement the conversion. please feel free to...
2010 Feb 23
1
patch about compile R with clang
clang is compiler http://clang.llvm.org, it is fast and better c compiler then gcc, yesterday i use clang and gfortran compile R. The only two change in source code is : 1. the configure file (in confiure when test include wctype.h,gcc can compile but clang need include both wchar.h wctype.h),so this is patch --- /r/configure +++ /myr/configure @@ -39172,6 +39172,7 @@ cat
2014 Jul 19
1
patch about mingwbuild 4.9.1
recently I used gcc 4.9.1 (http://sourceforge.net/projects/mingw-w64/files/Toolchains targetting Win64/Personal Builds/mingw-builds/)on windows to build R,but failed when link R.dll ,it report linker status 5.  after some digging, I found when use gcc 4.9.1 64 bit on windows there are lots of .refptr.*(* is r function name) in R.def, which lead build fail.so I add a simple path to