BSky.Statistics.R.UAPackageAPI.GetVectorLength C# (CSharp) Method

GetVectorLength() private method

private GetVectorLength ( ServerDataSource dataSource, string objectName ) : int
dataSource BSky.Statistics.Common.ServerDataSource
objectName string
return int
        private int GetVectorLength(ServerDataSource dataSource, string objectName)
        {
            int rcount = 0;
            string comm = RCommandStrings.GetDataFrameColumnLength(dataSource, objectName);
            object o = dispatcher.EvaluateToObject(comm, false);
            if (o != null)
                rcount = (int)o;
            return rcount;
            //return (int)dispatcher.EvaluateToUAReturn(RCommandStrings.GetDataFrameColumnLength(dataSource, objectName), false);
        }
UAPackageAPI