Questions tagged [rclr]

An R package to inter-operate with arbitrary .NET code (Microsoft .NET and Mono).

An R package to inter-operate with arbitrary .NET code (Microsoft .NET and Mono). http://rclr.codeplex.com and https://github.com/jmp75/rClr

7 questions
2
votes
0 answers

rClr pass by reference

I am using rClr package in R to extract methods from third-party dll. I have following error in my code. > clrGetMemberSignature(ch, 'getTimeIntensityPairs') [1] "Method: Void getTimeIntensityPairs, TimeIntensityPairList&" > ch_data <-…
hh1985
  • 21
  • 1
2
votes
1 answer

Give and retrieve dataset to/from rClr

I try to use rClr. I found out how to give "normal" (the basic types) parameters into a clr function. i'am also able to retrive "normal" values from the function. The problem: bringing many data e.g. a dataframe (with many entries per frame) into a…
Michael Schegg
  • 257
  • 1
  • 3
  • 7
2
votes
2 answers

Returning Datatable to R from C#/.NET

I'm trying to call a .NET DLL file from R and return a Datatable. This Q&A shows how to call .NET from R and that works, but I can't find any documentation on how to return data (apart from simple values like a string): .NET Method: public DataTable…
Jeremy Thompson
  • 61,933
  • 36
  • 195
  • 321
1
vote
1 answer

A simple Example for Calling a .NET object from R

I was trying this example from Calling .NET/C# from R But error is thrown when I am using following code library(rClr) clrLoadAssembly('c:/path/to/myassembly.dll') myObj <- clrNew('MyNamespace.MyClass,MyAssemblyName') clrCall(myObj,…
Artiga
  • 776
  • 2
  • 16
  • 37
0
votes
1 answer

How to debug c# code called from R by rClr?

I'm trying to debug C# methods that are called from R by means of rClr. In the VS-project I have set the the start action property to start Rscript.exe with the R-script as commandline parameter. (Similar to what you would do e.g. to debug c#…
TVidvei
  • 1
  • 3
0
votes
0 answers

.onLoad failed in loadNamespace() for 'rClr'

I am trying to build a package which has the namespace files as follows: exportPattern("^[[:alpha:]]+") importFrom(rClr, clrLoadAssembly) rClr is installed in my system. I build my package using devtools::build and it successfully builds. When I…
SBista
  • 7,479
  • 1
  • 27
  • 58
0
votes
2 answers

Error when bulk inserting in r using dbBulkCopy

I have tried every alternative but I have no other options for doing what I want (bulk insert in r using dbBulkCopy), I am getting this error: install.packages(pkg='C:/folder/rClr_0.7-2.zip') inferring 'repos = NULL' from 'pkgs' package 'rClr'…
Iqra.
  • 685
  • 1
  • 7
  • 18