Exemplo n.º 1
0
        static void Main(string[] args)
        {
            string rHome = null;
            string rPath = null;

            if (args.Length > 0)
            {
                rPath = args[0];
            }
            if (args.Length > 1)
            {
                rHome = args[1];
            }

            var logInfo = NativeUtility.FindRPaths(ref rPath, ref rHome);

            Console.WriteLine("Is this process 64 bits? {0}", System.Environment.Is64BitProcess);
            Console.WriteLine(logInfo);
        }
Exemplo n.º 2
0
        private static void Main(string[] args)
        {
            string rHome = null;
            string rPath = null;

            if (args.Length > 0)
            {
                rPath = args[0];
            }
            if (args.Length > 1)
            {
                rHome = args[1];
            }

            NativeUtility util = new NativeUtility();

            Console.WriteLine(util.FindRPaths(ref rPath, ref rHome));

            rHome = null;
            rPath = null;

            REngine.SetEnvironmentVariables(rPath: rPath, rHome: rHome);
            REngine e = REngine.GetInstance();

            Console.WriteLine(NativeUtility.SetEnvironmentVariablesLog);

            TestIssue53(e, 1000000);
            e.Dispose();
            return;

            counter = 0;
            for (int i = 0; i < 6; i++)
            {
                TestDataFrameInMemoryCreation(e);
            }

            for (int i = 0; i < 6; i++)
            {
                TestCallStop(e);
            }

            e.Dispose();
        }