Skip to content

Commit

Permalink
Merge pull request IDEMSInternational#5645 from Ivanluv/RPackages
Browse files Browse the repository at this point in the history
R packages
  • Loading branch information
maxwellfundi authored Feb 3, 2020
2 parents 7a6f40d + 225230f commit 3378499
Show file tree
Hide file tree
Showing 10 changed files with 4,883 additions and 4,311 deletions.
2 changes: 1 addition & 1 deletion instat/clsRLink.vb
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ Public Class RLink

expTemp = Nothing
'TODO Bug here if strScript is multiple lines. Wrong value will be returned
strCommand = strVariableName & "<-" & strScript
strCommand = strVariableName & " <- " & strScript
If clsEngine IsNot Nothing Then
Evaluate(strCommand, bSilent:=bSilent, bSeparateThread:=bSeparateThread, bShowWaitDialogOverride:=bShowWaitDialogOverride, strError:=strError)
expTemp = GetSymbol(strVariableName, bSilent:=True)
Expand Down
87 changes: 87 additions & 0 deletions instat/dlgRPackages.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

264 changes: 264 additions & 0 deletions instat/dlgRPackages.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,264 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="cmdCheck.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="cmdCheck.Location" type="System.Drawing.Point, System.Drawing">
<value>14, 81</value>
</data>
<data name="cmdCheck.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="cmdCheck.TabIndex" type="System.Int32, mscorlib">
<value>16</value>
</data>
<data name="cmdCheck.Text" xml:space="preserve">
<value>Check</value>
</data>
<data name="&gt;&gt;cmdCheck.Name" xml:space="preserve">
<value>cmdCheck</value>
</data>
<data name="&gt;&gt;cmdCheck.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;cmdCheck.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;cmdCheck.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="lblRPackage.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="lblRPackage.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="lblRPackage.Location" type="System.Drawing.Point, System.Drawing">
<value>11, 33</value>
</data>
<data name="lblRPackage.Size" type="System.Drawing.Size, System.Drawing">
<value>64, 13</value>
</data>
<data name="lblRPackage.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="lblRPackage.Text" xml:space="preserve">
<value>R Package:</value>
</data>
<data name="&gt;&gt;lblRPackage.Name" xml:space="preserve">
<value>lblRPackage</value>
</data>
<data name="&gt;&gt;lblRPackage.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;lblRPackage.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;lblRPackage.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="ucrInputMessage.Location" type="System.Drawing.Point, System.Drawing">
<value>88, 82</value>
</data>
<data name="ucrInputMessage.Size" type="System.Drawing.Size, System.Drawing">
<value>356, 22</value>
</data>
<data name="ucrInputMessage.TabIndex" type="System.Int32, mscorlib">
<value>17</value>
</data>
<data name="&gt;&gt;ucrInputMessage.Name" xml:space="preserve">
<value>ucrInputMessage</value>
</data>
<data name="&gt;&gt;ucrInputMessage.Type" xml:space="preserve">
<value>instat.ucrInputTextBox, instat, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;ucrInputMessage.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;ucrInputMessage.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="ucrBase.Location" type="System.Drawing.Point, System.Drawing">
<value>14, 130</value>
</data>
<data name="ucrBase.Size" type="System.Drawing.Size, System.Drawing">
<value>410, 52</value>
</data>
<data name="ucrBase.TabIndex" type="System.Int32, mscorlib">
<value>15</value>
</data>
<data name="&gt;&gt;ucrBase.Name" xml:space="preserve">
<value>ucrBase</value>
</data>
<data name="&gt;&gt;ucrBase.Type" xml:space="preserve">
<value>instat.ucrButtons, instat, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;ucrBase.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;ucrBase.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="ucrInputTextBoxRPackage.Location" type="System.Drawing.Point, System.Drawing">
<value>75, 31</value>
</data>
<data name="ucrInputTextBoxRPackage.Size" type="System.Drawing.Size, System.Drawing">
<value>197, 22</value>
</data>
<data name="ucrInputTextBoxRPackage.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="&gt;&gt;ucrInputTextBoxRPackage.Name" xml:space="preserve">
<value>ucrInputTextBoxRPackage</value>
</data>
<data name="&gt;&gt;ucrInputTextBoxRPackage.Type" xml:space="preserve">
<value>instat.ucrInputTextBox, instat, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;ucrInputTextBoxRPackage.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;ucrInputTextBoxRPackage.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>448, 194</value>
</data>
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterScreen</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>R Packages</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>dlgInstallRPackage</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root>
Loading

0 comments on commit 3378499

Please sign in to comment.