Code Monkey home page Code Monkey logo

rtvs-cs's People

Contributors

mikhailarkhipov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

dlastor

rtvs-cs's Issues

No R interpreters installed

Looking for alternatives to R.net(doesn't support multithreading. have to rely on singletons and lock objects) and came across RTVS and ultimately this project. Perhaps I am misunderstanding this, but does this project work stand alone, or is the full RTVS required for this to work.

My sample application complains that R interpreters are not installed, but I am pointing to the R.dll location. Does it have to be the MS version of R?

using System;
using Microsoft.R.Host.Client;
using System.Threading.Tasks;

namespace RhostClientTest
{
    public class Program
    {
        public static void Main(string[] args)
        {
            RunR().GetAwaiter().GetResult();
        }

        private static async Task RunR()
        {
            var session = RHostSession.Create("Test", "C:\\Program Files (x86)\\R\\R-2.11.1\\bin");
            await session.StartHostAsync(new RHostSessionCallback());  //Exception here
            var output = await session.ExecuteAndOutputAsync("x <- 12345");
            Console.Write(output.Output);
        }
    }
}

Getting "The operation was canceled" error

I am trying to run the application but when I execute some R statement I am getting "The operation was canceled." in the TextBox.

I debugged the RTVS source code I found that during the initial launch Microsoft.R.Host.Broker.exe is started inside LocalBrokerClient.ConnectToBrokerWorker(...) function, this process exits and the process.Exited handler is invoked immediately.

However, the Winform application doesn't display any error at this stage but I can't execute any R statement.

A question, python

Hi, i see you on Jedi repo topic. Do you use VSCode as editor, or maybe CudaText is ok for you? Don’t want to help with CudaText plugin?

.Net Standard Support

Hi,

Is there any plan to publish Microsoft.R.Host.Client.API in .Net Standard 1.6/2.0?
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.