how to call CLR ctor with default arg value null

rClr is great and thanks! Is there a way to instantiate an obj where the ctor has an arg with default value null? in C#, I could do obj = new TypeName( "A", "B", null ) where the ctor takes 3 s...

Id #59 | Release: None | Updated: Jul 6, 2016 at 1:38 PM by fangbingw | Created: Jul 6, 2016 at 1:38 PM by fangbingw

Unable to copy DLL due to already in use by R

I am able to successfully run my C# class library from R using rClr, however if I attempt to clean and build by C# after calling it from my R scripts, the error below appears. Unable to copy file "...

Id #58 | Release: None | Updated: Apr 28 at 12:56 AM by markty | Created: Mar 8, 2016 at 4:20 PM by grantathon

package built 0.7-9 ; libmonosgen-2.0.so.1: cannot open shared object file

Trying to build 0.7-9 on a variety of platforms. Got this issue on one of the linux box (not that R is using the intel compilers). Even after adding the directory containing libmonosgen-2.0.so.1 u...

Id #57 | Release: None | Updated: Aug 31, 2015 at 2:14 AM by jperraud | Created: Aug 31, 2015 at 2:14 AM by jperraud

Error: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'character'

I'm using a very useful package to work with SqlServer (rsqlserver package). Extracting information for queries works fine and fast, but when i work with big numbers of records (millions) this erro...

Id #56 | Release: None | Updated: Jul 16, 2015 at 8:32 PM by pfv007 | Created: Jul 13, 2015 at 5:18 AM by pfv007

vignette needs changes on at least Linux with newer version of knitr

Using knitr 1.10 (not sure which minor version - seems to be several on github. Currently 1.10.5) knit2html('rclr_intro.Rmd') Error in markdown::markdownToHTML(out, output, encoding = encoding, ....

Id #55 | Release: rClr 0.7-4 | Updated: May 6, 2015 at 7:58 AM by jperraud | Created: May 6, 2015 at 7:58 AM by jperraud

Cannot pass a single element array to C#

For a C# method defined as below: public static void TestRDataToCSharpTransfer(Array array) It works perfectly if one do this: clrCallStatic("xxx.xxx", "TestRDataToCSharpTransfer", c(1.0, 2.0...

Id #54 | Release: None | Updated: Apr 6, 2015 at 5:54 PM by bkaplan | Created: Feb 12, 2015 at 3:41 AM by polyjian

C# sbyte / short / long are NOT supported

for syyte and short, we can easily convert them to int without loss of percision. For long, R has a custom defined type as well. Not sure if you can add support for those native types.

Id #53 | Release: None | Updated: Feb 12, 2015 at 3:38 AM by polyjian | Created: Feb 12, 2015 at 3:38 AM by polyjian

Enum - when C#

In the previous version, the reflection will NOT strickly require the argument to match. Therefore, one can pass in a Int to a C# method which expect an Enum type. (Since Enum are derived f...

Id #52 | Release: None | Updated: Feb 12, 2015 at 3:36 AM by polyjian | Created: Feb 12, 2015 at 3:36 AM by polyjian

method call fails is the object returned is a struct

public struct SampleClimate { public double[] Rainfall { get; internal set; } public double[] Evapotranspiration { get; internal set; } public double[] Runoff { get;...

Id #51 | Release: rClr 0.7-3 | Updated: Jan 29, 2015 at 4:47 AM by jperraud | Created: Jan 29, 2015 at 4:47 AM by jperraud

Date/time conversion unit test fail on a GMT-3 time zone

Reported in comments to http://rclr.codeplex.com/workitem/45 Failure(@C:/R/R-3.1.2/library/rClr/tests/datetime-functions.r#59): Date and Time objects are marshalled correctly From CLR : 2000-12...

Id #50 | Release: None | Updated: Jan 20, 2015 at 8:07 PM by jperraud | Created: Jan 20, 2015 at 8:07 PM by jperraud