<SEC-DOCUMENT>0000930413-17-002268.txt : 20170601
<SEC-HEADER>0000930413-17-002268.hdr.sgml : 20170601
<ACCEPTANCE-DATETIME>20170601153354
ACCESSION NUMBER:		0000930413-17-002268
CONFORMED SUBMISSION TYPE:	10-Q
PUBLIC DOCUMENT COUNT:		67
CONFORMED PERIOD OF REPORT:	20170430
FILED AS OF DATE:		20170601
DATE AS OF CHANGE:		20170601

FILER:

	COMPANY DATA:	
		COMPANY CONFORMED NAME:			REX AMERICAN RESOURCES Corp
		CENTRAL INDEX KEY:			0000744187
		STANDARD INDUSTRIAL CLASSIFICATION:	INDUSTRIAL ORGANIC CHEMICALS [2860]
		IRS NUMBER:				311095548
		STATE OF INCORPORATION:			DE
		FISCAL YEAR END:			0131

	FILING VALUES:
		FORM TYPE:		10-Q
		SEC ACT:		1934 Act
		SEC FILE NUMBER:	001-09097
		FILM NUMBER:		17884606

	BUSINESS ADDRESS:	
		STREET 1:		7720 PARAGON ROAD
		CITY:			DAYTON
		STATE:			OH
		ZIP:			45459
		BUSINESS PHONE:		9372763931

	MAIL ADDRESS:	
		STREET 1:		7720 PARAGON ROAD
		CITY:			DAYTON
		STATE:			OH
		ZIP:			45459

	FORMER COMPANY:	
		FORMER CONFORMED NAME:	REX STORES CORP
		DATE OF NAME CHANGE:	19930915

	FORMER COMPANY:	
		FORMER CONFORMED NAME:	AUDIO VIDEO AFFILIATES INC
		DATE OF NAME CHANGE:	19920703
</SEC-HEADER>
<DOCUMENT>
<TYPE>10-Q
<SEQUENCE>1
<FILENAME>c88471_10q.htm
<TEXT>
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>




<!-- Field: Rule-Page --><DIV ALIGN="LEFT"><DIV STYLE="font-size: 1pt; border-top: Black 2px solid; border-bottom: Black 1px solid; width: 100%">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>UNITED STATES<BR>
SECURITIES AND EXCHANGE COMMISSION</B></P>



<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>WASHINGTON, D.C. 20549</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<!-- Field: Rule-Page --><DIV ALIGN="CENTER"><DIV STYLE="font-size: 1pt; border-top: Black 1px solid; width: 25%">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>FORM 10-Q</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>(Mark One)</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 5%"><FONT STYLE="font-family: Wingdings">x</FONT></TD>
    <TD STYLE="width: 95%"><FONT STYLE="font-size: 10pt"><B>QUARTERLY REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE
    SECURITIES EXCHANGE ACT OF 1934</B></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font-size: 10pt"><B>For the quarterly period ended April 30, 2017</B></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="font-size: 11pt">&nbsp;</TD>
    <TD STYLE="font-size: 11pt; text-align: center"><FONT STYLE="font-size: 11pt"><B>OR</B></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD><FONT STYLE="font-family: Wingdings">o</FONT></TD>
    <TD><FONT STYLE="font-size: 10pt"><B>TRANSITION REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE
    SECURITIES EXCHANGE ACT OF 1934</B></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font-size: 10pt"><B>For the transition period from _________ to _________</B></FONT></TD></TR>
</TABLE>
<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>Commission File Number 001-09097</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<!-- Field: Rule-Page --><DIV ALIGN="CENTER"><DIV STYLE="font-size: 1pt; border-top: Black 1px solid; width: 25%">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

<P STYLE="font: 3pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>REX AMERICAN RESOURCES CORPORATION</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>(Exact name of registrant as specified
in its charter)</B></P>

<P STYLE="font: 3pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<!-- Field: Rule-Page --><DIV ALIGN="CENTER"><DIV STYLE="font-size: 1pt; border-top: Black 1px solid; width: 25%">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 23%; font-size: 11pt; ">&nbsp;</TD>
    <TD STYLE="width: 25%; text-align: center"><B>Delaware</B></TD>
    <TD STYLE="width: 4%">&nbsp;</TD>
    <TD STYLE="width: 25%; text-align: center; vertical-align: bottom"><B>31-1095548</B></TD>
    <TD STYLE="width: 23%; ">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="">&nbsp;</TD>
    <TD STYLE=" text-align: center"><B>(State or other jurisdiction of</B></TD>
    <TD>&nbsp;</TD>
    <TD STYLE=" text-align: center"><B>(I.R.S. Employer</B></TD>
    <TD STYLE="">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="">&nbsp;</TD>
    <TD STYLE=" text-align: center"><B>incorporation or organization)</B></TD>
    <TD>&nbsp;</TD>
    <TD STYLE=" text-align: center"><B>Identification Number)</B></TD>
    <TD STYLE="">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="">&nbsp;</TD>
    <TD STYLE=" text-align: center">&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE=" text-align: center">&nbsp;</TD>
    <TD STYLE="">&nbsp;</TD></TR>
</TABLE>
<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 32%; ">&nbsp;</TD>
    <TD STYLE="width: 30%; text-align: center"><B>7720 Paragon Road, Dayton, Ohio</B></TD>
    <TD STYLE="width: 4%">&nbsp;</TD>
    <TD STYLE="width: 10%; text-align: center"><B>45459</B></TD>
    <TD STYLE="width: 24%; ">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="">&nbsp;</TD>
    <TD STYLE=" text-align: center"><B>(Address of principal executive offices)</B></TD>
    <TD>&nbsp;</TD>
    <TD STYLE=" text-align: center"><B>(Zip Code)</B></TD>
    <TD STYLE="">&nbsp;</TD></TR>
</TABLE>
<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>(937) 276-3931</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>(Registrant&rsquo;s telephone number, including
area code)</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<!-- Field: Rule-Page --><DIV ALIGN="CENTER"><DIV STYLE="font-size: 1pt; border-top: Black 1px solid; width: 25%">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<P STYLE="font: 10pt Courier New, Courier, Monospace; margin-top: 0pt; margin-bottom: 0pt; margin-left: 0; text-align: justify"><FONT STYLE="font-family: Times New Roman, Times, Serif">Indicate
by check mark whether the registrant (1) has filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange
Act of 1934 during the preceding 12 months (or for such shorter period that the registrant was required to file such reports),
and (2) has been subject to such filing requirements for the past 90 days.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Yes
<FONT STYLE="font-family: Wingdings">x</FONT> No </FONT><FONT STYLE="font-family: Wingdings">o</FONT></P>

<P STYLE="font: 10pt Courier New, Courier, Monospace; margin-top: 0pt; margin-bottom: 0pt; margin-left: 0; text-align: justify">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; margin-left: 0; text-align: justify">Indicate by check mark whether
the registrant has submitted electronically and posted on its corporate Web site, if any, every Interactive Data File required
to be submitted and posted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that
the registrant was required to submit and post such files).&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Yes
<FONT STYLE="font-family: Wingdings">x</FONT> No <FONT STYLE="font-family: Wingdings">o</FONT></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; margin-left: 0; text-align: justify">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; margin-left: 0; text-align: justify">Indicate by check mark whether
the registrant is a large accelerated filer, an accelerated filer, a non-accelerated filer or a smaller reporting company. See
definition of &ldquo;large accelerated filer&rdquo;, &ldquo;accelerated filer&rdquo; and &ldquo;smaller reporting company&rdquo;
in Rule 12b-2 of the Exchange Act.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 18pt 0pt 0; text-align: justify">&nbsp;</P>

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD NOWRAP STYLE="width: 12%">Large accelerated filer <FONT STYLE="font-family: Wingdings">o</FONT></TD>
    <TD STYLE="width: 48%">&nbsp;</TD>
    <TD STYLE="width: 40%">Accelerated filer <FONT STYLE="font-family: Wingdings">x</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD NOWRAP COLSPAN="2">Non-accelerated filer&nbsp;&nbsp;&nbsp;<FONT STYLE="font-family: Wingdings">o</FONT> (Do not check if a smaller reporting company)</TD>
    <TD>Smaller reporting company <FONT STYLE="font-family: Wingdings">o</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD NOWRAP>&nbsp;</TD>
    <TD></TD>
    <TD>Emerging growth company <FONT STYLE="font-family: Wingdings">o</FONT></TD></TR>
</TABLE>
<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 18pt 0pt 0; text-align: justify">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; margin-left: 0; text-align: justify">If an emerging growth company,
indicate by check mark if the registrant has elected not to use the extended transition period for complying with any new or revised
financial accounting standards provided pursuant to Section 13(a) of the Exchange Act. Yes <FONT STYLE="font-family: Wingdings">o</FONT> No <FONT STYLE="font-family: Wingdings">o</FONT></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 18pt 0pt 0; text-align: justify">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; margin-left: 0; text-align: justify">Indicate by check mark whether
the registrant is a shell company (as defined in Rule 12b-2 of the Exchange Act).</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; margin-left: 0; text-align: justify">Yes <FONT STYLE="font-family: Wingdings">o</FONT> No <FONT STYLE="font-family: Wingdings">x</FONT></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 18pt 0pt 0; text-align: justify">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; margin-left: 0; text-align: justify">At the close of business on May
31, 2017 the registrant had 6,558,679 shares of Common Stock, par value $.01 per share, outstanding.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 18pt 0pt 0; text-align: justify">&nbsp;</P>

<!-- Field: Rule-Page --><DIV ALIGN="LEFT"><DIV STYLE="font-size: 1pt; border-top: Black 1px solid; border-bottom: Black 2px solid; width: 100%">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

<!-- Field: Page; Sequence: 1 -->
    <DIV STYLE="margin-bottom: 6pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 12pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%">&nbsp;</TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">INDEX</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE=" text-align: center">Page</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 87%">&nbsp;</TD>
    <TD STYLE="width: 1%">&nbsp;</TD>
    <TD STYLE="width: 3%; text-align: right">&nbsp;</TD>
    <TD STYLE="width: 1%">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c88471a001">PART I.</A></TD>
    <TD><A HREF="#x1_c88471a001">FINANCIAL INFORMATION</A></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c88471a002">Item 1.</A></TD>
    <TD><A HREF="#x1_c88471a002">Financial Statements</A></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><A HREF="#x1_c88471a003">Consolidated Condensed Balance Sheets</A></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">3</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><A HREF="#x1_c88471a004">Consolidated Condensed Statements of Operations</A></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">4</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><A HREF="#x1_c88471a005">Consolidated Condensed Statements of Equity</A></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">5</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><A HREF="#x1_c88471a006">Consolidated Condensed Statements of Cash Flows</A></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">6</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><A HREF="#x1_c88471a007">Notes to Consolidated Condensed Financial Statements</A></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">7</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c88471a008">Item 2.</A></TD>
    <TD><A HREF="#x1_c88471a008">Management&rsquo;s Discussion and Analysis of Financial Condition and
    Results of Operations</A></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">18</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c88471a009">Item 3.</A></TD>
    <TD><A HREF="#x1_c88471a009">Quantitative and Qualitative Disclosures About Market Risk</A></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">25</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c88471a010">Item 4.</A></TD>
    <TD><A HREF="#x1_c88471a010">Controls and Procedures</A></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">26</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c88471a011">PART II.</A></TD>
    <TD><A HREF="#x1_c88471a011">OTHER INFORMATION</A></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c88471a012">Item 1.</A></TD>
    <TD><A HREF="#x1_c88471a012">Legal Proceedings</A></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">26</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c88471a013">Item 1A.</A></TD>
    <TD><A HREF="#x1_c88471a013">Risk Factors</A></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">26</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c88471a014">Item 2.</A></TD>
    <TD><A HREF="#x1_c88471a014">Unregistered Sales of Equity Securities and Use of Proceeds</A></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">27</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c88471a015">Item 3.</A></TD>
    <TD><A HREF="#x1_c88471a015">Defaults upon Senior Securities</A></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">27</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c88471a016">Item 4.</A></TD>
    <TD><A HREF="#x1_c88471a016">Mine Safety Disclosures</A></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">27</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c88471a017">Item 5.</A></TD>
    <TD><A HREF="#x1_c88471a017">Other Information</A></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">27</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c88471a018">Item 6.</A></TD>
    <TD><A HREF="#x1_c88471a018">Exhibits</A></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">27</TD>
    <TD>&nbsp;</TD></TR>
</TABLE>

<!-- Field: Page; Sequence: 2; Options: NewSection; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->2<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B><A NAME="x1_c88471a001"></A>PART I. FINANCIAL INFORMATION</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><A NAME="x1_c88471a002"></A><B>Item 1. <I>Financial Statements</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0">REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B><A NAME="x1_c88471a003"></A>Consolidated Condensed Balance Sheets</B></P>

<P STYLE="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0">Unaudited</P>

<P STYLE="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 85%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">April 30,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">January 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD>Assets</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">(In Thousands)</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Current assets:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 66%; text-align: left; padding-left: 10pt">Cash and cash equivalents</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">191,493</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">188,576</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt">Restricted cash</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">130</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">130</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt">Accounts receivable</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">9,196</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">11,901</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-left: 10pt">Inventory</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">20,427</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">17,057</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt">Refundable income taxes</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,063</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,070</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt">Prepaid expenses and other</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">7,075</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">6,959</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt">Deferred taxes, net</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">824</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 20pt">Total current assets</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">229,384</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">226,517</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 0pt">Property and equipment, net</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">184,674</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">182,761</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 0pt">Other assets</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">6,777</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">6,913</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 0pt">Equity method investments</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">38,533</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">37,833</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 3px; padding-left: 10pt">Total assets</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">459,368</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">454,024</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">Liabilities and equity:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Current liabilities:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">&nbsp;&nbsp;&nbsp;Accounts payable, trade</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">8,636</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">9,171</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;&nbsp;&nbsp;Accrued expenses and other current liabilities</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">14,261</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">13,348</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 20pt">Total current liabilities</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">22,897</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">22,519</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD>Long-term liabilities:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt">Deferred taxes</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">40,314</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">41,135</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt">Other long-term liabilities</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">2,242</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">2,096</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 20pt">Total long-term liabilities</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">42,556</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">43,231</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD>Equity:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt">REX shareholders&rsquo; equity:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 30pt">Common stock</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">299</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">299</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-left: 30pt">Paid-in capital</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">145,790</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">145,767</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 30pt">Retained earnings</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">512,751</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">508,207</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 30pt">Treasury stock</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(313,832</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(313,838</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 40pt">Total REX shareholders&rsquo; equity</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">345,008</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">340,435</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt">Noncontrolling interests</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">48,907</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">47,839</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt">Total equity</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">393,915</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">388,274</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 3px; padding-left: 10pt">Total liabilities and equity</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">459,368</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">454,024</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">The accompanying notes are an integral part of &#9;these unaudited
consolidated condensed financial statements.</P>

<!-- Field: Page; Sequence: 3; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->3<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B><A NAME="x1_c88471a004"></A>Consolidated Condensed Statements Of Operations</B></P>

<P STYLE="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left">Unaudited</P>

<P STYLE="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 85%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Three Months</FONT><BR>
    <FONT STYLE="font: 10pt Times New Roman, Times, Serif">Ended</FONT><BR> <FONT STYLE="font: 10pt Times New Roman, Times, Serif">April
    30,</FONT></TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2016</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">(In Thousands, Except<BR> Per Share Amounts)</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt">Net sales and revenue</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">113,143</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">100,222</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Cost of sales</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">100,654</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">91,800</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Gross profit</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">12,489</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">8,422</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Selling, general and administrative expenses</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(5,402</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(4,027</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Equity in income of unconsolidated affiliates</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">700</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">233</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Gain on sale of investment</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&mdash;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">192</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Interest and other income</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">215</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">160</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Income before income taxes</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">8,002</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">4,980</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Provision for income taxes</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(2,390</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(1,514</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Net income</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">5,612</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">3,466</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Net income attributable to noncontrolling interests</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(1,068</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(628</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Net income attributable to REX common shareholders</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">4,544</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">2,838</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Weighted average shares outstanding &ndash; basic</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">6,593</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">6,573</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Basic net income per share attributable to REX common shareholders</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">0.69</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">0.43</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Weighted average shares outstanding &ndash; diluted</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">6,593</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">6,594</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Diluted net income per share attributable to REX common shareholders</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">0.69</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">0.43</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">The accompanying notes are an integral part of these unaudited
consolidated condensed financial statements.</P>

<!-- Field: Page; Sequence: 4; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->4<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B><A NAME="x1_c88471a005"></A>Consolidated Condensed Statements Of Equity</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Unaudited</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">(In Thousands)</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 100%; font: 8pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="22" STYLE="border-bottom: Black 1px solid; text-align: center">REX Shareholders</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="14" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="6" STYLE="border-bottom: Black 1px solid; text-align: center">Common Shares<BR>
Issued</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="6" STYLE="border-bottom: Black 1px solid; text-align: center">Treasury</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="padding-bottom: 1px; text-align: center">Paid-in</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="padding-bottom: 1px; text-align: center">Retained</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="padding-bottom: 1px; text-align: center">Noncontrolling</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="padding-bottom: 1px; text-align: center">Total</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="border-bottom: Black 1px solid; text-align: center">Shares</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="border-bottom: Black 1px solid; text-align: center">Amount</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="border-bottom: Black 1px solid; text-align: center">Shares</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: center">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: center">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="border-bottom: Black 1px solid; text-align: center">Amount</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="border-bottom: Black 1px solid; text-align: center">Capital</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="border-bottom: Black 1px solid; text-align: center">Earnings</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="border-bottom: Black 1px solid; text-align: center">Interests</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="border-bottom: Black 1px solid; text-align: center">Equity</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 20%; padding-left: 10pt; text-indent: -10pt">Balance at January 31, 2017</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 6%; text-align: right">29,853</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 6%; text-align: right">299</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 6%; text-align: right">23,292</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 6%; text-align: right">(313,838</TD><TD STYLE="width: 1%; text-align: left">)</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 6%; text-align: right">145,767</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 6%; text-align: right">508,207</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 6%; text-align: right">47,839</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 6%; text-align: right">388,274</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Net income</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">4,544</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,068</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">5,612</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Stock based compensation expense</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">6</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">23</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">29</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Balance at April 30, 2017</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">29,853</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">299</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">23,292</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">(313,832</TD><TD STYLE="padding-bottom: 2px; text-align: left">)</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">145,790</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">512,751</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">48,907</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">393,915</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>

<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">Balance at January 31, 2016</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">29,853</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">299</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">23,204</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">(309,754</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">144,844</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">475,874</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">44,496</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">355,759</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Net income</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,838</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">628</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">3,466</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Treasury stock acquired</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">88</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(4,353</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(4,353</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Stock based compensation expense</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">3</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">12</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">15</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Noncontrolling interests distribution and other</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(268</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(268</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Balance at April 30, 2016</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">29,853</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">299</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">23,292</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">(314,104</TD><TD STYLE="padding-bottom: 3px; text-align: left">)</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">144,856</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">478,712</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">44,856</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">354,619</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">The accompanying notes are an integral part of these unaudited
consolidated condensed financial statements.</P>

<!-- Field: Page; Sequence: 5; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->5<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B><A NAME="x1_c88471a006"></A>Consolidated Condensed Statements Of Cash Flows</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Unaudited</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center; border-bottom: Black 1px solid">Three Months Ended<BR> April 30,</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2016</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">(In Thousands)</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Cash flows from operating activities:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="width: 70%; text-align: left; padding-left: 10pt; text-indent: -10pt">Net income including noncontrolling interests</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">5,612</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">3,466</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Adjustments to reconcile net income to net cash provided by (used in) operating activities:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Depreciation and amortization</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">4,934</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">4,812</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Income from equity method investments</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(700</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(233</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Gain on sale of investment</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&mdash;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(192</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Deferred income tax</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">3</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&mdash;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Stock based compensation expense</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">196</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">15</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Changes in assets and liabilities:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Accounts receivable</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,705</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(1,833</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-left: 20pt; text-indent: -10pt">Inventories</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(3,370</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(8,554</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Other assets</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(30</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,589</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Accounts payable, trade</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(1,308</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(2,284</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 20pt; text-indent: -10pt">Other liabilities</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">723</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(2,465</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Net cash provided by (used in) operating activities</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">8,765</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(5,679</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Cash flows from investing activities:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Capital expenditures</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(5,905</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(4,474</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Restricted cash</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&mdash;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(466</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Restricted investments and deposits</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">51</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&mdash;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Proceeds from sale of investment</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&mdash;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,275</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 1px; padding-left: 20pt; text-indent: -10pt">Other</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">6</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">6</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Net cash used in investing activities</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(5,848</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(2,659</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Cash flows from financing activities:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Purchase of stock from noncontrolling interests holders</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&mdash;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(268</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 20pt; text-indent: -10pt">Treasury stock acquired</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(4,709</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Net cash used in financing activities</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(4,977</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Net increase (decrease) in cash and cash equivalents</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,917</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(13,315</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Cash and cash equivalents, beginning of period</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">188,576</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">135,765</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Cash and cash equivalents, end of period</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">191,493</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">122,450</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Non cash investing activities &ndash; Accrued capital expenditures</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">1,284</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">634</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Non cash financing activities &ndash; Equity awards accrued</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">167</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">The accompanying notes are an integral part of &#9;these unaudited
consolidated condensed financial statements.</P>

<!-- Field: Page; Sequence: 6; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->6<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->
<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: center"><B>REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>&nbsp;</B></P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: center"><B><A NAME="x1_c88471a007"></A>NOTES TO UNAUDITED CONSOLIDATED CONDENSED
FINANCIAL STATEMENTS</B></P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: center"><B>April 30, 2017</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>&nbsp;</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0 99pt 0 0"><B>Note 1. <I>Consolidated Condensed Financial Statements</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The consolidated condensed financial statements
included in this report have been prepared by the Company, without audit, pursuant to the rules and regulations of the Securities
and Exchange Commission and include, in the opinion of management, all adjustments necessary to state fairly the information set
forth therein. Any such adjustments were of a normal recurring nature. Certain information and footnote disclosures normally included
in financial statements prepared in accordance with accounting principles generally accepted in the United States of America have
been omitted pursuant to such rules and regulations, although the Company believes that the disclosures are adequate to make the
information presented not misleading. Financial information as of January 31, 2017 included in these financial statements has been
derived from the audited consolidated financial statements included in the Company&rsquo;s Annual Report on Form 10-K for the year
ended January 31, 2017 (fiscal year 2016). It is suggested that these unaudited consolidated condensed financial statements be
read in conjunction with the consolidated financial statements and the notes thereto included in the Company&rsquo;s Annual Report
on Form 10-K for the year ended January 31, 2017. The results of operations for the interim periods are not necessarily indicative
of the results to be expected for the year.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Basis of Consolidation &ndash; The consolidated
condensed financial statements in this report include the operating results and financial position of REX American Resources Corporation
and its wholly and majority owned subsidiaries. All intercompany balances and transactions have been eliminated. The Company includes
the results of operations of One Earth Energy, LLC (&ldquo;One Earth&rdquo;) in its Consolidated Condensed Statements of Operations
on a delayed basis of one month.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Nature of Operations &ndash; The Company operates
in one reportable segment, alternative energy, and has equity investments in three ethanol limited liability companies, two of
which are majority ownership interests.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>Note 2. <I>Accounting Policies</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B><I>&nbsp;</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The interim consolidated condensed financial
statements have been prepared in accordance with the accounting policies described in the notes to the consolidated financial statements
included in the Company&rsquo;s fiscal year 2016 Annual Report on Form 10-K. While management believes that the procedures followed
in the preparation of interim financial information are reasonable, the accuracy of some estimated amounts is dependent upon facts
that will exist or calculations that will be accomplished at fiscal year-end. Examples of such estimates include accrued liabilities,
such as management bonuses, and the provision for income taxes. Any adjustments pursuant to such estimates during the quarter were
of a normal recurring nature. Actual results could differ from those estimates.</P>


<!-- Field: Page; Sequence: 7; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->7<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: bold 10pt Times New Roman, Times, Serif; margin: 0">Revenue Recognition</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company recognizes sales from the production
of ethanol, distillers grains and non-food grade corn oil when title transfers to customers, generally upon shipment from the ethanol
plant or upon loading of the rail car used to transport the products.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&nbsp;</P>

<P STYLE="font: bold 10pt Times New Roman, Times, Serif; margin: 0">Cost of Sales</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>&nbsp;</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Cost of sales includes depreciation, costs of
raw materials, inbound freight charges, purchasing and receiving costs, inspection costs, other distribution expenses, warehousing
costs, plant management, certain compensations costs, and general facility overhead charges.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>&nbsp;</B></P>

<P STYLE="font: bold 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 0pt">Selling, General and Administrative Expenses</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company includes non-production related costs
such as professional fees, selling charges and certain payroll in selling, general and administrative expenses.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; color: red">&nbsp;</P>

<P STYLE="margin: 0; font: bold 10pt Times New Roman, Times, Serif">Financial Instruments</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>&nbsp;</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Certain of the forward grain purchase and ethanol,
distillers grains and non-food grade corn oil sale contracts are accounted for under the &ldquo;normal purchases and normal sales&rdquo;
scope exemption of Accounting Standards Codification (&ldquo;ASC&rdquo;) 815, &ldquo;<I>Derivatives and Hedging</I>&rdquo; because
these arrangements are for purchases of grain that will be delivered in quantities expected to be used by the Company and sales
of ethanol, distillers grains and non-food grade corn oil quantities expected to be produced by the Company over a reasonable period
of time in the normal course of business. During fiscal year 2015, the Company began to carry a portion of its forward grain purchase
contracts at fair value.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company uses derivative financial instruments
(exchange-traded futures contracts) to manage a portion of the risk associated with changes in commodity prices, primarily related
to corn. The Company monitors and manages this exposure as part of its overall risk management policy. As such, the Company seeks
to reduce the potentially adverse effects that the volatility of these markets may have on its operating results. The Company may
take hedging positions in these commodities as one way to mitigate risk. While the Company attempts to link its hedging activities
to purchase and sales activities, there are situations in which these hedging activities can themselves result in losses. The Company
does not hold or issue derivative financial instruments for trading or speculative purposes. The changes in fair value of these
derivative financial instruments are recognized in current period earnings as the Company does not use hedge accounting.</P>

<P STYLE="font: bold 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: bold 10pt Times New Roman, Times, Serif; margin: 0">Income Taxes</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>&nbsp;</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company applies an effective tax rate
to interim periods that is consistent with the Company&rsquo;s estimated annual tax rate as adjusted for discrete items
impacting the interim periods. The Company provides for deferred tax liabilities and assets for the future tax consequences
attributable to differences between the financial statement carrying amounts of existing assets and liabilities and their
respective tax basis and operating loss and tax credit carryforwards. The Company provides for a valuation allowance if,
based on the weight of available evidence, it is more likely than not that some or all of the deferred tax assets will not be
realized. The Company paid no income taxes during the three months ended April 30, 2017 and 2016. The Company received no
refunds of income taxes during the three months ended April 30, 2017 and 2016.</P>


<!-- Field: Page; Sequence: 8; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->8<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">As of April 30, 2017 and January 31, 2017, total
unrecognized tax benefits were approximately $2,004,000 and $1,875,000, respectively. Accrued penalties and interest were approximately
$238,000 and $221,000 at April 30, 2017 and January 31, 2017, respectively. If the Company were to prevail on all unrecognized
tax benefits recorded, the provision for income taxes would be reduced by approximately $2,004,000. In addition, the impact of
penalties and interest would also benefit the effective tax rate. Interest and penalties associated with unrecognized tax benefits
are recorded within income tax expense. On a quarterly basis, the Company accrues for the effects of open uncertain tax positions
and the related potential penalties and interest.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>&nbsp;</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>Inventories</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>&nbsp;</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Inventories are carried at the lower of cost
or market on a first-in, first-out basis. Inventory includes direct production costs and certain overhead costs such as depreciation,
property taxes and utilities related to producing ethanol and related co-products. Inventory is permanently written down for instances
when cost exceeds estimated net realizable value; such write-downs are based primarily upon commodity prices as the market value
of inventory is often dependent upon changes in commodity prices. There were no significant permanent write-downs of inventory
at April 30, 2017 and January 31, 2017. Fluctuations in the write-down of inventory generally relate to the levels and composition
of such inventory at a given point in time. The components of inventory are as follows as of the dates presented (amounts in thousands):</P>

<P STYLE="font: 12pt Courier New, Courier, Monospace; margin: 0">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">April 30, <BR>
2017</FONT></TD><TD STYLE="text-align: center; padding-bottom: 1px">&nbsp;</TD><TD STYLE="text-align: center; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid"><P STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0; margin-bottom: 0; text-align: center">January 31,<BR>
</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: center">2017</P>

</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 59%; text-align: left">Ethanol and other finished goods</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 6%; text-align: left">$</TD><TD STYLE="width: 7%; text-align: right">3,159</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 5%">&nbsp;</TD>
    <TD STYLE="width: 6%; text-align: left">$</TD><TD STYLE="width: 6%; text-align: right">5,262</TD><TD STYLE="width: 2%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Work in process</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,487</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,359</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px">Grain and other raw materials</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">14,781</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">9,436</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 3px">Total</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">20,427</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">17,057</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>&nbsp;</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>Property and Equipment</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>&nbsp;</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Property and equipment is recorded at cost. Depreciation
is computed using the straight-line method. Estimated useful lives are 15 to 40 years for buildings and improvements, and 2 to
20 years for fixtures and equipment.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">In accordance with ASC 360-10 &ldquo;<I>Impairment
or Disposal of Long-Lived Assets</I>&rdquo;, the carrying value of long-lived assets is assessed for recoverability by management
when changes in circumstances indicate that the carrying amount may not be recoverable, based on an analysis of undiscounted future
expected cash flows from the use and ultimate disposition of the asset. There were no impairment charges in the first three months
of fiscal years 2017 or 2016. Impairment charges have historically resulted from the Company&rsquo;s management performing cash
flow analysis and have represented management&rsquo;s estimate of the excess of net book value over fair value.</P>


<!-- Field: Page; Sequence: 9; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->9<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company tests for recoverability of an asset
group by comparing its carrying amount to its estimated undiscounted future cash flows. If the carrying amount of an asset group
exceeds its estimated undiscounted future cash flows, the Company recognizes an impairment charge for the amount by which the asset
group&rsquo;s carrying amount exceeds its fair value, if any. The Company generally determines the fair value of the asset group
using a discounted cash flow model based on market participant assumptions (for income producing asset groups) or by obtaining
appraisals based on the market approach and comparable market transactions (for non-income producing asset groups).</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>Investments</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>&nbsp;</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The method of accounting applied to long-term
investments, whether consolidated, equity or cost, involves an evaluation of the significant terms of each investment that explicitly
grant or suggest evidence of control or influence over the operations of the investee and also includes the identification of any
variable interests in which the Company is the primary beneficiary. The Company consolidates the results of two majority owned
subsidiaries, One Earth and NuGen. The results of One Earth are included on a delayed basis of one month lag as One Earth has a
fiscal year end of December 31. NuGen has the same fiscal year as the parent, and therefore, there is no lag in reporting the results
of NuGen. The Company accounts for investments in a limited liability company in which it has a less than 20% ownership interest,
using the equity method of accounting when the factors discussed in ASC 323, &ldquo;<I>Investments-Equity Method and Joint Ventures</I>&rdquo;
are met. The excess of the carrying value over the underlying equity in the net assets of equity method investees is allocated
to specific assets and liabilities. Any unallocated excess is treated as goodwill and is recorded as a component of the carrying
value of the equity method investee. Investments in businesses that the Company does not control but for which it has the ability
to exercise significant influence over operating and financial matters are accounted for using the equity method. The Company accounts
for its investment in Big River Resources, LLC (&ldquo;Big River&rdquo;) using the equity method of accounting and includes the
results on a delayed basis of one month as Big River has a fiscal year end of December 31.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company periodically evaluates its investments
for impairment due to declines in market value considered to be other than temporary. Such impairment evaluations include general
economic and company-specific evaluations. If the Company determines that a decline in market value is other than temporary, then
a charge to earnings is recorded in the Consolidated Condensed Statements of Operations and a new cost basis in the investment
is established.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>Comprehensive Income</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company has no components of other comprehensive
income, and therefore, comprehensive income equals net income.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>&nbsp;</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>Accounting Changes and Recently Issued Accounting Standards</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>&nbsp;</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">In March 2016, the Financial Accounting Standards
Board (&ldquo;FASB&rdquo;) issued Accounting Standards Update (&ldquo;ASU&rdquo;) 2016-09, &ldquo;<I>Improvements to Employee Share-Based
Payment Accounting</I>&rdquo; (&ldquo;ASU 2016-09&rdquo;). This standard simplifies the accounting treatment for excess tax benefits
and deficiencies, forfeitures, and cash flow considerations related to share-based compensation. The Company adopted this standard
February 1, 2017. The adoption of ASU 2016-09 did not impact the Company&rsquo;s consolidated financial statements and related
disclosures.</P>


<!-- Field: Page; Sequence: 10; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->10<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">In February 2016, the FASB issued ASU 2016-02
&ldquo;<I>Leases</I>&rdquo;. This standard requires that virtually all leases will be recognized by lessees on their balance sheet
as a right-of-use asset and a corresponding lease liability, including leases currently accounted for as operating leases. The
Company will be required to adopt this standard effective February 1, 2019. The Company has not completed its analysis of adopting
this guidance but it does expect the adoption of this guidance to have a material impact on its Consolidated Balance Sheet related
to the right to use asset and lease obligation liability to be recognized upon adoption of this guidance. The related leases are
currently accounted for as operating leases (see Note 3).</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company will be required to adopt the amended
guidance in ASC Topic 606 &ldquo;<I>Revenue from Contracts with Customers</I>&rdquo;, which requires revenue recognition to reflect
the transfer of promised goods or services to customers and replaces existing revenue recognition guidance. The updated standard
permits the use of either the retrospective or cumulative effect transition method. The FASB had deferred the required adoption
of the amended guidance by one year, from February 1, 2017 to February 1, 2018. The Company has not completed its analysis of adopting
this guidance but it does not expect the adoption of this guidance to have a material impact on its consolidated financial statements
with respect to measurement and recognition of revenue. The Company is still evaluating the impact of adopting this guidance on
disclosures in the consolidated financial statements.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">In November 2015, the FASB issued ASU 2015-17
&ldquo;<I>Balance Sheet Classification of Deferred Taxes</I>&rdquo;, (&ldquo;ASU 2015-17&rdquo;) which requires that for a particular
tax-paying component of an entity and within a particular tax jurisdiction, all deferred tax liabilities and assets shall be offset
and presented as a single noncurrent amount. The Company prospectively adopted the amended guidance effective February 1, 2017.
Prior periods were not retrospectively adjusted. The adoption of ASU 2015-17 did not affect net income attributable to REX common
shareholders or retained earnings in the presented periods.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>Note 3. <I>Leases</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">At April 30, 2017, the Company has lease agreements,
as lessee, for rail cars and a natural gas pipeline. All of the leases are accounted for as operating leases. The following table
is a summary of future minimum rentals on such leases (amounts in thousands):</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 40%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">Years Ended January 31,</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">Minimum<BR>
    Rentals</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 66%; text-align: left">Remainder of 2018</TD><TD STYLE="width: 10%">&nbsp;</TD>
    <TD STYLE="width: 12%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">5,486</TD><TD STYLE="width: 2%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">2019</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">6,910</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">2020</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">5,379</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">2021</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">3,580</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">2022</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,948</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 1px; text-align: left">Thereafter</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">1,622</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 3px; text-align: left">Total</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">25,925</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>&nbsp;</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>Note 4. <I>Fair Value</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company applies ASC 820, &ldquo;<I>Fair Value
Measurements and Disclosures&rdquo;</I>, (&ldquo;ASC 820&rdquo;) which provides a framework for measuring fair value under accounting
principles generally accepted in the United States of America. This accounting standard defines fair value as the exchange price
that would be received for an asset or paid to transfer a liability (an exit price) in the principal or most advantageous market
for the asset or liability in an orderly transaction between market participants on the measurement date.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company determines the fair market values
of its financial instruments based on the fair value hierarchy established by ASC 820 which requires an entity to maximize the
use of observable inputs and minimize the use of unobservable inputs when measuring fair value. The standard describes three levels
of inputs that may be used to measure fair values which are provided below. The Company carries certain cash equivalents, investments
and derivative instruments at fair value.</P>


<!-- Field: Page; Sequence: 11; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->11<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The fair values of derivative assets and liabilities
traded in the over-the-counter market are determined using quantitative models that require the use of multiple market inputs including
interest rates, prices and indices to generate pricing and volatility factors, which are used to value the position. The predominance
of market inputs are actively quoted and can be validated through external sources, including brokers, market transactions and
third-party pricing services. Estimation risk is greater for derivative asset and liability positions that are either option-based
or have longer maturity dates where observable market inputs are less readily available or are unobservable, in which case interest
rate, price or index scenarios are extrapolated in order to determine the fair value. The fair values of derivative assets and
liabilities include adjustments for market liquidity, counterparty credit quality, the Company&rsquo;s own credit standing and
other specific factors, where appropriate. The fair values of property and equipment are determined by using various models that
discount future expected cash flows.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">To ensure the prudent application of estimates
and management judgment in determining the fair value of derivative assets and liabilities, investments and property and equipment,
various processes and controls have been adopted, which include: (i) model validation that requires a review and approval for pricing,
financial statement fair value determination and risk quantification; and (ii) periodic review and substantiation of profit and
loss reporting for all derivative instruments. Financial assets and liabilities measured at fair value on a recurring basis at
April 30, 2017 are summarized below (amounts in thousands):</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-align: center; vertical-align: bottom; padding-bottom: 1px">&nbsp;</TD><TD STYLE="text-align: center; vertical-align: bottom; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; vertical-align: bottom; border-bottom: Black 1px solid">Level 1</TD><TD STYLE="text-align: center; vertical-align: bottom; padding-bottom: 1px">&nbsp;</TD><TD STYLE="text-align: center; vertical-align: bottom; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; vertical-align: bottom; border-bottom: Black 1px solid">Level 2</TD><TD STYLE="text-align: center; vertical-align: bottom; padding-bottom: 1px">&nbsp;</TD><TD STYLE="text-align: center; vertical-align: bottom; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; vertical-align: bottom; border-bottom: Black 1px solid">Level 3</TD><TD STYLE="text-align: center; vertical-align: bottom; padding-bottom: 1px">&nbsp;</TD><TD STYLE="text-align: center; vertical-align: bottom; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; vertical-align: bottom; border-bottom: Black 1px solid"><P STYLE="margin-top: 0; margin-bottom: 0; text-align: center">Fair Value</P>

<P STYLE="margin-top: 0; margin-bottom: 0; text-align: center"></P>

</TD><TD STYLE="text-align: center; vertical-align: bottom; padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-align: center; vertical-align: bottom">&nbsp;</TD><TD STYLE="text-align: center; vertical-align: bottom">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; vertical-align: bottom">&nbsp;</TD><TD STYLE="text-align: center; vertical-align: bottom">&nbsp;</TD><TD STYLE="text-align: center; vertical-align: bottom">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; vertical-align: bottom">&nbsp;</TD><TD STYLE="text-align: center; vertical-align: bottom">&nbsp;</TD><TD STYLE="text-align: center; vertical-align: bottom">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; vertical-align: bottom">&nbsp;</TD><TD STYLE="text-align: center; vertical-align: bottom">&nbsp;</TD><TD STYLE="text-align: center; vertical-align: bottom">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; vertical-align: bottom">&nbsp;</TD><TD STYLE="text-align: center; vertical-align: bottom">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 48%; text-align: left">Commodity futures (1)</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 8%; text-align: right">&mdash;</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 8%; text-align: right">66</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 8%; text-align: right">&mdash;</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 8%; text-align: right">66</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px">Investment in cooperative (2)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">&mdash;</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">&mdash;</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">333</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">333</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 3px">Total assets</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">&mdash;</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">66</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">333</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">399</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 3px">Forward purchase contract liability (3)</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">&mdash;</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">413</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">&mdash;</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">413</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD></TR>
</TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Financial assets and liabilities measured at
fair value on a recurring basis at January 31, 2017 are summarized below (amounts in thousands):</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">Level 1</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">Level 2</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">Level 3</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">Fair Value</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 48%; text-align: left">Commodity futures (1)</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 8%; text-align: right">&mdash;</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 8%; text-align: right">45</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 8%; text-align: right">&mdash;</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 8%; text-align: right">45</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Forward purchase contract asset (4)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&mdash;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">163</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&mdash;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">163</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px">Investment in cooperative (2)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; padding-bottom: 1px; border-bottom: Black 1px solid">&mdash;</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">&mdash;</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">333</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">333</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 3px">Total assets</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">&mdash;</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">208</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">333</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">541</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 3px">Forward purchase contract liability (3)</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">&mdash;</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">136</TD><TD STYLE="text-align: left; padding-bottom: 3px"></TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">&mdash;</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">136</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD></TR>
</TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">(1) Commodity futures are included in &ldquo;Prepaid
expenses and other current assets&rdquo; on the accompanying Consolidated Condensed Balance Sheets.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">(2) The investment in cooperative is included
in &ldquo;Other assets&rdquo; on the accompanying Consolidated Condensed Balance Sheets.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"></P>

<!-- Field: Page; Sequence: 12; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->12<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->
<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">(3) The forward purchase contract liability is
included in &ldquo;Accrued expenses and other current liabilities&rdquo; on the accompanying Consolidated Condensed Balance Sheets.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">(4) The forward purchase contract asset is included
in &ldquo;Prepaid expenses and other current assets on the accompanying Consolidated Condensed Balance Sheets.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company determined the fair value of the
investment in cooperative by using a discounted cash flow analysis on the expected cash flows. Inputs used in the analysis include
the face value of the allocated equity amount, the projected term for repayment based upon a historical trend, and a risk adjusted
discount rate based on the expected compensation participants would demand because of the uncertainty of the future cash flows.
The inherent risk and uncertainty associated with unobservable inputs could have a significant effect on the actual fair value
of the investment.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">There were no assets measured at fair value on
a non-recurring basis at April 30, 2017 or January 31, 2017.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>Note 5. &nbsp;<I>Property and Equipment</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>&nbsp;</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The components of property and equipment are
as follows for the periods presented (amounts in thousands):</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">April 30,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">January 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 72%; text-align: left">Land and improvements</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">20,960</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">20,951</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Buildings and improvements</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">23,237</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">23,203</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">Machinery, equipment and fixtures</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">256,577</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">255,348</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px">Construction in progress</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">6,968</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">1,046</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">307,742</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">300,548</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px">Less:&nbsp;&nbsp;accumulated depreciation</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">(123,068</TD><TD STYLE="text-align: left; padding-bottom: 1px">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">(117,787</TD><TD STYLE="text-align: left; padding-bottom: 1px">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 3px">Total</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">184,674</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">182,761</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD></TR>
</TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>Note 6. &nbsp;<I>Other Assets</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B><I>&nbsp;</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The components of other assets are as follows
for the periods presented (amounts in thousands):</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">April 30,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">January 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 72%; text-align: left">Real estate taxes refundable</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">5,925</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">5,923</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD>Deposits</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">105</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">155</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 1px">Other</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">747</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">835</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 3px">Total</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">6,777</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">6,913</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD></TR>
</TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt; text-align: justify">Real estate taxes refundable represent amounts
due One Earth associated with refunds of previously paid taxes in connection with a tax increment financing arrangement with local
taxing authorities. Deposits are with utility and other vendors.</P>

<!-- Field: Page; Sequence: 13; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->13<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>Note 7. <I>&nbsp;Accrued Expenses and Other Current Liabilities</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B><I>&nbsp;</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt; text-align: justify">The components of accrued expenses and other
current liabilities are as follows for the periods presented (amounts in thousands):</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">April 30,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">January 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 72%; text-align: left">Accrued utility charges</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">2,003</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">2,414</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Accrued payroll and related items</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,031</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">4,279</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">Accrued real estate taxes</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,868</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,716</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Accrued income taxes</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">4,363</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,120</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 1px">Other</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">2,996</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">1,819</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 3px">Total</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">14,261</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">13,348</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD></TR>
</TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>Note 8. &nbsp;<I>Revolving Lines of Credit</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Effective April 1, 2016, One Earth and NuGen
each entered into $10.0 million revolving loan facilities that matured April 1, 2017. Neither One Earth nor NuGen had outstanding
borrowings on the revolving loans during the three months ended April 30, 2017 and 2016.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>Note 9. <I>Derivative Financial Instruments</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company is exposed to various market risks,
including changes in commodity prices (raw materials and finished goods). To manage risks associated with the volatility of these
natural business exposures, the Company enters into commodity agreements and forward purchase (corn) and sale (ethanol, distillers
grains and non-food grade corn oil) contracts. The Company does not purchase or sell derivative financial instruments for trading
or speculative purposes. The Company does not purchase or sell derivative financial instruments for which a lack of marketplace
quotations would require the use of fair value estimation techniques.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The following table provides information about
the fair values of the Company&rsquo;s derivative financial instruments and the line items on the Consolidated Condensed Balance
Sheets in which the fair values are reflected (in thousands):</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: left; text-indent: 0pt">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 90%; font: 10pt Times New Roman, Times, Serif; margin-left: 36pt">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">Asset Derivatives <BR> Fair Value</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">Liability Derivatives <BR> Fair Value</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">April 30,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">January 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">April 30,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">January 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 53%; text-align: left">Commodity futures (1)</TD><TD STYLE="width: 1%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 8%; text-align: right">66</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 8%; text-align: right">45</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 8%; text-align: right">&mdash;</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 8%; text-align: right">&mdash;</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px">Forward purchase contracts (2)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">&mdash;</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">163</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">413</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">136</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 3px">Total</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">66</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">208</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">413</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">136</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD></TR>
</TABLE>
<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0 0 0 36pt; text-align: justify">(1) Commodity futures are included in prepaid expenses and other
current assets. These contracts are short/sell positions for approximately 0.9 million and 0.7 million bushels of corn at April
30, 2017 and January 31, 2017, respectively.</P>


<!-- Field: Page; Sequence: 14; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->14<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0 0 0 36pt; text-align: justify">(2) Forward purchase contracts assets are included in prepaid expenses
and other current assets while forward purchase contracts liabilities are included in accrued expenses and other current liabilities.
These contracts are for purchases of approximately 10.8 million and 5.3 million bushels of corn at April 30, 2017 and January 31,
2017, respectively.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">As of April 30, 2017, all of the derivative financial
instruments held by the Company were subject to enforceable master netting arrangements. The Company&rsquo;s accounting policy
is to offset positions amounts owed or owing with the same counterparty. As of April 30, 2017, the gross positions of the enforceable
master netting agreements are not significantly different from the net positions presented in the table above. Depending on the
amount of an unrealized loss on a derivative contract held by the Company, the counterparty may require collateral to secure the
Company&rsquo;s derivative contract position. As of April 30, 2017, the Company was
required to maintain collateral with the counterparty in the amount of approximately $130,000 to secure the Company&rsquo;s derivative
liability position.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">See Note 4 which contains fair value information
related to derivative financial instruments.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: left; text-indent: 0pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Gains of approximately $124,000 and $488,000
for the first quarters of fiscal years 2017 and 2016, respectively, on the Company&rsquo;s derivative financial instruments were
included in cost of sales on the Consolidated Condensed Statements of Operations.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>Note 10. &nbsp;<I>Investments </I></B></P>

<P STYLE="font: 12pt Courier New, Courier, Monospace; margin: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The following table summarizes the equity method
investment at April 30, 2017 and January 31, 2017 (dollars in thousands):</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="border-bottom: Black 1px solid">Entity</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="border-bottom: Black 1px solid; text-align: right">Ownership Percentage</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="border-bottom: Black 1px solid; text-align: right">Carrying Amount &nbsp;April 30, 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="border-bottom: Black 1px solid; text-align: right">Carrying Amount January 31, 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD nowrap STYLE="width: 6%; text-align: left">Big River</TD><TD STYLE="width: 54%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 7%; text-align: right">9.7</TD><TD STYLE="width: 1%; text-align: left">%</TD><TD STYLE="width: 4%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 11%; text-align: right">38,533</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 4%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 11%; text-align: right">37,833</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
</TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt; text-align: justify">Undistributed earnings of the equity method investee
totaled approximately $18.5 million and $17.8 million at April 30, 2017 and January 31, 2017, respectively. The Company did not
receive dividends from its equity method investee in the first quarter of fiscal year 2017 or 2016.</P>


<!-- Field: Page; Sequence: 15; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->15<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Summarized financial information for the Company&rsquo;s
equity method investee is presented in the following table for the periods presented (amounts in thousands):</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 60%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">Three Months Ended<BR> April 30,</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2016</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 72%; text-align: left">Net sales and revenue</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">192,500</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">183,571</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Gross profit</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">8,181</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">5,870</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">Income from continuing operations</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">7,206</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">2,404</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Net income</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">7,206</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">2,404</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
</TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Big River has debt agreements that limit amounts
Big River can pay in the form of dividends or advances to owners. The restricted net assets of Big River at April 30, 2017 and
January 31, 2017 are approximately $284.7 million and $278.7 million, respectively.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">On June 1, 2015, Patriot and a subsidiary of
CHS Inc. (&ldquo;CHS&rdquo;) completed a merger that resulted in CHS acquiring 100% of the ownership interest in Patriot. During
the first quarter of fiscal year 2016, the Company received proceeds of approximately $2.3 million as partial payment for certain
escrow holdbacks and adjustments to the purchase price. As a result, the Company recognized approximately $0.2 million as gain
on sale of investment during the first quarter of fiscal year 2016. The Company does not expect any further proceeds or gain/loss
on sale of investment to be significant.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>Note 11.&nbsp; <I>Employee Benefits</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>&nbsp;</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt; text-align: justify">The Company maintains the REX 2015 Incentive
Plan, approved by its shareholders, which reserves a total of 550,000 shares of common stock for issuance pursuant to its terms.
The plan provides for the granting of shares of stock, including options to purchase shares of common stock, stock appreciation
rights tied to the value of common stock, restricted stock, and restricted stock unit awards to eligible employees, non-employee
directors and consultants. The Company measures share-based compensation grants at fair value on the grant date, adjusted for estimated
forfeitures. The Company records noncash compensation expense related to liability and equity awards in its consolidated financial
statements over the requisite service period on a straight-line basis. At April 30, 2017, 525,330 shares remain available for issuance
under the Plan. As a component of their compensation, restricted stock has been granted to directors at the market price of REX
common stock on the date of the grant. In addition one third of executives&rsquo; incentive compensation is payable by an award
of restricted stock based on the then market price of REX common stock.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: left; text-indent: 0pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt; text-align: justify">At April 30, and January 31, 2017, unrecognized
compensation cost related to nonvested restricted stock was approximately $185,000 and $214,000, respectively.</P>


<!-- Field: Page; Sequence: 16; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->16<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The following table summarizes non-vested restricted
stock award activity for the three months ended April 30, 2017:</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 95%; font: 10pt Courier New, Courier, Monospace">
<TR STYLE="vertical-align: bottom">
    <TD NOWRAP STYLE="padding-bottom: 1px"><B>&nbsp;</B></TD><TD NOWRAP STYLE="font-family: Times New Roman, Times, Serif; padding-bottom: 1px"><B>&nbsp;</B></TD>
    <TD COLSPAN="2" NOWRAP STYLE="font-family: Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid"><B>Non-Vested
    <BR> Shares</B></TD><TD NOWRAP STYLE="font-family: Times New Roman, Times, Serif; padding-bottom: 1px"><B>&nbsp;</B></TD><TD NOWRAP STYLE="font-family: Times New Roman, Times, Serif; padding-bottom: 1px"><B>&nbsp;</B></TD>
    <TD COLSPAN="2" NOWRAP STYLE="font-family: Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid"><B>Weighted
    <BR>Average Grant<BR>Date Fair Value<BR>(000&rsquo;s)</B></TD><TD NOWRAP STYLE="font-family: Times New Roman, Times, Serif; padding-bottom: 1px"><B>&nbsp;</B></TD><TD NOWRAP STYLE="font-family: Times New Roman, Times, Serif; padding-bottom: 1px"><B>&nbsp;</B></TD>
    <TD COLSPAN="2" NOWRAP STYLE="font-family: Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid"><B>Weighted
    <BR> Average Remaining<BR>Vesting Term <BR> (in years)</B></TD><TD NOWRAP STYLE="font-family: Times New Roman, Times, Serif; padding-bottom: 1px"><B>&nbsp;</B></TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 56%; font-family: Times New Roman, Times, Serif">Non-Vested at January 31, 2017</TD><TD STYLE="width: 2%; font-family: Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="width: 10%; font-family: Times New Roman, Times, Serif; text-align: right">23,350</TD><TD STYLE="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="width: 2%; font-family: Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">$</TD><TD STYLE="width: 11%; font-family: Times New Roman, Times, Serif; text-align: right">1,386</TD><TD STYLE="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="width: 2%; font-family: Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="width: 11%; font-family: Times New Roman, Times, Serif; text-align: right">2</TD><TD STYLE="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="font-family: Times New Roman, Times, Serif">Granted</TD><TD STYLE="font-family: Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font-family: Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="font-family: Times New Roman, Times, Serif; text-align: right">&mdash;</TD><TD STYLE="font-family: Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="font-family: Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font-family: Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="font-family: Times New Roman, Times, Serif; text-align: right">&mdash;</TD><TD STYLE="font-family: Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="font-family: Times New Roman, Times, Serif">Forfeited</TD><TD STYLE="font-family: Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font-family: Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="font-family: Times New Roman, Times, Serif; text-align: right">&mdash;</TD><TD STYLE="font-family: Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="font-family: Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font-family: Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="font-family: Times New Roman, Times, Serif; text-align: right">&mdash;</TD><TD STYLE="font-family: Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">Vested</TD><TD STYLE="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid">&mdash;</TD><TD STYLE="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid">&mdash;</TD><TD STYLE="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="text-align: right; padding-bottom: 1px">&nbsp;</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">Non-Vested at April 30, 2017</TD><TD STYLE="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 3px double">&nbsp;</TD><TD STYLE="font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double">23,350</TD><TD STYLE="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double">1,386</TD><TD STYLE="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="font-family: Times New Roman, Times, Serif; text-align: right; padding-bottom: 3px">2</TD><TD STYLE="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&nbsp;</TD></TR>
</TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>Note 12<I>. &nbsp;Income Taxes</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The effective tax rate on consolidated pre-tax
income was 29.9% for the three months ended April 30, 2017, and 30.4% for the three months ended April 30, 2016.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company files a U.S. federal income tax return
and income tax returns in various states. In general, the Company is no longer subject to U.S. federal, state or local income tax
examinations by tax authorities for years ended January 31, 2010 and prior. A reconciliation of the beginning and ending</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">amount of unrecognized tax benefits, including interest and penalties,
is as follows (amounts in thousands):</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 86%">Unrecognized tax benefits, January 31, 2017</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">2,096</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Changes for prior years&rsquo; tax positions</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">147</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px">Changes for current year tax positions</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 1px">Unrecognized tax benefits, April 30, 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">$</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">2,243</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
</TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>Note 13. &nbsp;<I>Commitments and Contingencies</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B><I>&nbsp;</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company is involved in various legal actions
arising in the normal course of business. After taking into consideration legal counsels&rsquo; evaluations of such actions, management
is of the opinion that their outcome will not have a material adverse effect on the Company&rsquo;s Consolidated Condensed Financial
Statements.&#9;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">One Earth and NuGen have combined forward purchase
contracts for approximately 14.4 million bushels of corn, the principal raw material for their ethanol plants. They expect to take
delivery of the grain through September 2017.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">One Earth and NuGen have combined sales commitments
for approximately 113.6 million gallons of ethanol, approximately 53,000 tons of distillers grains and approximately 14.1 million
pounds of non-food grade corn oil. They expect to deliver the ethanol through December 2017 and expect to deliver the distillers
grains and non-food grade corn oil through June 2017.</P>
<!-- Field: Page; Sequence: 17; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->17<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 14. <I>Net Sales and Revenue</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table summarizes sales for
each product and service group for the periods presented (amounts in thousands):</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">Three Months Ended<BR> April 30,</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 10pt; border-bottom: Black 1px solid; background-color: White">Product or Service Category</TD><TD STYLE="padding-bottom: 1px; background-color: White">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid; background-color: White">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid; background-color: White">2017</TD><TD STYLE="text-align: left; padding-bottom: 1px; background-color: White">&nbsp;</TD><TD STYLE="padding-bottom: 1px; background-color: White">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid; background-color: White">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid; background-color: White">2016</TD><TD STYLE="text-align: left; padding-bottom: 1px; background-color: White">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 70%; text-indent: -10pt; padding-left: 10pt">Ethanol</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">91,472</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">77,631</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 10pt">Dried distillers grains</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">15,149</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">17,054</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 10pt">Non-food grade corn oil</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">4,593</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">3,846</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 10pt">Modified distillers grains</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,920</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,564</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-indent: -10pt; padding-left: 10pt; padding-bottom: 1px">Other</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">9</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">127</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-indent: -10pt; padding-left: 10pt; padding-bottom: 3px">Total</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">113,143</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">100,222</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD></TR>
</TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 15. <I>Related-Party Transactions</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">During the first quarters of fiscal year
2017 and 2016, One Earth and NuGen purchased approximately $42.3 million and approximately $44.4 million, respectively, of corn
from minority equity investors and board members of those subsidiaries. The Company had amounts payable to related parties for
corn purchases of approximately $1.1 million and $1.7 million at April 30, 2017 and January 31, 2017, respectively.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><BR>
<B><A NAME="x1_c88471a008"></A>Item 2. <I>Management&rsquo;s Discussion and Analysis of Financial Condition and Results of Operations</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">At April 30, 2017, we had equity investments
in three ethanol limited liability companies, two of which we have a majority ownership interest in. The following table is a summary
of ethanol gallons shipped at our plants:</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="font-weight: bold; text-align: center; border-top: Black 1px solid; border-bottom: Black 1px solid; border-left: Black 1px solid">Entity</TD>
    <TD STYLE="border-top: Black 1px solid; border-bottom: Black 1px solid; border-left: Black 1px solid; font-weight: bold; text-align: center">Trailing 12<BR> Months<BR> Ethanol<BR> Gallons<BR> Shipped</TD>
    <TD STYLE="border-top: Black 1px solid; border-bottom: Black 1px solid; border-left: Black 1px solid; font-weight: bold; text-align: center">REX&rsquo;s<BR> Current<BR> Effective<BR> Ownership<BR> Interest</TD>
    <TD STYLE="border: Black 1px solid; font-weight: bold; text-align: center">Current Effective<BR> Ownership of<BR> Trailing 12<BR> Months Ethanol<BR> Gallons Shipped</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 55%; text-align: left; border-bottom: Black 1px solid; padding-left: 5pt; border-left: Black 1px solid">One Earth Energy, LLC</TD>
    <TD STYLE="width: 15%; text-align: right; padding-right: 20pt; border-left: Black 1px solid; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">120.5 M</FONT></TD>
    <TD STYLE="width: 15%; text-align: right; padding-right: 10pt; border-left: Black 1px solid; border-bottom: Black 1px solid">75.0%</TD>
    <TD STYLE="width: 15%; text-align: right; padding-right: 10pt; border-left: Black 1px solid; border-bottom: Black 1px solid; border-right: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">90.4 M</FONT></TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; border-bottom: Black 1px solid; padding-left: 5pt; border-left: Black 1px solid">NuGen Energy, LLC</TD>
    <TD STYLE="text-align: right; padding-right: 20pt; border-left: Black 1px solid; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">131.0 M</FONT></TD>
    <TD STYLE="text-align: right; padding-right: 10pt; border-left: Black 1px solid; border-bottom: Black 1px solid">99.5%</TD>
    <TD STYLE="text-align: right; padding-right: 10pt; border-left: Black 1px solid; border-bottom: Black 1px solid; border-right: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">130.3 M</FONT></TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; border-left: Black 1px solid; padding-left: 5pt">Big River Resources, LLC:</TD>
    <TD STYLE="text-align: right; padding-right: 20pt; border-left: Black 1px solid">&nbsp;</TD>
    <TD STYLE="text-align: right; padding-right: 10pt; border-left: Black 1px solid">&nbsp;</TD>
    <TD STYLE="text-align: right; padding-right: 10pt; border-left: Black 1px solid; border-right: Black 1px solid">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; border-left: Black 1px solid; padding-left: 15pt">Big River Resources W Burlington, LLC</TD>
    <TD STYLE="text-align: right; padding-right: 20pt; border-left: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">107.3 M</FONT></TD>
    <TD STYLE="text-align: right; padding-right: 10pt; border-left: Black 1px solid">9.7%</TD>
    <TD STYLE="text-align: right; padding-right: 10pt; border-left: Black 1px solid; border-right: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">10.4 M</FONT></TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; border-left: Black 1px solid; padding-left: 15pt">Big River Resources Galva, LLC</TD>
    <TD STYLE="text-align: right; padding-right: 20pt; border-left: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">124.0 M</FONT></TD>
    <TD STYLE="text-align: right; padding-right: 10pt; border-left: Black 1px solid">9.7%</TD>
    <TD STYLE="text-align: right; padding-right: 10pt; border-left: Black 1px solid; border-right: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">12.0 M</FONT></TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; border-left: Black 1px solid; padding-left: 15pt">Big River United Energy, LLC</TD>
    <TD STYLE="text-align: right; padding-right: 20pt; border-left: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">128.6 M</FONT></TD>
    <TD STYLE="text-align: right; padding-right: 10pt; border-left: Black 1px solid">5.4%</TD>
    <TD STYLE="text-align: right; padding-right: 10pt; border-left: Black 1px solid; border-right: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">6.9 M</FONT></TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; border-bottom: Black 1px solid; border-left: Black 1px solid; padding-left: 15pt">Big River Resources Boyceville, LLC</TD>
    <TD STYLE="text-align: right; padding-right: 20pt; border-left: Black 1px solid; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">57.9 M</FONT></TD>
    <TD STYLE="text-align: right; padding-right: 10pt; border-left: Black 1px solid; border-bottom: Black 1px solid">9.7%</TD>
    <TD STYLE="text-align: right; padding-right: 10pt; border-left: Black 1px solid; border-bottom: Black 1px solid; border-right: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">5.6 M</FONT></TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="border-bottom: Black 1px solid; padding-left: 5pt; border-left: Black 1px solid">Total</TD>
    <TD STYLE="text-align: right; padding-right: 20pt; border-left: Black 1px solid; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">669.3 M</FONT></TD>
    <TD STYLE="text-align: right; padding-right: 10pt; border-left: Black 1px solid; border-bottom: Black 1px solid">&nbsp;</TD>
    <TD STYLE="text-align: right; padding-right: 10pt; border-left: Black 1px solid; border-bottom: Black 1px solid; border-right: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">255.6 M</FONT></TD></TR>
</TABLE>


<!-- Field: Page; Sequence: 18; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->18<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Our ethanol operations are highly dependent
on commodity prices, especially prices for corn, ethanol, distillers grains, non-food grade corn oil and natural gas. As a result
of price volatility for these commodities, our operating results can fluctuate substantially. The price and availability of corn
is subject to significant fluctuations depending upon a number of factors that affect commodity prices in general, including crop
conditions, weather, federal policy and foreign trade. Because the market price of ethanol is not always directly related to corn
prices (for example, crude and other energy prices can impact ethanol prices), at times ethanol prices may lag movements in corn
prices and, in an environment of higher corn prices or lower ethanol prices, reduce the overall margin structure at the plants.
As a result, at times, we may operate our plants at negative or marginally positive operating margins.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">We expect our ethanol plants to produce approximately
2.8 gallons of denatured ethanol for each bushel of grain processed in the production cycle. We refer to the actual gallons of
denatured ethanol produced per bushel of grain processed as the realized yield. We refer to the difference between the price per
gallon of ethanol and the price per bushel of grain (divided by the realized yield) as the &ldquo;crush spread&rdquo;. Should the
crush spread decline, it is possible that our ethanol plants will generate operating results that do not provide adequate cash
flows for sustained periods of time. In such cases, production at the ethanol plants may be reduced or stopped altogether in order
to minimize variable costs at individual plants. We also expect our ethanol plants to produce approximately 15.5 pounds of distillers
grains and 0.7 pounds of non-food grade corn oil for each bushel of grain processed.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">We attempt to manage the risk related to
the volatility of commodity prices by utilizing forward grain purchase and forward ethanol, distillers grains and corn oil sale
contracts and commodity futures agreements as management deems appropriate. We attempt to match quantities of these sale contracts
with an appropriate quantity of grain purchase contracts over a given period of time when we can obtain an adequate gross margin
resulting from the crush spread inherent in the contracts we have executed. However, the market for future ethanol sales contracts
generally lags the spot market with respect to ethanol price. Consequently, we generally execute fixed price contracts for no more
than four months into the future at any given time and we may lock in our corn or ethanol price without having a corresponding
locked in ethanol or corn price for short durations of time. As a result of the relatively short period of time our fixed price
contracts cover, we generally cannot predict the future movements in the crush spread for more than four months; thus, we are unable
to predict the likelihood or amounts of future income or loss from the operations of our ethanol facilities. We utilize derivative
financial instruments, primarily exchange traded commodity future contracts, in conjunction with certain of our grain procurement
activities.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Future Energy</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">During fiscal year 2013, we entered into
a joint venture with Hytken HPGP, LLC (&ldquo;Hytken&rdquo;) to file and defend patents for eSteam technology relating to heavy
oil and oil sands production methods, and to commercially exploit the technology to generate license fees, royalty income and development
opportunities. The patented technology is an enhanced method of heavy oil recovery involving zero emissions downhole steam generation.
We own 60% and Hytken owns 40% of the entity named Future Energy, LLC.</P>

<!-- Field: Page; Sequence: 19; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->19<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">We have agreed to fund direct patent expenses
relating to patent applications and defense, annual annuity fees and maintenance on a country by country basis, with the right
to terminate funding and transfer related patent rights to Hytken. We may also fund, through loans, all costs relating to new intellectual
property, consultants, and future research and development, pilot field tests and equipment purchases for commercialization stage
of the patents. To date, we have paid approximately $1.7 million cumulatively for our ownership interest, patent and other expenses.
We have not tested or proven the commercial feasibility of the technology.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Critical Accounting Policies and Estimates</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">During the three months ended April 30, 2017,
we did not change any of our critical accounting policies as disclosed in our 2016 Annual Report on Form 10-K as filed with the
Securities and Exchange Commission on March 27, 2017.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Fiscal Year</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">All references in this report to a particular
fiscal year are to REX&rsquo;s fiscal year ended January 31. For example, &ldquo;fiscal year 2017&rdquo; means the period February 1, 2017
to January 31, 2018.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Results of Operations</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 36pt 0pt 0"><B>Comparison of Three Months Ended April 30, 2017
and 2016</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 36pt 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 72pt; text-indent: -36pt">The following table summarizes
selected data from our consolidated operations for the periods presented:</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 72pt; text-indent: -36pt">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">Three Months Ended</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">April 30,</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2016</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 66%; text-indent: -10pt; padding-left: 10pt">Average selling price per gallon of ethanol</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">1.44</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">1.32</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 10pt">Gallons of ethanol sold (in millions)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">63.3</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">58.7</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-indent: -10pt; padding-left: 10pt">Average selling price per ton of dried distillers grains</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">100.06</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">125.29</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 10pt">Tons of dried distillers grains sold</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">151,402</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">136,121</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-indent: -10pt; padding-left: 10pt">Average selling price per pound of non-food grade corn oil</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">0.28</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">0.24</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 10pt">Pounds of non-food grade corn oil sold (in millions)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">16.6</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">15.7</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-indent: -10pt; padding-left: 10pt">Average selling price per ton of modified distillers grains</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">41.91</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">59.82</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 10pt">Tons of modified distillers grains sold</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">45,802</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">26,147</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-indent: -10pt; padding-left: 10pt">Average cost per bushel of grain</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">3.47</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">3.52</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-indent: -10pt; padding-left: 10pt">Average cost of natural gas (per mmbtu)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">3.74</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">3.22</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
</TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Net sales and revenue in the quarter ended
April 30, 2017 were approximately $113.1 million compared to approximately $100.2 million in the prior year&rsquo;s first quarter,
representing an increase of approximately $12.9 million.</P>

<!-- Field: Page; Sequence: 20; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->20<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table summarizes sales of our
consolidated operations for each major product and service group for the periods presented (amounts in thousands):</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">Three Months Ended</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">April 30,</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="border-bottom: Black 1px solid">Product Category</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2016</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 70%; text-indent: -10pt; padding-left: 10pt">Ethanol</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">91,472</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">77,631</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 10pt">Dried distillers grains</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">15,149</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">17,054</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 10pt">Non-food grade corn oil</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">4,593</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">3,846</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 10pt">Modified distillers grains</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,920</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,564</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-indent: -10pt; padding-left: 10pt; padding-bottom: 1px">Other</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">9</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">127</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-indent: -10pt; padding-left: 10pt; padding-bottom: 3px">Total</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">113,143</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">100,222</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD></TR>
</TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Ethanol sales increased from approximately
$77.6 million in the first quarter of fiscal year 2016 to approximately $91.5 million in the first quarter of fiscal year 2017,
primarily a result of a $0.12 increase in the price per gallon sold and an increase of 4.6 million gallons sold. Dried distillers
grains sales decreased from approximately $17.1 million in the first quarter of fiscal year 2016 to approximately $15.1 million
in the first quarter of fiscal year 2017, primarily a result of a $25.23 decline in the price per ton sold. The decline in selling
price was partially offset by an 11% increase in tons sold. Management believes the decline in the selling price results primarily
from the ongoing uncertainty of Chinese imports of domestic dried distillers grains as the China Ministry of Commerce had announced
an anti-dumping and countervailing duty investigation in January 2016 and has imposed an anti-dumping tariff and a countervailing
duty on U.S. dried distillers grains exports to China. In a final ruling in January 2017, China increased the dried distillers
grains anti-dumping duty to a range of 42.2% up to 53.7% and the dried distillers grains countervailing duty to a range of 11.2%
up to 12.0%. Non-food grade corn oil sales increased from approximately $3.8 million in the first quarter of fiscal year 2016 to
approximately $4.6 million in the first quarter of fiscal year 2017, primarily a result of a $0.04 increase in the price per pound
sold. Modified distillers grains sales increased from approximately $1.6 million in the first quarter of fiscal year 2016 to approximately
$1.9 million in the first quarter of fiscal year 2017, primarily a result of a 75% increase in tons sold which was partially offset
by a decline of $17.91 in the price per ton sold.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">We expect that sales in future periods will
be based upon the following (One Earth and NuGen only):</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Courier New, Courier, Monospace; width: 100%; border-collapse: collapse">
<TR>
    <TD STYLE="vertical-align: top; width: 28%; padding-left: 10pt; layout-grid-mode: line; text-indent: -10pt"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Product</FONT></TD>
    <TD STYLE="vertical-align: bottom; width: 75%; layout-grid-mode: line"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Annual Sales Quantity</FONT></TD></TR>
<TR>
    <TD STYLE="vertical-align: top; padding-left: 10pt; layout-grid-mode: line; text-indent: -10pt">&nbsp;</TD>
    <TD STYLE="vertical-align: bottom; layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; layout-grid-mode: line; text-indent: -10pt"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Ethanol</FONT></TD>
    <TD STYLE="layout-grid-mode: line"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">250 million to 275 million gallons</FONT></TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; layout-grid-mode: line; text-indent: -10pt"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Dried distillers grains</FONT></TD>
    <TD STYLE="layout-grid-mode: line"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">580,000 to 640,000 tons</FONT></TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; layout-grid-mode: line; text-indent: -10pt"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Non-food grade corn oil</FONT></TD>
    <TD STYLE="layout-grid-mode: line"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">65 million to 75 million pounds</FONT></TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; layout-grid-mode: line; text-indent: -10pt"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Modified distillers grains</FONT></TD>
    <TD STYLE="layout-grid-mode: line"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">160,000 to 180,000 tons</FONT></TD></TR>
</TABLE>

<!-- Field: Page; Sequence: 21; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->21<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">This expectation assumes that One Earth and
NuGen will continue to operate at or near historical production levels, which is dependent upon the crush spread realized. NuGen
has received the EPA pathway approval and has permits to increase its production levels to 150 million gallons annually. One Earth
has received the EPA pathway approval and has permits to increase its production levels to 131 million gallons annually. We are
working on debottlenecking the plants and plan to increase production levels over time dependent on industry conditions, plant
profitability and the completion of capacity expansion projects. We may vary the amounts of dried and modified distillers grains
production, and resulting sales, based upon market conditions.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Gross profit for the first quarter of fiscal
year 2017 was approximately $12.5 million (11.0% of net sales and revenue) which was approximately $4.1 million higher compared
to approximately $8.4 million of gross profit (8.4% of net sales and revenue) for the first quarter of fiscal year 2016. The crush
spread for the first quarter of fiscal year 2017 was approximately $0.23 per gallon of ethanol sold compared to the first quarter
of fiscal year 2016 which was approximately $0.10 per gallon of ethanol sold. The decline of approximately $1.9 million in sales
of dried distillers grain compared to the first quarter of fiscal year 2016 negatively affected gross profit. Management believes
this decline results primarily from the continued uncertainty regarding future Chinese imports of domestic distillers grains. Grain
accounted for approximately 77% ($77.7 million) of our cost of sales during the first quarter of fiscal year 2017 compared to approximately
78% ($71.1 million) during the first quarter of fiscal year 2016. Natural gas accounted for approximately 6% ($6.0 million) of
our cost of sales during the first quarter of fiscal year 2017 compared to approximately 5% ($5.0 million) during the first quarter
of fiscal year 2016.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 4.5pt 0pt 0; text-indent: 36pt">We attempt to match quantities
of ethanol, distillers grains and non-food grade corn oil sale contracts with an appropriate quantity of grain purchase contracts
over a given period of time when we can obtain a satisfactory margin resulting from the crush spread inherent in the contracts
we have executed. However, the market for future ethanol sales contracts generally lags the spot market with respect to ethanol
price. Consequently, we generally execute fixed price sales contracts for no more than four months into the future at any given
time and we may lock in our corn or ethanol price without having a corresponding locked in ethanol or corn price for short durations
of time. As a result of the relatively short period of time our contracts cover, we generally cannot predict the future movements
in the crush spread for more than four months. Based on existing contracts at the end of the first quarter of fiscal year 2017,
none of our forecasted ethanol, approximately 7% of our forecasted distillers grains and approximately 19% of our forecasted non-food
grade corn oil production during the next 12 months have been sold under fixed-price contracts. The effect of a 10% adverse change
in the price of ethanol, distillers grains and non-food grade corn oil from the current pricing would result in a decrease in annual
revenues of approximately $48.6 million for the remaining forecasted sales. Similarly, approximately 1% of our estimated corn usage
for the next 12 months was subject to fixed-price contracts. The effect of a 10% adverse change in the price of corn from the current
pricing would result in an increase in annual cost of goods sold of approximately $33.1 million for the remaining forecasted grain
purchases. None of our estimated natural gas usage for the next 12 months was subject to fixed-price contracts. The effect of a
10% adverse change in the price of natural gas from the current pricing would result in an increase in annual cost of goods sold
of approximately $2.3 million for the remaining forecasted natural gas purchases.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 4.5pt 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Selling, general and administrative expenses
for the first quarter of fiscal year 2017 were approximately $5.4 million, compared to approximately $4.0 million for the first
quarter of fiscal year 2016. The quarterly increase is primarily related to higher rail car lease charges as our fleet of rail
cars ages and requires more repairs. In addition, increases in professional fees which are attributable to general corporate activities
and increases in incentive compensation which is consistent with the higher profitability in the first quarter of fiscal year 2017
compared to the first quarter of fiscal year 2016 also contributed to higher selling, general and administrative expenses
in fiscal year 2017. We expect selling, general and administrative expenses to remain consistent with fiscal year 2016 results
in future periods, with the exception of variability of incentive compensation which is based upon Company profitability.</P>

<!-- Field: Page; Sequence: 22; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->22<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->


<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">During the first quarters of fiscal years
2017 and 2016, we recognized income of approximately $0.7 million and $0.2 million, respectively, from our equity investment. Big
River has interests in four ethanol production plants and has an effective ownership of ethanol gallons shipped in the trailing
twelve months ended April 30, 2017 of approximately 354 million gallons. Big River&rsquo;s results in fiscal year 2017 have been
positively impacted from higher crush spreads similar to our consolidated operations. Due to the inherent volatility of commodity
prices within the ethanol industry, we cannot predict the likelihood of future operating results from Big River being similar to
historical results.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">On June 1, 2015 Patriot and a subsidiary
of CHS Inc. (&ldquo;CHS&rdquo;) completed a merger that resulted in CHS acquiring 100% of the ownership interest in Patriot. During
the first quarter of fiscal year 2016, we received proceeds of approximately $2.3 million as partial payment for certain escrow
holdbacks and adjustments to the purchase price related to the merger between Patriot and CHS. As a result, we recognized approximately
$0.2 million as gain on sale of investment during the first quarter of fiscal year 2016. We do not expect any further proceeds
or gain/loss on sale of investment to be significant.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Interest and other income was insignificant
for the first quarters of fiscal years 2017 and 2016. We expect interest and other income to remain consistent with fiscal year
2016 levels for the remainder of fiscal year 2017.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">As a result of the foregoing, income before
income taxes was approximately $8.0 million for the first quarter of fiscal year 2017 versus approximately $5.0 million for the
first quarter of fiscal year 2016.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Our effective tax rate was approximately
29.9% in the first quarter of fiscal year 2017, consistent with the 30.4% in the first quarter of fiscal year 2016. We expect our
effective tax rate to approximate 28% - 32% (gross of noncontrolling interests) in future periods.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">As a result of the foregoing, net income
was approximately $5.6 million for the first quarter of fiscal year 2017 versus approximately $3.5 million for the first quarter
of fiscal year 2016.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Income related to noncontrolling interests
was approximately $1.1 million and approximately $0.6 million during the first quarters of fiscal years 2017 and 2016, respectively.
These amounts represent the owners&rsquo; (other than us) share of the income or loss of NuGen, One Earth and Future Energy.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">As a result of the foregoing, net income
attributable to REX common shareholders for the first quarter of fiscal year 2017 was approximately $4.5 million, an increase of
approximately $1.7 million from approximately $2.8 million for the first quarter of fiscal year 2016. The increase over fiscal
year 2016 results is primarily related to improved operating results consistent with changes in the crush spread during the first
quarter of fiscal year 2017 compared to the first quarter of fiscal year 2016.</P>

<!-- Field: Page; Sequence: 23; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->23<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Liquidity and Capital Resources </B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Net cash provided by operating activities
was approximately $8.8 million for the first quarter of fiscal year 2017, compared to net cash used in operating activities of
approximately $5.7 million for the first quarter of fiscal year 2016. For the first quarter of fiscal year 2017, cash was provided
by net income of approximately $5.6 million, adjusted for non-cash items of approximately $4.4 million, which consisted of depreciation
and amortization, income from equity method investments, the deferred income tax provision and stock based compensation expense.
A decrease in the balance of accounts receivable provided cash of approximately $2.7 million, which was primarily a result of the
timing of customer shipments and payments. An increase in the balance of inventories used cash of approximately $3.4 million, which
was primarily a result of the timing of receipt of raw materials as we took advantage of purchasing opportunities that existed
during the first quarter of fiscal year 2017. A decrease in the balance of accounts payable used cash of approximately $1.3 million,
which was primarily a result of the timing of inventory receipts and vendor payments. An increase in the balance of other current
liabilities provided cash of approximately $0.7 million which was primarily a result of higher accruals for our income tax provision
and for repairs to leased rail cars.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Net cash used in operating activities was
approximately $5.7 million for the first quarter of fiscal year 2016. For the first quarter of fiscal year 2016, cash was provided
by net income of approximately $3.5 million and adjustments of approximately $4.4 million, which consist of depreciation, impairment
charges and amortization, income from equity method investments and gain on sale of investment. An increase in the balance of accounts
receivable used cash of approximately $1.8 million, which was primarily a result of the timing of customer shipments and payments.
An increase in the balance of inventories used cash of approximately $8.6 million, which was primarily a result of the timing of
receipt of raw materials as we took advantage of purchasing opportunities that existed during the first quarter of fiscal year
2016. A decrease in the balance of accounts payable used cash of approximately $2.3 million, which was primarily a result of the
timing of inventory receipts and vendor payments. Other liabilities decreased approximately $2.5 million, which was primarily a
result of the payments of accrued payroll and incentive compensation balances.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">At April 30, 2017, working capital was approximately
$206.5 million, compared to approximately $204.0 million at January 31, 2017. The ratio of current assets to current liabilities
was 10.0 to 1 at April 30, 2017 and 10.1 at January 31, 2017.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Cash of approximately $5.8 million was used
in investing activities for the first quarter of fiscal year 2017, compared to approximately $2.7 million during the first quarter
of fiscal year 2016. During the first quarter of fiscal year 2017, we had capital expenditures of approximately $5.9 million, the
majority of which was plant capacity expansion projects at the One Earth and NuGen ethanol plants. We expect to spend between $15.0
million and $25.0 million during the remainder of fiscal year 2017 on various capital projects.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Cash of approximately $2.7 million was used
in investing activities for the first quarter of fiscal year 2016. During the first quarter of fiscal year 2016, we had capital
expenditures of approximately $4.5 million, primarily related to improvements at the One Earth and NuGen ethanol plants. During
the first quarter of fiscal year 2016, restricted cash increased approximately $0.5 million as a result of increased hedging activities.
During the first quarter of fiscal year 2016, we received approximately $2.3 million as partial payment for certain escrow holdbacks
and adjustments to the purchase price related to the sale of our equity investment in Patriot.</P>

<!-- Field: Page; Sequence: 24; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->24<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Cash used in financing activities totaled
approximately $5.0 million for the first quarter of fiscal year 2016. During the first quarter of fiscal year 2016, we used cash
of approximately $4.7 million to purchase approximately 95,000 shares of our common stock in open market transactions. During the
first quarter of fiscal year 2016, we used cash of approximately $0.3 million to purchase shares from noncontrolling members of
One Earth.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">We are investigating various uses of our
excess cash. We have a stock buyback program, and given our current authorization level, can repurchase a <FONT STYLE="color: black">total
of approximately 155,000 shares. </FONT>We also plan to seek and evaluate other investment opportunities including organic plant
expansion, other energy related, agricultural or other ventures we believe fit our investment criteria.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Effective April 1, 2016, One Earth and NuGen
each entered into $10.0 million revolving loan facilities that matured April 1, 2017. Neither One Earth nor NuGen had outstanding
borrowings on the revolving loans during the three months ended April 30, 2017. One Earth and NuGen expect to renew the revolving
loan facilities during the second quarter of fiscal year 2017.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Forward-Looking Statements</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">This Form 10-Q contains or may contain forward-looking
statements as defined in the Private Securities Litigation Reform Act of 1995. Such statements can be identified by use of forward-looking
terminology such as &ldquo;may,&rdquo; &ldquo;expect,&rdquo; &ldquo;believe,&rdquo; &ldquo;estimate,&rdquo; &ldquo;anticipate&rdquo;
or &ldquo;continue&rdquo; or the negative thereof or other variations thereon or comparable terminology. Readers are cautioned
that there are risks and uncertainties that could cause actual events or results to differ materially from those referred to in
such forward-looking statements. These risks and uncertainties include the risk factors set forth from time to time in the Company&rsquo;s
filings with the Securities and Exchange Commission and include among other things: the impact of legislative changes, the price
volatility and availability of corn, distillers grains, ethanol, non-food grade corn oil, gasoline, natural gas, ethanol plants
operating efficiently and according to forecasts and projections, changes in the national or regional economies, weather and the
effects of terrorism or acts of war. The Company does not intend to update publicly any forward-looking statements except as required
by law. Other factors that could cause actual results to differ materially from those in the forward-looking statements are set
forth in Item 1A of the Company&rsquo;s Annual Report on Form 10-K for the fiscal year ended January 31, 2017 (File No. 001-09097).</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B><A NAME="x1_c88471a009"></A>Item 3. <I>Quantitative and Qualitative Disclosures About
Market Risk</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 27.5pt">We are exposed to the impact of market
fluctuations associated with commodity prices as discussed below.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 27.5pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 27.5pt">We manage a portion of our risk with respect
to the volatility of commodity prices inherent in the ethanol industry by using forward purchase and sale contracts. At April 30,
2017, One Earth and NuGen combined have forward purchase contracts for approximately 14.4 million bushels of corn, the principal
raw material for their ethanol plants. One Earth and NuGen expect to take delivery of the corn through September 2017. At April
30, 2017, One Earth and NuGen have combined sales commitments for approximately 113.6 million gallons of ethanol, approximately
53,000 tons of distillers grains and approximately 14.1 million pounds of non-food grade corn oil. One Earth and NuGen expect to
deliver the ethanol, distillers grains and non-food grade corn oil through December 2017. None of our forecasted</P>

<!-- Field: Page; Sequence: 25; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->25<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">ethanol sales during the next 12 months have been sold under
fixed-price contracts. As a result, the effect of a 10% adverse move in the price of ethanol from the current pricing would result
in a decrease in annual revenues of approximately $40.7 million. Approximately 7% of our forecasted distillers grains sales during
the next 12 months have been sold under fixed-price contracts. As a result, the effect of a 10% adverse move in the price of distillers
grains from the current pricing would result in a decrease in annual revenues of approximately $6.2 million. Approximately 19%
of our forecasted non-food grade corn oil sales during the next 12 months have been sold under fixed-price contracts. As a result,
the effect of a 10% adverse move in the price of non-food grade corn oil from the current pricing would result in a decrease in
annual revenues of approximately $1.7 million. Similarly, approximately 1% of our estimated corn usage for the next 12 months was
subject to fixed-price contracts. As a result, the effect of a 10% adverse move in the price of corn from the current pricing would
result in an increase in annual cost of goods sold of approximately $33.1 million. None of our estimated natural gas usage for
the next 12 months was subject to fixed-price contracts. As a result, the effect of a 10% adverse move in the price of natural
gas from the current pricing would result in an increase in annual cost of goods sold of approximately $2.3 million.<FONT STYLE="color: red">
</FONT></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify"><B><A NAME="x1_c88471a010"></A>Item 4. <I>Controls and Procedures</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Our management evaluated, with the participation
of our Chief Executive Officer and Chief Financial Officer, the effectiveness of our disclosure controls and procedures, as of
the end of the period covered by this report. Based on that evaluation, the Chief Executive Officer and Chief Financial Officer
concluded that our disclosure controls and procedures are effective to ensure that information required to be disclosed by us in
the reports that we file or submit under the Securities Exchange Act of 1934 is recorded, processed, summarized and reported within
the time periods specified in the Securities and Exchange Commission&rsquo;s rules and forms and is accumulated and communicated
to our management, including our Chief Executive Officer and Chief Financial Officer, as appropriate, to allow timely decisions
regarding required disclosure.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">There were no changes in our internal control
over financial reporting that occurred during our last fiscal quarter that have materially affected, or are reasonably likely to
materially affect, our internal control over financial reporting.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B><A NAME="x1_c88471a011"></A>PART II. OTHER INFORMATION</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Item 1. <I><A NAME="x1_c88471a012"></A>Legal Proceedings</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">We are not party to any legal proceedings
that we believe would, individually or in the aggregate, have a material adverse effect on our financial condition, results of
operations or cash flows.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Item 1A. <I><A NAME="x1_c88471a013"></A>Risk Factors </I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">During the quarter ended April 30, 2017,
there have been no material changes to the risk factors discussed in our Annual Report on Form 10-K for the year ended January
31, 2017.</P>

<!-- Field: Page; Sequence: 26; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->26<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Item 2. <I><A NAME="x1_c88471a014"></A>Unregistered Sales of Equity Securities and Use
of Proceeds</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><U>Dividend Policy</U></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">REX did not pay dividends in the current
or prior years. We currently have no restrictions on the payment of dividends. Our consolidated and unconsolidated ethanol subsidiaries
have certain restrictions on their ability to pay dividends to us. During the first three months of fiscal year 2017, neither One
Earth nor NuGen paid dividends.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Item 3. <I><A NAME="x1_c88471a015"></A>Defaults upon Senior Securities</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><FONT STYLE="color: black">Not </FONT>Applicable</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Item 4. <I><A NAME="x1_c88471a016"></A>Mine Safety Disclosures</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Not Applicable</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Item 5. <I><A NAME="x1_c88471a017"></A>Other Information</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">None</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Item 6. <I><A NAME="x1_c88471a018"></A>Exhibits</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify">The following exhibits are filed
with this report:</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" WIDTH="100%" STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt"><TR STYLE="vertical-align: top">
<TD STYLE="width: 49.5pt"></TD><TD STYLE="width: 40.5pt">&nbsp;&nbsp;31</TD><TD STYLE="text-align: justify">Rule 13a-14(a)/15d-14(a) Certifications</TD></TR></TABLE>

<P STYLE="margin-top: 0pt; margin-bottom: 0pt; font: 10pt Times New Roman, Times, Serif">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" WIDTH="100%" STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt"><TR STYLE="vertical-align: top">
<TD STYLE="width: 49.5pt"></TD><TD STYLE="width: 40.5pt">&nbsp;&nbsp;32</TD><TD STYLE="text-align: justify">Section 1350 Certifications</TD></TR></TABLE>

<P STYLE="margin-top: 0pt; margin-bottom: 0pt; font: 10pt Times New Roman, Times, Serif">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" WIDTH="100%" STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt"><TR STYLE="vertical-align: top">
<TD STYLE="width: 49.5pt"></TD><TD STYLE="width: 40.5pt"><FONT STYLE="color: black">101</FONT></TD><TD STYLE="text-align: justify"><FONT STYLE="color: black">The following information from REX American Resources Corporation Quarterly
Report on Form 10-Q for the quarter ended April</FONT> 30,<FONT STYLE="color: black"> 2017, formatted in XBRL: (i) Consolidated
Condensed Balance Sheets, (ii) Consolidated Condensed Statements of Operations, (iii) Consolidated Condensed Statements of Equity,
(iv) Consolidated Condensed Statements of Cash Flows and (v) Notes to Consolidated Condensed Financial Statements.</FONT></TD></TR></TABLE>

<!-- Field: Page; Sequence: 27; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->27<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>SIGNATURES</B></P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Pursuant to the requirements of the Securities
Exchange Act of 1934, the registrant has duly caused this report to be signed on its behalf by the undersigned, thereunto duly
authorized.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0; width: 100%"><TR STYLE="vertical-align: top; text-align: justify">
<TD STYLE="width: 50%; text-align: right">&nbsp;</TD><TD STYLE="text-align: justify; width: 50%">REX American Resources Corporation <BR>
Registrant</TD>
</TR></TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0"></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 216pt">&nbsp;</P>

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Courier New, Courier, Monospace; width: 100%; border-collapse: collapse">
<TR>
    <TD STYLE="vertical-align: top; width: 30%; border-bottom: Black 1px solid; layout-grid-mode: line; text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black"><B>Signature</B></FONT></TD>
    <TD STYLE="width: 5%; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="vertical-align: bottom; width: 30%; layout-grid-mode: line; text-align: center; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black"><B>Title</B></FONT></TD>
    <TD STYLE="width: 5%; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="vertical-align: bottom; width: 30%; layout-grid-mode: line; text-align: center; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black"><B>Date</B></FONT></TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="layout-grid-mode: line; text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif; text-underline-style: dotted; color: black">&nbsp;</FONT></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="border-bottom: Black 1px solid; layout-grid-mode: line; text-align: center">
    <FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black">/s/ Zafar Rizvi</FONT>
</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line; text-align: left"><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black">Chief
Executive Officer and President</FONT></TD>
    <TD>&nbsp;</TD>
    <TD>
        &nbsp;

</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="layout-grid-mode: line; text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black">(Zafar Rizvi)</FONT></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line; text-align: left; padding-left: 10pt"><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black">(Chief Executive Officer)</FONT></TD>
    <TD>&nbsp;</TD>
    <TD><P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">June 1, 2017</P></TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="layout-grid-mode: line; text-align: center">&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line; text-align: center">&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="border-bottom: Black 1px solid; layout-grid-mode: line; text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black">/s/ Douglas L. Bruggeman</FONT></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line; text-align: left"><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black">Vice President, Finance and Treasurer </FONT></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line; text-align: center"></TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="layout-grid-mode: line; text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black">(Douglas L. Bruggeman)</FONT></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line; text-align: left; padding-left: 10pt"><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black">(Chief Financial Officer)</FONT></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line; text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black">June 1, 2017</FONT></TD></TR>
</TABLE>

<!-- Field: Page; Sequence: 28; Value: 2 -->
    <DIV STYLE="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->28<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->


</BODY>
</HTML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-31
<SEQUENCE>2
<FILENAME>c88471_ex31.htm
<TEXT>
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>

<P STYLE="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: right"><B>Exhibit 31</B></P>

<P STYLE="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: right">&nbsp;</P>

<P STYLE="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">CERTIFICATIONS</P>

<P STYLE="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">I, Zafar Rizvi, certify that:</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 4.3pt; text-indent: 31.7pt">1. I have reviewed this quarterly
report on Form 10-Q of REX American Resources Corporation;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 4.3pt; text-indent: 31.7pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">2. Based on my knowledge, this report does
not contain any untrue statement of a material fact or omit to state a material fact necessary to make the statements made, in
light of the circumstances under which such statements were made, not misleading with respect to the period covered by this report;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">3. Based on my knowledge, the financial statements,
and other financial information included in this report, fairly present in all material respects the financial condition, results
of operations and cash flows of the registrant as of, and for, the periods presented in this report;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">4. The registrant&rsquo;s other certifying
officer and I are responsible for establishing and maintaining disclosure controls and procedures (as defined in Exchange Act Rules
13a-15(e) and 15d-15(e)) and internal control over financial reporting (as defined in Exchange Act Rule 13a-15(f) and 15d-15(f))
for the registrant and have:</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 18pt">(a) Designed such disclosure controls
and procedures, or caused such disclosure controls and procedures to be designed under our supervision, to ensure that material
information relating to the registrant, including its consolidated subsidiaries, is made known to us by others within those entities,
particularly during the period in which this report is being prepared;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 18pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 18pt">(b) Designed such internal control
over financial reporting, or caused such internal control over financial reporting to be designed under our supervision, to provide
reasonable assurance regarding the reliability of financial reporting and the preparation of financial statements for external
purposes in accordance with generally accepted accounting principles;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 18pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 18pt">(c) Evaluated the effectiveness
of the registrant&rsquo;s disclosure controls and procedures and presented in this report our conclusions about the effectiveness
of the disclosure controls and procedures, as of the end of the period covered by this report based on such evaluation; and</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 18pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 18pt">(d) Disclosed in this report any
change in the registrant&rsquo;s internal control over financial reporting that occurred during the registrant&rsquo;s most recent
fiscal quarter (the registrant&rsquo;s fourth fiscal quarter in the case of an annual report) that has materially affected, or
is reasonably likely to materially affect, the registrant&rsquo;s internal control over financial reporting; and</P>

<!-- Field: Page; Sequence: 1 -->
    <DIV STYLE="margin-bottom: 6pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 12pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%">&nbsp;</TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->


<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">5. The registrant&rsquo;s other certifying
officer and I have disclosed, based on our most recent evaluation of internal control over financial reporting, to the registrant&rsquo;s
auditors and the audit committee of the registrant&rsquo;s board of directors (or persons performing the equivalent functions):</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 18pt">(a) All significant deficiencies
and material weaknesses in the design or operation of internal control over financial reporting which are reasonably likely to
adversely affect the registrant&rsquo;s ability to record, process, summarize and report financial information; and</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 18pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 18pt">(b) Any fraud, whether or not material,
that involves management or other employees who have a significant role in the registrant&rsquo;s internal control over financial
reporting.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 18pt">&nbsp;</P>

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Courier New, Courier, Monospace; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 52%; layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="width: 36%; layout-grid-mode: line"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Date: June 1, 2017</FONT></TD>
    <TD STYLE="width: 12%; layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">/s/ Zafar Rizvi</FONT></TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Zafar Rizvi</FONT></TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><I>Chief Executive Officer and President</I></FONT></TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
</TABLE>

<!-- Field: Page; Sequence: 2 -->
    <DIV STYLE="margin-bottom: 6pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 12pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%">&nbsp;</TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->


<P STYLE="font: bold 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; text-align: center">CERTIFICATIONS</P>

<P STYLE="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 180pt; text-align: left">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">I, Douglas L. Bruggeman, certify that:</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">1. I have reviewed this quarterly report
on Form 10-Q of REX American Resources Corporation;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">2. Based on my knowledge, this report does
not contain any untrue statement of a material fact or omit to state a material fact necessary to make the statements made, in
light of the circumstances under which such statements were made, not misleading with respect to the period covered by this report;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">3. Based on my knowledge, the financial statements,
and other financial information included in this report, fairly present in all material respects the financial condition, results
of operations and cash flows of the registrant as of, and for, the periods presented in this report;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">4. The registrant&rsquo;s other certifying
officer and I are responsible for establishing and maintaining disclosure controls and procedures (as defined in Exchange Act Rules
13a-15(e) and 15d-15(e)) and internal control over financial reporting (as defined in Exchange Act Rule 13a-15(f) and 15d-15(f))
for the registrant and have:</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 18pt">(a) Designed such disclosure controls
and procedures, or caused such disclosure controls and procedures to be designed under our supervision, to ensure that material
information relating to the registrant, including its consolidated subsidiaries, is made known to us by others within those entities,
particularly during the period in which this report is being prepared;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 18pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 18pt">(b) Designed such internal control
over financial reporting, or caused such internal control over financial reporting to be designed under our supervision, to provide
reasonable assurance regarding the reliability of financial reporting and the preparation of financial statements for external
purposes in accordance with generally accepted accounting principles;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 18pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 18pt">(c) Evaluated the effectiveness
of the registrant&rsquo;s disclosure controls and procedures and presented in this report our conclusions about the effectiveness
of the disclosure controls and procedures, as of the end of the period covered by this report based on such evaluation; and</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 18pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 18pt">(d) Disclosed in this report any
change in the registrant&rsquo;s internal control over financial reporting that occurred during the registrant&rsquo;s most recent
fiscal quarter (the registrant&rsquo;s fourth fiscal quarter in the case of an annual report) that has materially affected, or
is reasonably likely to materially affect, the registrant&rsquo;s internal control over financial reporting; and</P>

<!-- Field: Page; Sequence: 3 -->
    <DIV STYLE="margin-bottom: 6pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 12pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%">&nbsp;</TD></TR></TABLE></DIV>
    <DIV STYLE="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: left; width: 100%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->


<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">5. The registrant&rsquo;s other certifying
officer and I have disclosed, based on our most recent evaluation of internal control over financial reporting, to the registrant&rsquo;s
auditors and the audit committee of the registrant&rsquo;s board of directors (or persons performing the equivalent functions):</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 36pt">(a) All significant deficiencies
and material weaknesses in the design or operation of internal control over financial reporting which are reasonably likely to
adversely affect the registrant&rsquo;s ability to record, process, summarize and report financial information; and</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 36pt">(b) Any fraud, whether or not material,
that involves management or other employees who have a significant role in the registrant&rsquo;s internal control over financial
reporting.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 36pt">&nbsp;</P>

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Courier New, Courier, Monospace; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 52%; layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="width: 36%; layout-grid-mode: line"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Date: June 1, 2017</FONT></TD>
    <TD STYLE="width: 12%; layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">/s/ Douglas L. Bruggeman</FONT></TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Douglas L. Bruggeman</FONT></TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><I>Vice President, Finance, Treasurer and</I></FONT></TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><I>Chief Financial Officer</I></FONT></TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
</TABLE>

<!-- Field: Page; Sequence: 4 -->
    <DIV STYLE="margin-bottom: 6pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 12pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%">&nbsp;</TD></TR></TABLE></DIV>
    <!-- Field: /Page -->
</BODY>
</HTML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-32
<SEQUENCE>3
<FILENAME>c88471_ex32.htm
<TEXT>
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>

<P STYLE="font: italic bold 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: right"><FONT STYLE="font-style: normal"><B>Exhibit
32</B></FONT></P>

<P STYLE="font: italic bold 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: right">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>REX American Resources Corporation</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>CERTIFICATION PURSUANT TO 18 U.S.C. SECTION
1350, AS ADOPTED BY SECTION 906 <BR>
OF THE SARBANES-OXLEY ACT OF 2002</B></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The undersigned officers of REX American
Resources Corporation (the &ldquo;Company&rdquo;) hereby certify, to their knowledge, that the Company&rsquo;s Quarterly Report
on Form 10-Q for the period ended April 30, 2017 which this certificate accompanies, fully complies with the requirements of Section
13(a) or 15(d) of the Securities Exchange Act of 1934 and that the information contained therein fairly presents, in all material
respects, the financial condition and results of operations of the Company.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">A signed original of this written statement
required by Section 906, or other document authenticating, acknowledging, or otherwise adopting the signature that appears in typed
form within the electronic version of this written statement required by Section 906, has been provided to the Company and will
be retained by the Company and furnished to the Securities and Exchange Commission or its staff upon request.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Courier New, Courier, Monospace; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD><FONT STYLE="font: 10pt Times New Roman, Times, Serif">/s/ Zafar Rizvi</FONT></TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 35%; layout-grid-mode: line;"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Zafar Rizvi</FONT></TD>
    <TD STYLE="width: 65%; layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD NOWRAP STYLE="layout-grid-mode: line"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><I>Chief Executive Officer and President</I></FONT></TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">/s/ Douglas L. Bruggeman</FONT></TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line;"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Douglas L. Bruggeman</FONT></TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD NOWRAP STYLE="layout-grid-mode: line"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><I>Vice President, Finance, Treasurer and</I></FONT></TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><I>Chief Financial Officer</I></FONT></TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
</TABLE>
<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">Date: June 1, 2017</P>

<!-- Field: Page; Sequence: 1 -->
    <DIV STYLE="margin-bottom: 6pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 12pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: center; width: 100%">&nbsp;</TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

</BODY>
</HTML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.INS
<SEQUENCE>4
<FILENAME>rex-20170430.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->
<!-- Created: Wed May 31 10:58:17 EDT 2017 -->
<xbrl xmlns="http://www.xbrl.org/2003/instance" xmlns:xl="http://www.xbrl.org/2003/XLink" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:utr="http://www.xbrl.org/2009/utr" xmlns:iso4217="http://www.xbrl.org/2003/iso4217" xmlns:us-types="http://fasb.org/us-types/2017-01-31" xmlns:invest="http://xbrl.sec.gov/invest/2013-01-31" xmlns:compsci="http://compsciresources.com" xmlns:dei="http://xbrl.sec.gov/dei/2014-01-31" xmlns:us-gaap="http://fasb.org/us-gaap/2017-01-31" xmlns:xbrldi="http://xbrl.org/2006/xbrldi" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:rex="http://www.rexamerican.com/20170430" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
  <link:schemaRef xlink:type="simple" xlink:href="rex-20170430.xsd"/>
  <context id="c0_AsOf30Apr2017">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c1_AsOf31Jan2017">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <instant>2017-01-31</instant>
    </period>
  </context>
  <context id="c2_From1Feb2017To30Apr2017">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c3_From1Feb2016To30Apr2016">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-04-30</endDate>
    </period>
  </context>
  <context id="c4_AsOf31Jan2017_CommonStockMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-01-31</instant>
    </period>
  </context>
  <context id="c5_AsOf31Jan2017_TreasuryStockMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-01-31</instant>
    </period>
  </context>
  <context id="c6_AsOf31Jan2017_AdditionalPaidInCapitalMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-01-31</instant>
    </period>
  </context>
  <context id="c7_AsOf31Jan2017_RetainedEarningsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-01-31</instant>
    </period>
  </context>
  <context id="c8_AsOf31Jan2017_NoncontrollingInterestMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-01-31</instant>
    </period>
  </context>
  <context id="c9_From1Feb2017To30Apr2017_RetainedEarningsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c10_From1Feb2017To30Apr2017_NoncontrollingInterestMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c11_From1Feb2017To30Apr2017_TreasuryStockMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c12_From1Feb2017To30Apr2017_AdditionalPaidInCapitalMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c13_AsOf30Apr2017_CommonStockMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c14_AsOf30Apr2017_TreasuryStockMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c15_AsOf30Apr2017_AdditionalPaidInCapitalMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c16_AsOf30Apr2017_RetainedEarningsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c17_AsOf30Apr2017_NoncontrollingInterestMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c18_AsOf31Jan2016_CommonStockMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2016-01-31</instant>
    </period>
  </context>
  <context id="c19_AsOf31Jan2016_TreasuryStockMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2016-01-31</instant>
    </period>
  </context>
  <context id="c20_AsOf31Jan2016_AdditionalPaidInCapitalMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2016-01-31</instant>
    </period>
  </context>
  <context id="c21_AsOf31Jan2016_RetainedEarningsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2016-01-31</instant>
    </period>
  </context>
  <context id="c22_AsOf31Jan2016_NoncontrollingInterestMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2016-01-31</instant>
    </period>
  </context>
  <context id="c23_AsOf31Jan2016">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <instant>2016-01-31</instant>
    </period>
  </context>
  <context id="c24_From1Feb2016To30Apr2016_RetainedEarningsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-04-30</endDate>
    </period>
  </context>
  <context id="c25_From1Feb2016To30Apr2016_NoncontrollingInterestMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-04-30</endDate>
    </period>
  </context>
  <context id="c26_From1Feb2016To30Apr2016_TreasuryStockMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-04-30</endDate>
    </period>
  </context>
  <context id="c27_From1Feb2016To30Apr2016_AdditionalPaidInCapitalMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-04-30</endDate>
    </period>
  </context>
  <context id="c28_AsOf30Apr2016_CommonStockMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2016-04-30</instant>
    </period>
  </context>
  <context id="c29_AsOf30Apr2016_TreasuryStockMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2016-04-30</instant>
    </period>
  </context>
  <context id="c30_AsOf30Apr2016_AdditionalPaidInCapitalMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2016-04-30</instant>
    </period>
  </context>
  <context id="c31_AsOf30Apr2016_RetainedEarningsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2016-04-30</instant>
    </period>
  </context>
  <context id="c32_AsOf30Apr2016_NoncontrollingInterestMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2016-04-30</instant>
    </period>
  </context>
  <context id="c33_AsOf30Apr2016">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <instant>2016-04-30</instant>
    </period>
  </context>
  <context id="c34_AsOf31May2017">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <instant>2017-05-31</instant>
    </period>
  </context>
  <context id="c35_AsOf30Apr2017_ApproximateMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementScenarioAxis">rex:ApproximateMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c36_AsOf31Jan2017_ApproximateMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementScenarioAxis">rex:ApproximateMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-01-31</instant>
    </period>
  </context>
  <context id="c37_From1Feb2017To30Apr2017_BuildingAndBuildingImprovementsMember_MinimumMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:BuildingAndBuildingImprovementsMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="us-gaap:RangeAxis">us-gaap:MinimumMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c38_From1Feb2017To30Apr2017_BuildingAndBuildingImprovementsMember_MaximumMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:BuildingAndBuildingImprovementsMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="us-gaap:RangeAxis">us-gaap:MaximumMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c39_From1Feb2017To30Apr2017_FixturesAndEquipmentMember_MinimumMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">rex:FixturesAndEquipmentMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="us-gaap:RangeAxis">us-gaap:MinimumMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c40_From1Feb2017To30Apr2017_FixturesAndEquipmentMember_MaximumMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">rex:FixturesAndEquipmentMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="us-gaap:RangeAxis">us-gaap:MaximumMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c41_From1Feb2017To30Apr2017_CostOfSalesMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:CostOfSalesMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c42_AsOf30Apr2017_FairValueInputsLevel1Member">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c43_AsOf30Apr2017_FairValueInputsLevel2Member">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel2Member</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c44_AsOf30Apr2017_FairValueInputsLevel3Member">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel3Member</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c45_AsOf31Jan2017_FairValueInputsLevel1Member">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-01-31</instant>
    </period>
  </context>
  <context id="c46_AsOf31Jan2017_FairValueInputsLevel2Member">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel2Member</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-01-31</instant>
    </period>
  </context>
  <context id="c47_AsOf31Jan2017_FairValueInputsLevel3Member">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel3Member</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-01-31</instant>
    </period>
  </context>
  <context id="c48_From1Feb2017To30Apr2017_RevolvingCreditFacilityMember_OneEarthEnergyAndNuGenEnergyMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:CreditFacilityAxis">us-gaap:RevolvingCreditFacilityMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c49_AsOf30Apr2017_RevolvingCreditFacilityMember_OneEarthEnergyAndNuGenEnergyMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:CreditFacilityAxis">us-gaap:RevolvingCreditFacilityMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c50_AsOf30Apr2017_CommodityContractMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c51_AsOf31Jan2017_CommodityContractMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-01-31</instant>
    </period>
  </context>
  <context id="c52_AsOf30Apr2017_ForwardContractsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:ForwardContractsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c53_AsOf31Jan2017_ForwardContractsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:ForwardContractsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-01-31</instant>
    </period>
  </context>
  <context id="c54_From1Feb2017To30Apr2017_BigRiverMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c55_From1Feb2016To31Jan2017_BigRiverMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2017-01-31</endDate>
    </period>
  </context>
  <context id="c56_AsOf30Apr2017_BigRiverMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c57_AsOf31Jan2017_BigRiverMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-01-31</instant>
    </period>
  </context>
  <context id="c58_AsOf30Apr2017_PatriotMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:PatriotMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c59_From1Feb2016To30Apr2016_PatriotMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:PatriotMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-04-30</endDate>
    </period>
  </context>
  <context id="c60_From1Feb2016To30Apr2016_BigRiverMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-04-30</endDate>
    </period>
  </context>
  <context id="c61_AsOf30Apr2017_EmployeeStockOptionMember_StockOptionPlans2015Member">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:EmployeeStockOptionMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="us-gaap:PlanNameAxis">rex:StockOptionPlans2015Member</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c62_AsOf30Apr2017_OneEarthEnergyAndNuGenEnergyMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c63_From1Feb2017To30Apr2017_OneEarthEnergyAndNuGenEnergyMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c64_From1Feb2017To30Apr2017_EthanolMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:EthanolMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c65_From1Feb2016To30Apr2016_EthanolMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:EthanolMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-04-30</endDate>
    </period>
  </context>
  <context id="c66_From1Feb2017To30Apr2017_DriedDistillersGrainsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c67_From1Feb2016To30Apr2016_DriedDistillersGrainsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-04-30</endDate>
    </period>
  </context>
  <context id="c68_From1Feb2017To30Apr2017_NonFoodGradeCornOilMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c69_From1Feb2016To30Apr2016_NonFoodGradeCornOilMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-04-30</endDate>
    </period>
  </context>
  <context id="c70_From1Feb2017To30Apr2017_ModifiedDistillersGrainsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c71_From1Feb2016To30Apr2016_ModifiedDistillersGrainsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-04-30</endDate>
    </period>
  </context>
  <context id="c72_From1Feb2017To30Apr2017_OtherProductMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:OtherProductMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c73_From1Feb2016To30Apr2016_OtherProductMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:OtherProductMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-04-30</endDate>
    </period>
  </context>
  <context id="c74_From1Feb2017To30Apr2017_OneEarthEnergyAndNuGenEnergyMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c75_From1Feb2016To30Apr2016_OneEarthEnergyAndNuGenEnergyMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-04-30</endDate>
    </period>
  </context>
  <unit id="usd">
    <measure>iso4217:USD</measure>
  </unit>
  <unit id="shares">
    <measure>xbrli:shares</measure>
  </unit>
  <unit id="usdPershares">
    <divide>
      <unitNumerator>
        <measure>iso4217:USD</measure>
      </unitNumerator>
      <unitDenominator>
        <measure>xbrli:shares</measure>
      </unitDenominator>
    </divide>
  </unit>
  <unit id="pure">
    <measure>xbrli:pure</measure>
  </unit>
  <unit id="bu">
    <measure>utr:bu</measure>
  </unit>
  <unit id="gal">
    <measure>utr:gal</measure>
  </unit>
  <unit id="t">
    <measure>utr:T</measure>
  </unit>
  <unit id="lb">
    <measure>utr:lb</measure>
  </unit>
  <link:footnoteLink xlink:type="extended" xlink:role="http://www.xbrl.org/2003/role/link">
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c42_AsOf30Apr2017_FairValueInputsLevel1Member_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c42_AsOf30Apr2017_FairValueInputsLevel1Member_usd"/>
    <link:footnote xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:label="ftnt_0" xml:lang="en-US">Commodity futures are included in &quot;Prepaid expenses and other current assets&quot; on the accompanying Consolidated Condensed Balance Sheets.</link:footnote>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c42_AsOf30Apr2017_FairValueInputsLevel1Member_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c43_AsOf30Apr2017_FairValueInputsLevel2Member_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c43_AsOf30Apr2017_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c43_AsOf30Apr2017_FairValueInputsLevel2Member_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c44_AsOf30Apr2017_FairValueInputsLevel3Member_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c44_AsOf30Apr2017_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c44_AsOf30Apr2017_FairValueInputsLevel3Member_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c0_AsOf30Apr2017_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c0_AsOf30Apr2017_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c0_AsOf30Apr2017_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c42_AsOf30Apr2017_FairValueInputsLevel1Member_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c42_AsOf30Apr2017_FairValueInputsLevel1Member_usd"/>
    <link:footnote xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:label="ftnt_1" xml:lang="en-US">The investment in cooperative is included in &quot;Other assets&quot; on the accompanying Consolidated Condensed Balance Sheets.</link:footnote>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c42_AsOf30Apr2017_FairValueInputsLevel1Member_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c43_AsOf30Apr2017_FairValueInputsLevel2Member_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c43_AsOf30Apr2017_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c43_AsOf30Apr2017_FairValueInputsLevel2Member_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c44_AsOf30Apr2017_FairValueInputsLevel3Member_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c44_AsOf30Apr2017_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c44_AsOf30Apr2017_FairValueInputsLevel3Member_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c0_AsOf30Apr2017_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c0_AsOf30Apr2017_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c0_AsOf30Apr2017_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiabilityFairValue-c42_AsOf30Apr2017_FairValueInputsLevel1Member_usd" xlink:href="#_ForwardPurchaseContractLiabilityFairValue-c42_AsOf30Apr2017_FairValueInputsLevel1Member_usd"/>
    <link:footnote xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:label="ftnt_2" xml:lang="en-US">The forward purchase contract liability is included in &quot;Accrued expenses and other current liabilities&quot; on the accompanying Consolidated Condensed Balance Sheets.</link:footnote>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiabilityFairValue-c42_AsOf30Apr2017_FairValueInputsLevel1Member_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiabilityFairValue-c43_AsOf30Apr2017_FairValueInputsLevel2Member_usd" xlink:href="#_ForwardPurchaseContractLiabilityFairValue-c43_AsOf30Apr2017_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiabilityFairValue-c43_AsOf30Apr2017_FairValueInputsLevel2Member_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiabilityFairValue-c44_AsOf30Apr2017_FairValueInputsLevel3Member_usd" xlink:href="#_ForwardPurchaseContractLiabilityFairValue-c44_AsOf30Apr2017_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiabilityFairValue-c44_AsOf30Apr2017_FairValueInputsLevel3Member_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiabilityFairValue-c0_AsOf30Apr2017_usd" xlink:href="#_ForwardPurchaseContractLiabilityFairValue-c0_AsOf30Apr2017_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiabilityFairValue-c0_AsOf30Apr2017_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c45_AsOf31Jan2017_FairValueInputsLevel1Member_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c45_AsOf31Jan2017_FairValueInputsLevel1Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c45_AsOf31Jan2017_FairValueInputsLevel1Member_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c46_AsOf31Jan2017_FairValueInputsLevel2Member_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c46_AsOf31Jan2017_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c46_AsOf31Jan2017_FairValueInputsLevel2Member_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c47_AsOf31Jan2017_FairValueInputsLevel3Member_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c47_AsOf31Jan2017_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c47_AsOf31Jan2017_FairValueInputsLevel3Member_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c1_AsOf31Jan2017_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c1_AsOf31Jan2017_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c1_AsOf31Jan2017_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c45_AsOf31Jan2017_FairValueInputsLevel1Member_usd" xlink:href="#_ForwardPurchaseContractsAsset-c45_AsOf31Jan2017_FairValueInputsLevel1Member_usd"/>
    <link:footnote xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:label="ftnt_3" xml:lang="en-US">The forward purchase contract asset is included in &quot;Prepaid expenses and other current assets on the accompanying Consolidated Condensed Balance Sheets.</link:footnote>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c45_AsOf31Jan2017_FairValueInputsLevel1Member_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c46_AsOf31Jan2017_FairValueInputsLevel2Member_usd" xlink:href="#_ForwardPurchaseContractsAsset-c46_AsOf31Jan2017_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c46_AsOf31Jan2017_FairValueInputsLevel2Member_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c47_AsOf31Jan2017_FairValueInputsLevel3Member_usd" xlink:href="#_ForwardPurchaseContractsAsset-c47_AsOf31Jan2017_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c47_AsOf31Jan2017_FairValueInputsLevel3Member_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c1_AsOf31Jan2017_usd" xlink:href="#_ForwardPurchaseContractsAsset-c1_AsOf31Jan2017_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c1_AsOf31Jan2017_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c45_AsOf31Jan2017_FairValueInputsLevel1Member_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c45_AsOf31Jan2017_FairValueInputsLevel1Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c45_AsOf31Jan2017_FairValueInputsLevel1Member_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c46_AsOf31Jan2017_FairValueInputsLevel2Member_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c46_AsOf31Jan2017_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c46_AsOf31Jan2017_FairValueInputsLevel2Member_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c47_AsOf31Jan2017_FairValueInputsLevel3Member_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c47_AsOf31Jan2017_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c47_AsOf31Jan2017_FairValueInputsLevel3Member_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c1_AsOf31Jan2017_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c1_AsOf31Jan2017_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c1_AsOf31Jan2017_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiabilityFairValue-c45_AsOf31Jan2017_FairValueInputsLevel1Member_usd" xlink:href="#_ForwardPurchaseContractLiabilityFairValue-c45_AsOf31Jan2017_FairValueInputsLevel1Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiabilityFairValue-c45_AsOf31Jan2017_FairValueInputsLevel1Member_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiabilityFairValue-c46_AsOf31Jan2017_FairValueInputsLevel2Member_usd" xlink:href="#_ForwardPurchaseContractLiabilityFairValue-c46_AsOf31Jan2017_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiabilityFairValue-c46_AsOf31Jan2017_FairValueInputsLevel2Member_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiabilityFairValue-c47_AsOf31Jan2017_FairValueInputsLevel3Member_usd" xlink:href="#_ForwardPurchaseContractLiabilityFairValue-c47_AsOf31Jan2017_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiabilityFairValue-c47_AsOf31Jan2017_FairValueInputsLevel3Member_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiabilityFairValue-c1_AsOf31Jan2017_usd" xlink:href="#_ForwardPurchaseContractLiabilityFairValue-c1_AsOf31Jan2017_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiabilityFairValue-c1_AsOf31Jan2017_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeAssets-c50_AsOf30Apr2017_CommodityContractMember_usd" xlink:href="#_DerivativeAssets-c50_AsOf30Apr2017_CommodityContractMember_usd"/>
    <link:footnote xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:label="ftnt_4" xml:lang="en-US">Commodity futures are included in prepaid expenses and other current assets. These contracts are short/sell positions for approximately 0.9 million and 0.7 million bushels of corn at April 30, 2017 and January 31, 2017, respectively.</link:footnote>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeAssets-c50_AsOf30Apr2017_CommodityContractMember_usd" xlink:to="ftnt_4" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeAssets-c51_AsOf31Jan2017_CommodityContractMember_usd" xlink:href="#_DerivativeAssets-c51_AsOf31Jan2017_CommodityContractMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeAssets-c51_AsOf31Jan2017_CommodityContractMember_usd" xlink:to="ftnt_4" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeLiabilities-c50_AsOf30Apr2017_CommodityContractMember_usd" xlink:href="#_DerivativeLiabilities-c50_AsOf30Apr2017_CommodityContractMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeLiabilities-c50_AsOf30Apr2017_CommodityContractMember_usd" xlink:to="ftnt_4" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeLiabilities-c51_AsOf31Jan2017_CommodityContractMember_usd" xlink:href="#_DerivativeLiabilities-c51_AsOf31Jan2017_CommodityContractMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeLiabilities-c51_AsOf31Jan2017_CommodityContractMember_usd" xlink:to="ftnt_4" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeAssets-c52_AsOf30Apr2017_ForwardContractsMember_usd" xlink:href="#_DerivativeAssets-c52_AsOf30Apr2017_ForwardContractsMember_usd"/>
    <link:footnote xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:label="ftnt_5" xml:lang="en-US">Forward purchase contracts assets are included in prepaid expenses and other current assets while forward purchase contracts liabilities are included in accrued expenses and other current liabilities. These contracts are for purchases of approximately 10.8 million and 5.3 million bushels of corn at April 30, 2017 and January 31, 2017, respectively.</link:footnote>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeAssets-c52_AsOf30Apr2017_ForwardContractsMember_usd" xlink:to="ftnt_5" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeAssets-c53_AsOf31Jan2017_ForwardContractsMember_usd" xlink:href="#_DerivativeAssets-c53_AsOf31Jan2017_ForwardContractsMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeAssets-c53_AsOf31Jan2017_ForwardContractsMember_usd" xlink:to="ftnt_5" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeLiabilities-c52_AsOf30Apr2017_ForwardContractsMember_usd" xlink:href="#_DerivativeLiabilities-c52_AsOf30Apr2017_ForwardContractsMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeLiabilities-c52_AsOf30Apr2017_ForwardContractsMember_usd" xlink:to="ftnt_5" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeLiabilities-c53_AsOf31Jan2017_ForwardContractsMember_usd" xlink:href="#_DerivativeLiabilities-c53_AsOf31Jan2017_ForwardContractsMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeLiabilities-c53_AsOf31Jan2017_ForwardContractsMember_usd" xlink:to="ftnt_5" order="1"/>
  </link:footnoteLink>
  <us-gaap:CashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">191493000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
  <us-gaap:CashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">188576000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
  <us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">130000</us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue>
  <us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">130000</us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue>
  <us-gaap:AccountsReceivableNetCurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">9196000</us-gaap:AccountsReceivableNetCurrent>
  <us-gaap:AccountsReceivableNetCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">11901000</us-gaap:AccountsReceivableNetCurrent>
  <us-gaap:InventoryNet unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">20427000</us-gaap:InventoryNet>
  <us-gaap:InventoryNet unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">17057000</us-gaap:InventoryNet>
  <us-gaap:IncomeTaxesReceivable unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">1063000</us-gaap:IncomeTaxesReceivable>
  <us-gaap:IncomeTaxesReceivable unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">1070000</us-gaap:IncomeTaxesReceivable>
  <us-gaap:PrepaidExpenseAndOtherAssetsCurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">7075000</us-gaap:PrepaidExpenseAndOtherAssetsCurrent>
  <us-gaap:PrepaidExpenseAndOtherAssetsCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">6959000</us-gaap:PrepaidExpenseAndOtherAssetsCurrent>
  <us-gaap:DeferredTaxAssetsNetNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">824000</us-gaap:DeferredTaxAssetsNetNoncurrent>
  <us-gaap:AssetsCurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">229384000</us-gaap:AssetsCurrent>
  <us-gaap:AssetsCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">226517000</us-gaap:AssetsCurrent>
  <us-gaap:PropertyPlantAndEquipmentNet unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">184674000</us-gaap:PropertyPlantAndEquipmentNet>
  <us-gaap:PropertyPlantAndEquipmentNet unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">182761000</us-gaap:PropertyPlantAndEquipmentNet>
  <us-gaap:OtherAssetsNoncurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">6777000</us-gaap:OtherAssetsNoncurrent>
  <us-gaap:OtherAssetsNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">6913000</us-gaap:OtherAssetsNoncurrent>
  <us-gaap:EquityMethodInvestments unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">38533000</us-gaap:EquityMethodInvestments>
  <us-gaap:EquityMethodInvestments unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">37833000</us-gaap:EquityMethodInvestments>
  <us-gaap:Assets unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">459368000</us-gaap:Assets>
  <us-gaap:Assets unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">454024000</us-gaap:Assets>
  <us-gaap:AccountsPayableTradeCurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">8636000</us-gaap:AccountsPayableTradeCurrent>
  <us-gaap:AccountsPayableTradeCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">9171000</us-gaap:AccountsPayableTradeCurrent>
  <us-gaap:OtherLiabilitiesCurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">14261000</us-gaap:OtherLiabilitiesCurrent>
  <us-gaap:OtherLiabilitiesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">13348000</us-gaap:OtherLiabilitiesCurrent>
  <us-gaap:LiabilitiesCurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">22897000</us-gaap:LiabilitiesCurrent>
  <us-gaap:LiabilitiesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">22519000</us-gaap:LiabilitiesCurrent>
  <us-gaap:DeferredTaxLiabilitiesNoncurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">40314000</us-gaap:DeferredTaxLiabilitiesNoncurrent>
  <us-gaap:DeferredTaxLiabilitiesNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">41135000</us-gaap:DeferredTaxLiabilitiesNoncurrent>
  <us-gaap:OtherLiabilitiesNoncurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">2242000</us-gaap:OtherLiabilitiesNoncurrent>
  <us-gaap:OtherLiabilitiesNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">2096000</us-gaap:OtherLiabilitiesNoncurrent>
  <us-gaap:LiabilitiesNoncurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">42556000</us-gaap:LiabilitiesNoncurrent>
  <us-gaap:LiabilitiesNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">43231000</us-gaap:LiabilitiesNoncurrent>
  <us-gaap:CommonStockValue unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">299000</us-gaap:CommonStockValue>
  <us-gaap:CommonStockValue unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">299000</us-gaap:CommonStockValue>
  <us-gaap:AdditionalPaidInCapitalCommonStock unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">145790000</us-gaap:AdditionalPaidInCapitalCommonStock>
  <us-gaap:AdditionalPaidInCapitalCommonStock unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">145767000</us-gaap:AdditionalPaidInCapitalCommonStock>
  <us-gaap:RetainedEarningsAccumulatedDeficit unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">512751000</us-gaap:RetainedEarningsAccumulatedDeficit>
  <us-gaap:RetainedEarningsAccumulatedDeficit unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">508207000</us-gaap:RetainedEarningsAccumulatedDeficit>
  <us-gaap:TreasuryStockValue unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">313832000</us-gaap:TreasuryStockValue>
  <us-gaap:TreasuryStockValue unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">313838000</us-gaap:TreasuryStockValue>
  <us-gaap:StockholdersEquity unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">345008000</us-gaap:StockholdersEquity>
  <us-gaap:StockholdersEquity unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">340435000</us-gaap:StockholdersEquity>
  <us-gaap:MinorityInterest unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">48907000</us-gaap:MinorityInterest>
  <us-gaap:MinorityInterest unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">47839000</us-gaap:MinorityInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">393915000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">388274000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:LiabilitiesAndStockholdersEquity unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">459368000</us-gaap:LiabilitiesAndStockholdersEquity>
  <us-gaap:LiabilitiesAndStockholdersEquity unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">454024000</us-gaap:LiabilitiesAndStockholdersEquity>
  <us-gaap:SalesRevenueNet unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">113143000</us-gaap:SalesRevenueNet>
  <us-gaap:SalesRevenueNet unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">100222000</us-gaap:SalesRevenueNet>
  <us-gaap:CostOfGoodsAndServicesSold unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">100654000</us-gaap:CostOfGoodsAndServicesSold>
  <us-gaap:CostOfGoodsAndServicesSold unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">91800000</us-gaap:CostOfGoodsAndServicesSold>
  <us-gaap:GrossProfit unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">12489000</us-gaap:GrossProfit>
  <us-gaap:GrossProfit unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">8422000</us-gaap:GrossProfit>
  <us-gaap:SellingGeneralAndAdministrativeExpense unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">5402000</us-gaap:SellingGeneralAndAdministrativeExpense>
  <us-gaap:SellingGeneralAndAdministrativeExpense unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">4027000</us-gaap:SellingGeneralAndAdministrativeExpense>
  <us-gaap:IncomeLossFromEquityMethodInvestments unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">700000</us-gaap:IncomeLossFromEquityMethodInvestments>
  <us-gaap:IncomeLossFromEquityMethodInvestments unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">233000</us-gaap:IncomeLossFromEquityMethodInvestments>
  <us-gaap:GainLossOnSaleOfInvestments unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">192000</us-gaap:GainLossOnSaleOfInvestments>
  <us-gaap:InterestAndOtherIncome unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">215000</us-gaap:InterestAndOtherIncome>
  <us-gaap:InterestAndOtherIncome unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">160000</us-gaap:InterestAndOtherIncome>
  <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">8002000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
  <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">4980000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
  <us-gaap:IncomeTaxExpenseBenefit unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">2390000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:IncomeTaxExpenseBenefit unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">1514000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">5612000</us-gaap:ProfitLoss>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">3466000</us-gaap:ProfitLoss>
  <us-gaap:NetIncomeLossAttributableToNoncontrollingInterest unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">1068000</us-gaap:NetIncomeLossAttributableToNoncontrollingInterest>
  <us-gaap:NetIncomeLossAttributableToNoncontrollingInterest unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">628000</us-gaap:NetIncomeLossAttributableToNoncontrollingInterest>
  <us-gaap:NetIncomeLoss unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">4544000</us-gaap:NetIncomeLoss>
  <us-gaap:NetIncomeLoss unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">2838000</us-gaap:NetIncomeLoss>
  <us-gaap:WeightedAverageNumberOfSharesOutstandingBasic unitRef="shares" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">6593000</us-gaap:WeightedAverageNumberOfSharesOutstandingBasic>
  <us-gaap:WeightedAverageNumberOfSharesOutstandingBasic unitRef="shares" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">6573000</us-gaap:WeightedAverageNumberOfSharesOutstandingBasic>
  <us-gaap:EarningsPerShareBasic unitRef="usdPershares" contextRef="c2_From1Feb2017To30Apr2017" decimals="2">0.69</us-gaap:EarningsPerShareBasic>
  <us-gaap:EarningsPerShareBasic unitRef="usdPershares" contextRef="c3_From1Feb2016To30Apr2016" decimals="2">0.43</us-gaap:EarningsPerShareBasic>
  <us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding unitRef="shares" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">6593000</us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding>
  <us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding unitRef="shares" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">6594000</us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding>
  <us-gaap:EarningsPerShareDiluted unitRef="usdPershares" contextRef="c2_From1Feb2017To30Apr2017" decimals="2">0.69</us-gaap:EarningsPerShareDiluted>
  <us-gaap:EarningsPerShareDiluted unitRef="usdPershares" contextRef="c3_From1Feb2016To30Apr2016" decimals="2">0.43</us-gaap:EarningsPerShareDiluted>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c4_AsOf31Jan2017_CommonStockMember" decimals="-3">29853000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c4_AsOf31Jan2017_CommonStockMember" decimals="-3">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c5_AsOf31Jan2017_TreasuryStockMember" decimals="-3">23292000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c5_AsOf31Jan2017_TreasuryStockMember" decimals="-3">-313838000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c6_AsOf31Jan2017_AdditionalPaidInCapitalMember" decimals="-3">145767000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c7_AsOf31Jan2017_RetainedEarningsMember" decimals="-3">508207000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c8_AsOf31Jan2017_NoncontrollingInterestMember" decimals="-3">47839000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c9_From1Feb2017To30Apr2017_RetainedEarningsMember" decimals="-3">4544000</us-gaap:ProfitLoss>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c10_From1Feb2017To30Apr2017_NoncontrollingInterestMember" decimals="-3">1068000</us-gaap:ProfitLoss>
  <us-gaap:ShareBasedCompensation unitRef="usd" contextRef="c11_From1Feb2017To30Apr2017_TreasuryStockMember" decimals="-3">6000</us-gaap:ShareBasedCompensation>
  <us-gaap:ShareBasedCompensation unitRef="usd" contextRef="c12_From1Feb2017To30Apr2017_AdditionalPaidInCapitalMember" decimals="-3">23000</us-gaap:ShareBasedCompensation>
  <us-gaap:ShareBasedCompensation unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">29000</us-gaap:ShareBasedCompensation>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c13_AsOf30Apr2017_CommonStockMember" decimals="-3">29853000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c13_AsOf30Apr2017_CommonStockMember" decimals="-3">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c14_AsOf30Apr2017_TreasuryStockMember" decimals="-3">23292000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c14_AsOf30Apr2017_TreasuryStockMember" decimals="-3">-313832000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c15_AsOf30Apr2017_AdditionalPaidInCapitalMember" decimals="-3">145790000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c16_AsOf30Apr2017_RetainedEarningsMember" decimals="-3">512751000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c17_AsOf30Apr2017_NoncontrollingInterestMember" decimals="-3">48907000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c18_AsOf31Jan2016_CommonStockMember" decimals="-3">29853000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c18_AsOf31Jan2016_CommonStockMember" decimals="-3">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c19_AsOf31Jan2016_TreasuryStockMember" decimals="-3">23204000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c19_AsOf31Jan2016_TreasuryStockMember" decimals="-3">-309754000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c20_AsOf31Jan2016_AdditionalPaidInCapitalMember" decimals="-3">144844000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c21_AsOf31Jan2016_RetainedEarningsMember" decimals="-3">475874000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c22_AsOf31Jan2016_NoncontrollingInterestMember" decimals="-3">44496000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c23_AsOf31Jan2016" decimals="-3">355759000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c24_From1Feb2016To30Apr2016_RetainedEarningsMember" decimals="-3">2838000</us-gaap:ProfitLoss>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c25_From1Feb2016To30Apr2016_NoncontrollingInterestMember" decimals="-3">628000</us-gaap:ProfitLoss>
  <us-gaap:TreasuryStockSharesAcquired unitRef="shares" contextRef="c26_From1Feb2016To30Apr2016_TreasuryStockMember" decimals="-3">88000</us-gaap:TreasuryStockSharesAcquired>
  <us-gaap:TreasuryStockValueAcquiredCostMethod unitRef="usd" contextRef="c26_From1Feb2016To30Apr2016_TreasuryStockMember" decimals="-3">4353000</us-gaap:TreasuryStockValueAcquiredCostMethod>
  <us-gaap:TreasuryStockValueAcquiredCostMethod unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">4353000</us-gaap:TreasuryStockValueAcquiredCostMethod>
  <us-gaap:ShareBasedCompensation unitRef="usd" contextRef="c26_From1Feb2016To30Apr2016_TreasuryStockMember" decimals="-3">3000</us-gaap:ShareBasedCompensation>
  <us-gaap:ShareBasedCompensation unitRef="usd" contextRef="c27_From1Feb2016To30Apr2016_AdditionalPaidInCapitalMember" decimals="-3">12000</us-gaap:ShareBasedCompensation>
  <us-gaap:ShareBasedCompensation unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">15000</us-gaap:ShareBasedCompensation>
  <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders unitRef="usd" contextRef="c25_From1Feb2016To30Apr2016_NoncontrollingInterestMember" decimals="-3">268000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
  <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">268000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c28_AsOf30Apr2016_CommonStockMember" decimals="-3">29853000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c28_AsOf30Apr2016_CommonStockMember" decimals="-3">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c29_AsOf30Apr2016_TreasuryStockMember" decimals="-3">23292000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c29_AsOf30Apr2016_TreasuryStockMember" decimals="-3">-314104000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c30_AsOf30Apr2016_AdditionalPaidInCapitalMember" decimals="-3">144856000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c31_AsOf30Apr2016_RetainedEarningsMember" decimals="-3">478712000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c32_AsOf30Apr2016_NoncontrollingInterestMember" decimals="-3">44856000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c33_AsOf30Apr2016" decimals="-3">354619000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:DepreciationDepletionAndAmortization unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">4934000</us-gaap:DepreciationDepletionAndAmortization>
  <us-gaap:DepreciationDepletionAndAmortization unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">4812000</us-gaap:DepreciationDepletionAndAmortization>
  <us-gaap:GainLossOnInvestments unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">-192000</us-gaap:GainLossOnInvestments>
  <us-gaap:DeferredIncomeTaxExpenseBenefit unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">3000</us-gaap:DeferredIncomeTaxExpenseBenefit>
  <us-gaap:AllocatedShareBasedCompensationExpense unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">196000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:AllocatedShareBasedCompensationExpense unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">15000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:IncreaseDecreaseInAccountsReceivable unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">2705000</us-gaap:IncreaseDecreaseInAccountsReceivable>
  <us-gaap:IncreaseDecreaseInAccountsReceivable unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">-1833000</us-gaap:IncreaseDecreaseInAccountsReceivable>
  <us-gaap:IncreaseDecreaseInInventories unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">-3370000</us-gaap:IncreaseDecreaseInInventories>
  <us-gaap:IncreaseDecreaseInInventories unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">-8554000</us-gaap:IncreaseDecreaseInInventories>
  <us-gaap:IncreaseDecreaseInOtherOperatingAssets unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">-30000</us-gaap:IncreaseDecreaseInOtherOperatingAssets>
  <us-gaap:IncreaseDecreaseInOtherOperatingAssets unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">1589000</us-gaap:IncreaseDecreaseInOtherOperatingAssets>
  <us-gaap:IncreaseDecreaseInAccountsPayableTrade unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">-1308000</us-gaap:IncreaseDecreaseInAccountsPayableTrade>
  <us-gaap:IncreaseDecreaseInAccountsPayableTrade unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">-2284000</us-gaap:IncreaseDecreaseInAccountsPayableTrade>
  <us-gaap:IncreaseDecreaseInOtherOperatingLiabilities unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">723000</us-gaap:IncreaseDecreaseInOtherOperatingLiabilities>
  <us-gaap:IncreaseDecreaseInOtherOperatingLiabilities unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">-2465000</us-gaap:IncreaseDecreaseInOtherOperatingLiabilities>
  <us-gaap:NetCashProvidedByUsedInOperatingActivities unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">8765000</us-gaap:NetCashProvidedByUsedInOperatingActivities>
  <us-gaap:NetCashProvidedByUsedInOperatingActivities unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">-5679000</us-gaap:NetCashProvidedByUsedInOperatingActivities>
  <us-gaap:PaymentsToAcquirePropertyPlantAndEquipment unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">5905000</us-gaap:PaymentsToAcquirePropertyPlantAndEquipment>
  <us-gaap:PaymentsToAcquirePropertyPlantAndEquipment unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">4474000</us-gaap:PaymentsToAcquirePropertyPlantAndEquipment>
  <us-gaap:IncreaseDecreaseInRestrictedCash unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">466000</us-gaap:IncreaseDecreaseInRestrictedCash>
  <us-gaap:ProceedsFromSaleOfRestrictedInvestments unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">51000</us-gaap:ProceedsFromSaleOfRestrictedInvestments>
  <us-gaap:ProceedsFromSaleOfLongtermInvestments unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">2275000</us-gaap:ProceedsFromSaleOfLongtermInvestments>
  <us-gaap:PaymentsForProceedsFromOtherInvestingActivities unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">-6000</us-gaap:PaymentsForProceedsFromOtherInvestingActivities>
  <us-gaap:PaymentsForProceedsFromOtherInvestingActivities unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">-6000</us-gaap:PaymentsForProceedsFromOtherInvestingActivities>
  <us-gaap:NetCashProvidedByUsedInInvestingActivities unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">-5848000</us-gaap:NetCashProvidedByUsedInInvestingActivities>
  <us-gaap:NetCashProvidedByUsedInInvestingActivities unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">-2659000</us-gaap:NetCashProvidedByUsedInInvestingActivities>
  <us-gaap:PaymentsToMinorityShareholders unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">268000</us-gaap:PaymentsToMinorityShareholders>
  <us-gaap:PaymentsForRepurchaseOfCommonStock unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">4709000</us-gaap:PaymentsForRepurchaseOfCommonStock>
  <us-gaap:NetCashProvidedByUsedInFinancingActivities unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">-4977000</us-gaap:NetCashProvidedByUsedInFinancingActivities>
  <us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">2917000</us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease>
  <us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">-13315000</us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease>
  <us-gaap:CashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c23_AsOf31Jan2016" decimals="-3">135765000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
  <us-gaap:CashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c33_AsOf30Apr2016" decimals="-3">122450000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
  <rex:NonCashInvestingActivitiesAccruedCapitalExpenditures unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">1284000</rex:NonCashInvestingActivitiesAccruedCapitalExpenditures>
  <rex:NonCashInvestingActivitiesAccruedCapitalExpenditures unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">634000</rex:NonCashInvestingActivitiesAccruedCapitalExpenditures>
  <rex:NonCashFinancingActivitiesEquityAwardsIssued unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">167000</rex:NonCashFinancingActivitiesEquityAwardsIssued>
  <dei:EntityRegistrantName contextRef="c2_From1Feb2017To30Apr2017">REX AMERICAN RESOURCES Corp</dei:EntityRegistrantName>
  <dei:DocumentType contextRef="c2_From1Feb2017To30Apr2017">10-Q</dei:DocumentType>
  <dei:CurrentFiscalYearEndDate contextRef="c2_From1Feb2017To30Apr2017">--01-31</dei:CurrentFiscalYearEndDate>
  <dei:EntityCommonStockSharesOutstanding unitRef="shares" contextRef="c34_AsOf31May2017" decimals="INF">6558679</dei:EntityCommonStockSharesOutstanding>
  <dei:AmendmentFlag contextRef="c2_From1Feb2017To30Apr2017">false</dei:AmendmentFlag>
  <dei:EntityCentralIndexKey contextRef="c2_From1Feb2017To30Apr2017">0000744187</dei:EntityCentralIndexKey>
  <dei:EntityCurrentReportingStatus contextRef="c2_From1Feb2017To30Apr2017">Yes</dei:EntityCurrentReportingStatus>
  <dei:EntityVoluntaryFilers contextRef="c2_From1Feb2017To30Apr2017">No</dei:EntityVoluntaryFilers>
  <dei:EntityFilerCategory contextRef="c2_From1Feb2017To30Apr2017">Accelerated Filer</dei:EntityFilerCategory>
  <dei:EntityWellKnownSeasonedIssuer contextRef="c2_From1Feb2017To30Apr2017">No</dei:EntityWellKnownSeasonedIssuer>
  <dei:DocumentFiscalYearFocus contextRef="c2_From1Feb2017To30Apr2017">2017</dei:DocumentFiscalYearFocus>
  <dei:DocumentFiscalPeriodFocus contextRef="c2_From1Feb2017To30Apr2017">Q1</dei:DocumentFiscalPeriodFocus>
  <dei:DocumentPeriodEndDate contextRef="c2_From1Feb2017To30Apr2017">2017-04-30</dei:DocumentPeriodEndDate>
  <us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0 99pt 0 0&quot;&gt;&lt;b&gt;Note 1. &lt;i&gt;Consolidated Condensed Financial Statements&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The consolidated condensed financial statements
included in this report have been prepared by the Company, without audit, pursuant to the rules and regulations of the Securities
and Exchange Commission and include, in the opinion of management, all adjustments necessary to state fairly the information set
forth therein. Any such adjustments were of a normal recurring nature. Certain information and footnote disclosures normally included
in financial statements prepared in accordance with accounting principles generally accepted in the United States of America have
been omitted pursuant to such rules and regulations, although the Company believes that the disclosures are adequate to make the
information presented not misleading. Financial information as of January 31, 2017 included in these financial statements has been
derived from the audited consolidated financial statements included in the Company&amp;#x2019;s Annual Report on Form 10-K for the year
ended January 31, 2017 (fiscal year 2016). It is suggested that these unaudited consolidated condensed financial statements be
read in conjunction with the consolidated financial statements and the notes thereto included in the Company&amp;#x2019;s Annual Report
on Form 10-K for the year ended January 31, 2017. The results of operations for the interim periods are not necessarily indicative
of the results to be expected for the year.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;Basis of Consolidation &amp;#x2013; The consolidated
condensed financial statements in this report include the operating results and financial position of REX American Resources Corporation
and its wholly and majority owned subsidiaries. All intercompany balances and transactions have been eliminated. The Company includes
the results of operations of One Earth Energy, LLC (&amp;#x201c;One Earth&amp;#x201d;) in its Consolidated Condensed Statements of Operations
on a delayed basis of one month.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;Nature of Operations &amp;#x2013; The Company operates
in one reportable segment, alternative energy, and has equity investments in three ethanol limited liability companies, two of
which are majority ownership interests.&lt;/p&gt;&lt;br/&gt;</us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock>
  <us-gaap:NumberOfOperatingSegments unitRef="pure" contextRef="c2_From1Feb2017To30Apr2017" decimals="0">1</us-gaap:NumberOfOperatingSegments>
  <rex:NumberOfEthanolEntitiesUnderOwnershipInterest unitRef="pure" contextRef="c2_From1Feb2017To30Apr2017" decimals="0">3</rex:NumberOfEthanolEntitiesUnderOwnershipInterest>
  <rex:NumberOfEthanolEntitiesUnderMajorityOwnershipInterest unitRef="pure" contextRef="c2_From1Feb2017To30Apr2017" decimals="0">2</rex:NumberOfEthanolEntitiesUnderMajorityOwnershipInterest>
<!-- [WMV4][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+dL7zoH8Kulc7zD318fntsVoV1fcXtp7VxUKN+H8G2XZJhjxqxxJFYwdQCIlsX9qbe5/TLCustURellZclY2kqujoIFPci6NE4EwnzSIDa44Gi7VFqxesy+uQwTGvC5gSOfToPAxpSbJ/x1B11PkZrg==] CSR-->
  <us-gaap:SignificantAccountingPoliciesTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Note 2. &lt;i&gt;Accounting Policies&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The interim consolidated condensed financial
statements have been prepared in accordance with the accounting policies described in the notes to the consolidated financial statements
included in the Company&amp;#x2019;s fiscal year 2016 Annual Report on Form 10-K. While management believes that the procedures followed
in the preparation of interim financial information are reasonable, the accuracy of some estimated amounts is dependent upon facts
that will exist or calculations that will be accomplished at fiscal year-end. Examples of such estimates include accrued liabilities,
such as management bonuses, and the provision for income taxes. Any adjustments pursuant to such estimates during the quarter were
of a normal recurring nature. Actual results could differ from those estimates.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: bold 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;Revenue Recognition&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company recognizes sales from the production
of ethanol, distillers grains and non-food grade corn oil when title transfers to customers, generally upon shipment from the ethanol
plant or upon loading of the rail car used to transport the products.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: bold 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;Cost of Sales&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;Cost of sales includes depreciation, costs of
raw materials, inbound freight charges, purchasing and receiving costs, inspection costs, other distribution expenses, warehousing
costs, plant management, certain compensations costs, and general facility overhead charges.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: bold 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 0pt&quot;&gt;Selling, General and Administrative Expenses&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company includes non-production related costs
such as professional fees, selling charges and certain payroll in selling, general and administrative expenses.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;margin: 0; font: bold 10pt Times New Roman, Times, Serif&quot;&gt;Financial Instruments&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;Certain of the forward grain purchase and ethanol,
distillers grains and non-food grade corn oil sale contracts are accounted for under the &amp;#x201c;normal purchases and normal sales&amp;#x201d;
scope exemption of Accounting Standards Codification (&amp;#x201c;ASC&amp;#x201d;) 815, &amp;#x201c;&lt;i&gt;Derivatives and Hedging&lt;/i&gt;&amp;#x201d; because
these arrangements are for purchases of grain that will be delivered in quantities expected to be used by the Company and sales
of ethanol, distillers grains and non-food grade corn oil quantities expected to be produced by the Company over a reasonable period
of time in the normal course of business. During fiscal year 2015, the Company began to carry a portion of its forward grain purchase
contracts at fair value.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company uses derivative financial instruments
(exchange-traded futures contracts) to manage a portion of the risk associated with changes in commodity prices, primarily related
to corn. The Company monitors and manages this exposure as part of its overall risk management policy. As such, the Company seeks
to reduce the potentially adverse effects that the volatility of these markets may have on its operating results. The Company may
take hedging positions in these commodities as one way to mitigate risk. While the Company attempts to link its hedging activities
to purchase and sales activities, there are situations in which these hedging activities can themselves result in losses. The Company
does not hold or issue derivative financial instruments for trading or speculative purposes. The changes in fair value of these
derivative financial instruments are recognized in current period earnings as the Company does not use hedge accounting.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: bold 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;Income Taxes&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company applies an effective tax rate
to interim periods that is consistent with the Company&amp;#x2019;s estimated annual tax rate as adjusted for discrete items
impacting the interim periods. The Company provides for deferred tax liabilities and assets for the future tax consequences
attributable to differences between the financial statement carrying amounts of existing assets and liabilities and their
respective tax basis and operating loss and tax credit carryforwards. The Company provides for a valuation allowance if,
based on the weight of available evidence, it is more likely than not that some or all of the deferred tax assets will not be
realized. The Company paid no income taxes during the three months ended April 30, 2017 and 2016. The Company received no
refunds of income taxes during the three months ended April 30, 2017 and 2016.&lt;br /&gt;
&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;As of April 30, 2017 and January 31, 2017, total
unrecognized tax benefits were approximately $2,004,000 and $1,875,000, respectively. Accrued penalties and interest were approximately
$238,000 and $221,000 at April 30, 2017 and January 31, 2017, respectively. If the Company were to prevail on all unrecognized
tax benefits recorded, the provision for income taxes would be reduced by approximately $2,004,000. In addition, the impact of
penalties and interest would also benefit the effective tax rate. Interest and penalties associated with unrecognized tax benefits
are recorded within income tax expense. On a quarterly basis, the Company accrues for the effects of open uncertain tax positions
and the related potential penalties and interest.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Inventories&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;Inventories are carried at the lower of cost
or market on a first-in, first-out basis. Inventory includes direct production costs and certain overhead costs such as depreciation,
property taxes and utilities related to producing ethanol and related co-products. Inventory is permanently written down for instances
when cost exceeds estimated net realizable value; such write-downs are based primarily upon commodity prices as the market value
of inventory is often dependent upon changes in commodity prices. There were no significant permanent write-downs of inventory
at April 30, 2017 and January 31, 2017. Fluctuations in the write-down of inventory generally relate to the levels and composition
of such inventory at a given point in time. The components of inventory are as follows as of the dates presented (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;April 30, &lt;br /&gt;
2017&lt;/font&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin-top: 0; margin-bottom: 0; text-align: center&quot;&gt;January 31,&lt;br /&gt;
&lt;/p&gt;
&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: center&quot;&gt;2017&lt;/p&gt;
&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 59%; text-align: left&quot;&gt;Ethanol and other finished goods&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 6%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 7%; text-align: right&quot;&gt;3,159&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 5%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 6%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 6%; text-align: right&quot;&gt;5,262&lt;/td&gt;&lt;td style=&quot;width: 2%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Work in process&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,487&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,359&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;Grain and other raw materials&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;14,781&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;9,436&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;20,427&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;17,057&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Property and Equipment&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;Property and equipment is recorded at cost. Depreciation
is computed using the straight-line method. Estimated useful lives are 15 to 40 years for buildings and improvements, and 2 to
20 years for fixtures and equipment.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;In accordance with ASC 360-10 &amp;#x201c;&lt;i&gt;Impairment
or Disposal of Long-Lived Assets&lt;/i&gt;&amp;#x201d;, the carrying value of long-lived assets is assessed for recoverability by management
when changes in circumstances indicate that the carrying amount may not be recoverable, based on an analysis of undiscounted future
expected cash flows from the use and ultimate disposition of the asset. There were no impairment charges in the first three months
of fiscal years 2017 or 2016. Impairment charges have historically resulted from the Company&amp;#x2019;s management performing cash
flow analysis and have represented management&amp;#x2019;s estimate of the excess of net book value over fair value.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company tests for recoverability of an asset
group by comparing its carrying amount to its estimated undiscounted future cash flows. If the carrying amount of an asset group
exceeds its estimated undiscounted future cash flows, the Company recognizes an impairment charge for the amount by which the asset
group&amp;#x2019;s carrying amount exceeds its fair value, if any. The Company generally determines the fair value of the asset group
using a discounted cash flow model based on market participant assumptions (for income producing asset groups) or by obtaining
appraisals based on the market approach and comparable market transactions (for non-income producing asset groups).&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Investments&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The method of accounting applied to long-term
investments, whether consolidated, equity or cost, involves an evaluation of the significant terms of each investment that explicitly
grant or suggest evidence of control or influence over the operations of the investee and also includes the identification of any
variable interests in which the Company is the primary beneficiary. The Company consolidates the results of two majority owned
subsidiaries, One Earth and NuGen. The results of One Earth are included on a delayed basis of one month lag as One Earth has a
fiscal year end of December 31. NuGen has the same fiscal year as the parent, and therefore, there is no lag in reporting the results
of NuGen. The Company accounts for investments in a limited liability company in which it has a less than 20% ownership interest,
using the equity method of accounting when the factors discussed in ASC 323, &amp;#x201c;&lt;i&gt;Investments-Equity Method and Joint Ventures&lt;/i&gt;&amp;#x201d;
are met. The excess of the carrying value over the underlying equity in the net assets of equity method investees is allocated
to specific assets and liabilities. Any unallocated excess is treated as goodwill and is recorded as a component of the carrying
value of the equity method investee. Investments in businesses that the Company does not control but for which it has the ability
to exercise significant influence over operating and financial matters are accounted for using the equity method. The Company accounts
for its investment in Big River Resources, LLC (&amp;#x201c;Big River&amp;#x201d;) using the equity method of accounting and includes the
results on a delayed basis of one month as Big River has a fiscal year end of December 31.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company periodically evaluates its investments
for impairment due to declines in market value considered to be other than temporary. Such impairment evaluations include general
economic and company-specific evaluations. If the Company determines that a decline in market value is other than temporary, then
a charge to earnings is recorded in the Consolidated Condensed Statements of Operations and a new cost basis in the investment
is established.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Comprehensive Income&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company has no components of other comprehensive
income, and therefore, comprehensive income equals net income.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Accounting Changes and Recently Issued Accounting Standards&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;In March 2016, the Financial Accounting Standards
Board (&amp;#x201c;FASB&amp;#x201d;) issued Accounting Standards Update (&amp;#x201c;ASU&amp;#x201d;) 2016-09, &amp;#x201c;&lt;i&gt;Improvements to Employee Share-Based
Payment Accounting&lt;/i&gt;&amp;#x201d; (&amp;#x201c;ASU 2016-09&amp;#x201d;). This standard simplifies the accounting treatment for excess tax benefits
and deficiencies, forfeitures, and cash flow considerations related to share-based compensation. The Company adopted this standard
February 1, 2017. The adoption of ASU 2016-09 did not impact the Company&amp;#x2019;s consolidated financial statements and related
disclosures.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;In February 2016, the FASB issued ASU 2016-02
&amp;#x201c;&lt;i&gt;Leases&lt;/i&gt;&amp;#x201d;. This standard requires that virtually all leases will be recognized by lessees on their balance sheet
as a right-of-use asset and a corresponding lease liability, including leases currently accounted for as operating leases. The
Company will be required to adopt this standard effective February 1, 2019. The Company has not completed its analysis of adopting
this guidance but it does expect the adoption of this guidance to have a material impact on its Consolidated Balance Sheet related
to the right to use asset and lease obligation liability to be recognized upon adoption of this guidance. The related leases are
currently accounted for as operating leases (see Note 3).&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company will be required to adopt the amended
guidance in ASC Topic 606 &amp;#x201c;&lt;i&gt;Revenue from Contracts with Customers&lt;/i&gt;&amp;#x201d;, which requires revenue recognition to reflect
the transfer of promised goods or services to customers and replaces existing revenue recognition guidance. The updated standard
permits the use of either the retrospective or cumulative effect transition method. The FASB had deferred the required adoption
of the amended guidance by one year, from February 1, 2017 to February 1, 2018. The Company has not completed its analysis of adopting
this guidance but it does not expect the adoption of this guidance to have a material impact on its consolidated financial statements
with respect to measurement and recognition of revenue. The Company is still evaluating the impact of adopting this guidance on
disclosures in the consolidated financial statements.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;In November 2015, the FASB issued ASU 2015-17
&amp;#x201c;&lt;i&gt;Balance Sheet Classification of Deferred Taxes&lt;/i&gt;&amp;#x201d;, (&amp;#x201c;ASU 2015-17&amp;#x201d;) which requires that for a particular
tax-paying component of an entity and within a particular tax jurisdiction, all deferred tax liabilities and assets shall be offset
and presented as a single noncurrent amount. The Company prospectively adopted the amended guidance effective February 1, 2017.
Prior periods were not retrospectively adjusted. The adoption of ASU 2015-17 did not affect net income attributable to REX common
shareholders or retained earnings in the presented periods.&lt;/p&gt;&lt;br/&gt;</us-gaap:SignificantAccountingPoliciesTextBlock>
  <us-gaap:RevenueRecognitionPolicyTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: bold 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;Revenue Recognition&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company recognizes sales from the production
of ethanol, distillers grains and non-food grade corn oil when title transfers to customers, generally upon shipment from the ethanol
plant or upon loading of the rail car used to transport the products.&lt;/p&gt;</us-gaap:RevenueRecognitionPolicyTextBlock>
  <us-gaap:CostOfSalesPolicyTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: bold 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;Cost of Sales&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;Cost of sales includes depreciation, costs of
raw materials, inbound freight charges, purchasing and receiving costs, inspection costs, other distribution expenses, warehousing
costs, plant management, certain compensations costs, and general facility overhead charges&lt;/p&gt;</us-gaap:CostOfSalesPolicyTextBlock>
  <us-gaap:SellingGeneralAndAdministrativeExpensesPolicyTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: bold 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 0pt&quot;&gt;Selling, General and Administrative Expenses&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company includes non-production related costs
such as professional fees, selling charges and certain payroll in selling, general and administrative expenses.&lt;/p&gt;</us-gaap:SellingGeneralAndAdministrativeExpensesPolicyTextBlock>
  <us-gaap:FairValueOfFinancialInstrumentsPolicy contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;margin: 0; font: bold 10pt Times New Roman, Times, Serif&quot;&gt;Financial Instruments&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;Certain of the forward grain purchase and ethanol,
distillers grains and non-food grade corn oil sale contracts are accounted for under the &amp;#x201c;normal purchases and normal sales&amp;#x201d;
scope exemption of Accounting Standards Codification (&amp;#x201c;ASC&amp;#x201d;) 815, &amp;#x201c;&lt;i&gt;Derivatives and Hedging&lt;/i&gt;&amp;#x201d; because
these arrangements are for purchases of grain that will be delivered in quantities expected to be used by the Company and sales
of ethanol, distillers grains and non-food grade corn oil quantities expected to be produced by the Company over a reasonable period
of time in the normal course of business. During fiscal year 2015, the Company began to carry a portion of its forward grain purchase
contracts at fair value.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company uses derivative financial instruments
(exchange-traded futures contracts) to manage a portion of the risk associated with changes in commodity prices, primarily related
to corn. The Company monitors and manages this exposure as part of its overall risk management policy. As such, the Company seeks
to reduce the potentially adverse effects that the volatility of these markets may have on its operating results. The Company may
take hedging positions in these commodities as one way to mitigate risk. While the Company attempts to link its hedging activities
to purchase and sales activities, there are situations in which these hedging activities can themselves result in losses. The Company
does not hold or issue derivative financial instruments for trading or speculative purposes. The changes in fair value of these
derivative financial instruments are recognized in current period earnings as the Company does not use hedge accounting.&lt;/p&gt;</us-gaap:FairValueOfFinancialInstrumentsPolicy>
  <us-gaap:IncomeTaxPolicyTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: bold 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;Income Taxes&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company applies an effective tax rate
to interim periods that is consistent with the Company&amp;#x2019;s estimated annual tax rate as adjusted for discrete items
impacting the interim periods. The Company provides for deferred tax liabilities and assets for the future tax consequences
attributable to differences between the financial statement carrying amounts of existing assets and liabilities and their
respective tax basis and operating loss and tax credit carryforwards. The Company provides for a valuation allowance if,
based on the weight of available evidence, it is more likely than not that some or all of the deferred tax assets will not be
realized. The Company paid no income taxes during the three months ended April 30, 2017 and 2016. The Company received no
refunds of income taxes during the three months ended April 30, 2017 and 2016.&lt;br /&gt;
&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;As of April 30, 2017 and January 31, 2017, total
unrecognized tax benefits were approximately $2,004,000 and $1,875,000, respectively. Accrued penalties and interest were approximately
$238,000 and $221,000 at April 30, 2017 and January 31, 2017, respectively. If the Company were to prevail on all unrecognized
tax benefits recorded, the provision for income taxes would be reduced by approximately $2,004,000. In addition, the impact of
penalties and interest would also benefit the effective tax rate. Interest and penalties associated with unrecognized tax benefits
are recorded within income tax expense. On a quarterly basis, the Company accrues for the effects of open uncertain tax positions
and the related potential penalties and interest.&lt;/p&gt;</us-gaap:IncomeTaxPolicyTextBlock>
  <us-gaap:IncomeTaxesPaid unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="0">0</us-gaap:IncomeTaxesPaid>
  <us-gaap:IncomeTaxesPaid unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="0">0</us-gaap:IncomeTaxesPaid>
  <us-gaap:ProceedsFromIncomeTaxRefunds unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="0">0</us-gaap:ProceedsFromIncomeTaxRefunds>
  <us-gaap:ProceedsFromIncomeTaxRefunds unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="0">0</us-gaap:ProceedsFromIncomeTaxRefunds>
  <us-gaap:UnrecognizedTaxBenefits unitRef="usd" contextRef="c35_AsOf30Apr2017_ApproximateMember" decimals="0">2004000</us-gaap:UnrecognizedTaxBenefits>
  <us-gaap:UnrecognizedTaxBenefits unitRef="usd" contextRef="c36_AsOf31Jan2017_ApproximateMember" decimals="0">1875000</us-gaap:UnrecognizedTaxBenefits>
  <us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="0">238000</us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued>
  <us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="0">221000</us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued>
  <us-gaap:UnrecognizedTaxBenefitsPeriodIncreaseDecrease unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="0">2004000</us-gaap:UnrecognizedTaxBenefitsPeriodIncreaseDecrease>
  <us-gaap:InventoryPolicyTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Inventories&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;Inventories are carried at the lower of cost
or market on a first-in, first-out basis. Inventory includes direct production costs and certain overhead costs such as depreciation,
property taxes and utilities related to producing ethanol and related co-products. Inventory is permanently written down for instances
when cost exceeds estimated net realizable value; such write-downs are based primarily upon commodity prices as the market value
of inventory is often dependent upon changes in commodity prices. There were no significant permanent write-downs of inventory
at April 30, 2017 and January 31, 2017. Fluctuations in the write-down of inventory generally relate to the levels and composition
of such inventory at a given point in time. The components of inventory are as follows as of the dates presented (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;April 30, &lt;br /&gt;
2017&lt;/font&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin-top: 0; margin-bottom: 0; text-align: center&quot;&gt;January 31,&lt;br /&gt;
&lt;/p&gt;
&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: center&quot;&gt;2017&lt;/p&gt;
&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 59%; text-align: left&quot;&gt;Ethanol and other finished goods&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 6%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 7%; text-align: right&quot;&gt;3,159&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 5%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 6%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 6%; text-align: right&quot;&gt;5,262&lt;/td&gt;&lt;td style=&quot;width: 2%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Work in process&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,487&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,359&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;Grain and other raw materials&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;14,781&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;9,436&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;20,427&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;17,057&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:InventoryPolicyTextBlock>
  <us-gaap:PropertyPlantAndEquipmentPolicyTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Property and Equipment&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;Property and equipment is recorded at cost. Depreciation
is computed using the straight-line method. Estimated useful lives are 15 to 40 years for buildings and improvements, and 2 to
20 years for fixtures and equipment.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;In accordance with ASC 360-10 &amp;#x201c;&lt;i&gt;Impairment
or Disposal of Long-Lived Assets&lt;/i&gt;&amp;#x201d;, the carrying value of long-lived assets is assessed for recoverability by management
when changes in circumstances indicate that the carrying amount may not be recoverable, based on an analysis of undiscounted future
expected cash flows from the use and ultimate disposition of the asset. There were no impairment charges in the first three months
of fiscal years 2017 or 2016. Impairment charges have historically resulted from the Company&amp;#x2019;s management performing cash
flow analysis and have represented management&amp;#x2019;s estimate of the excess of net book value over fair value.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company tests for recoverability of an asset
group by comparing its carrying amount to its estimated undiscounted future cash flows. If the carrying amount of an asset group
exceeds its estimated undiscounted future cash flows, the Company recognizes an impairment charge for the amount by which the asset
group&amp;#x2019;s carrying amount exceeds its fair value, if any. The Company generally determines the fair value of the asset group
using a discounted cash flow model based on market participant assumptions (for income producing asset groups) or by obtaining
appraisals based on the market approach and comparable market transactions (for non-income producing asset groups).&lt;/p&gt;</us-gaap:PropertyPlantAndEquipmentPolicyTextBlock>
  <us-gaap:PropertyPlantAndEquipmentDepreciationMethods contextRef="c2_From1Feb2017To30Apr2017">Depreciationis computed using the straight-line method.</us-gaap:PropertyPlantAndEquipmentDepreciationMethods>
  <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c37_From1Feb2017To30Apr2017_BuildingAndBuildingImprovementsMember_MinimumMember">15</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
  <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c38_From1Feb2017To30Apr2017_BuildingAndBuildingImprovementsMember_MaximumMember">40 years</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
  <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c39_From1Feb2017To30Apr2017_FixturesAndEquipmentMember_MinimumMember">2</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
  <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c40_From1Feb2017To30Apr2017_FixturesAndEquipmentMember_MaximumMember">20 years</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
  <us-gaap:InvestmentPolicyTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Investments&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The method of accounting applied to long-term
investments, whether consolidated, equity or cost, involves an evaluation of the significant terms of each investment that explicitly
grant or suggest evidence of control or influence over the operations of the investee and also includes the identification of any
variable interests in which the Company is the primary beneficiary. The Company consolidates the results of two majority owned
subsidiaries, One Earth and NuGen. The results of One Earth are included on a delayed basis of one month lag as One Earth has a
fiscal year end of December 31. NuGen has the same fiscal year as the parent, and therefore, there is no lag in reporting the results
of NuGen. The Company accounts for investments in a limited liability company in which it has a less than 20% ownership interest,
using the equity method of accounting when the factors discussed in ASC 323, &amp;#x201c;&lt;i&gt;Investments-Equity Method and Joint Ventures&lt;/i&gt;&amp;#x201d;
are met. The excess of the carrying value over the underlying equity in the net assets of equity method investees is allocated
to specific assets and liabilities. Any unallocated excess is treated as goodwill and is recorded as a component of the carrying
value of the equity method investee. Investments in businesses that the Company does not control but for which it has the ability
to exercise significant influence over operating and financial matters are accounted for using the equity method. The Company accounts
for its investment in Big River Resources, LLC (&amp;#x201c;Big River&amp;#x201d;) using the equity method of accounting and includes the
results on a delayed basis of one month as Big River has a fiscal year end of December 31.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company periodically evaluates its investments
for impairment due to declines in market value considered to be other than temporary. Such impairment evaluations include general
economic and company-specific evaluations. If the Company determines that a decline in market value is other than temporary, then
a charge to earnings is recorded in the Consolidated Condensed Statements of Operations and a new cost basis in the investment
is established.&lt;/p&gt;</us-gaap:InvestmentPolicyTextBlock>
  <rex:MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting unitRef="pure" contextRef="c41_From1Feb2017To30Apr2017_CostOfSalesMember" decimals="2">0.20</rex:MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting>
  <us-gaap:ComprehensiveIncomePolicyPolicyTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Comprehensive Income&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company has no components of other comprehensive
income, and therefore, comprehensive income equals net income.&lt;/p&gt;</us-gaap:ComprehensiveIncomePolicyPolicyTextBlock>
  <us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Accounting Changes and Recently Issued Accounting Standards&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;In March 2016, the Financial Accounting Standards
Board (&amp;#x201c;FASB&amp;#x201d;) issued Accounting Standards Update (&amp;#x201c;ASU&amp;#x201d;) 2016-09, &amp;#x201c;&lt;i&gt;Improvements to Employee Share-Based
Payment Accounting&lt;/i&gt;&amp;#x201d; (&amp;#x201c;ASU 2016-09&amp;#x201d;). This standard simplifies the accounting treatment for excess tax benefits
and deficiencies, forfeitures, and cash flow considerations related to share-based compensation. The Company adopted this standard
February 1, 2017. The adoption of ASU 2016-09 did not impact the Company&amp;#x2019;s consolidated financial statements and related
disclosures.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;In February 2016, the FASB issued ASU 2016-02
&amp;#x201c;&lt;i&gt;Leases&lt;/i&gt;&amp;#x201d;. This standard requires that virtually all leases will be recognized by lessees on their balance sheet
as a right-of-use asset and a corresponding lease liability, including leases currently accounted for as operating leases. The
Company will be required to adopt this standard effective February 1, 2019. The Company has not completed its analysis of adopting
this guidance but it does expect the adoption of this guidance to have a material impact on its Consolidated Balance Sheet related
to the right to use asset and lease obligation liability to be recognized upon adoption of this guidance. The related leases are
currently accounted for as operating leases (see Note 3).&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company will be required to adopt the amended
guidance in ASC Topic 606 &amp;#x201c;&lt;i&gt;Revenue from Contracts with Customers&lt;/i&gt;&amp;#x201d;, which requires revenue recognition to reflect
the transfer of promised goods or services to customers and replaces existing revenue recognition guidance. The updated standard
permits the use of either the retrospective or cumulative effect transition method. The FASB had deferred the required adoption
of the amended guidance by one year, from February 1, 2017 to February 1, 2018. The Company has not completed its analysis of adopting
this guidance but it does not expect the adoption of this guidance to have a material impact on its consolidated financial statements
with respect to measurement and recognition of revenue. The Company is still evaluating the impact of adopting this guidance on
disclosures in the consolidated financial statements.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;In November 2015, the FASB issued ASU 2015-17
&amp;#x201c;&lt;i&gt;Balance Sheet Classification of Deferred Taxes&lt;/i&gt;&amp;#x201d;, (&amp;#x201c;ASU 2015-17&amp;#x201d;) which requires that for a particular
tax-paying component of an entity and within a particular tax jurisdiction, all deferred tax liabilities and assets shall be offset
and presented as a single noncurrent amount. The Company prospectively adopted the amended guidance effective February 1, 2017.
Prior periods were not retrospectively adjusted. The adoption of ASU 2015-17 did not affect net income attributable to REX common
shareholders or retained earnings in the presented periods.&lt;/p&gt;</us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock>
  <us-gaap:ScheduleOfInventoryCurrentTableTextBlock contextRef="c2_From1Feb2017To30Apr2017">The components of inventory are as follows as of the dates presented (amounts in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;April 30, &lt;br /&gt;
2017&lt;/font&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin-top: 0; margin-bottom: 0; text-align: center&quot;&gt;January 31,&lt;br /&gt;
&lt;/p&gt;
&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: center&quot;&gt;2017&lt;/p&gt;
&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 59%; text-align: left&quot;&gt;Ethanol and other finished goods&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 6%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 7%; text-align: right&quot;&gt;3,159&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 5%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 6%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 6%; text-align: right&quot;&gt;5,262&lt;/td&gt;&lt;td style=&quot;width: 2%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Work in process&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,487&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,359&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;Grain and other raw materials&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;14,781&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;9,436&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;20,427&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;17,057&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfInventoryCurrentTableTextBlock>
  <us-gaap:InventoryFinishedGoodsNetOfReserves unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">3159000</us-gaap:InventoryFinishedGoodsNetOfReserves>
  <us-gaap:InventoryFinishedGoodsNetOfReserves unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">5262000</us-gaap:InventoryFinishedGoodsNetOfReserves>
  <us-gaap:InventoryWorkInProcessNetOfReserves unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">2487000</us-gaap:InventoryWorkInProcessNetOfReserves>
  <us-gaap:InventoryWorkInProcessNetOfReserves unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">2359000</us-gaap:InventoryWorkInProcessNetOfReserves>
  <us-gaap:InventoryRawMaterialsNetOfReserves unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">14781000</us-gaap:InventoryRawMaterialsNetOfReserves>
  <us-gaap:InventoryRawMaterialsNetOfReserves unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">9436000</us-gaap:InventoryRawMaterialsNetOfReserves>
  <us-gaap:LeasesOfLessorDisclosureTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Note 3. &lt;i&gt;Leases&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;At April 30, 2017, the Company has lease agreements,
as lessee, for rail cars and a natural gas pipeline. All of the leases are accounted for as operating leases. The following table
is a summary of future minimum rentals on such leases (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 40%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;Years Ended January 31,&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;Minimum&lt;br /&gt;
    Rentals&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 66%; text-align: left&quot;&gt;Remainder of 2018&lt;/td&gt;&lt;td style=&quot;width: 10%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 12%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;5,486&lt;/td&gt;&lt;td style=&quot;width: 2%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;2019&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;6,910&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;2020&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;5,379&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;2021&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;3,580&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;2022&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,948&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;Thereafter&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;1,622&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;25,925&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;</us-gaap:LeasesOfLessorDisclosureTextBlock>
  <us-gaap:ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock contextRef="c2_From1Feb2017To30Apr2017">At April 30, 2017, the Company has lease agreements, as lessee, for rail cars and a natural gas pipeline. All of the leases are accounted for as operating leases. The following table is a summary of future minimum rentals on such leases (amounts in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 40%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;Years Ended January 31,&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;Minimum&lt;br /&gt;
    Rentals&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 66%; text-align: left&quot;&gt;Remainder of 2018&lt;/td&gt;&lt;td style=&quot;width: 10%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 12%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;5,486&lt;/td&gt;&lt;td style=&quot;width: 2%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;2019&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;6,910&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;2020&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;5,379&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;2021&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;3,580&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;2022&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,948&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;Thereafter&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;1,622&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;25,925&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">5486000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInTwoYears unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">6910000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInTwoYears>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInThreeYears unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">5379000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInThreeYears>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFourYears unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">3580000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFourYears>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFiveYears unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">2948000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFiveYears>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueThereafter unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">1622000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueThereafter>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDue unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">25925000</us-gaap:OperatingLeasesFutureMinimumPaymentsDue>
  <us-gaap:FairValueDisclosuresTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Note 4. &lt;i&gt;Fair Value&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company applies ASC 820, &amp;#x201c;&lt;i&gt;Fair Value
Measurements and Disclosures&amp;#x201d;&lt;/i&gt;, (&amp;#x201c;ASC 820&amp;#x201d;) which provides a framework for measuring fair value under accounting
principles generally accepted in the United States of America. This accounting standard defines fair value as the exchange price
that would be received for an asset or paid to transfer a liability (an exit price) in the principal or most advantageous market
for the asset or liability in an orderly transaction between market participants on the measurement date.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company determines the fair market values
of its financial instruments based on the fair value hierarchy established by ASC 820 which requires an entity to maximize the
use of observable inputs and minimize the use of unobservable inputs when measuring fair value. The standard describes three levels
of inputs that may be used to measure fair values which are provided below. The Company carries certain cash equivalents, investments
and derivative instruments at fair value.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The fair values of derivative assets and liabilities
traded in the over-the-counter market are determined using quantitative models that require the use of multiple market inputs including
interest rates, prices and indices to generate pricing and volatility factors, which are used to value the position. The predominance
of market inputs are actively quoted and can be validated through external sources, including brokers, market transactions and
third-party pricing services. Estimation risk is greater for derivative asset and liability positions that are either option-based
or have longer maturity dates where observable market inputs are less readily available or are unobservable, in which case interest
rate, price or index scenarios are extrapolated in order to determine the fair value. The fair values of derivative assets and
liabilities include adjustments for market liquidity, counterparty credit quality, the Company&amp;#x2019;s own credit standing and
other specific factors, where appropriate. The fair values of property and equipment are determined by using various models that
discount future expected cash flows.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;To ensure the prudent application of estimates
and management judgment in determining the fair value of derivative assets and liabilities, investments and property and equipment,
various processes and controls have been adopted, which include: (i) model validation that requires a review and approval for pricing,
financial statement fair value determination and risk quantification; and (ii) periodic review and substantiation of profit and
loss reporting for all derivative instruments. Financial assets and liabilities measured at fair value on a recurring basis at
April 30, 2017 are summarized below (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;text-align: center; vertical-align: bottom; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; vertical-align: bottom; border-bottom: Black 1px solid&quot;&gt;Level 1&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; vertical-align: bottom; border-bottom: Black 1px solid&quot;&gt;Level 2&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; vertical-align: bottom; border-bottom: Black 1px solid&quot;&gt;Level 3&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; vertical-align: bottom; border-bottom: Black 1px solid&quot;&gt;&lt;p style=&quot;margin-top: 0; margin-bottom: 0; text-align: center&quot;&gt;Fair Value&lt;/p&gt;
&lt;p style=&quot;margin-top: 0; margin-bottom: 0; text-align: center&quot;&gt;&lt;/p&gt;
&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 48%; text-align: left&quot;&gt;Commodity futures (1)&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;66&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;66&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;Investment in cooperative (2)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;Total assets&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;66&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;399&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;Forward purchase contract liability (3)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;413&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;413&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;Financial assets and liabilities measured at
fair value on a recurring basis at January 31, 2017 are summarized below (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Level 1&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Level 2&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Level 3&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Fair Value&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 48%; text-align: left&quot;&gt;Commodity futures (1)&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;45&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;45&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Forward purchase contract asset (4)&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;163&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;163&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;Investment in cooperative (2)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; padding-bottom: 1px; border-bottom: Black 1px solid&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;Total assets&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;208&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;541&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;Forward purchase contract liability (3)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;(1) Commodity futures are included in &amp;#x201c;Prepaid
expenses and other current assets&amp;#x201d; on the accompanying Consolidated Condensed Balance Sheets.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;(2) The investment in cooperative is included
in &amp;#x201c;Other assets&amp;#x201d; on the accompanying Consolidated Condensed Balance Sheets.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;(3) The forward purchase contract liability is
  included in &amp;#x201c;Accrued expenses and other current liabilities&amp;#x201d; on the accompanying Consolidated Condensed Balance Sheets.
&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;(4) The forward purchase contract asset is included
in &amp;#x201c;Prepaid expenses and other current assets on the accompanying Consolidated Condensed Balance Sheets.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company determined the fair value of the
investment in cooperative by using a discounted cash flow analysis on the expected cash flows. Inputs used in the analysis include
the face value of the allocated equity amount, the projected term for repayment based upon a historical trend, and a risk adjusted
discount rate based on the expected compensation participants would demand because of the uncertainty of the future cash flows.
The inherent risk and uncertainty associated with unobservable inputs could have a significant effect on the actual fair value
of the investment.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;There were no assets measured at fair value on
a non-recurring basis at April 30, 2017 or January 31, 2017.&lt;/p&gt;&lt;br/&gt;</us-gaap:FairValueDisclosuresTextBlock>
  <us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock contextRef="c2_From1Feb2017To30Apr2017">Financial assets and liabilities measured at fair value on a recurring basis at April 30, 2017 are summarized below (amounts in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;text-align: center; vertical-align: bottom; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; vertical-align: bottom; border-bottom: Black 1px solid&quot;&gt;Level 1&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; vertical-align: bottom; border-bottom: Black 1px solid&quot;&gt;Level 2&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; vertical-align: bottom; border-bottom: Black 1px solid&quot;&gt;Level 3&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; vertical-align: bottom; border-bottom: Black 1px solid&quot;&gt;&lt;p style=&quot;margin-top: 0; margin-bottom: 0; text-align: center&quot;&gt;Fair Value&lt;/p&gt;
&lt;p style=&quot;margin-top: 0; margin-bottom: 0; text-align: center&quot;&gt;&lt;/p&gt;
&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: center; vertical-align: bottom&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 48%; text-align: left&quot;&gt;Commodity futures (1)&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;66&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;66&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;Investment in cooperative (2)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;Total assets&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;66&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;399&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;Forward purchase contract liability (3)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;413&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;413&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Level 1&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Level 2&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Level 3&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Fair Value&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 48%; text-align: left&quot;&gt;Commodity futures (1)&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;45&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;45&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Forward purchase contract asset (4)&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;163&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;163&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;Investment in cooperative (2)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; padding-bottom: 1px; border-bottom: Black 1px solid&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;Total assets&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;208&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;541&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;Forward purchase contract liability (3)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;(1) Commodity futures are included in &amp;#x201c;Prepaid
expenses and other current assets&amp;#x201d; on the accompanying Consolidated Condensed Balance Sheets.&lt;/p&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;(2) The investment in cooperative is included
in &amp;#x201c;Other assets&amp;#x201d; on the accompanying Consolidated Condensed Balance Sheets.&lt;/p&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;(3) The forward purchase contract liability is
  included in &amp;#x201c;Accrued expenses and other current liabilities&amp;#x201d; on the accompanying Consolidated Condensed Balance Sheets.
&lt;/p&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;(4) The forward purchase contract asset is included
in &amp;#x201c;Prepaid expenses and other current assets on the accompanying Consolidated Condensed Balance Sheets.&lt;/p&gt;</us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c42_AsOf30Apr2017_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c42_AsOf30Apr2017_FairValueInputsLevel1Member" xs:nil="true"/>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c43_AsOf30Apr2017_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c43_AsOf30Apr2017_FairValueInputsLevel2Member" decimals="-3">66000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c44_AsOf30Apr2017_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c44_AsOf30Apr2017_FairValueInputsLevel3Member" xs:nil="true"/>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c0_AsOf30Apr2017_usd" unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">66000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c42_AsOf30Apr2017_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c42_AsOf30Apr2017_FairValueInputsLevel1Member" xs:nil="true"/>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c43_AsOf30Apr2017_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c43_AsOf30Apr2017_FairValueInputsLevel2Member" xs:nil="true"/>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c44_AsOf30Apr2017_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c44_AsOf30Apr2017_FairValueInputsLevel3Member" decimals="-3">333000</rex:InvestmentInCooperativeFairValueDisclosure>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c0_AsOf30Apr2017_usd" unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">333000</rex:InvestmentInCooperativeFairValueDisclosure>
  <us-gaap:AssetsFairValueDisclosure unitRef="usd" contextRef="c43_AsOf30Apr2017_FairValueInputsLevel2Member" decimals="-3">66000</us-gaap:AssetsFairValueDisclosure>
  <us-gaap:AssetsFairValueDisclosure unitRef="usd" contextRef="c44_AsOf30Apr2017_FairValueInputsLevel3Member" decimals="-3">333000</us-gaap:AssetsFairValueDisclosure>
  <us-gaap:AssetsFairValueDisclosure unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">399000</us-gaap:AssetsFairValueDisclosure>
  <rex:ForwardPurchaseContractLiabilityFairValue id="_ForwardPurchaseContractLiabilityFairValue-c42_AsOf30Apr2017_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c42_AsOf30Apr2017_FairValueInputsLevel1Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractLiabilityFairValue id="_ForwardPurchaseContractLiabilityFairValue-c43_AsOf30Apr2017_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c43_AsOf30Apr2017_FairValueInputsLevel2Member" decimals="-3">413000</rex:ForwardPurchaseContractLiabilityFairValue>
  <rex:ForwardPurchaseContractLiabilityFairValue id="_ForwardPurchaseContractLiabilityFairValue-c44_AsOf30Apr2017_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c44_AsOf30Apr2017_FairValueInputsLevel3Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractLiabilityFairValue id="_ForwardPurchaseContractLiabilityFairValue-c0_AsOf30Apr2017_usd" unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">413000</rex:ForwardPurchaseContractLiabilityFairValue>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c45_AsOf31Jan2017_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c45_AsOf31Jan2017_FairValueInputsLevel1Member" xs:nil="true"/>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c46_AsOf31Jan2017_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c46_AsOf31Jan2017_FairValueInputsLevel2Member" decimals="-3">45000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c47_AsOf31Jan2017_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c47_AsOf31Jan2017_FairValueInputsLevel3Member" xs:nil="true"/>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c1_AsOf31Jan2017_usd" unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">45000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c45_AsOf31Jan2017_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c45_AsOf31Jan2017_FairValueInputsLevel1Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c46_AsOf31Jan2017_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c46_AsOf31Jan2017_FairValueInputsLevel2Member" decimals="-3">163000</rex:ForwardPurchaseContractsAsset>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c47_AsOf31Jan2017_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c47_AsOf31Jan2017_FairValueInputsLevel3Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c1_AsOf31Jan2017_usd" unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">163000</rex:ForwardPurchaseContractsAsset>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c45_AsOf31Jan2017_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c45_AsOf31Jan2017_FairValueInputsLevel1Member" xs:nil="true"/>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c46_AsOf31Jan2017_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c46_AsOf31Jan2017_FairValueInputsLevel2Member" xs:nil="true"/>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c47_AsOf31Jan2017_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c47_AsOf31Jan2017_FairValueInputsLevel3Member" decimals="-3">333000</rex:InvestmentInCooperativeFairValueDisclosure>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c1_AsOf31Jan2017_usd" unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">333000</rex:InvestmentInCooperativeFairValueDisclosure>
  <us-gaap:AssetsFairValueDisclosure unitRef="usd" contextRef="c46_AsOf31Jan2017_FairValueInputsLevel2Member" decimals="-3">208000</us-gaap:AssetsFairValueDisclosure>
  <us-gaap:AssetsFairValueDisclosure unitRef="usd" contextRef="c47_AsOf31Jan2017_FairValueInputsLevel3Member" decimals="-3">333000</us-gaap:AssetsFairValueDisclosure>
  <us-gaap:AssetsFairValueDisclosure unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">541000</us-gaap:AssetsFairValueDisclosure>
  <rex:ForwardPurchaseContractLiabilityFairValue id="_ForwardPurchaseContractLiabilityFairValue-c45_AsOf31Jan2017_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c45_AsOf31Jan2017_FairValueInputsLevel1Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractLiabilityFairValue id="_ForwardPurchaseContractLiabilityFairValue-c46_AsOf31Jan2017_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c46_AsOf31Jan2017_FairValueInputsLevel2Member" decimals="-3">136000</rex:ForwardPurchaseContractLiabilityFairValue>
  <rex:ForwardPurchaseContractLiabilityFairValue id="_ForwardPurchaseContractLiabilityFairValue-c47_AsOf31Jan2017_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c47_AsOf31Jan2017_FairValueInputsLevel3Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractLiabilityFairValue id="_ForwardPurchaseContractLiabilityFairValue-c1_AsOf31Jan2017_usd" unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">136000</rex:ForwardPurchaseContractLiabilityFairValue>
  <us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Note 5. &amp;#160;&lt;i&gt;Property and Equipment&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The components of property and equipment are
as follows for the periods presented (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;April 30,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 72%; text-align: left&quot;&gt;Land and improvements&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;20,960&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;20,951&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Buildings and improvements&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;23,237&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;23,203&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Machinery, equipment and fixtures&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;256,577&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;255,348&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;Construction in progress&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;6,968&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;1,046&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;307,742&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;300,548&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;Less:&amp;#160;&amp;#160;accumulated depreciation&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;(123,068&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;(117,787&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;184,674&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;182,761&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;</us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock>
  <us-gaap:PropertyPlantAndEquipmentTextBlock contextRef="c2_From1Feb2017To30Apr2017">The components of property and equipment are as follows for the periods presented (amounts in thousa&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;April 30,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 72%; text-align: left&quot;&gt;Land and improvements&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;20,960&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;20,951&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Buildings and improvements&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;23,237&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;23,203&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Machinery, equipment and fixtures&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;256,577&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;255,348&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;Construction in progress&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;6,968&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;1,046&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;307,742&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;300,548&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;Less:&amp;#160;&amp;#160;accumulated depreciation&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;(123,068&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;(117,787&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;184,674&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;182,761&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:PropertyPlantAndEquipmentTextBlock>
  <us-gaap:LandAndLandImprovements unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">20960000</us-gaap:LandAndLandImprovements>
  <us-gaap:LandAndLandImprovements unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">20951000</us-gaap:LandAndLandImprovements>
  <us-gaap:BuildingsAndImprovementsGross unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">23237000</us-gaap:BuildingsAndImprovementsGross>
  <us-gaap:BuildingsAndImprovementsGross unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">23203000</us-gaap:BuildingsAndImprovementsGross>
  <us-gaap:MachineryAndEquipmentGross unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">256577000</us-gaap:MachineryAndEquipmentGross>
  <us-gaap:MachineryAndEquipmentGross unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">255348000</us-gaap:MachineryAndEquipmentGross>
  <us-gaap:ConstructionInProgressGross unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">6968000</us-gaap:ConstructionInProgressGross>
  <us-gaap:ConstructionInProgressGross unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">1046000</us-gaap:ConstructionInProgressGross>
  <us-gaap:PropertyPlantAndEquipmentGross unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">307742000</us-gaap:PropertyPlantAndEquipmentGross>
  <us-gaap:PropertyPlantAndEquipmentGross unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">300548000</us-gaap:PropertyPlantAndEquipmentGross>
  <us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">123068000</us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment>
  <us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">117787000</us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment>
  <us-gaap:OtherAssetsDisclosureTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Note 6. &amp;#160;&lt;i&gt;Other Assets&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The components of other assets are as follows
for the periods presented (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;April 30,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 72%; text-align: left&quot;&gt;Real estate taxes refundable&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;5,925&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;5,923&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td&gt;Deposits&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;105&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;155&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;Other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;747&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;835&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;6,777&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;6,913&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt; text-align: justify&quot;&gt;Real estate taxes refundable represent amounts
due One Earth associated with refunds of previously paid taxes in connection with a tax increment financing arrangement with local
taxing authorities. Deposits are with utility and other vendors.&lt;/p&gt;&lt;br/&gt;</us-gaap:OtherAssetsDisclosureTextBlock>
  <us-gaap:ScheduleOfOtherAssetsTableTextBlock contextRef="c2_From1Feb2017To30Apr2017">The components of other assets are as follows for the periods presented (amounts in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;April 30,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 72%; text-align: left&quot;&gt;Real estate taxes refundable&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;5,925&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;5,923&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td&gt;Deposits&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;105&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;155&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;Other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;747&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;835&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;6,777&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;6,913&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfOtherAssetsTableTextBlock>
  <rex:RealEstateTaxesRefundableNoncurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">5925000</rex:RealEstateTaxesRefundableNoncurrent>
  <rex:RealEstateTaxesRefundableNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">5923000</rex:RealEstateTaxesRefundableNoncurrent>
  <us-gaap:DepositsAssetsNoncurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">105000</us-gaap:DepositsAssetsNoncurrent>
  <us-gaap:DepositsAssetsNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">155000</us-gaap:DepositsAssetsNoncurrent>
  <us-gaap:OtherAssetsMiscellaneousNoncurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">747000</us-gaap:OtherAssetsMiscellaneousNoncurrent>
  <us-gaap:OtherAssetsMiscellaneousNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">835000</us-gaap:OtherAssetsMiscellaneousNoncurrent>
  <us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Note 7. &lt;i&gt;&amp;#160;Accrued Expenses and Other Current Liabilities&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt; text-align: justify&quot;&gt;The components of accrued expenses and other
current liabilities are as follows for the periods presented (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;April 30,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 72%; text-align: left&quot;&gt;Accrued utility charges&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;2,003&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;2,414&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Accrued payroll and related items&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,031&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;4,279&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Accrued real estate taxes&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,868&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,716&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Accrued income taxes&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;4,363&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,120&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;Other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;2,996&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;1,819&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;14,261&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;13,348&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;</us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock>
  <us-gaap:OtherCurrentLiabilitiesTableTextBlock contextRef="c2_From1Feb2017To30Apr2017">The components of accrued expenses and other current liabilities are as follows for the periods presented (amounts in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;April 30,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 72%; text-align: left&quot;&gt;Accrued utility charges&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;2,003&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;2,414&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Accrued payroll and related items&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,031&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;4,279&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Accrued real estate taxes&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,868&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,716&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Accrued income taxes&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;4,363&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,120&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;Other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;2,996&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;1,819&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;14,261&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;13,348&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:OtherCurrentLiabilitiesTableTextBlock>
  <us-gaap:AccruedUtilitiesCurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">2003000</us-gaap:AccruedUtilitiesCurrent>
  <us-gaap:AccruedUtilitiesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">2414000</us-gaap:AccruedUtilitiesCurrent>
  <us-gaap:EmployeeRelatedLiabilitiesCurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">2031000</us-gaap:EmployeeRelatedLiabilitiesCurrent>
  <us-gaap:EmployeeRelatedLiabilitiesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">4279000</us-gaap:EmployeeRelatedLiabilitiesCurrent>
  <us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">2868000</us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent>
  <us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">2716000</us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent>
  <us-gaap:AccruedIncomeTaxes unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">4363000</us-gaap:AccruedIncomeTaxes>
  <us-gaap:AccruedIncomeTaxes unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">2120000</us-gaap:AccruedIncomeTaxes>
  <us-gaap:OtherAccruedLiabilitiesCurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">2996000</us-gaap:OtherAccruedLiabilitiesCurrent>
  <us-gaap:OtherAccruedLiabilitiesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">1819000</us-gaap:OtherAccruedLiabilitiesCurrent>
  <us-gaap:DebtDisclosureTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Note 8. &amp;#160;&lt;i&gt;Revolving Lines of Credit&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;Effective April 1, 2016, One Earth and NuGen
each entered into $10.0 million revolving loan facilities that matured April 1, 2017. Neither One Earth nor NuGen had outstanding
borrowings on the revolving loans during the three months ended April 30, 2017 and 2016.&lt;/p&gt;&lt;br/&gt;</us-gaap:DebtDisclosureTextBlock>
  <us-gaap:DebtInstrumentMaturityDate contextRef="c48_From1Feb2017To30Apr2017_RevolvingCreditFacilityMember_OneEarthEnergyAndNuGenEnergyMember">2017-04-01</us-gaap:DebtInstrumentMaturityDate>
  <us-gaap:LinesOfCreditCurrent unitRef="usd" contextRef="c49_AsOf30Apr2017_RevolvingCreditFacilityMember_OneEarthEnergyAndNuGenEnergyMember" decimals="-5">10000000</us-gaap:LinesOfCreditCurrent>
  <us-gaap:FinancialInstrumentsDisclosureTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Note 9. &lt;i&gt;Derivative Financial Instruments&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company is exposed to various market risks,
including changes in commodity prices (raw materials and finished goods). To manage risks associated with the volatility of these
natural business exposures, the Company enters into commodity agreements and forward purchase (corn) and sale (ethanol, distillers
grains and non-food grade corn oil) contracts. The Company does not purchase or sell derivative financial instruments for trading
or speculative purposes. The Company does not purchase or sell derivative financial instruments for which a lack of marketplace
quotations would require the use of fair value estimation techniques.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The following table provides information about
the fair values of the Company&amp;#x2019;s derivative financial instruments and the line items on the Consolidated Condensed Balance
Sheets in which the fair values are reflected (in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 90%; font: 10pt Times New Roman, Times, Serif; margin-left: 36pt&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;text-align: center&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Asset Derivatives &lt;br /&gt; Fair Value&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Liability Derivatives &lt;br /&gt; Fair Value&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;April 30,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;April 30,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 53%; text-align: left&quot;&gt;Commodity futures (1)&lt;/td&gt;&lt;td style=&quot;width: 1%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;66&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;45&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;Forward purchase contracts (2)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;163&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;413&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;66&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;208&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;413&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0 0 0 36pt; text-align: justify&quot;&gt;(1) Commodity futures are included in prepaid expenses and other
current assets. These contracts are short/sell positions for approximately 0.9 million and 0.7 million bushels of corn at April
30, 2017 and January 31, 2017, respectively.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0 0 0 36pt; text-align: justify&quot;&gt;(2) Forward purchase contracts assets are included in prepaid expenses
and other current assets while forward purchase contracts liabilities are included in accrued expenses and other current liabilities.
These contracts are for purchases of approximately 10.8 million and 5.3 million bushels of corn at April 30, 2017 and January 31,
2017, respectively.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;As of April 30, 2017, all of the derivative financial
instruments held by the Company were subject to enforceable master netting arrangements. The Company&amp;#x2019;s accounting policy
is to offset positions amounts owed or owing with the same counterparty. As of April 30, 2017, the gross positions of the enforceable
master netting agreements are not significantly different from the net positions presented in the table above. Depending on the
amount of an unrealized loss on a derivative contract held by the Company, the counterparty may require collateral to secure the
Company&amp;#x2019;s derivative contract position. As of April 30, 2017, the Company was
required to maintain collateral with the counterparty in the amount of approximately $130,000 to secure the Company&amp;#x2019;s derivative
liability position.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;See Note 4 which contains fair value information
related to derivative financial instruments.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;Gains of approximately $124,000 and $488,000
for the first quarters of fiscal years 2017 and 2016, respectively, on the Company&amp;#x2019;s derivative financial instruments were
included in cost of sales on the Consolidated Condensed Statements of Operations.&lt;/p&gt;&lt;br/&gt;</us-gaap:FinancialInstrumentsDisclosureTextBlock>
  <rex:QuantityOfBushelsUnderCommodityFutures unitRef="bu" contextRef="c0_AsOf30Apr2017" decimals="-5">900000</rex:QuantityOfBushelsUnderCommodityFutures>
  <rex:QuantityOfBushelsUnderCommodityFutures unitRef="bu" contextRef="c1_AsOf31Jan2017" decimals="-5">700000</rex:QuantityOfBushelsUnderCommodityFutures>
  <rex:QuantityOfBushelsUnderForwardPurchaseContract unitRef="bu" contextRef="c0_AsOf30Apr2017" decimals="-5">10800000</rex:QuantityOfBushelsUnderForwardPurchaseContract>
  <rex:QuantityOfBushelsUnderForwardPurchaseContract unitRef="bu" contextRef="c1_AsOf31Jan2017" decimals="-5">5300000</rex:QuantityOfBushelsUnderForwardPurchaseContract>
  <us-gaap:DebtInstrumentCollateralAmount unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="0">130000</us-gaap:DebtInstrumentCollateralAmount>
  <us-gaap:DerivativeGainOnDerivative unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="0">124000</us-gaap:DerivativeGainOnDerivative>
  <us-gaap:DerivativeGainOnDerivative unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="0">488000</us-gaap:DerivativeGainOnDerivative>
  <us-gaap:ScheduleOfDerivativeAssetsAtFairValueTableTextBlock contextRef="c2_From1Feb2017To30Apr2017">The following table provides information about the fair values of the Company&amp;#x2019;s derivative financial instruments and the line items on the Consolidated Condensed Balance Sheets in which the fair values are reflected (in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 90%; font: 10pt Times New Roman, Times, Serif; margin-left: 36pt&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;text-align: center&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Asset Derivatives &lt;br /&gt; Fair Value&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Liability Derivatives &lt;br /&gt; Fair Value&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;April 30,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;April 30,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 53%; text-align: left&quot;&gt;Commodity futures (1)&lt;/td&gt;&lt;td style=&quot;width: 1%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;66&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;45&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 8%; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;Forward purchase contracts (2)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;163&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;413&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;66&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;208&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;413&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0 0 0 36pt; text-align: justify&quot;&gt;(1) Commodity futures are included in prepaid expenses and other
current assets. These contracts are short/sell positions for approximately 0.9 million and 0.7 million bushels of corn at April
30, 2017 and January 31, 2017, respectively.&lt;/p&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0 0 0 36pt; text-align: justify&quot;&gt;(2) Forward purchase contracts assets are included in prepaid expenses
and other current assets while forward purchase contracts liabilities are included in accrued expenses and other current liabilities.
These contracts are for purchases of approximately 10.8 million and 5.3 million bushels of corn at April 30, 2017 and January 31,
2017, respectively.&lt;/p&gt;</us-gaap:ScheduleOfDerivativeAssetsAtFairValueTableTextBlock>
  <us-gaap:DerivativeAssets id="_DerivativeAssets-c50_AsOf30Apr2017_CommodityContractMember_usd" unitRef="usd" contextRef="c50_AsOf30Apr2017_CommodityContractMember" decimals="-3">66000</us-gaap:DerivativeAssets>
  <us-gaap:DerivativeAssets id="_DerivativeAssets-c51_AsOf31Jan2017_CommodityContractMember_usd" unitRef="usd" contextRef="c51_AsOf31Jan2017_CommodityContractMember" decimals="-3">45000</us-gaap:DerivativeAssets>
  <us-gaap:DerivativeLiabilities id="_DerivativeLiabilities-c50_AsOf30Apr2017_CommodityContractMember_usd" unitRef="usd" contextRef="c50_AsOf30Apr2017_CommodityContractMember" xs:nil="true"/>
  <us-gaap:DerivativeLiabilities id="_DerivativeLiabilities-c51_AsOf31Jan2017_CommodityContractMember_usd" unitRef="usd" contextRef="c51_AsOf31Jan2017_CommodityContractMember" xs:nil="true"/>
  <us-gaap:DerivativeAssets id="_DerivativeAssets-c52_AsOf30Apr2017_ForwardContractsMember_usd" unitRef="usd" contextRef="c52_AsOf30Apr2017_ForwardContractsMember" xs:nil="true"/>
  <us-gaap:DerivativeAssets id="_DerivativeAssets-c53_AsOf31Jan2017_ForwardContractsMember_usd" unitRef="usd" contextRef="c53_AsOf31Jan2017_ForwardContractsMember" decimals="-3">163000</us-gaap:DerivativeAssets>
  <us-gaap:DerivativeLiabilities id="_DerivativeLiabilities-c52_AsOf30Apr2017_ForwardContractsMember_usd" unitRef="usd" contextRef="c52_AsOf30Apr2017_ForwardContractsMember" decimals="-3">413000</us-gaap:DerivativeLiabilities>
  <us-gaap:DerivativeLiabilities id="_DerivativeLiabilities-c53_AsOf31Jan2017_ForwardContractsMember_usd" unitRef="usd" contextRef="c53_AsOf31Jan2017_ForwardContractsMember" decimals="-3">136000</us-gaap:DerivativeLiabilities>
  <us-gaap:DerivativeAssets unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">66000</us-gaap:DerivativeAssets>
  <us-gaap:DerivativeAssets unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">208000</us-gaap:DerivativeAssets>
  <us-gaap:DerivativeLiabilities unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">413000</us-gaap:DerivativeLiabilities>
  <us-gaap:DerivativeLiabilities unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">136000</us-gaap:DerivativeLiabilities>
  <invest:InvestmentTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Note 10. &amp;#160;&lt;i&gt;Investments &lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The following table summarizes the equity method
investment at April 30, 2017 and January 31, 2017 (dollars in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid&quot;&gt;Entity&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;Ownership Percentage&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;Carrying Amount &amp;#160;April 30, 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;Carrying Amount January 31, 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;width: 6%; text-align: left; white-space: nowrap;&quot;&gt;Big River&lt;/td&gt;&lt;td style=&quot;width: 54%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 7%; text-align: right&quot;&gt;9.7&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;%&lt;/td&gt;&lt;td style=&quot;width: 4%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 11%; text-align: right&quot;&gt;38,533&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 4%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 11%; text-align: right&quot;&gt;37,833&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt; text-align: justify&quot;&gt;Undistributed earnings of the equity method investee
totaled approximately $18.5 million and $17.8 million at April 30, 2017 and January 31, 2017, respectively. The Company did not
receive dividends from its equity method investee in the first quarter of fiscal year 2017 or 2016.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;Summarized financial information for the Company&amp;#x2019;s
equity method investee is presented in the following table for the periods presented (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 60%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Three Months Ended&lt;br /&gt; April 30,&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2016&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 72%; text-align: left&quot;&gt;Net sales and revenue&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;192,500&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;183,571&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Gross profit&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;8,181&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;5,870&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Income from continuing operations&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;7,206&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,404&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Net income&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;7,206&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,404&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;Big River has debt agreements that limit amounts
Big River can pay in the form of dividends or advances to owners. The restricted net assets of Big River at April 30, 2017 and
January 31, 2017 are approximately $284.7 million and $278.7 million, respectively.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;On June 1, 2015, Patriot and a subsidiary of
CHS Inc. (&amp;#x201c;CHS&amp;#x201d;) completed a merger that resulted in CHS acquiring 100% of the ownership interest in Patriot. During
the first quarter of fiscal year 2016, the Company received proceeds of approximately $2.3 million as partial payment for certain
escrow holdbacks and adjustments to the purchase price. As a result, the Company recognized approximately $0.2 million as gain
on sale of investment during the first quarter of fiscal year 2016. The Company does not expect any further proceeds or gain/loss
on sale of investment to be significant.&lt;/p&gt;&lt;br/&gt;</invest:InvestmentTextBlock>
  <us-gaap:IncomeLossFromEquityMethodInvestments unitRef="usd" contextRef="c54_From1Feb2017To30Apr2017_BigRiverMember" decimals="-5">18500000</us-gaap:IncomeLossFromEquityMethodInvestments>
  <us-gaap:IncomeLossFromEquityMethodInvestments unitRef="usd" contextRef="c55_From1Feb2016To31Jan2017_BigRiverMember" decimals="-5">17800000</us-gaap:IncomeLossFromEquityMethodInvestments>
  <us-gaap:EquityMethodInvestmentUnderlyingEquityInNetAssets unitRef="usd" contextRef="c56_AsOf30Apr2017_BigRiverMember" decimals="-5">284700000</us-gaap:EquityMethodInvestmentUnderlyingEquityInNetAssets>
  <us-gaap:EquityMethodInvestmentUnderlyingEquityInNetAssets unitRef="usd" contextRef="c57_AsOf31Jan2017_BigRiverMember" decimals="-5">278700000</us-gaap:EquityMethodInvestmentUnderlyingEquityInNetAssets>
  <us-gaap:BusinessAcquisitionPercentageOfVotingInterestsAcquired unitRef="pure" contextRef="c58_AsOf30Apr2017_PatriotMember" decimals="2">1.00</us-gaap:BusinessAcquisitionPercentageOfVotingInterestsAcquired>
  <rex:ProceedsFromPaymentForEscrowHoldbacksAndAdjustments unitRef="usd" contextRef="c59_From1Feb2016To30Apr2016_PatriotMember" decimals="-5">2300000</rex:ProceedsFromPaymentForEscrowHoldbacksAndAdjustments>
  <us-gaap:GainLossOnSaleOfInvestments unitRef="usd" contextRef="c59_From1Feb2016To30Apr2016_PatriotMember" decimals="-5">200000</us-gaap:GainLossOnSaleOfInvestments>
  <us-gaap:EquityMethodInvestmentsTextBlock contextRef="c2_From1Feb2017To30Apr2017">The following table summarizes the equity method investment at April 30, 2017 and January 31, 2017 (dollars in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid&quot;&gt;Entity&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;Ownership Percentage&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;Carrying Amount &amp;#160;April 30, 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;Carrying Amount January 31, 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;width: 6%; text-align: left; white-space: nowrap;&quot;&gt;Big River&lt;/td&gt;&lt;td style=&quot;width: 54%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 7%; text-align: right&quot;&gt;9.7&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;%&lt;/td&gt;&lt;td style=&quot;width: 4%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 11%; text-align: right&quot;&gt;38,533&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 4%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 11%; text-align: right&quot;&gt;37,833&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:EquityMethodInvestmentsTextBlock>
  <us-gaap:EquityMethodInvestmentOwnershipPercentage unitRef="pure" contextRef="c56_AsOf30Apr2017_BigRiverMember" decimals="3">0.097</us-gaap:EquityMethodInvestmentOwnershipPercentage>
  <us-gaap:EquityMethodInvestments unitRef="usd" contextRef="c56_AsOf30Apr2017_BigRiverMember" decimals="-3">38533000</us-gaap:EquityMethodInvestments>
  <us-gaap:EquityMethodInvestments unitRef="usd" contextRef="c57_AsOf31Jan2017_BigRiverMember" decimals="-3">37833000</us-gaap:EquityMethodInvestments>
  <rex:ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock contextRef="c2_From1Feb2017To30Apr2017">Summarized financial information for the Company&amp;#x2019;s equity method investee is presented in the following table for the periods presented (amounts in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 60%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Three Months Ended&lt;br /&gt; April 30,&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2016&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 72%; text-align: left&quot;&gt;Net sales and revenue&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;192,500&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;183,571&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Gross profit&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;8,181&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;5,870&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Income from continuing operations&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;7,206&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,404&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Net income&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;7,206&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,404&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</rex:ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue unitRef="usd" contextRef="c54_From1Feb2017To30Apr2017_BigRiverMember" decimals="-3">192500000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue unitRef="usd" contextRef="c60_From1Feb2016To30Apr2016_BigRiverMember" decimals="-3">183571000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss unitRef="usd" contextRef="c54_From1Feb2017To30Apr2017_BigRiverMember" decimals="-3">8181000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss unitRef="usd" contextRef="c60_From1Feb2016To30Apr2016_BigRiverMember" decimals="-3">5870000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems unitRef="usd" contextRef="c54_From1Feb2017To30Apr2017_BigRiverMember" decimals="-3">7206000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems unitRef="usd" contextRef="c60_From1Feb2016To30Apr2016_BigRiverMember" decimals="-3">2404000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss unitRef="usd" contextRef="c54_From1Feb2017To30Apr2017_BigRiverMember" decimals="-3">7206000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss unitRef="usd" contextRef="c60_From1Feb2016To30Apr2016_BigRiverMember" decimals="-3">2404000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss>
  <us-gaap:CompensationAndEmployeeBenefitPlansTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Note 11.&amp;#160; &lt;i&gt;Employee Benefits&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt; text-align: justify&quot;&gt;The Company maintains the REX 2015 Incentive
Plan, approved by its shareholders, which reserves a total of 550,000 shares of common stock for issuance pursuant to its terms.
The plan provides for the granting of shares of stock, including options to purchase shares of common stock, stock appreciation
rights tied to the value of common stock, restricted stock, and restricted stock unit awards to eligible employees, non-employee
directors and consultants. The Company measures share-based compensation grants at fair value on the grant date, adjusted for estimated
forfeitures. The Company records noncash compensation expense related to liability and equity awards in its consolidated financial
statements over the requisite service period on a straight-line basis. At April 30, 2017, 525,330 shares remain available for issuance
under the Plan. As a component of their compensation, restricted stock has been granted to directors at the market price of REX
common stock on the date of the grant. In addition one third of executives&amp;#x2019; incentive compensation is payable by an award
of restricted stock based on the then market price of REX common stock.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt; text-align: justify&quot;&gt;At April 30, and January 31, 2017, unrecognized
compensation cost related to nonvested restricted stock was approximately $185,000 and $214,000, respectively.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The following table summarizes non-vested restricted
stock award activity for the three months ended April 30, 2017:&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 95%; font: 10pt Courier New, Courier, Monospace&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; white-space: nowrap;&quot;&gt;&lt;b&gt;&amp;#160;&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;&quot;&gt;&lt;b&gt;&amp;#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;font-family: Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;&quot;&gt;&lt;b&gt;Non-Vested
    &lt;br /&gt; Shares&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;&quot;&gt;&lt;b&gt;&amp;#160;&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;&quot;&gt;&lt;b&gt;&amp;#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;font-family: Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;&quot;&gt;&lt;b&gt;Weighted
    &lt;br /&gt;Average Grant&lt;br /&gt;Date Fair Value&lt;br /&gt;(000&amp;#x2019;s)&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;&quot;&gt;&lt;b&gt;&amp;#160;&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;&quot;&gt;&lt;b&gt;&amp;#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;font-family: Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;&quot;&gt;&lt;b&gt;Weighted
    &lt;br /&gt; Average Remaining&lt;br /&gt;Vesting Term &lt;br /&gt; (in years)&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;&quot;&gt;&lt;b&gt;&amp;#160;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 56%; font-family: Times New Roman, Times, Serif&quot;&gt;Non-Vested at January 31, 2017&lt;/td&gt;&lt;td style=&quot;width: 2%; font-family: Times New Roman, Times, Serif&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 10%; font-family: Times New Roman, Times, Serif; text-align: right&quot;&gt;23,350&lt;/td&gt;&lt;td style=&quot;width: 1%; font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 2%; font-family: Times New Roman, Times, Serif&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 11%; font-family: Times New Roman, Times, Serif; text-align: right&quot;&gt;1,386&lt;/td&gt;&lt;td style=&quot;width: 1%; font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 2%; font-family: Times New Roman, Times, Serif&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 11%; font-family: Times New Roman, Times, Serif; text-align: right&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;width: 1%; font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;Granted&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;Forfeited&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;Vested&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 3px&quot;&gt;Non-Vested at April 30, 2017&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 3px double&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double&quot;&gt;23,350&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double&quot;&gt;1,386&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: right; padding-bottom: 3px&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;</us-gaap:CompensationAndEmployeeBenefitPlansTextBlock>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized unitRef="shares" contextRef="c61_AsOf30Apr2017_EmployeeStockOptionMember_StockOptionPlans2015Member" decimals="INF">550000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant unitRef="shares" contextRef="c61_AsOf30Apr2017_EmployeeStockOptionMember_StockOptionPlans2015Member" decimals="INF">525330</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant>
  <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="0">185000</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized>
  <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="0">214000</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized>
  <us-gaap:NonvestedRestrictedStockSharesActivityTableTextBlock contextRef="c2_From1Feb2017To30Apr2017">The following table summarizes non-vested restricted stock award activity for the three months ended April 30, 2017:&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 95%; font: 10pt Courier New, Courier, Monospace&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; white-space: nowrap;&quot;&gt;&lt;b&gt;&amp;#160;&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;&quot;&gt;&lt;b&gt;&amp;#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;font-family: Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;&quot;&gt;&lt;b&gt;Non-Vested
    &lt;br /&gt; Shares&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;&quot;&gt;&lt;b&gt;&amp;#160;&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;&quot;&gt;&lt;b&gt;&amp;#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;font-family: Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;&quot;&gt;&lt;b&gt;Weighted
    &lt;br /&gt;Average Grant&lt;br /&gt;Date Fair Value&lt;br /&gt;(000&amp;#x2019;s)&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;&quot;&gt;&lt;b&gt;&amp;#160;&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;&quot;&gt;&lt;b&gt;&amp;#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;font-family: Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;&quot;&gt;&lt;b&gt;Weighted
    &lt;br /&gt; Average Remaining&lt;br /&gt;Vesting Term &lt;br /&gt; (in years)&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;&quot;&gt;&lt;b&gt;&amp;#160;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 56%; font-family: Times New Roman, Times, Serif&quot;&gt;Non-Vested at January 31, 2017&lt;/td&gt;&lt;td style=&quot;width: 2%; font-family: Times New Roman, Times, Serif&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 10%; font-family: Times New Roman, Times, Serif; text-align: right&quot;&gt;23,350&lt;/td&gt;&lt;td style=&quot;width: 1%; font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 2%; font-family: Times New Roman, Times, Serif&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 11%; font-family: Times New Roman, Times, Serif; text-align: right&quot;&gt;1,386&lt;/td&gt;&lt;td style=&quot;width: 1%; font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 2%; font-family: Times New Roman, Times, Serif&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 11%; font-family: Times New Roman, Times, Serif; text-align: right&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;width: 1%; font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;Granted&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;Forfeited&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;Vested&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 3px&quot;&gt;Non-Vested at April 30, 2017&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 3px double&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double&quot;&gt;23,350&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double&quot;&gt;1,386&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: right; padding-bottom: 3px&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:NonvestedRestrictedStockSharesActivityTableTextBlock>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares unitRef="shares" contextRef="c1_AsOf31Jan2017" decimals="INF">23350</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue unitRef="usdPershares" contextRef="c1_AsOf31Jan2017" decimals="-3">1386000</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue>
  <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1 contextRef="c2_From1Feb2017To30Apr2017">P2Y</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross unitRef="shares" contextRef="c2_From1Feb2017To30Apr2017" xs:nil="true"/>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue unitRef="usdPershares" contextRef="c2_From1Feb2017To30Apr2017" xs:nil="true"/>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares unitRef="shares" contextRef="c2_From1Feb2017To30Apr2017" xs:nil="true"/>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue unitRef="usdPershares" contextRef="c2_From1Feb2017To30Apr2017" xs:nil="true"/>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares unitRef="shares" contextRef="c2_From1Feb2017To30Apr2017" xs:nil="true"/>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue unitRef="usdPershares" contextRef="c2_From1Feb2017To30Apr2017" xs:nil="true"/>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares unitRef="shares" contextRef="c0_AsOf30Apr2017" decimals="INF">23350</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue unitRef="usdPershares" contextRef="c0_AsOf30Apr2017" decimals="-3">1386000</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue>
  <us-gaap:IncomeTaxDisclosureTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Note 12&lt;i&gt;. &amp;#160;Income Taxes&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The effective tax rate on consolidated pre-tax
income was 29.9% for the three months ended April 30, 2017, and 30.4% for the three months ended April 30, 2016.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company files a U.S. federal income tax return
and income tax returns in various states. In general, the Company is no longer subject to U.S. federal, state or local income tax
examinations by tax authorities for years ended January 31, 2010 and prior. A reconciliation of the beginning and ending&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;amount of unrecognized tax benefits, including interest and penalties,
is as follows (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 86%&quot;&gt;Unrecognized tax benefits, January 31, 2017&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;2,096&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Changes for prior years&amp;#x2019; tax positions&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;147&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;Changes for current year tax positions&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;Unrecognized tax benefits, April 30, 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;2,243&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;</us-gaap:IncomeTaxDisclosureTextBlock>
  <us-gaap:EffectiveIncomeTaxRateContinuingOperations unitRef="pure" contextRef="c2_From1Feb2017To30Apr2017" decimals="3">0.299</us-gaap:EffectiveIncomeTaxRateContinuingOperations>
  <us-gaap:EffectiveIncomeTaxRateContinuingOperations unitRef="pure" contextRef="c3_From1Feb2016To30Apr2016" decimals="3">0.304</us-gaap:EffectiveIncomeTaxRateContinuingOperations>
  <us-gaap:ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock contextRef="c2_From1Feb2017To30Apr2017">A reconciliation of the beginning and ending amount of unrecognized tax benefits, including interest and penalties, is as follows (amounts in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 86%&quot;&gt;Unrecognized tax benefits, January 31, 2017&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;2,096&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Changes for prior years&amp;#x2019; tax positions&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;147&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;Changes for current year tax positions&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;Unrecognized tax benefits, April 30, 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;2,243&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock>
  <us-gaap:UnrecognizedTaxBenefits unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">2096000</us-gaap:UnrecognizedTaxBenefits>
  <us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">147000</us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions>
  <rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-3">2243000</rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties>
  <us-gaap:CommitmentsAndContingenciesDisclosureTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0&quot;&gt;&lt;b&gt;Note 13. &amp;#160;&lt;i&gt;Commitments and Contingencies&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;The Company is involved in various legal actions
arising in the normal course of business. After taking into consideration legal counsels&amp;#x2019; evaluations of such actions, management
is of the opinion that their outcome will not have a material adverse effect on the Company&amp;#x2019;s Consolidated Condensed Financial
Statements.	&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;One Earth and NuGen have combined forward purchase
contracts for approximately 14.4 million bushels of corn, the principal raw material for their ethanol plants. They expect to take
delivery of the grain through September 2017.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt&quot;&gt;One Earth and NuGen have combined sales commitments
for approximately 113.6 million gallons of ethanol, approximately 53,000 tons of distillers grains and approximately 14.1 million
pounds of non-food grade corn oil. They expect to deliver the ethanol through December 2017 and expect to deliver the distillers
grains and non-food grade corn oil through June 2017.&lt;/p&gt;&lt;br/&gt;</us-gaap:CommitmentsAndContingenciesDisclosureTextBlock>
  <rex:QuantityOfBushelsUnderForwardPurchaseContract unitRef="bu" contextRef="c62_AsOf30Apr2017_OneEarthEnergyAndNuGenEnergyMember" decimals="-5">14400000</rex:QuantityOfBushelsUnderForwardPurchaseContract>
  <rex:QuantityOfEthanolUnderSalesCommitment unitRef="gal" contextRef="c62_AsOf30Apr2017_OneEarthEnergyAndNuGenEnergyMember" decimals="-5">113600000</rex:QuantityOfEthanolUnderSalesCommitment>
  <rex:QuantityOfDistillersGrainsUnderSalesCommitment unitRef="t" contextRef="c62_AsOf30Apr2017_OneEarthEnergyAndNuGenEnergyMember" decimals="0">53000</rex:QuantityOfDistillersGrainsUnderSalesCommitment>
  <rex:QuantityOfNonFoodGradeCornOilUnderSalesCommitments unitRef="lb" contextRef="c62_AsOf30Apr2017_OneEarthEnergyAndNuGenEnergyMember" decimals="-5">14100000</rex:QuantityOfNonFoodGradeCornOilUnderSalesCommitments>
  <rex:SupplyCommitmentExpectedPeriodOfDelivery contextRef="c63_From1Feb2017To30Apr2017_OneEarthEnergyAndNuGenEnergyMember">They expect to deliver the ethanol through December 2017 and expect to deliver the distillersgrains and non-food grade corn oil through June 2017.</rex:SupplyCommitmentExpectedPeriodOfDelivery>
  <rex:NetSalesAndRevenueTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 14. &lt;i&gt;Net Sales and Revenue&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The following table summarizes sales for
each product and service group for the periods presented (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Three Months Ended&lt;br /&gt; April 30,&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; text-indent: -10pt; padding-left: 10pt; border-bottom: Black 1px solid; &quot;&gt;Product or Service Category&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; &quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid; &quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid; &quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px; &quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; &quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid; &quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid; &quot;&gt;2016&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px; &quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 70%; text-indent: -10pt; padding-left: 10pt&quot;&gt;Ethanol&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;91,472&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;77,631&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Dried distillers grains&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;15,149&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;17,054&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Non-food grade corn oil&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;4,593&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;3,846&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Modified distillers grains&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,920&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,564&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-indent: -10pt; padding-left: 10pt; padding-bottom: 1px&quot;&gt;Other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;9&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;127&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-indent: -10pt; padding-left: 10pt; padding-bottom: 3px&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;113,143&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;100,222&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;</rex:NetSalesAndRevenueTextBlock>
  <us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock contextRef="c2_From1Feb2017To30Apr2017">The following table summarizes sales for each product and service group for the periods presented (amounts in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Three Months Ended&lt;br /&gt; April 30,&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; text-indent: -10pt; padding-left: 10pt; border-bottom: Black 1px solid; &quot;&gt;Product or Service Category&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; &quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid; &quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid; &quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px; &quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; &quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid; &quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid; &quot;&gt;2016&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px; &quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 70%; text-indent: -10pt; padding-left: 10pt&quot;&gt;Ethanol&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;91,472&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;77,631&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Dried distillers grains&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;15,149&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;17,054&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Non-food grade corn oil&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;4,593&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;3,846&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Modified distillers grains&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,920&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,564&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-indent: -10pt; padding-left: 10pt; padding-bottom: 1px&quot;&gt;Other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;9&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;127&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-indent: -10pt; padding-left: 10pt; padding-bottom: 3px&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;113,143&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;100,222&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c64_From1Feb2017To30Apr2017_EthanolMember" decimals="-3">91472000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c65_From1Feb2016To30Apr2016_EthanolMember" decimals="-3">77631000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c66_From1Feb2017To30Apr2017_DriedDistillersGrainsMember" decimals="-3">15149000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c67_From1Feb2016To30Apr2016_DriedDistillersGrainsMember" decimals="-3">17054000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c68_From1Feb2017To30Apr2017_NonFoodGradeCornOilMember" decimals="-3">4593000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c69_From1Feb2016To30Apr2016_NonFoodGradeCornOilMember" decimals="-3">3846000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c70_From1Feb2017To30Apr2017_ModifiedDistillersGrainsMember" decimals="-3">1920000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c71_From1Feb2016To30Apr2016_ModifiedDistillersGrainsMember" decimals="-3">1564000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c72_From1Feb2017To30Apr2017_OtherProductMember" decimals="-3">9000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c73_From1Feb2016To30Apr2016_OtherProductMember" decimals="-3">127000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c2_From1Feb2017To30Apr2017" decimals="-3">113143000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c3_From1Feb2016To30Apr2016" decimals="-3">100222000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:RelatedPartyTransactionsDisclosureTextBlock contextRef="c2_From1Feb2017To30Apr2017">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 15. &lt;i&gt;Related-Party Transactions&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;During the first quarters of fiscal year
2017 and 2016, One Earth and NuGen purchased approximately $42.3 million and approximately $44.4 million, respectively, of corn
from minority equity investors and board members of those subsidiaries. The Company had amounts payable to related parties for
corn purchases of approximately $1.1 million and $1.7 million at April 30, 2017 and January 31, 2017, respectively.&lt;/p&gt;&lt;br/&gt;</us-gaap:RelatedPartyTransactionsDisclosureTextBlock>
  <us-gaap:CostsAndExpensesRelatedParty unitRef="usd" contextRef="c74_From1Feb2017To30Apr2017_OneEarthEnergyAndNuGenEnergyMember" decimals="-5">42300000</us-gaap:CostsAndExpensesRelatedParty>
  <us-gaap:CostsAndExpensesRelatedParty unitRef="usd" contextRef="c75_From1Feb2016To30Apr2016_OneEarthEnergyAndNuGenEnergyMember" decimals="-5">44400000</us-gaap:CostsAndExpensesRelatedParty>
  <us-gaap:AccountsPayableRelatedPartiesCurrent unitRef="usd" contextRef="c0_AsOf30Apr2017" decimals="-5">1100000</us-gaap:AccountsPayableRelatedPartiesCurrent>
  <us-gaap:AccountsPayableRelatedPartiesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-5">1700000</us-gaap:AccountsPayableRelatedPartiesCurrent>
</xbrl>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.SCH
<SEQUENCE>5
<FILENAME>rex-20170430.xsd
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->
<!-- Created: Wed May 31 10:58:17 EDT 2017 -->
<xs:schema elementFormDefault="qualified" xmlns:num="http://www.xbrl.org/dtr/type/numeric" targetNamespace="http://www.rexamerican.com/20170430" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:us-types="http://fasb.org/us-types/2017-01-31" xmlns:nonnum="http://www.xbrl.org/dtr/type/non-numeric" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:rex="http://www.rexamerican.com/20170430" xmlns:xbrli="http://www.xbrl.org/2003/instance">
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xlink:type="simple" xlink:href="rex-20170430_lab.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef"/>
      <link:linkbaseRef xlink:type="simple" xlink:href="rex-20170430_pre.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef"/>
      <link:linkbaseRef xlink:type="simple" xlink:href="rex-20170430_def.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef"/>
      <link:linkbaseRef xlink:type="simple" xlink:href="rex-20170430_cal.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef"/>
      <link:roleType roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet" id="rex_r_ConsolidatedBalanceSheet">
        <link:definition>001 - Statement - CONSOLIDATED CONDENSED BALANCE SHEETS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement" id="rex_r_ConsolidatedIncomeStatement">
        <link:definition>002 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF OPERATIONS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ShareholdersEquityType2or3" id="rex_r_ShareholdersEquityType2or3">
        <link:definition>003 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF SHAREHOLDERS' EQUITY</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow" id="rex_r_ConsolidatedCashFlow">
        <link:definition>004 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF CASH FLOWS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTS" id="rex_r_CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTS">
        <link:definition>005 - Disclosure - CONSOLIDATED CONDENSED FINANCIAL STATEMENTS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ACCOUNTINGPOLICIES" id="rex_r_ACCOUNTINGPOLICIES">
        <link:definition>006 - Disclosure - ACCOUNTING POLICIES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/LEASES" id="rex_r_LEASES">
        <link:definition>007 - Disclosure - LEASES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/FAIRVALUE" id="rex_r_FAIRVALUE">
        <link:definition>008 - Disclosure - FAIR VALUE</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENT" id="rex_r_PROPERTYANDEQUIPMENT">
        <link:definition>009 - Disclosure - PROPERTY AND EQUIPMENT</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/OTHERASSETS" id="rex_r_OTHERASSETS">
        <link:definition>010 - Disclosure - OTHER ASSETS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES" id="rex_r_ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES">
        <link:definition>011 - Disclosure - ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDIT" id="rex_r_REVOLVINGLINESOFCREDIT">
        <link:definition>012 - Disclosure - REVOLVING LINES OF CREDIT</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTS" id="rex_r_DERIVATIVEFINANCIALINSTRUMENTS">
        <link:definition>013 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENTS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/INVESTMENTS" id="rex_r_INVESTMENTS">
        <link:definition>014 - Disclosure - INVESTMENTS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITS" id="rex_r_EMPLOYEEBENEFITS">
        <link:definition>015 - Disclosure - EMPLOYEE BENEFITS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/INCOMETAXES" id="rex_r_INCOMETAXES">
        <link:definition>016 - Disclosure - INCOME TAXES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIES" id="rex_r_COMMITMENTSANDCONTINGENCIES">
        <link:definition>017 - Disclosure - COMMITMENTS AND CONTINGENCIES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/NETSALESANDREVENUE" id="rex_r_NETSALESANDREVENUE">
        <link:definition>018 - Disclosure - NET SALES AND REVENUE</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONS" id="rex_r_RELATEDPARTYTRANSACTIONS">
        <link:definition>019 - Disclosure - RELATED PARTY TRANSACTIONS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/AccountingPoliciesByPolicy" id="rex_r_AccountingPoliciesByPolicy">
        <link:definition>020 - Disclosure - Accounting Policies, by Policy (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ACCOUNTINGPOLICIESTables" id="rex_r_ACCOUNTINGPOLICIESTables">
        <link:definition>021 - Disclosure - ACCOUNTING POLICIES (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/LEASESTables" id="rex_r_LEASESTables">
        <link:definition>022 - Disclosure - LEASES (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/FAIRVALUETables" id="rex_r_FAIRVALUETables">
        <link:definition>023 - Disclosure - FAIR VALUE (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENTTables" id="rex_r_PROPERTYANDEQUIPMENTTables">
        <link:definition>024 - Disclosure - PROPERTY AND EQUIPMENT (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/OTHERASSETSTables" id="rex_r_OTHERASSETSTables">
        <link:definition>025 - Disclosure - OTHER ASSETS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables" id="rex_r_ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables">
        <link:definition>026 - Disclosure - ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSTables" id="rex_r_DERIVATIVEFINANCIALINSTRUMENTSTables">
        <link:definition>027 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENTS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/INVESTMENTSTables" id="rex_r_INVESTMENTSTables">
        <link:definition>028 - Disclosure - INVESTMENTS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITSTables" id="rex_r_EMPLOYEEBENEFITSTables">
        <link:definition>029 - Disclosure - EMPLOYEE BENEFITS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/INCOMETAXESTables" id="rex_r_INCOMETAXESTables">
        <link:definition>030 - Disclosure - INCOME TAXES (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/NETSALESANDREVENUETables" id="rex_r_NETSALESANDREVENUETables">
        <link:definition>031 - Disclosure - NET SALES AND REVENUE (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTSDetails" id="rex_r_CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTSDetails">
        <link:definition>032 - Disclosure - CONSOLIDATED CONDENSED FINANCIAL STATEMENTS (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
<!-- [WMV4][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+dL7zoH8Kulc7zD318fntsVoV1fcXtp7VxUKN+H8G2XZJhjxqxxJFYwdQCIlsX9qbe5/TLCustURellZclY2kqujoIFPci6NE4EwnzSIDa44Gi7VFqxesy0ENcDmjEJ/9pkA5C+BeAGMyHm9hJ60ycA==] CSR-->
      <link:roleType roleURI="http://www.rexamerican.com/role/ACCOUNTINGPOLICIESDetails" id="rex_r_ACCOUNTINGPOLICIESDetails">
        <link:definition>033 - Disclosure - ACCOUNTING POLICIES (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable" id="rex_r_ScheduleofComponentsofInventoryTable">
        <link:definition>034 - Disclosure - ACCOUNTING POLICIES (Details) - Schedule of Components of Inventory</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" id="rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable">
        <link:definition>035 - Disclosure - LEASES (Details) - Schedule of Future Minimum Rental Payments for Operating Leases</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" id="rex_r_ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable">
        <link:definition>036 - Disclosure - FAIR VALUE (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable" id="rex_r_ScheduleofPropertyandEquipmentTable">
        <link:definition>037 - Disclosure - PROPERTY AND EQUIPMENT (Details) - Schedule of Property and Equipment</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofOtherAssetsTable" id="rex_r_ScheduleofOtherAssetsTable">
        <link:definition>038 - Disclosure - OTHER ASSETS (Details) - Schedule of Other Assets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable" id="rex_r_ScheduleofaccruedexpensesandothercurrentliabilitiesTable">
        <link:definition>039 - Disclosure - ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES (Details) - Schedule of accrued expenses and other current liabilities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDITDetails" id="rex_r_REVOLVINGLINESOFCREDITDetails">
        <link:definition>040 - Disclosure - REVOLVING LINES OF CREDIT (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSDetails" id="rex_r_DERIVATIVEFINANCIALINSTRUMENTSDetails">
        <link:definition>041 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENTS (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable" id="rex_r_ScheduleofFairValuesforDerivativeFinancialInstrumentsTable">
        <link:definition>042 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENTS (Details) - Schedule of Fair Values for Derivative Financial Instruments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/INVESTMENTSDetails" id="rex_r_INVESTMENTSDetails">
        <link:definition>043 - Disclosure - INVESTMENTS (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable" id="rex_r_ScheduleofEquityMethodInvestmentsTable">
        <link:definition>044 - Disclosure - INVESTMENTS (Details) - Schedule of Equity Method Investments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofFinancialinformationForEquityMethodInvestmentTable" id="rex_r_ScheduleofFinancialinformationForEquityMethodInvestmentTable">
        <link:definition>045 - Disclosure - INVESTMENTS (Details) - Schedule of Financial information For Equity Method Investment</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITSDetails" id="rex_r_EMPLOYEEBENEFITSDetails">
        <link:definition>046 - Disclosure - EMPLOYEE BENEFITS (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable" id="rex_r_ScheduleofNonVestedRestrictedStockAwardActivityTable">
        <link:definition>047 - Disclosure - EMPLOYEE BENEFITS (Details) - Schedule of Non-Vested Restricted Stock Award Activity</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/INCOMETAXESDetails" id="rex_r_INCOMETAXESDetails">
        <link:definition>048 - Disclosure - INCOME TAXES (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable" id="rex_r_ScheduleofUnrecognizedTaxBenefitsRollForwardTable">
        <link:definition>049 - Disclosure - INCOME TAXES  (Details) - Schedule of Unrecognized Tax Benefits Roll Forward</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIESDetails" id="rex_r_COMMITMENTSANDCONTINGENCIESDetails">
        <link:definition>050 - Disclosure - COMMITMENTS AND CONTINGENCIES (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofSalesofConsolidatedEthanolPlantsTable" id="rex_r_ScheduleofSalesofConsolidatedEthanolPlantsTable">
        <link:definition>051 - Disclosure - NET SALES AND REVENUE (Details) - Schedule of Sales of Consolidated Ethanol Plants</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONSDetails" id="rex_r_RELATEDPARTYTRANSACTIONSDetails">
        <link:definition>052 - Disclosure - RELATED PARTY TRANSACTIONS (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/DocumentAndEntityInformation" id="DocumentAndEntityInformation">
        <link:definition>000 - Disclosure - Document And Entity Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
    </xs:appinfo>
  </xs:annotation>
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://fasb.org/us-types/2017-01-31" schemaLocation="http://xbrl.fasb.org/us-gaap/2017/elts/us-types-2017-01-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/numeric" schemaLocation="http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/non-numeric" schemaLocation="http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd"/>
  <xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
  <xs:element name="ScheduleOfComponentsOfInventoryAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfComponentsOfInventoryAbstract"/>
  <xs:element name="ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract"/>
  <xs:element name="ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract"/>
  <xs:element name="ScheduleOfPropertyAndEquipmentAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfPropertyAndEquipmentAbstract"/>
  <xs:element name="ScheduleOfOtherAssetsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfOtherAssetsAbstract"/>
  <xs:element name="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract"/>
  <xs:element name="ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract"/>
  <xs:element name="ScheduleOfEquityMethodInvestmentsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfEquityMethodInvestmentsAbstract"/>
  <xs:element name="ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract"/>
  <xs:element name="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract"/>
  <xs:element name="ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract"/>
  <xs:element name="NetSalesAndRevenueAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NetSalesAndRevenueAbstract"/>
  <xs:element name="ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract"/>
  <xs:element name="LiabilitiesAndEquityAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_LiabilitiesAndEquityAbstract"/>
  <xs:element name="LongTermLiabilitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_LongTermLiabilitiesAbstract"/>
  <xs:element name="RexShareholdersEquityAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_RexShareholdersEquityAbstract"/>
  <xs:element name="CashFlowsFromOperatingActivitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_CashFlowsFromOperatingActivitiesAbstract"/>
  <xs:element name="AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract"/>
  <xs:element name="ChangesInAssetsAndLiabilitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ChangesInAssetsAndLiabilitiesAbstract"/>
  <xs:element name="CashFlowsFromInvestingActivitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_CashFlowsFromInvestingActivitiesAbstract"/>
  <xs:element name="CashFlowsFromFinancingActivitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_CashFlowsFromFinancingActivitiesAbstract"/>
  <xs:element name="NonCashInvestingActivitiesAccruedCapitalExpenditures" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures"/>
  <xs:element name="NonCashFinancingActivitiesEquityAwardsIssued" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_NonCashFinancingActivitiesEquityAwardsIssued"/>
  <xs:element name="NetSalesAndRevenueTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NetSalesAndRevenueTextBlock"/>
  <xs:element name="ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock"/>
  <xs:element name="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
  <xs:element name="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems"/>
  <xs:element name="InvestmentInCooperativeFairValueDisclosure" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_InvestmentInCooperativeFairValueDisclosure"/>
  <xs:element name="ForwardPurchaseContractLiabilityFairValue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_ForwardPurchaseContractLiabilityFairValue"/>
  <xs:element name="ForwardPurchaseContractsAsset" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_ForwardPurchaseContractsAsset"/>
  <xs:element name="RealEstateTaxesRefundableNoncurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_RealEstateTaxesRefundableNoncurrent"/>
  <xs:element name="DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
  <xs:element name="DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems"/>
  <xs:element name="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable"/>
  <xs:element name="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems"/>
  <xs:element name="UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties"/>
  <xs:element name="NumberOfEthanolEntitiesUnderOwnershipInterest" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NumberOfEthanolEntitiesUnderOwnershipInterest"/>
  <xs:element name="NumberOfEthanolEntitiesUnderMajorityOwnershipInterest" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest"/>
  <xs:element name="ACCOUNTINGPOLICIESDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_ACCOUNTINGPOLICIESDetailsTable"/>
  <xs:element name="ACCOUNTINGPOLICIESDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ACCOUNTINGPOLICIESDetailsLineItems"/>
  <xs:element name="MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting"/>
  <xs:element name="REVOLVINGLINESOFCREDITDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_REVOLVINGLINESOFCREDITDetailsTable"/>
  <xs:element name="REVOLVINGLINESOFCREDITDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_REVOLVINGLINESOFCREDITDetailsLineItems"/>
  <xs:element name="QuantityOfBushelsUnderCommodityFutures" type="num:volumeItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfBushelsUnderCommodityFutures"/>
  <xs:element name="QuantityOfBushelsUnderForwardPurchaseContract" type="num:volumeItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfBushelsUnderForwardPurchaseContract"/>
  <xs:element name="INVESTMENTSDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_INVESTMENTSDetailsTable"/>
  <xs:element name="INVESTMENTSDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_INVESTMENTSDetailsLineItems"/>
  <xs:element name="ProceedsFromPaymentForEscrowHoldbacksAndAdjustments" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments"/>
  <xs:element name="EMPLOYEEBENEFITSDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_EMPLOYEEBENEFITSDetailsTable"/>
  <xs:element name="EMPLOYEEBENEFITSDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_EMPLOYEEBENEFITSDetailsLineItems"/>
  <xs:element name="COMMITMENTSANDCONTINGENCIESDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_COMMITMENTSANDCONTINGENCIESDetailsTable"/>
  <xs:element name="COMMITMENTSANDCONTINGENCIESDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems"/>
  <xs:element name="QuantityOfEthanolUnderSalesCommitment" type="num:volumeItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfEthanolUnderSalesCommitment"/>
  <xs:element name="QuantityOfDistillersGrainsUnderSalesCommitment" type="num:massItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfDistillersGrainsUnderSalesCommitment"/>
  <xs:element name="QuantityOfNonFoodGradeCornOilUnderSalesCommitments" type="num:massItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments"/>
  <xs:element name="SupplyCommitmentExpectedPeriodOfDelivery" type="xbrli:stringItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_SupplyCommitmentExpectedPeriodOfDelivery"/>
  <xs:element name="RELATEDPARTYTRANSACTIONSDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_RELATEDPARTYTRANSACTIONSDetailsTable"/>
  <xs:element name="RELATEDPARTYTRANSACTIONSDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_RELATEDPARTYTRANSACTIONSDetailsLineItems"/>
  <xs:element name="ApproximateMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ApproximateMember"/>
  <xs:element name="BigRiverMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_BigRiverMember"/>
  <xs:element name="DriedDistillersGrainsMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DriedDistillersGrainsMember"/>
  <xs:element name="EthanolMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_EthanolMember"/>
  <xs:element name="FixturesAndEquipmentMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_FixturesAndEquipmentMember"/>
  <xs:element name="ModifiedDistillersGrainsMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ModifiedDistillersGrainsMember"/>
  <xs:element name="NonFoodGradeCornOilMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NonFoodGradeCornOilMember"/>
  <xs:element name="NotAccountedForUnderNormalPurchasesAndNormalSalesScopeMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NotAccountedForUnderNormalPurchasesAndNormalSalesScopeMember"/>
  <xs:element name="OneEarthEnergyAndNuGenEnergyMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_OneEarthEnergyAndNuGenEnergyMember"/>
  <xs:element name="OtherProductMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_OtherProductMember"/>
  <xs:element name="PatriotMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_PatriotMember"/>
  <xs:element name="StockOptionPlans2015Member" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_StockOptionPlans2015Member"/>
  <xs:element name="DocumentAndEntityInformationAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DocumentAndEntityInformationAbstract"/>
</xs:schema>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.CAL
<SEQUENCE>6
<FILENAME>rex-20170430_cal.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->
<!-- Created: Wed May 31 10:58:17 EDT 2017 -->
<linkbase xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ConsolidatedBalanceSheet" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ConsolidatedIncomeStatement" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ConsolidatedCashFlow" roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofComponentsofInventoryTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofPropertyandEquipmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofOtherAssetsTable" roleURI="http://www.rexamerican.com/role/ScheduleofOtherAssetsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofaccruedexpensesandothercurrentliabilitiesTable" roleURI="http://www.rexamerican.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable"/>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedBalanceSheet">
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrent"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsReceivableNetCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_AccountsReceivableNetCurrent" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_InventoryNet" order="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesReceivable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxesReceivable"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_IncomeTaxesReceivable" order="5" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" order="6" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxAssetsNetNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsNetNoncurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_DeferredTaxAssetsNetNoncurrent" order="7" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Assets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Assets"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_AssetsCurrent" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_PropertyPlantAndEquipmentNet" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_OtherAssetsNoncurrent" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_EquityMethodInvestments" order="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableTradeCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableTradeCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesCurrent" xlink:to="us-gaap_AccountsPayableTradeCurrent" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesCurrent" xlink:to="us-gaap_OtherLiabilitiesCurrent" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesNoncurrent" xlink:to="us-gaap_DeferredTaxLiabilitiesNoncurrent" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesNoncurrent" xlink:to="us-gaap_OtherLiabilitiesNoncurrent" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquity" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockValue"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_CommonStockValue" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValue"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_TreasuryStockValue" order="4" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_StockholdersEquity" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinorityInterest"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_MinorityInterest" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_LiabilitiesCurrent" order="1" weight="1"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_LiabilitiesNoncurrent" order="2" weight="1"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" order="3" weight="1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedIncomeStatement">
    <loc xlink:type="locator" xlink:label="us-gaap_GrossProfit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GrossProfit"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SalesRevenueNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesRevenueNet"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_GrossProfit" xlink:to="us-gaap_SalesRevenueNet" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfGoodsAndServicesSold" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_GrossProfit" xlink:to="us-gaap_CostOfGoodsAndServicesSold" order="2" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_GrossProfit" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_GainLossOnSaleOfInvestments" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InterestAndOtherIncome" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestAndOtherIncome"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_InterestAndOtherIncome" order="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpense" order="5" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_ProfitLoss" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_ProfitLoss" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="2" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_ProfitLoss" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" order="2" weight="-1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedCashFlow">
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_ProfitLoss" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepreciationDepletionAndAmortization" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_DepreciationDepletionAndAmortization" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_GainLossOnInvestments" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_DeferredIncomeTaxExpenseBenefit" order="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense" order="5" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
<!-- [WMV4][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+dL7zoH8Kulc7zD318fntsVoV1fcXtp7VxUKN+H8G2XZJhjxqxxJFYwdQCIlsX9qbe5/TLCustURellZclY2kqujoIFPci6NE4EwnzSIDa44Gi7VFqxesy9RqR/vulPBO9LkgE/RRHYRr7VGqzQoDdw==] CSR-->
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInAccountsReceivable" order="6" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInInventories" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInInventories" order="7" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingAssets" order="8" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayableTrade" order="9" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" order="10" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="11" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfRestrictedInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfRestrictedInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_ProceedsFromSaleOfRestrictedInvestments" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfLongtermInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_ProceedsFromSaleOfLongtermInvestments" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" order="3" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInRestrictedCash" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInRestrictedCash"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_IncreaseDecreaseInRestrictedCash" order="4" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" order="5" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToMinorityShareholders" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_PaymentsToMinorityShareholders" order="1" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_PaymentsForRepurchaseOfCommonStock" order="2" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities" order="1" weight="1"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivities" order="2" weight="1"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities" order="3" weight="1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable">
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InventoryNet" xlink:to="us-gaap_InventoryFinishedGoodsNetOfReserves" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryWorkInProcessNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InventoryNet" xlink:to="us-gaap_InventoryWorkInProcessNetOfReserves" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryRawMaterialsNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InventoryNet" xlink:to="us-gaap_InventoryRawMaterialsNetOfReserves" order="3" weight="1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable">
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" order="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" order="5" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" order="6" weight="1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable">
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsFairValueDisclosure" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsFairValueDisclosure" xlink:to="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="rex_InvestmentInCooperativeFairValueDisclosure" xlink:href="rex-20170430.xsd#rex_InvestmentInCooperativeFairValueDisclosure"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsFairValueDisclosure" xlink:to="rex_InvestmentInCooperativeFairValueDisclosure" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="rex_ForwardPurchaseContractsAsset" xlink:href="rex-20170430.xsd#rex_ForwardPurchaseContractsAsset"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsFairValueDisclosure" xlink:to="rex_ForwardPurchaseContractsAsset" order="3" weight="1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable">
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LandAndLandImprovements" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LandAndLandImprovements"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PropertyPlantAndEquipmentGross" xlink:to="us-gaap_LandAndLandImprovements" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingsAndImprovementsGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BuildingsAndImprovementsGross"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PropertyPlantAndEquipmentGross" xlink:to="us-gaap_BuildingsAndImprovementsGross" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MachineryAndEquipmentGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MachineryAndEquipmentGross"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PropertyPlantAndEquipmentGross" xlink:to="us-gaap_MachineryAndEquipmentGross" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConstructionInProgressGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionInProgressGross"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PropertyPlantAndEquipmentGross" xlink:to="us-gaap_ConstructionInProgressGross" order="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PropertyPlantAndEquipmentNet" xlink:to="us-gaap_PropertyPlantAndEquipmentGross" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PropertyPlantAndEquipmentNet" xlink:to="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" order="2" weight="-1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofOtherAssetsTable">
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <loc xlink:type="locator" xlink:label="rex_RealEstateTaxesRefundableNoncurrent" xlink:href="rex-20170430.xsd#rex_RealEstateTaxesRefundableNoncurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherAssetsNoncurrent" xlink:to="rex_RealEstateTaxesRefundableNoncurrent" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepositsAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepositsAssetsNoncurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherAssetsNoncurrent" xlink:to="us-gaap_DepositsAssetsNoncurrent" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsMiscellaneousNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherAssetsNoncurrent" xlink:to="us-gaap_OtherAssetsMiscellaneousNoncurrent" order="3" weight="1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable">
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedUtilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedUtilitiesCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_AccruedUtilitiesCurrent" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_EmployeeRelatedLiabilitiesCurrent" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedIncomeTaxes" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedIncomeTaxes"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_AccruedIncomeTaxes" order="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_OtherAccruedLiabilitiesCurrent" order="5" weight="1"/>
  </calculationLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.DEF
<SEQUENCE>7
<FILENAME>rex-20170430_def.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->
<!-- Created: Wed May 31 10:58:17 EDT 2017 -->
<linkbase xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:xbrldt="http://xbrl.org/2005/xbrldt">
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ConsolidatedBalanceSheet" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ConsolidatedIncomeStatement" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ShareholdersEquityType2or3" roleURI="http://www.rexamerican.com/role/ShareholdersEquityType2or3"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ConsolidatedCashFlow" roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTS" roleURI="http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ACCOUNTINGPOLICIES" roleURI="http://www.rexamerican.com/role/ACCOUNTINGPOLICIES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_LEASES" roleURI="http://www.rexamerican.com/role/LEASES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_FAIRVALUE" roleURI="http://www.rexamerican.com/role/FAIRVALUE"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_PROPERTYANDEQUIPMENT" roleURI="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENT"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_OTHERASSETS" roleURI="http://www.rexamerican.com/role/OTHERASSETS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES" roleURI="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_REVOLVINGLINESOFCREDIT" roleURI="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDIT"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_DERIVATIVEFINANCIALINSTRUMENTS" roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_INVESTMENTS" roleURI="http://www.rexamerican.com/role/INVESTMENTS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_EMPLOYEEBENEFITS" roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_INCOMETAXES" roleURI="http://www.rexamerican.com/role/INCOMETAXES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_COMMITMENTSANDCONTINGENCIES" roleURI="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_NETSALESANDREVENUE" roleURI="http://www.rexamerican.com/role/NETSALESANDREVENUE"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_RELATEDPARTYTRANSACTIONS" roleURI="http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_AccountingPoliciesByPolicy" roleURI="http://www.rexamerican.com/role/AccountingPoliciesByPolicy"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ACCOUNTINGPOLICIESTables" roleURI="http://www.rexamerican.com/role/ACCOUNTINGPOLICIESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_LEASESTables" roleURI="http://www.rexamerican.com/role/LEASESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_FAIRVALUETables" roleURI="http://www.rexamerican.com/role/FAIRVALUETables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_PROPERTYANDEQUIPMENTTables" roleURI="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENTTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_OTHERASSETSTables" roleURI="http://www.rexamerican.com/role/OTHERASSETSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables" roleURI="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_DERIVATIVEFINANCIALINSTRUMENTSTables" roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_INVESTMENTSTables" roleURI="http://www.rexamerican.com/role/INVESTMENTSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_EMPLOYEEBENEFITSTables" roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_INCOMETAXESTables" roleURI="http://www.rexamerican.com/role/INCOMETAXESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_NETSALESANDREVENUETables" roleURI="http://www.rexamerican.com/role/NETSALESANDREVENUETables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofComponentsofInventoryTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofPropertyandEquipmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofOtherAssetsTable" roleURI="http://www.rexamerican.com/role/ScheduleofOtherAssetsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofaccruedexpensesandothercurrentliabilitiesTable" roleURI="http://www.rexamerican.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofFairValuesforDerivativeFinancialInstrumentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofEquityMethodInvestmentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofFinancialinformationForEquityMethodInvestmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofFinancialinformationForEquityMethodInvestmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofNonVestedRestrictedStockAwardActivityTable" roleURI="http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofUnrecognizedTaxBenefitsRollForwardTable" roleURI="http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofSalesofConsolidatedEthanolPlantsTable" roleURI="http://www.rexamerican.com/role/ScheduleofSalesofConsolidatedEthanolPlantsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTSDetails" roleURI="http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ACCOUNTINGPOLICIESDetails" roleURI="http://www.rexamerican.com/role/ACCOUNTINGPOLICIESDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_REVOLVINGLINESOFCREDITDetails" roleURI="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDITDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_DERIVATIVEFINANCIALINSTRUMENTSDetails" roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_INVESTMENTSDetails" roleURI="http://www.rexamerican.com/role/INVESTMENTSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_EMPLOYEEBENEFITSDetails" roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_INCOMETAXESDetails" roleURI="http://www.rexamerican.com/role/INCOMETAXESDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_COMMITMENTSANDCONTINGENCIESDetails" roleURI="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIESDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_RELATEDPARTYTRANSACTIONSDetails" roleURI="http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#DocumentAndEntityInformation" roleURI="http://www.rexamerican.com/role/DocumentAndEntityInformation"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" arcroleURI="http://xbrl.org/int/dim/arcrole/all"/>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedBalanceSheet">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementScenarioAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrentAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_AssetsCurrentAbstract" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsReceivableNetCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_AccountsReceivableNetCurrent" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_InventoryNet" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesReceivable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxesReceivable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_IncomeTaxesReceivable" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxAssetsNetNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsNetNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_DeferredTaxAssetsNetNoncurrent" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DeferredTaxAssetsNetNoncurrent" xlink:to="us-gaap_AssetsCurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_PropertyPlantAndEquipmentNet" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_OtherAssetsNoncurrent" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EquityMethodInvestments" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Assets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Assets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityMethodInvestments" xlink:to="us-gaap_Assets" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_LiabilitiesCurrentAbstract" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableTradeCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableTradeCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_AccountsPayableTradeCurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_OtherLiabilitiesCurrent" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_LiabilitiesCurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_LongTermLiabilitiesAbstract" xlink:href="rex-20170430.xsd#rex_LongTermLiabilitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_LongTermLiabilitiesAbstract" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_LongTermLiabilitiesAbstract" xlink:to="us-gaap_DeferredTaxLiabilitiesNoncurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_LongTermLiabilitiesAbstract" xlink:to="us-gaap_OtherLiabilitiesNoncurrent" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_OtherLiabilitiesNoncurrent" xlink:to="us-gaap_LiabilitiesNoncurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EquityAbstract" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_RexShareholdersEquityAbstract" xlink:href="rex-20170430.xsd#rex_RexShareholdersEquityAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityAbstract" xlink:to="rex_RexShareholdersEquityAbstract" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_RexShareholdersEquityAbstract" xlink:to="us-gaap_CommonStockValue" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_RexShareholdersEquityAbstract" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_RexShareholdersEquityAbstract" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_RexShareholdersEquityAbstract" xlink:to="us-gaap_TreasuryStockValue" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquity" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_TreasuryStockValue" xlink:to="us-gaap_StockholdersEquity" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinorityInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_MinorityInterest" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_LiabilitiesAndStockholdersEquity" order="3" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedIncomeStatement">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementScenarioAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SalesRevenueNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesRevenueNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_SalesRevenueNet" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfGoodsAndServicesSold" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CostOfGoodsAndServicesSold" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GrossProfit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GrossProfit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_GrossProfit" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpense" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_GainLossOnSaleOfInvestments" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InterestAndOtherIncome" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestAndOtherIncome"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_InterestAndOtherIncome" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" order="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="9" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_ProfitLoss" order="10" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" order="11" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetIncomeLoss" order="12" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" order="13" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EarningsPerShareBasic" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareBasic"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EarningsPerShareBasic" order="14" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" order="15" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EarningsPerShareDiluted" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareDiluted"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EarningsPerShareDiluted" order="16" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ShareholdersEquityType2or3">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementEquityComponentsAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementEquityComponentsAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityComponentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_EquityComponentDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityComponentDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_EquityComponentDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_CommonStockMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_TreasuryStockMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AdditionalPaidInCapitalMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_AdditionalPaidInCapitalMember" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_RetainedEarningsMember" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NoncontrollingInterestMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NoncontrollingInterestMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_NoncontrollingInterestMember" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharesOutstanding" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharesOutstanding"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_SharesOutstanding" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_ProfitLoss" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_TreasuryStockValueAcquiredCostMethod" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockSharesAcquired" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_TreasuryStockSharesAcquired" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensation" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_ShareBasedCompensation" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" order="7" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedCashFlow">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementScenarioAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromOperatingActivitiesAbstract" xlink:href="rex-20170430.xsd#rex_CashFlowsFromOperatingActivitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_CashFlowsFromOperatingActivitiesAbstract" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromOperatingActivitiesAbstract" xlink:to="us-gaap_ProfitLoss" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:href="rex-20170430.xsd#rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepreciationDepletionAndAmortization" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_DepreciationDepletionAndAmortization" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_GainLossOnInvestments" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_DeferredIncomeTaxExpenseBenefit" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:href="rex-20170430.xsd#rex_ChangesInAssetsAndLiabilitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_ChangesInAssetsAndLiabilitiesAbstract" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInAccountsReceivable" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInInventories" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInInventories" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingAssets" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayableTrade" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:href="rex-20170430.xsd#rex_CashFlowsFromInvestingActivitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_CashFlowsFromInvestingActivitiesAbstract" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInRestrictedCash" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInRestrictedCash"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInRestrictedCash" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfRestrictedInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfRestrictedInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromSaleOfRestrictedInvestments" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfLongtermInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromSaleOfLongtermInvestments" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivities" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromFinancingActivitiesAbstract" xlink:href="rex-20170430.xsd#rex_CashFlowsFromFinancingActivitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_CashFlowsFromFinancingActivitiesAbstract" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToMinorityShareholders" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromFinancingActivitiesAbstract" xlink:to="us-gaap_PaymentsToMinorityShareholders" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromFinancingActivitiesAbstract" xlink:to="us-gaap_PaymentsForRepurchaseOfCommonStock" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities" order="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" order="9" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="10" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:href="rex-20170430.xsd#rex_NonCashInvestingActivitiesAccruedCapitalExpenditures"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures" order="11" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NonCashFinancingActivitiesEquityAwardsIssued" xlink:href="rex-20170430.xsd#rex_NonCashFinancingActivitiesEquityAwardsIssued"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_NonCashFinancingActivitiesEquityAwardsIssued" order="12" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTS">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ACCOUNTINGPOLICIES">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SignificantAccountingPoliciesTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SignificantAccountingPoliciesTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_SignificantAccountingPoliciesTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/LEASES">
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesOfLessorDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeasesOfLessorDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_LeasesAbstract" xlink:to="us-gaap_LeasesOfLessorDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/FAIRVALUE">
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosuresTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueDisclosuresAbstract" xlink:to="us-gaap_FairValueDisclosuresTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENT">
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/OTHERASSETS">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_OtherAssetsDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDIT">
    <loc xlink:type="locator" xlink:label="us-gaap_DebtDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DebtDisclosureAbstract" xlink:to="us-gaap_DebtDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTS">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialInstrumentsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_FinancialInstrumentsDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INVESTMENTS">
    <loc xlink:type="locator" xlink:label="invest_InvestmentsScheduleAbstract" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentsScheduleAbstract"/>
    <loc xlink:type="locator" xlink:label="invest_InvestmentTextBlock" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="invest_InvestmentsScheduleAbstract" xlink:to="invest_InvestmentTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/EMPLOYEEBENEFITS">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CompensationAndEmployeeBenefitPlansTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INCOMETAXES">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_IncomeTaxDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIES">
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/NETSALESANDREVENUE">
    <loc xlink:type="locator" xlink:label="rex_NetSalesAndRevenueAbstract" xlink:href="rex-20170430.xsd#rex_NetSalesAndRevenueAbstract"/>
    <loc xlink:type="locator" xlink:label="rex_NetSalesAndRevenueTextBlock" xlink:href="rex-20170430.xsd#rex_NetSalesAndRevenueTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_NetSalesAndRevenueAbstract" xlink:to="rex_NetSalesAndRevenueTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONS">
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RelatedPartyTransactionsAbstract" xlink:to="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/AccountingPoliciesByPolicy">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueRecognitionPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_RevenueRecognitionPolicyTextBlock" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfSalesPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfSalesPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_CostOfSalesPolicyTextBlock" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueOfFinancialInstrumentsPolicy"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_FairValueOfFinancialInstrumentsPolicy" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_IncomeTaxPolicyTextBlock" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_InventoryPolicyTextBlock" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InvestmentPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_InvestmentPolicyTextBlock" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComprehensiveIncomePolicyPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" order="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" order="9" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ACCOUNTINGPOLICIESTables">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfInventoryCurrentTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/LEASESTables">
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_LeasesAbstract" xlink:to="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/FAIRVALUETables">
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueDisclosuresAbstract" xlink:to="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENTTables">
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/OTHERASSETSTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfOtherAssetsTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfOtherAssetsTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_ScheduleOfOtherAssetsTableTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherCurrentLiabilitiesTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCurrentLiabilitiesTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_OtherCurrentLiabilitiesTableTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INVESTMENTSTables">
    <loc xlink:type="locator" xlink:label="invest_InvestmentsScheduleAbstract" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentsScheduleAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentsTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentsTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="invest_InvestmentsScheduleAbstract" xlink:to="us-gaap_EquityMethodInvestmentsTextBlock" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" xlink:href="rex-20170430.xsd#rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="invest_InvestmentsScheduleAbstract" xlink:to="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" order="1" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/EMPLOYEEBENEFITSTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INCOMETAXESTables">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/NETSALESANDREVENUETables">
    <loc xlink:type="locator" xlink:label="rex_NetSalesAndRevenueAbstract" xlink:href="rex-20170430.xsd#rex_NetSalesAndRevenueAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_NetSalesAndRevenueAbstract" xlink:to="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfComponentsOfInventoryAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfComponentsOfInventoryAbstract"/>
<!-- [WMV4][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+dL7zoH8Kulc7zD318fntsVoV1fcXtp7VxUKN+H8G2XZJhjxqxxJFYwdQCIlsX9qbe5/TLCustURellZclY2kqujoIFPci6NE4EwnzSIDa44Gi7VFqxesy+LcwLfwumhMVQFSq/SkEKU7E6NoMRP7UQ==] CSR-->
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfComponentsOfInventoryAbstract" xlink:to="us-gaap_InventoryFinishedGoodsNetOfReserves" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryWorkInProcessNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfComponentsOfInventoryAbstract" xlink:to="us-gaap_InventoryWorkInProcessNetOfReserves" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryRawMaterialsNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfComponentsOfInventoryAbstract" xlink:to="us-gaap_InventoryRawMaterialsNetOfReserves" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfComponentsOfInventoryAbstract" xlink:to="us-gaap_InventoryNet" order="3" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" order="1" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable">
    <loc xlink:type="locator" xlink:label="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:href="rex-20170430.xsd#rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:href="rex-20170430.xsd#rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:to="us-gaap_FairValueByFairValueHierarchyLevelAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel1Member" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueInputsLevel1Member" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel2Member" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueInputsLevel2Member" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel3Member" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueInputsLevel3Member" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ForwardPurchaseContractsAsset" xlink:href="rex-20170430.xsd#rex_ForwardPurchaseContractsAsset"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="rex_ForwardPurchaseContractsAsset" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_InvestmentInCooperativeFairValueDisclosure" xlink:href="rex-20170430.xsd#rex_InvestmentInCooperativeFairValueDisclosure"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="rex_InvestmentInCooperativeFairValueDisclosure" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsFairValueDisclosure" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="us-gaap_AssetsFairValueDisclosure" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ForwardPurchaseContractLiabilityFairValue" xlink:href="rex-20170430.xsd#rex_ForwardPurchaseContractLiabilityFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="rex_ForwardPurchaseContractLiabilityFairValue" order="5" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfPropertyAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LandAndLandImprovements" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LandAndLandImprovements"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_LandAndLandImprovements" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingsAndImprovementsGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BuildingsAndImprovementsGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_BuildingsAndImprovementsGross" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MachineryAndEquipmentGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MachineryAndEquipmentGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_MachineryAndEquipmentGross" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConstructionInProgressGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionInProgressGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_ConstructionInProgressGross" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentGross" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentNet" order="6" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofOtherAssetsTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfOtherAssetsAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfOtherAssetsAbstract"/>
    <loc xlink:type="locator" xlink:label="rex_RealEstateTaxesRefundableNoncurrent" xlink:href="rex-20170430.xsd#rex_RealEstateTaxesRefundableNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfOtherAssetsAbstract" xlink:to="rex_RealEstateTaxesRefundableNoncurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepositsAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepositsAssetsNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfOtherAssetsAbstract" xlink:to="us-gaap_DepositsAssetsNoncurrent" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsMiscellaneousNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfOtherAssetsAbstract" xlink:to="us-gaap_OtherAssetsMiscellaneousNoncurrent" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfOtherAssetsAbstract" xlink:to="us-gaap_OtherAssetsNoncurrent" order="3" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedUtilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedUtilitiesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_AccruedUtilitiesCurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_EmployeeRelatedLiabilitiesCurrent" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedIncomeTaxes" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedIncomeTaxes"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_AccruedIncomeTaxes" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_OtherAccruedLiabilitiesCurrent" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_OtherLiabilitiesCurrent" order="5" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable">
    <loc xlink:type="locator" xlink:label="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:href="rex-20170430.xsd#rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:href="rex-20170430.xsd#rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:to="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentRiskAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:to="us-gaap_DerivativeInstrumentRiskAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeContractTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_DerivativeInstrumentRiskAxis" xlink:to="us-gaap_DerivativeContractTypeDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeContractTypeDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_DerivativeInstrumentRiskAxis" xlink:to="us-gaap_DerivativeContractTypeDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommodityContractMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommodityContractMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DerivativeContractTypeDomain" xlink:to="us-gaap_CommodityContractMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ForwardContractsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForwardContractsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DerivativeContractTypeDomain" xlink:to="us-gaap_ForwardContractsMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeAssets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:to="us-gaap_DerivativeAssets" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeLiabilities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeLiabilities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:to="us-gaap_DerivativeLiabilities" order="2" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable">
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsTable" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_EquityMethodInvesteeNameDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_EquityMethodInvesteeNameDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_BigRiverMember" xlink:href="rex-20170430.xsd#rex_BigRiverMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityMethodInvesteeNameDomain" xlink:to="rex_BigRiverMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:to="us-gaap_EquityMethodInvestmentOwnershipPercentage" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:to="us-gaap_EquityMethodInvestments" order="2" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFinancialinformationForEquityMethodInvestmentTable">
    <loc xlink:type="locator" xlink:label="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:href="rex-20170430.xsd#rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" xlink:href="rex-20170430.xsd#rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_EquityMethodInvesteeNameDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_EquityMethodInvesteeNameDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_BigRiverMember" xlink:href="rex-20170430.xsd#rex_BigRiverMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityMethodInvesteeNameDomain" xlink:to="rex_BigRiverMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss" order="4" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" order="8" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefits" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefits"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:to="us-gaap_UnrecognizedTaxBenefits" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:to="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" xlink:href="rex-20170430.xsd#rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:to="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" order="2" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofSalesofConsolidatedEthanolPlantsTable">
    <loc xlink:type="locator" xlink:label="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems" xlink:to="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProductOrServiceAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductOrServiceAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" xlink:to="us-gaap_ProductOrServiceAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProductsAndServicesDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductsAndServicesDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_ProductOrServiceAxis" xlink:to="us-gaap_ProductsAndServicesDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProductsAndServicesDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductsAndServicesDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_ProductOrServiceAxis" xlink:to="us-gaap_ProductsAndServicesDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_EthanolMember" xlink:href="rex-20170430.xsd#rex_EthanolMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ProductsAndServicesDomain" xlink:to="rex_EthanolMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_DriedDistillersGrainsMember" xlink:href="rex-20170430.xsd#rex_DriedDistillersGrainsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ProductsAndServicesDomain" xlink:to="rex_DriedDistillersGrainsMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NonFoodGradeCornOilMember" xlink:href="rex-20170430.xsd#rex_NonFoodGradeCornOilMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ProductsAndServicesDomain" xlink:to="rex_NonFoodGradeCornOilMember" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ModifiedDistillersGrainsMember" xlink:href="rex-20170430.xsd#rex_ModifiedDistillersGrainsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ProductsAndServicesDomain" xlink:to="rex_ModifiedDistillersGrainsMember" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_OtherProductMember" xlink:href="rex-20170430.xsd#rex_OtherProductMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ProductsAndServicesDomain" xlink:to="rex_OtherProductMember" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAlternativeEnergySalesRevenue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAlternativeEnergySalesRevenue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems" xlink:to="us-gaap_OtherAlternativeEnergySalesRevenue" order="1" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTSDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfOperatingSegments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NumberOfOperatingSegments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_NumberOfOperatingSegments" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NumberOfEthanolEntitiesUnderOwnershipInterest" xlink:href="rex-20170430.xsd#rex_NumberOfEthanolEntitiesUnderOwnershipInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="rex_NumberOfEthanolEntitiesUnderOwnershipInterest" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest" xlink:href="rex-20170430.xsd#rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest" order="2" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ACCOUNTINGPOLICIESDetails">
    <loc xlink:type="locator" xlink:label="rex_ACCOUNTINGPOLICIESDetailsLineItems" xlink:href="rex-20170430.xsd#rex_ACCOUNTINGPOLICIESDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_ACCOUNTINGPOLICIESDetailsTable" xlink:href="rex-20170430.xsd#rex_ACCOUNTINGPOLICIESDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="rex_ACCOUNTINGPOLICIESDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_ACCOUNTINGPOLICIESDetailsTable" xlink:to="us-gaap_PropertyPlantAndEquipmentByTypeAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="us-gaap_PropertyPlantAndEquipmentTypeDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="us-gaap_PropertyPlantAndEquipmentTypeDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RangeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_ACCOUNTINGPOLICIESDetailsTable" xlink:to="us-gaap_RangeAxis" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RangeMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RangeMember_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeMember_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_ACCOUNTINGPOLICIESDetailsTable" xlink:to="us-gaap_IncomeStatementLocationAxis" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_IncomeStatementLocationAxis" xlink:to="us-gaap_IncomeStatementLocationDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_IncomeStatementLocationAxis" xlink:to="us-gaap_IncomeStatementLocationDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_ACCOUNTINGPOLICIESDetailsTable" xlink:to="us-gaap_StatementScenarioAxis" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingAndBuildingImprovementsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="us-gaap_BuildingAndBuildingImprovementsMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_FixturesAndEquipmentMember" xlink:href="rex-20170430.xsd#rex_FixturesAndEquipmentMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="rex_FixturesAndEquipmentMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfSalesMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfSalesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementLocationDomain" xlink:to="us-gaap_CostOfSalesMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ApproximateMember" xlink:href="rex-20170430.xsd#rex_ApproximateMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ScenarioUnspecifiedDomain" xlink:to="rex_ApproximateMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinimumMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_MinimumMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MaximumMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_MaximumMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesPaid" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxesPaid"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_IncomeTaxesPaid" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromIncomeTaxRefunds" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIncomeTaxRefunds"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_ProceedsFromIncomeTaxRefunds" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefits" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefits"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_UnrecognizedTaxBenefits" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentDepreciationMethods" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentDepreciationMethods"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_PropertyPlantAndEquipmentDepreciationMethods" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" xlink:href="rex-20170430.xsd#rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" order="8" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDITDetails">
    <loc xlink:type="locator" xlink:label="rex_REVOLVINGLINESOFCREDITDetailsLineItems" xlink:href="rex-20170430.xsd#rex_REVOLVINGLINESOFCREDITDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_REVOLVINGLINESOFCREDITDetailsTable" xlink:href="rex-20170430.xsd#rex_REVOLVINGLINESOFCREDITDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_REVOLVINGLINESOFCREDITDetailsLineItems" xlink:to="rex_REVOLVINGLINESOFCREDITDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_LegalEntityAxis" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_REVOLVINGLINESOFCREDITDetailsTable" xlink:to="dei_LegalEntityAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain_0" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CreditFacilityAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_REVOLVINGLINESOFCREDITDetailsTable" xlink:to="us-gaap_CreditFacilityAxis" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CreditFacilityDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_CreditFacilityAxis" xlink:to="us-gaap_CreditFacilityDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CreditFacilityDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_CreditFacilityAxis" xlink:to="us-gaap_CreditFacilityDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevolvingCreditFacilityMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_CreditFacilityDomain" xlink:to="us-gaap_RevolvingCreditFacilityMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_OneEarthEnergyAndNuGenEnergyMember" xlink:href="rex-20170430.xsd#rex_OneEarthEnergyAndNuGenEnergyMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="rex_OneEarthEnergyAndNuGenEnergyMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtInstrumentMaturityDate" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentMaturityDate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_REVOLVINGLINESOFCREDITDetailsLineItems" xlink:to="us-gaap_DebtInstrumentMaturityDate" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LinesOfCreditCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LinesOfCreditCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_REVOLVINGLINESOFCREDITDetailsLineItems" xlink:to="us-gaap_LinesOfCreditCurrent" order="2" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfBushelsUnderCommodityFutures" xlink:href="rex-20170430.xsd#rex_QuantityOfBushelsUnderCommodityFutures"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="rex_QuantityOfBushelsUnderCommodityFutures" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfBushelsUnderForwardPurchaseContract" xlink:href="rex-20170430.xsd#rex_QuantityOfBushelsUnderForwardPurchaseContract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="rex_QuantityOfBushelsUnderForwardPurchaseContract" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtInstrumentCollateralAmount" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentCollateralAmount"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_DebtInstrumentCollateralAmount" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeGainOnDerivative" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeGainOnDerivative"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_DerivativeGainOnDerivative" order="3" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INVESTMENTSDetails">
    <loc xlink:type="locator" xlink:label="rex_INVESTMENTSDetailsLineItems" xlink:href="rex-20170430.xsd#rex_INVESTMENTSDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_INVESTMENTSDetailsTable" xlink:href="rex-20170430.xsd#rex_INVESTMENTSDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_INVESTMENTSDetailsLineItems" xlink:to="rex_INVESTMENTSDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_INVESTMENTSDetailsTable" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_EquityMethodInvesteeNameDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_EquityMethodInvesteeNameDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_BigRiverMember" xlink:href="rex-20170430.xsd#rex_BigRiverMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityMethodInvesteeNameDomain" xlink:to="rex_BigRiverMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_PatriotMember" xlink:href="rex-20170430.xsd#rex_PatriotMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityMethodInvesteeNameDomain" xlink:to="rex_PatriotMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsLineItems" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsLineItems" xlink:to="us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsLineItems" xlink:to="us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments" xlink:href="rex-20170430.xsd#rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsLineItems" xlink:to="rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsLineItems" xlink:to="us-gaap_GainLossOnSaleOfInvestments" order="5" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/EMPLOYEEBENEFITSDetails">
    <loc xlink:type="locator" xlink:label="rex_EMPLOYEEBENEFITSDetailsLineItems" xlink:href="rex-20170430.xsd#rex_EMPLOYEEBENEFITSDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_EMPLOYEEBENEFITSDetailsTable" xlink:href="rex-20170430.xsd#rex_EMPLOYEEBENEFITSDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_EMPLOYEEBENEFITSDetailsLineItems" xlink:to="rex_EMPLOYEEBENEFITSDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PlanNameAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_EMPLOYEEBENEFITSDetailsTable" xlink:to="us-gaap_PlanNameAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PlanNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_PlanNameAxis" xlink:to="us-gaap_PlanNameDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PlanNameDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_PlanNameAxis" xlink:to="us-gaap_PlanNameDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AwardTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_EMPLOYEEBENEFITSDetailsTable" xlink:to="us-gaap_AwardTypeAxis" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeStockOptionMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_EmployeeStockOptionMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_StockOptionPlans2015Member" xlink:href="rex-20170430.xsd#rex_StockOptionPlans2015Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PlanNameDomain" xlink:to="rex_StockOptionPlans2015Member" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_EMPLOYEEBENEFITSDetailsLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_EMPLOYEEBENEFITSDetailsLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_EMPLOYEEBENEFITSDetailsLineItems" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" order="3" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INCOMETAXESDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_EffectiveIncomeTaxRateContinuingOperations" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIESDetails">
    <loc xlink:type="locator" xlink:label="rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:href="rex-20170430.xsd#rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_COMMITMENTSANDCONTINGENCIESDetailsTable" xlink:href="rex-20170430.xsd#rex_COMMITMENTSANDCONTINGENCIESDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:to="rex_COMMITMENTSANDCONTINGENCIESDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_LegalEntityAxis" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_COMMITMENTSANDCONTINGENCIESDetailsTable" xlink:to="dei_LegalEntityAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain_0" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_OneEarthEnergyAndNuGenEnergyMember" xlink:href="rex-20170430.xsd#rex_OneEarthEnergyAndNuGenEnergyMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="rex_OneEarthEnergyAndNuGenEnergyMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfBushelsUnderForwardPurchaseContract" xlink:href="rex-20170430.xsd#rex_QuantityOfBushelsUnderForwardPurchaseContract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:to="rex_QuantityOfBushelsUnderForwardPurchaseContract" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfEthanolUnderSalesCommitment" xlink:href="rex-20170430.xsd#rex_QuantityOfEthanolUnderSalesCommitment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:to="rex_QuantityOfEthanolUnderSalesCommitment" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfDistillersGrainsUnderSalesCommitment" xlink:href="rex-20170430.xsd#rex_QuantityOfDistillersGrainsUnderSalesCommitment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:to="rex_QuantityOfDistillersGrainsUnderSalesCommitment" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments" xlink:href="rex-20170430.xsd#rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:to="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_SupplyCommitmentExpectedPeriodOfDelivery" xlink:href="rex-20170430.xsd#rex_SupplyCommitmentExpectedPeriodOfDelivery"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:to="rex_SupplyCommitmentExpectedPeriodOfDelivery" order="5" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONSDetails">
    <loc xlink:type="locator" xlink:label="rex_RELATEDPARTYTRANSACTIONSDetailsLineItems" xlink:href="rex-20170430.xsd#rex_RELATEDPARTYTRANSACTIONSDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_RELATEDPARTYTRANSACTIONSDetailsTable" xlink:href="rex-20170430.xsd#rex_RELATEDPARTYTRANSACTIONSDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_RELATEDPARTYTRANSACTIONSDetailsLineItems" xlink:to="rex_RELATEDPARTYTRANSACTIONSDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_RELATEDPARTYTRANSACTIONSDetailsTable" xlink:to="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="us-gaap_RelatedPartyDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="us-gaap_RelatedPartyDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_OneEarthEnergyAndNuGenEnergyMember" xlink:href="rex-20170430.xsd#rex_OneEarthEnergyAndNuGenEnergyMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RelatedPartyDomain" xlink:to="rex_OneEarthEnergyAndNuGenEnergyMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostsAndExpensesRelatedParty" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostsAndExpensesRelatedParty"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_RELATEDPARTYTRANSACTIONSDetailsLineItems" xlink:to="us-gaap_CostsAndExpensesRelatedParty" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_RELATEDPARTYTRANSACTIONSDetailsLineItems" xlink:to="us-gaap_AccountsPayableRelatedPartiesCurrent" order="2" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DocumentAndEntityInformation">
    <loc xlink:type="locator" xlink:label="dei_DocumentInformationLineItems" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentInformationLineItems"/>
    <loc xlink:type="locator" xlink:label="dei_EntityRegistrantName" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityRegistrantName"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityRegistrantName" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_TradingSymbol" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_TradingSymbol"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_TradingSymbol" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentType" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentType"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_DocumentType" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_CurrentFiscalYearEndDate" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_CurrentFiscalYearEndDate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_CurrentFiscalYearEndDate" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCommonStockSharesOutstanding" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityCommonStockSharesOutstanding" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityPublicFloat" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityPublicFloat"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityPublicFloat" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_AmendmentFlag" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentFlag"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_AmendmentFlag" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_AmendmentDescription" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentDescription"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_AmendmentDescription" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCentralIndexKey" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCentralIndexKey"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityCentralIndexKey" order="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCurrentReportingStatus" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCurrentReportingStatus"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityCurrentReportingStatus" order="9" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityVoluntaryFilers" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityVoluntaryFilers"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityVoluntaryFilers" order="10" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityFilerCategory" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityFilerCategory"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityFilerCategory" order="11" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityWellKnownSeasonedIssuer" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityWellKnownSeasonedIssuer"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityWellKnownSeasonedIssuer" order="12" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentPeriodEndDate" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentPeriodEndDate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_DocumentPeriodEndDate" order="13" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalYearFocus" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalYearFocus"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_DocumentFiscalYearFocus" order="14" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalPeriodFocus" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalPeriodFocus"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_DocumentFiscalPeriodFocus" order="15" xbrldt:closed="true"/>
  </definitionLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.LAB
<SEQUENCE>8
<FILENAME>rex-20170430_lab.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->
<!-- Created: Wed May 31 10:58:17 EDT 2017 -->
<linkbase xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedLabel" roleURI="http://www.xbrl.org/2009/role/negatedLabel"/>
  <labelLink xlink:type="extended" xlink:role="http://www.xbrl.org/2003/role/link">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfFinancialPositionAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementOfFinancialPositionAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementOfFinancialPositionAbstract_lbl" xml:lang="en-US">Statement of Financial Position [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_StatementOfFinancialPositionAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_AssetsCurrent_lbl" xml:lang="en-US">Total current assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_AssetsCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Assets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Assets"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_Assets_lbl" xml:lang="en-US">Total assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Assets" xlink:to="us-gaap_Assets_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_LiabilitiesCurrent_lbl" xml:lang="en-US">Total current liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesCurrent" xlink:to="us-gaap_LiabilitiesCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_LiabilitiesNoncurrent_lbl" xml:lang="en-US">Total long-term liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesNoncurrent" xlink:to="us-gaap_LiabilitiesNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquity" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_StockholdersEquity_lbl" xml:lang="en-US">Total REX shareholders&#8217; equity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_StockholdersEquity_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl" xml:lang="en-US">Total equity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl0" xml:lang="en-US">Balance</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl1" xml:lang="en-US">Balance</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity_lbl" xml:lang="en-US">Total liabilities and equity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_LiabilitiesAndStockholdersEquity_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeStatementAbstract_lbl" xml:lang="en-US">Income Statement [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeStatementAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GrossProfit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GrossProfit"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_GrossProfit_lbl" xml:lang="en-US">Gross profit</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GrossProfit" xlink:to="us-gaap_GrossProfit_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl" xml:lang="en-US">Income before income taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_ProfitLoss_lbl" xml:lang="en-US">Net income</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProfitLoss" xlink:to="us-gaap_ProfitLoss_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProfitLoss_lbl0" xml:lang="en-US">Net income</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProfitLoss" xlink:to="us-gaap_ProfitLoss_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProfitLoss_lbl1" xml:lang="en-US">Net income including noncontrolling interests</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProfitLoss" xlink:to="us-gaap_ProfitLoss_lbl1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetIncomeLoss_lbl" xml:lang="en-US">Net income attributable to REX common shareholders</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_NetIncomeLoss_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfStockholdersEquityAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementOfStockholdersEquityAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementOfStockholdersEquityAbstract_lbl" xml:lang="en-US">Statement of Stockholders&apos; Equity [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementOfStockholdersEquityAbstract" xlink:to="us-gaap_StatementOfStockholdersEquityAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharesOutstanding" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharesOutstanding"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_SharesOutstanding_lbl" xml:lang="en-US">Balance (in Shares)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharesOutstanding" xlink:to="us-gaap_SharesOutstanding_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_SharesOutstanding_lbl0" xml:lang="en-US">Balance (in Shares)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharesOutstanding" xlink:to="us-gaap_SharesOutstanding_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementEquityComponentsAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementEquityComponentsAxis_lbl" xml:lang="en-US">Equity Components [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_StatementEquityComponentsAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommonStockMember_lbl" xml:lang="en-US">Common Stock [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockMember" xlink:to="us-gaap_CommonStockMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TreasuryStockMember_lbl" xml:lang="en-US">Treasury Stock [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockMember" xlink:to="us-gaap_TreasuryStockMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AdditionalPaidInCapitalMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AdditionalPaidInCapitalMember_lbl" xml:lang="en-US">Additional Paid-in Capital [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdditionalPaidInCapitalMember" xlink:to="us-gaap_AdditionalPaidInCapitalMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RetainedEarningsMember_lbl" xml:lang="en-US">Retained Earnings [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetainedEarningsMember" xlink:to="us-gaap_RetainedEarningsMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NoncontrollingInterestMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NoncontrollingInterestMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NoncontrollingInterestMember_lbl" xml:lang="en-US">Noncontrolling Interest [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NoncontrollingInterestMember" xlink:to="us-gaap_NoncontrollingInterestMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfCashFlowsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementOfCashFlowsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementOfCashFlowsAbstract_lbl" xml:lang="en-US">Statement of Cash Flows [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_StatementOfCashFlowsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities_lbl" xml:lang="en-US">Net cash provided by (used in) operating activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities_lbl" xml:lang="en-US">Net cash used in investing activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivities_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities_lbl" xml:lang="en-US">Net cash used in financing activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_lbl" xml:lang="en-US">Net increase (decrease) in cash and cash equivalents</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xml:lang="en-US">Cash and cash equivalents, beginning of period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl0" xml:lang="en-US">Cash and cash equivalents, end of period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl1" xml:lang="en-US">Cash and cash equivalents</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DisclosureTextBlockAbstract_lbl" xml:lang="en-US">Disclosure Text Block [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_DisclosureTextBlockAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountingPoliciesAbstract_lbl" xml:lang="en-US">Accounting Policies [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_AccountingPoliciesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfComponentsOfInventoryAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfComponentsOfInventoryAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfComponentsOfInventoryAbstract_lbl" xml:lang="en-US">Schedule of Components of Inventory [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfComponentsOfInventoryAbstract" xlink:to="rex_ScheduleOfComponentsOfInventoryAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_InventoryNet_lbl" xml:lang="en-US">Total</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryNet" xlink:to="us-gaap_InventoryNet_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InventoryNet_lbl0" xml:lang="en-US">Inventory</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryNet" xlink:to="us-gaap_InventoryNet_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeasesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LeasesAbstract_lbl" xml:lang="en-US">Leases [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LeasesAbstract" xlink:to="us-gaap_LeasesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract_lbl" xml:lang="en-US">Schedule of Future Minimum Rental Payments for Operating Leases [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue_lbl" xml:lang="en-US">Total</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueDisclosuresAbstract_lbl" xml:lang="en-US">Fair Value Disclosures [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueDisclosuresAbstract" xlink:to="us-gaap_FairValueDisclosuresAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract_lbl" xml:lang="en-US">Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract" xlink:to="rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsFairValueDisclosure" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_AssetsFairValueDisclosure_lbl" xml:lang="en-US">Total assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsFairValueDisclosure" xlink:to="us-gaap_AssetsFairValueDisclosure_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis_lbl" xml:lang="en-US">Fair Value, Hierarchy [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueByFairValueHierarchyLevelAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel1Member" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueInputsLevel1Member_lbl" xml:lang="en-US">Fair Value, Inputs, Level 1 [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueInputsLevel1Member" xlink:to="us-gaap_FairValueInputsLevel1Member_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel2Member" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueInputsLevel2Member_lbl" xml:lang="en-US">Fair Value, Inputs, Level 2 [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueInputsLevel2Member" xlink:to="us-gaap_FairValueInputsLevel2Member_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel3Member" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueInputsLevel3Member_lbl" xml:lang="en-US">Fair Value, Inputs, Level 3 [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueInputsLevel3Member" xlink:to="us-gaap_FairValueInputsLevel3Member_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentAbstract_lbl" xml:lang="en-US">Property, Plant and Equipment [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfPropertyAndEquipmentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfPropertyAndEquipmentAbstract_lbl" xml:lang="en-US">Schedule of Property and Equipment [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:to="rex_ScheduleOfPropertyAndEquipmentAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_PropertyPlantAndEquipmentGross_lbl" xml:lang="en-US"></label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentGross" xlink:to="us-gaap_PropertyPlantAndEquipmentGross_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_PropertyPlantAndEquipmentNet_lbl" xml:lang="en-US">Total</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentNet" xlink:to="us-gaap_PropertyPlantAndEquipmentNet_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentNet_lbl0" xml:lang="en-US">Property and equipment, net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentNet" xlink:to="us-gaap_PropertyPlantAndEquipmentNet_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract_lbl" xml:lang="en-US">Disclosure Text Block Supplement [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_DisclosureTextBlockSupplementAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfOtherAssetsAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfOtherAssetsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfOtherAssetsAbstract_lbl" xml:lang="en-US">Schedule of Other Assets [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfOtherAssetsAbstract" xlink:to="rex_ScheduleOfOtherAssetsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_OtherAssetsNoncurrent_lbl" xml:lang="en-US">Total</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAssetsNoncurrent" xlink:to="us-gaap_OtherAssetsNoncurrent_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherAssetsNoncurrent_lbl0" xml:lang="en-US">Other assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAssetsNoncurrent" xlink:to="us-gaap_OtherAssetsNoncurrent_lbl0"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract_lbl" xml:lang="en-US">Schedule of accrued expenses and other current liabilities [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_OtherLiabilitiesCurrent_lbl" xml:lang="en-US">Total</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_OtherLiabilitiesCurrent_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherLiabilitiesCurrent_lbl0" xml:lang="en-US">Accrued expenses and other current liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_OtherLiabilitiesCurrent_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtDisclosureAbstract_lbl" xml:lang="en-US">Debt Disclosure [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtDisclosureAbstract" xlink:to="us-gaap_DebtDisclosureAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract_lbl" xml:lang="en-US">Schedule of Fair Values for Derivative Financial Instruments [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract" xlink:to="rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentRiskAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DerivativeInstrumentRiskAxis_lbl" xml:lang="en-US">Derivative Instrument [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeInstrumentRiskAxis" xlink:to="us-gaap_DerivativeInstrumentRiskAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommodityContractMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommodityContractMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommodityContractMember_lbl" xml:lang="en-US">Commodity Contract [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommodityContractMember" xlink:to="us-gaap_CommodityContractMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ForwardContractsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForwardContractsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ForwardContractsMember_lbl" xml:lang="en-US">Forward Contracts [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ForwardContractsMember" xlink:to="us-gaap_ForwardContractsMember_lbl"/>
    <loc xlink:type="locator" xlink:label="invest_InvestmentsScheduleAbstract" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentsScheduleAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="invest_InvestmentsScheduleAbstract_lbl" xml:lang="en-US">Investments Schedule [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="invest_InvestmentsScheduleAbstract" xlink:to="invest_InvestmentsScheduleAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfEquityMethodInvestmentsAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfEquityMethodInvestmentsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfEquityMethodInvestmentsAbstract_lbl" xml:lang="en-US">Schedule of Equity Method Investments [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfEquityMethodInvestmentsAbstract" xlink:to="rex_ScheduleOfEquityMethodInvestmentsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_lbl" xml:lang="en-US">Investment, Name [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_BigRiverMember" xlink:href="rex-20170430.xsd#rex_BigRiverMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_BigRiverMember_lbl" xml:lang="en-US">Big River [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_BigRiverMember" xlink:to="rex_BigRiverMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract_lbl" xml:lang="en-US">Schedule of Financial information For Equity Method Investment [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract" xlink:to="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract_lbl" xml:lang="en-US">Schedule of Non-Vested Restricted Stock Award Activity [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_lbl" xml:lang="en-US">Non-Vested at January 31, 2017</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_lbl0" xml:lang="en-US">Non-Vested at April 30, 2017</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_lbl" xml:lang="en-US">Non-Vested at January 31, 2017</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_lbl0" xml:lang="en-US">Non-Vested at April 30, 2017</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxDisclosureAbstract_lbl" xml:lang="en-US">Income Tax Disclosure [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_IncomeTaxDisclosureAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract_lbl" xml:lang="en-US">Schedule of Unrecognized Tax Benefits Roll Forward [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:to="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefits" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefits"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_UnrecognizedTaxBenefits_lbl" xml:lang="en-US">Unrecognized tax benefits, January 31, 2017</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnrecognizedTaxBenefits" xlink:to="us-gaap_UnrecognizedTaxBenefits_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_UnrecognizedTaxBenefits_lbl0" xml:lang="en-US">Unrecognized Tax Benefits</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnrecognizedTaxBenefits" xlink:to="us-gaap_UnrecognizedTaxBenefits_lbl0"/>
    <loc xlink:type="locator" xlink:label="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" xlink:href="rex-20170430.xsd#rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties_lbl" xml:lang="en-US">Unrecognized tax benefits, April 30, 2017</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" xlink:to="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract_lbl" xml:lang="en-US">Commitments and Contingencies Disclosure [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_CommitmentsAndContingenciesDisclosureAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NetSalesAndRevenueAbstract" xlink:href="rex-20170430.xsd#rex_NetSalesAndRevenueAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NetSalesAndRevenueAbstract_lbl" xml:lang="en-US">Net Sales And Revenue [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NetSalesAndRevenueAbstract" xlink:to="rex_NetSalesAndRevenueAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract_lbl" xml:lang="en-US">Schedule of Sales of Consolidated Ethanol Plants [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract" xlink:to="rex_ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProductOrServiceAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductOrServiceAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProductOrServiceAxis_lbl" xml:lang="en-US">Products and Services [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProductOrServiceAxis" xlink:to="us-gaap_ProductOrServiceAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_EthanolMember" xlink:href="rex-20170430.xsd#rex_EthanolMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_EthanolMember_lbl" xml:lang="en-US">Ethanol [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_EthanolMember" xlink:to="rex_EthanolMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_DriedDistillersGrainsMember" xlink:href="rex-20170430.xsd#rex_DriedDistillersGrainsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_DriedDistillersGrainsMember_lbl" xml:lang="en-US">Dried Distillers Grains [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DriedDistillersGrainsMember" xlink:to="rex_DriedDistillersGrainsMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NonFoodGradeCornOilMember" xlink:href="rex-20170430.xsd#rex_NonFoodGradeCornOilMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_NonFoodGradeCornOilMember_lbl" xml:lang="en-US">Non-Food Grade Corn Oil [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NonFoodGradeCornOilMember" xlink:to="rex_NonFoodGradeCornOilMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ModifiedDistillersGrainsMember" xlink:href="rex-20170430.xsd#rex_ModifiedDistillersGrainsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_ModifiedDistillersGrainsMember_lbl" xml:lang="en-US">Modified Distillers Grains [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ModifiedDistillersGrainsMember" xlink:to="rex_ModifiedDistillersGrainsMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_OtherProductMember" xlink:href="rex-20170430.xsd#rex_OtherProductMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_OtherProductMember_lbl" xml:lang="en-US">Other Product [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OtherProductMember" xlink:to="rex_OtherProductMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RelatedPartyTransactionsAbstract_lbl" xml:lang="en-US">Related Party Transactions [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartyTransactionsAbstract" xlink:to="us-gaap_RelatedPartyTransactionsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AssetsCurrentAbstract_lbl" xml:lang="en-US">Current assets:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_AssetsCurrentAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_lbl" xml:lang="en-US">Restricted cash</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" xlink:to="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsReceivableNetCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountsReceivableNetCurrent_lbl" xml:lang="en-US">Accounts receivable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsReceivableNetCurrent" xlink:to="us-gaap_AccountsReceivableNetCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesReceivable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxesReceivable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxesReceivable_lbl" xml:lang="en-US">Refundable income taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxesReceivable" xlink:to="us-gaap_IncomeTaxesReceivable_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent_lbl" xml:lang="en-US">Prepaid expenses and other</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:to="us-gaap_PrepaidExpenseAndOtherAssetsCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxAssetsNetNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsNetNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxAssetsNetNoncurrent_lbl" xml:lang="en-US">Deferred taxes, net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxAssetsNetNoncurrent" xlink:to="us-gaap_DeferredTaxAssetsNetNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestments_lbl" xml:lang="en-US">Equity method investments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestments" xlink:to="us-gaap_EquityMethodInvestments_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestments_lbl0" xml:lang="en-US">Big River</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestments" xlink:to="us-gaap_EquityMethodInvestments_lbl0"/>
    <loc xlink:type="locator" xlink:label="rex_LiabilitiesAndEquityAbstract" xlink:href="rex-20170430.xsd#rex_LiabilitiesAndEquityAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_LiabilitiesAndEquityAbstract_lbl" xml:lang="en-US">Liabilities and equity:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_LiabilitiesAndEquityAbstract" xlink:to="rex_LiabilitiesAndEquityAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilitiesCurrentAbstract_lbl" xml:lang="en-US">Current liabilities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_LiabilitiesCurrentAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableTradeCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableTradeCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountsPayableTradeCurrent_lbl" xml:lang="en-US">Accounts payable, trade</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsPayableTradeCurrent" xlink:to="us-gaap_AccountsPayableTradeCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_LongTermLiabilitiesAbstract" xlink:href="rex-20170430.xsd#rex_LongTermLiabilitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_LongTermLiabilitiesAbstract_lbl" xml:lang="en-US">Long-term liabilities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_LongTermLiabilitiesAbstract" xlink:to="rex_LongTermLiabilitiesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent_lbl" xml:lang="en-US">Deferred taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:to="us-gaap_DeferredTaxLiabilitiesNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherLiabilitiesNoncurrent_lbl" xml:lang="en-US">Other long-term liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherLiabilitiesNoncurrent" xlink:to="us-gaap_OtherLiabilitiesNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityAbstract_lbl" xml:lang="en-US">Equity:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_EquityAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_RexShareholdersEquityAbstract" xlink:href="rex-20170430.xsd#rex_RexShareholdersEquityAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_RexShareholdersEquityAbstract_lbl" xml:lang="en-US">REX shareholders&#8217; equity:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RexShareholdersEquityAbstract" xlink:to="rex_RexShareholdersEquityAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommonStockValue_lbl" xml:lang="en-US">Common stock</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockValue" xlink:to="us-gaap_CommonStockValue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock_lbl" xml:lang="en-US">Paid-in capital</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdditionalPaidInCapitalCommonStock" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit_lbl" xml:lang="en-US">Retained earnings</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinorityInterest"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MinorityInterest_lbl" xml:lang="en-US">Noncontrolling interests</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MinorityInterest" xlink:to="us-gaap_MinorityInterest_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SalesRevenueNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesRevenueNet"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SalesRevenueNet_lbl" xml:lang="en-US">Net sales and revenue</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SalesRevenueNet" xlink:to="us-gaap_SalesRevenueNet_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfGoodsAndServicesSold" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CostOfGoodsAndServicesSold_lbl" xml:lang="en-US">Cost of sales</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostOfGoodsAndServicesSold" xlink:to="us-gaap_CostOfGoodsAndServicesSold_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments_lbl" xml:lang="en-US">Equity in income of unconsolidated affiliates</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments_lbl0" xml:lang="en-US">Income from equity method investments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments_lbl1" xml:lang="en-US">Income (Loss) from Equity Method Investments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments_lbl1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GainLossOnSaleOfInvestments_lbl" xml:lang="en-US">Gain on sale of investment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GainLossOnSaleOfInvestments" xlink:to="us-gaap_GainLossOnSaleOfInvestments_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_GainLossOnSaleOfInvestments_lbl0" xml:lang="en-US">Gain (Loss) on Sale of Investments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GainLossOnSaleOfInvestments" xlink:to="us-gaap_GainLossOnSaleOfInvestments_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InterestAndOtherIncome" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestAndOtherIncome"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InterestAndOtherIncome_lbl" xml:lang="en-US">Interest and other income</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InterestAndOtherIncome" xlink:to="us-gaap_InterestAndOtherIncome_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl" xml:lang="en-US">Weighted average shares outstanding &#8211; basic (in Shares)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EarningsPerShareBasic" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareBasic"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EarningsPerShareBasic_lbl" xml:lang="en-US">Basic net income per share attributable to REX common shareholders (in Dollars per share)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareBasic" xlink:to="us-gaap_EarningsPerShareBasic_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_lbl" xml:lang="en-US">Weighted average shares outstanding &#8211; diluted (in Shares)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:to="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EarningsPerShareDiluted" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareDiluted"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EarningsPerShareDiluted_lbl" xml:lang="en-US">Diluted net income per share attributable to REX common shareholders (in Dollars per share)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareDiluted" xlink:to="us-gaap_EarningsPerShareDiluted_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensation" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensation_lbl" xml:lang="en-US">Stock based compensation expense</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensation" xlink:to="us-gaap_ShareBasedCompensation_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockSharesAcquired" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TreasuryStockSharesAcquired_lbl" xml:lang="en-US">Treasury stock acquired (in Shares)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockSharesAcquired" xlink:to="us-gaap_TreasuryStockSharesAcquired_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromOperatingActivitiesAbstract" xlink:href="rex-20170430.xsd#rex_CashFlowsFromOperatingActivitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_CashFlowsFromOperatingActivitiesAbstract_lbl" xml:lang="en-US">Cash flows from operating activities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CashFlowsFromOperatingActivitiesAbstract" xlink:to="rex_CashFlowsFromOperatingActivitiesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:href="rex-20170430.xsd#rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract_lbl" xml:lang="en-US">Adjustments to reconcile net income to net cash provided by (used in) operating activities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepreciationDepletionAndAmortization" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DepreciationDepletionAndAmortization_lbl" xml:lang="en-US">Depreciation and amortization</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DepreciationDepletionAndAmortization" xlink:to="us-gaap_DepreciationDepletionAndAmortization_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_GainLossOnInvestments_lbl" xml:lang="en-US">Gain on sale of investment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GainLossOnInvestments" xlink:to="us-gaap_GainLossOnInvestments_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit_lbl" xml:lang="en-US">Deferred income tax</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:to="us-gaap_DeferredIncomeTaxExpenseBenefit_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense_lbl" xml:lang="en-US">Stock based compensation expense</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AllocatedShareBasedCompensationExpense" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:href="rex-20170430.xsd#rex_ChangesInAssetsAndLiabilitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ChangesInAssetsAndLiabilitiesAbstract_lbl" xml:lang="en-US">Changes in assets and liabilities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:to="rex_ChangesInAssetsAndLiabilitiesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable_lbl" xml:lang="en-US">Accounts receivable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:to="us-gaap_IncreaseDecreaseInAccountsReceivable_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInInventories" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInInventories_lbl" xml:lang="en-US">Inventories</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInInventories" xlink:to="us-gaap_IncreaseDecreaseInInventories_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingAssets_lbl" xml:lang="en-US">Other assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingAssets_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade_lbl" xml:lang="en-US">Accounts payable, trade</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayableTrade_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_lbl" xml:lang="en-US">Other liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:href="rex-20170430.xsd#rex_CashFlowsFromInvestingActivitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_CashFlowsFromInvestingActivitiesAbstract_lbl" xml:lang="en-US">Cash flows from investing activities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:to="rex_CashFlowsFromInvestingActivitiesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfRestrictedInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfRestrictedInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromSaleOfRestrictedInvestments_lbl" xml:lang="en-US">Restricted investments and deposits</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromSaleOfRestrictedInvestments" xlink:to="us-gaap_ProceedsFromSaleOfRestrictedInvestments_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfLongtermInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromSaleOfLongtermInvestments_lbl" xml:lang="en-US">Proceeds from sale of investment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:to="us-gaap_ProceedsFromSaleOfLongtermInvestments_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromFinancingActivitiesAbstract" xlink:href="rex-20170430.xsd#rex_CashFlowsFromFinancingActivitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_CashFlowsFromFinancingActivitiesAbstract_lbl" xml:lang="en-US">Cash flows from financing activities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CashFlowsFromFinancingActivitiesAbstract" xlink:to="rex_CashFlowsFromFinancingActivitiesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:href="rex-20170430.xsd#rex_NonCashInvestingActivitiesAccruedCapitalExpenditures"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures_lbl" xml:lang="en-US">Non cash investing activities &#8211; Accrued capital expenditures</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:to="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NonCashFinancingActivitiesEquityAwardsIssued" xlink:href="rex-20170430.xsd#rex_NonCashFinancingActivitiesEquityAwardsIssued"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NonCashFinancingActivitiesEquityAwardsIssued_lbl" xml:lang="en-US">Non cash financing activities &#8211; Equity awards accrued</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NonCashFinancingActivitiesEquityAwardsIssued" xlink:to="rex_NonCashFinancingActivitiesEquityAwardsIssued_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock_lbl" xml:lang="en-US">Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" xlink:to="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SignificantAccountingPoliciesTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SignificantAccountingPoliciesTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SignificantAccountingPoliciesTextBlock_lbl" xml:lang="en-US">Significant Accounting Policies [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SignificantAccountingPoliciesTextBlock" xlink:to="us-gaap_SignificantAccountingPoliciesTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfInventoryCurrentTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfInventoryCurrentTableTextBlock_lbl" xml:lang="en-US">Schedule of Inventory, Current [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:to="us-gaap_ScheduleOfInventoryCurrentTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InventoryFinishedGoodsNetOfReserves_lbl" xml:lang="en-US">Ethanol and other finished goods</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:to="us-gaap_InventoryFinishedGoodsNetOfReserves_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryWorkInProcessNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InventoryWorkInProcessNetOfReserves_lbl" xml:lang="en-US">Work in process</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryWorkInProcessNetOfReserves" xlink:to="us-gaap_InventoryWorkInProcessNetOfReserves_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryRawMaterialsNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InventoryRawMaterialsNetOfReserves_lbl" xml:lang="en-US">Grain and other raw materials</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryRawMaterialsNetOfReserves" xlink:to="us-gaap_InventoryRawMaterialsNetOfReserves_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesOfLessorDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeasesOfLessorDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LeasesOfLessorDisclosureTextBlock_lbl" xml:lang="en-US">Leases of Lessor Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LeasesOfLessorDisclosureTextBlock" xlink:to="us-gaap_LeasesOfLessorDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock_lbl" xml:lang="en-US">Schedule of Future Minimum Rental Payments for Operating Leases [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" xlink:to="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_lbl" xml:lang="en-US">Remainder of 2018</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_lbl" xml:lang="en-US">2019</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_lbl" xml:lang="en-US">2020</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_lbl" xml:lang="en-US">2021</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_lbl" xml:lang="en-US">2022</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_lbl" xml:lang="en-US">Thereafter</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosuresTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueDisclosuresTextBlock_lbl" xml:lang="en-US">Fair Value Disclosures [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueDisclosuresTextBlock" xlink:to="us-gaap_FairValueDisclosuresTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock_lbl" xml:lang="en-US">Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:to="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue_lbl" xml:lang="en-US">Commodity futures (1)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" xlink:to="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_InvestmentInCooperativeFairValueDisclosure" xlink:href="rex-20170430.xsd#rex_InvestmentInCooperativeFairValueDisclosure"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_InvestmentInCooperativeFairValueDisclosure_lbl" xml:lang="en-US">Investment in cooperative (2)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_InvestmentInCooperativeFairValueDisclosure" xlink:to="rex_InvestmentInCooperativeFairValueDisclosure_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ForwardPurchaseContractLiabilityFairValue" xlink:href="rex-20170430.xsd#rex_ForwardPurchaseContractLiabilityFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ForwardPurchaseContractLiabilityFairValue_lbl" xml:lang="en-US">Forward purchase contract liability (3)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ForwardPurchaseContractLiabilityFairValue" xlink:to="rex_ForwardPurchaseContractLiabilityFairValue_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ForwardPurchaseContractsAsset" xlink:href="rex-20170430.xsd#rex_ForwardPurchaseContractsAsset"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ForwardPurchaseContractsAsset_lbl" xml:lang="en-US">Forward purchase contract asset</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ForwardPurchaseContractsAsset" xlink:to="rex_ForwardPurchaseContractsAsset_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock_lbl" xml:lang="en-US">Property, Plant and Equipment Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:to="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentTextBlock_lbl" xml:lang="en-US">Property, Plant and Equipment [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:to="us-gaap_PropertyPlantAndEquipmentTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LandAndLandImprovements" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LandAndLandImprovements"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LandAndLandImprovements_lbl" xml:lang="en-US">Land and improvements</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LandAndLandImprovements" xlink:to="us-gaap_LandAndLandImprovements_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingsAndImprovementsGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BuildingsAndImprovementsGross"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BuildingsAndImprovementsGross_lbl" xml:lang="en-US">Buildings and improvements</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BuildingsAndImprovementsGross" xlink:to="us-gaap_BuildingsAndImprovementsGross_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MachineryAndEquipmentGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MachineryAndEquipmentGross"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MachineryAndEquipmentGross_lbl" xml:lang="en-US">Machinery, equipment and fixtures</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MachineryAndEquipmentGross" xlink:to="us-gaap_MachineryAndEquipmentGross_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConstructionInProgressGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionInProgressGross"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ConstructionInProgressGross_lbl" xml:lang="en-US">Construction in progress</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ConstructionInProgressGross" xlink:to="us-gaap_ConstructionInProgressGross_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherAssetsDisclosureTextBlock_lbl" xml:lang="en-US">Other Assets Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAssetsDisclosureTextBlock" xlink:to="us-gaap_OtherAssetsDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfOtherAssetsTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfOtherAssetsTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfOtherAssetsTableTextBlock_lbl" xml:lang="en-US">Schedule of Other Assets [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfOtherAssetsTableTextBlock" xlink:to="us-gaap_ScheduleOfOtherAssetsTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_RealEstateTaxesRefundableNoncurrent" xlink:href="rex-20170430.xsd#rex_RealEstateTaxesRefundableNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_RealEstateTaxesRefundableNoncurrent_lbl" xml:lang="en-US">Real estate taxes refundable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RealEstateTaxesRefundableNoncurrent" xlink:to="rex_RealEstateTaxesRefundableNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepositsAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepositsAssetsNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DepositsAssetsNoncurrent_lbl" xml:lang="en-US">Deposits</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DepositsAssetsNoncurrent" xlink:to="us-gaap_DepositsAssetsNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsMiscellaneousNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherAssetsMiscellaneousNoncurrent_lbl" xml:lang="en-US">Other</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAssetsMiscellaneousNoncurrent" xlink:to="us-gaap_OtherAssetsMiscellaneousNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock_lbl" xml:lang="en-US">Accounts Payable, Accrued Liabilities, and Other Liabilities Disclosure, Current [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:to="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherCurrentLiabilitiesTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCurrentLiabilitiesTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherCurrentLiabilitiesTableTextBlock_lbl" xml:lang="en-US">Other Current Liabilities [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherCurrentLiabilitiesTableTextBlock" xlink:to="us-gaap_OtherCurrentLiabilitiesTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedUtilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedUtilitiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccruedUtilitiesCurrent_lbl" xml:lang="en-US">Accrued utility charges</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedUtilitiesCurrent" xlink:to="us-gaap_AccruedUtilitiesCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent_lbl" xml:lang="en-US">Accrued payroll and related items</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:to="us-gaap_EmployeeRelatedLiabilitiesCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent_lbl" xml:lang="en-US">Accrued real estate taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" xlink:to="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedIncomeTaxes" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedIncomeTaxes"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccruedIncomeTaxes_lbl" xml:lang="en-US">Accrued income taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedIncomeTaxes" xlink:to="us-gaap_AccruedIncomeTaxes_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent_lbl" xml:lang="en-US">Other</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAccruedLiabilitiesCurrent" xlink:to="us-gaap_OtherAccruedLiabilitiesCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtDisclosureTextBlock_lbl" xml:lang="en-US">Debt Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtDisclosureTextBlock" xlink:to="us-gaap_DebtDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialInstrumentsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FinancialInstrumentsDisclosureTextBlock_lbl" xml:lang="en-US">Financial Instruments Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinancialInstrumentsDisclosureTextBlock" xlink:to="us-gaap_FinancialInstrumentsDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock_lbl" xml:lang="en-US">Schedule of Derivative Assets at Fair Value [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" xlink:to="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeAssets"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DerivativeAssets_lbl" xml:lang="en-US">Asset Derivatives, Fair Value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeAssets" xlink:to="us-gaap_DerivativeAssets_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeLiabilities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeLiabilities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DerivativeLiabilities_lbl" xml:lang="en-US">Liability Derivatives, Fair Value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeLiabilities" xlink:to="us-gaap_DerivativeLiabilities_lbl"/>
    <loc xlink:type="locator" xlink:label="invest_InvestmentTextBlock" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="invest_InvestmentTextBlock_lbl" xml:lang="en-US">Investment [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="invest_InvestmentTextBlock" xlink:to="invest_InvestmentTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentsTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentsTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentsTextBlock_lbl" xml:lang="en-US">Equity Method Investments [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentsTextBlock" xlink:to="us-gaap_EquityMethodInvestmentsTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage_lbl" xml:lang="en-US">Big River</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:to="us-gaap_EquityMethodInvestmentOwnershipPercentage_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" xlink:href="rex-20170430.xsd#rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock_lbl" xml:lang="en-US">Schedule of Financial Information for Equity Method Investments [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" xlink:to="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue_lbl" xml:lang="en-US">Net sales and revenue</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss_lbl" xml:lang="en-US">Gross profit</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems_lbl" xml:lang="en-US">Income from continuing operations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss_lbl" xml:lang="en-US">Net income</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CompensationAndEmployeeBenefitPlansTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock_lbl" xml:lang="en-US">Compensation and Employee Benefit Plans [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xlink:to="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock_lbl" xml:lang="en-US">Nonvested Restricted Stock Shares Activity [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock" xlink:to="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_lbl" xml:lang="en-US">Non-Vested at January 31, 2017</label>
<!-- [WMV4][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+dL7zoH8Kulc7zD318fntsVoV1fcXtp7VxUKN+H8G2XZJhjxqxxJFYwdQCIlsX9qbe5/TLCustURellZclY2kqujoIFPci6NE4EwnzSIDa44Gi7VFqxesyykryxiypNloWnYkEtUqlsyYuE6DTqJKUA==] CSR-->
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_lbl0" xml:lang="en-US">Non-Vested at April 30, 2017</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_lbl" xml:lang="en-US">Granted</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl" xml:lang="en-US">Granted</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares_lbl" xml:lang="en-US">Forfeited</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue_lbl" xml:lang="en-US">Forfeited</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares_lbl" xml:lang="en-US">Vested</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue_lbl" xml:lang="en-US">Vested</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock_lbl" xml:lang="en-US">Income Tax Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxDisclosureTextBlock" xlink:to="us-gaap_IncomeTaxDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock_lbl" xml:lang="en-US">Schedule of Unrecognized Tax Benefits Roll Forward [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock" xlink:to="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions_lbl" xml:lang="en-US">Changes for prior years&#8217; tax positions</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions" xlink:to="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_lbl" xml:lang="en-US">Commitments and Contingencies Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:to="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NetSalesAndRevenueTextBlock" xlink:href="rex-20170430.xsd#rex_NetSalesAndRevenueTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NetSalesAndRevenueTextBlock_lbl" xml:lang="en-US">Net Sales And Revenue [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NetSalesAndRevenueTextBlock" xlink:to="rex_NetSalesAndRevenueTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock_lbl" xml:lang="en-US">Revenue from External Customers by Products and Services [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock" xlink:to="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAlternativeEnergySalesRevenue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAlternativeEnergySalesRevenue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherAlternativeEnergySalesRevenue_lbl" xml:lang="en-US">Product or Service</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAlternativeEnergySalesRevenue" xlink:to="us-gaap_OtherAlternativeEnergySalesRevenue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RelatedPartyTransactionsDisclosureTextBlock_lbl" xml:lang="en-US">Related Party Transactions Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:to="us-gaap_RelatedPartyTransactionsDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_TreasuryStockValue_lbl" xml:lang="en-US">Treasury stock</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockValue" xlink:to="us-gaap_TreasuryStockValue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense_lbl" xml:lang="en-US">Selling, general and administrative expenses</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpense_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl" xml:lang="en-US">Provision for income taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxExpenseBenefit" xlink:to="us-gaap_IncomeTaxExpenseBenefit_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_lbl" xml:lang="en-US">Net income attributable to noncontrolling interests</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:to="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod_lbl" xml:lang="en-US">Treasury stock acquired</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:to="us-gaap_TreasuryStockValueAcquiredCostMethod_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_lbl" xml:lang="en-US">Noncontrolling interests distribution and other</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" xlink:to="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl" xml:lang="en-US">Capital expenditures</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:to="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInRestrictedCash" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInRestrictedCash"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncreaseDecreaseInRestrictedCash_lbl" xml:lang="en-US">Restricted cash</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInRestrictedCash" xlink:to="us-gaap_IncreaseDecreaseInRestrictedCash_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsForProceedsFromOtherInvestingActivities_lbl" xml:lang="en-US">Other</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:to="us-gaap_PaymentsForProceedsFromOtherInvestingActivities_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToMinorityShareholders" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsToMinorityShareholders_lbl" xml:lang="en-US">Purchase of stock from noncontrolling interests holders</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToMinorityShareholders" xlink:to="us-gaap_PaymentsToMinorityShareholders_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock_lbl" xml:lang="en-US">Treasury stock acquired</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:to="us-gaap_PaymentsForRepurchaseOfCommonStock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_lbl" xml:lang="en-US">Less: accumulated depreciation</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:to="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementScenarioAxis_lbl" xml:lang="en-US">Scenario [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_StatementScenarioAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ApproximateMember" xlink:href="rex-20170430.xsd#rex_ApproximateMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_ApproximateMember_lbl" xml:lang="en-US">Approximate [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ApproximateMember" xlink:to="rex_ApproximateMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentByTypeAxis_lbl" xml:lang="en-US">Property, Plant and Equipment, Type [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="us-gaap_PropertyPlantAndEquipmentByTypeAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingAndBuildingImprovementsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BuildingAndBuildingImprovementsMember_lbl" xml:lang="en-US">Building and Building Improvements [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BuildingAndBuildingImprovementsMember" xlink:to="us-gaap_BuildingAndBuildingImprovementsMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RangeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RangeAxis_lbl" xml:lang="en-US">Range [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinimumMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MinimumMember_lbl" xml:lang="en-US">Minimum [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MinimumMember" xlink:to="us-gaap_MinimumMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MaximumMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MaximumMember_lbl" xml:lang="en-US">Maximum [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MaximumMember" xlink:to="us-gaap_MaximumMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_FixturesAndEquipmentMember" xlink:href="rex-20170430.xsd#rex_FixturesAndEquipmentMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_FixturesAndEquipmentMember_lbl" xml:lang="en-US">Fixtures And Equipment [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_FixturesAndEquipmentMember" xlink:to="rex_FixturesAndEquipmentMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeStatementLocationAxis_lbl" xml:lang="en-US">Income Statement Location [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeStatementLocationAxis" xlink:to="us-gaap_IncomeStatementLocationAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfSalesMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfSalesMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CostOfSalesMember_lbl" xml:lang="en-US">Cost of Sales [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostOfSalesMember" xlink:to="us-gaap_CostOfSalesMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CreditFacilityAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CreditFacilityAxis_lbl" xml:lang="en-US">Credit Facility [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CreditFacilityAxis" xlink:to="us-gaap_CreditFacilityAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevolvingCreditFacilityMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RevolvingCreditFacilityMember_lbl" xml:lang="en-US">Revolving Credit Facility [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevolvingCreditFacilityMember" xlink:to="us-gaap_RevolvingCreditFacilityMember_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_LegalEntityAxis" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_LegalEntityAxis_lbl" xml:lang="en-US">Legal Entity [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_LegalEntityAxis" xlink:to="dei_LegalEntityAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_OneEarthEnergyAndNuGenEnergyMember" xlink:href="rex-20170430.xsd#rex_OneEarthEnergyAndNuGenEnergyMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_OneEarthEnergyAndNuGenEnergyMember_lbl" xml:lang="en-US">One Earth Energy And Nu Gen Energy [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OneEarthEnergyAndNuGenEnergyMember" xlink:to="rex_OneEarthEnergyAndNuGenEnergyMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_PatriotMember" xlink:href="rex-20170430.xsd#rex_PatriotMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_PatriotMember_lbl" xml:lang="en-US">Patriot [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_PatriotMember" xlink:to="rex_PatriotMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AwardTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AwardTypeAxis_lbl" xml:lang="en-US">Award Type [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_AwardTypeAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeStockOptionMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EmployeeStockOptionMember_lbl" xml:lang="en-US">Employee Stock Option [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeStockOptionMember" xlink:to="us-gaap_EmployeeStockOptionMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PlanNameAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PlanNameAxis_lbl" xml:lang="en-US">Plan Name [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PlanNameAxis" xlink:to="us-gaap_PlanNameAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_StockOptionPlans2015Member" xlink:href="rex-20170430.xsd#rex_StockOptionPlans2015Member"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_StockOptionPlans2015Member_lbl" xml:lang="en-US">Stock Option Plans 2015 [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_StockOptionPlans2015Member" xlink:to="rex_StockOptionPlans2015Member_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_lbl" xml:lang="en-US">Related Party [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfOperatingSegments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NumberOfOperatingSegments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NumberOfOperatingSegments_lbl" xml:lang="en-US">Number of Operating Segments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NumberOfOperatingSegments" xlink:to="us-gaap_NumberOfOperatingSegments_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NumberOfEthanolEntitiesUnderOwnershipInterest" xlink:href="rex-20170430.xsd#rex_NumberOfEthanolEntitiesUnderOwnershipInterest"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NumberOfEthanolEntitiesUnderOwnershipInterest_lbl" xml:lang="en-US">Number of Ethanol Entities Under Ownership Interest</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NumberOfEthanolEntitiesUnderOwnershipInterest" xlink:to="rex_NumberOfEthanolEntitiesUnderOwnershipInterest_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest" xlink:href="rex-20170430.xsd#rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest_lbl" xml:lang="en-US">Number of Ethanol Entities Under Majority Ownership Interest</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest" xlink:to="rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesPaid" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxesPaid"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxesPaid_lbl" xml:lang="en-US">Income Taxes Paid</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxesPaid" xlink:to="us-gaap_IncomeTaxesPaid_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromIncomeTaxRefunds" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIncomeTaxRefunds"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromIncomeTaxRefunds_lbl" xml:lang="en-US">Proceeds from Income Tax Refunds</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromIncomeTaxRefunds" xlink:to="us-gaap_ProceedsFromIncomeTaxRefunds_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued_lbl" xml:lang="en-US">Income Tax Examination, Penalties and Interest Accrued</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued" xlink:to="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease_lbl" xml:lang="en-US">Unrecognized Tax Benefits, Period Increase (Decrease)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease" xlink:to="us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentDepreciationMethods" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentDepreciationMethods"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentDepreciationMethods_lbl" xml:lang="en-US">Property, Plant and Equipment, Depreciation Methods</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentDepreciationMethods" xlink:to="us-gaap_PropertyPlantAndEquipmentDepreciationMethods_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives_lbl" xml:lang="en-US">Property, Plant and Equipment, Estimated Useful Lives</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" xlink:to="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" xlink:href="rex-20170430.xsd#rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting_lbl" xml:lang="en-US">Maximum Percentage of Equity Ownership Interest Which May be Considered for Equity Method of Accounting</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" xlink:to="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtInstrumentMaturityDate" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentMaturityDate"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtInstrumentMaturityDate_lbl" xml:lang="en-US">Debt Instrument, Maturity Date</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentMaturityDate" xlink:to="us-gaap_DebtInstrumentMaturityDate_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LinesOfCreditCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LinesOfCreditCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LinesOfCreditCurrent_lbl" xml:lang="en-US">Line of Credit, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LinesOfCreditCurrent" xlink:to="us-gaap_LinesOfCreditCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfBushelsUnderCommodityFutures" xlink:href="rex-20170430.xsd#rex_QuantityOfBushelsUnderCommodityFutures"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_QuantityOfBushelsUnderCommodityFutures_lbl" xml:lang="en-US">Quantity Of Bushels Under Commodity Futures</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfBushelsUnderCommodityFutures" xlink:to="rex_QuantityOfBushelsUnderCommodityFutures_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfBushelsUnderForwardPurchaseContract" xlink:href="rex-20170430.xsd#rex_QuantityOfBushelsUnderForwardPurchaseContract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_QuantityOfBushelsUnderForwardPurchaseContract_lbl" xml:lang="en-US">Quantity of Bushels under Forward Purchase Contract</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfBushelsUnderForwardPurchaseContract" xlink:to="rex_QuantityOfBushelsUnderForwardPurchaseContract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtInstrumentCollateralAmount" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentCollateralAmount"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtInstrumentCollateralAmount_lbl" xml:lang="en-US">Debt Instrument, Collateral Amount (in Dollars)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentCollateralAmount" xlink:to="us-gaap_DebtInstrumentCollateralAmount_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeGainOnDerivative" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeGainOnDerivative"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DerivativeGainOnDerivative_lbl" xml:lang="en-US">Derivative, Gain on Derivative (in Dollars)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeGainOnDerivative" xlink:to="us-gaap_DerivativeGainOnDerivative_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets_lbl" xml:lang="en-US">Equity Method Investment, Underlying Equity in Net Assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets" xlink:to="us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_lbl" xml:lang="en-US">Business Acquisition, Percentage of Voting Interests Acquired</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:to="us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments" xlink:href="rex-20170430.xsd#rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments_lbl" xml:lang="en-US">Proceeds From Payment For Escrow Holdbacks And Adjustments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments" xlink:to="rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_lbl" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_lbl" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_lbl" xml:lang="en-US">Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations_lbl" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Percent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:to="us-gaap_EffectiveIncomeTaxRateContinuingOperations_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfEthanolUnderSalesCommitment" xlink:href="rex-20170430.xsd#rex_QuantityOfEthanolUnderSalesCommitment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_QuantityOfEthanolUnderSalesCommitment_lbl" xml:lang="en-US">Quantity of Ethanol under Sales Commitment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfEthanolUnderSalesCommitment" xlink:to="rex_QuantityOfEthanolUnderSalesCommitment_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfDistillersGrainsUnderSalesCommitment" xlink:href="rex-20170430.xsd#rex_QuantityOfDistillersGrainsUnderSalesCommitment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_QuantityOfDistillersGrainsUnderSalesCommitment_lbl" xml:lang="en-US">Quantity of Distillers Grains Under Sales Commitment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfDistillersGrainsUnderSalesCommitment" xlink:to="rex_QuantityOfDistillersGrainsUnderSalesCommitment_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments" xlink:href="rex-20170430.xsd#rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments_lbl" xml:lang="en-US">Quantity of Non-food Grade Corn Oil Under Sales Commitments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments" xlink:to="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_SupplyCommitmentExpectedPeriodOfDelivery" xlink:href="rex-20170430.xsd#rex_SupplyCommitmentExpectedPeriodOfDelivery"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_SupplyCommitmentExpectedPeriodOfDelivery_lbl" xml:lang="en-US">Supply Commitment Expected Period Of Delivery</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SupplyCommitmentExpectedPeriodOfDelivery" xlink:to="rex_SupplyCommitmentExpectedPeriodOfDelivery_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostsAndExpensesRelatedParty" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostsAndExpensesRelatedParty"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CostsAndExpensesRelatedParty_lbl" xml:lang="en-US">Costs and Expenses, Related Party</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostsAndExpensesRelatedParty" xlink:to="us-gaap_CostsAndExpensesRelatedParty_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountsPayableRelatedPartiesCurrent_lbl" xml:lang="en-US">Accounts Payable, Related Parties, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:to="us-gaap_AccountsPayableRelatedPartiesCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueRecognitionPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock_lbl" xml:lang="en-US">Revenue Recognition, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueRecognitionPolicyTextBlock" xlink:to="us-gaap_RevenueRecognitionPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfSalesPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfSalesPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CostOfSalesPolicyTextBlock_lbl" xml:lang="en-US">Cost of Sales, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostOfSalesPolicyTextBlock" xlink:to="us-gaap_CostOfSalesPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock_lbl" xml:lang="en-US">Selling, General and Administrative Expenses, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueOfFinancialInstrumentsPolicy"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy_lbl" xml:lang="en-US">Fair Value of Financial Instruments, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:to="us-gaap_FairValueOfFinancialInstrumentsPolicy_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxPolicyTextBlock_lbl" xml:lang="en-US">Income Tax, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxPolicyTextBlock" xlink:to="us-gaap_IncomeTaxPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InventoryPolicyTextBlock_lbl" xml:lang="en-US">Inventory, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryPolicyTextBlock" xlink:to="us-gaap_InventoryPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock_lbl" xml:lang="en-US">Property, Plant and Equipment, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xlink:to="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InvestmentPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InvestmentPolicyTextBlock_lbl" xml:lang="en-US">Investment, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentPolicyTextBlock" xlink:to="us-gaap_InvestmentPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComprehensiveIncomePolicyPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock_lbl" xml:lang="en-US">Comprehensive Income, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" xlink:to="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_lbl" xml:lang="en-US">New Accounting Pronouncements, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:to="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityComponentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityComponentDomain_lbl" xml:lang="en-US">Equity Component [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_EquityComponentDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_lbl" xml:lang="en-US">Fair Value Hierarchy [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:href="rex-20170430.xsd#rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable_lbl" xml:lang="en-US">FAIR VALUE (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:to="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:href="rex-20170430.xsd#rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems_lbl" xml:lang="en-US">FAIR VALUE (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeContractTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DerivativeContractTypeDomain_lbl" xml:lang="en-US">Derivative Contract [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeContractTypeDomain" xlink:to="us-gaap_DerivativeContractTypeDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:href="rex-20170430.xsd#rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable_lbl" xml:lang="en-US">DERIVATIVE FINANCIAL INSTRUMENTS (Details) - Schedule of Fair Values for Derivative Financial Instruments [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:to="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:href="rex-20170430.xsd#rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems_lbl" xml:lang="en-US">DERIVATIVE FINANCIAL INSTRUMENTS (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:to="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvesteeNameDomain_lbl" xml:lang="en-US">Investment, Name [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvesteeNameDomain" xlink:to="us-gaap_EquityMethodInvesteeNameDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsTable_lbl" xml:lang="en-US">Schedule of Equity Method Investments [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsTable" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_lbl" xml:lang="en-US">Schedule of Equity Method Investments [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" xlink:href="rex-20170430.xsd#rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable_lbl" xml:lang="en-US">INVESTMENTS (Details) - Schedule of Financial information For Equity Method Investment [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" xlink:to="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:href="rex-20170430.xsd#rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems_lbl" xml:lang="en-US">INVESTMENTS (Details) - Schedule of Financial information For Equity Method Investment [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProductsAndServicesDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductsAndServicesDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProductsAndServicesDomain_lbl" xml:lang="en-US">Products and Services [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProductsAndServicesDomain" xlink:to="us-gaap_ProductsAndServicesDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_lbl" xml:lang="en-US">Revenue from External Customers by Products and Services [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" xlink:to="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_lbl" xml:lang="en-US">Revenue from External Customer [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems" xlink:to="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain_lbl" xml:lang="en-US">Property, Plant and Equipment, Type [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="us-gaap_PropertyPlantAndEquipmentTypeDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeStatementLocationDomain_lbl" xml:lang="en-US">Income Statement Location [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeStatementLocationDomain" xlink:to="us-gaap_IncomeStatementLocationDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScenarioUnspecifiedDomain_lbl" xml:lang="en-US">Scenario, Unspecified [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScenarioUnspecifiedDomain" xlink:to="us-gaap_ScenarioUnspecifiedDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RangeMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RangeMember_lbl" xml:lang="en-US">Range [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_RangeMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ACCOUNTINGPOLICIESDetailsTable" xlink:href="rex-20170430.xsd#rex_ACCOUNTINGPOLICIESDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ACCOUNTINGPOLICIESDetailsTable_lbl" xml:lang="en-US">ACCOUNTING POLICIES (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ACCOUNTINGPOLICIESDetailsTable" xlink:to="rex_ACCOUNTINGPOLICIESDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ACCOUNTINGPOLICIESDetailsLineItems" xlink:href="rex-20170430.xsd#rex_ACCOUNTINGPOLICIESDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ACCOUNTINGPOLICIESDetailsLineItems_lbl" xml:lang="en-US">ACCOUNTING POLICIES (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="rex_ACCOUNTINGPOLICIESDetailsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CreditFacilityDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CreditFacilityDomain_lbl" xml:lang="en-US">Credit Facility [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CreditFacilityDomain" xlink:to="us-gaap_CreditFacilityDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityDomain_lbl" xml:lang="en-US">Entity [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityDomain" xlink:to="dei_EntityDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_REVOLVINGLINESOFCREDITDetailsTable" xlink:href="rex-20170430.xsd#rex_REVOLVINGLINESOFCREDITDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_REVOLVINGLINESOFCREDITDetailsTable_lbl" xml:lang="en-US">REVOLVING LINES OF CREDIT (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_REVOLVINGLINESOFCREDITDetailsTable" xlink:to="rex_REVOLVINGLINESOFCREDITDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_REVOLVINGLINESOFCREDITDetailsLineItems" xlink:href="rex-20170430.xsd#rex_REVOLVINGLINESOFCREDITDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_REVOLVINGLINESOFCREDITDetailsLineItems_lbl" xml:lang="en-US">REVOLVING LINES OF CREDIT (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_REVOLVINGLINESOFCREDITDetailsLineItems" xlink:to="rex_REVOLVINGLINESOFCREDITDetailsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_INVESTMENTSDetailsTable" xlink:href="rex-20170430.xsd#rex_INVESTMENTSDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_INVESTMENTSDetailsTable_lbl" xml:lang="en-US">INVESTMENTS (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_INVESTMENTSDetailsTable" xlink:to="rex_INVESTMENTSDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_INVESTMENTSDetailsLineItems" xlink:href="rex-20170430.xsd#rex_INVESTMENTSDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_INVESTMENTSDetailsLineItems_lbl" xml:lang="en-US">INVESTMENTS (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_INVESTMENTSDetailsLineItems" xlink:to="rex_INVESTMENTSDetailsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_lbl" xml:lang="en-US">Equity Award [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PlanNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PlanNameDomain_lbl" xml:lang="en-US">Plan Name [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PlanNameDomain" xlink:to="us-gaap_PlanNameDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_EMPLOYEEBENEFITSDetailsTable" xlink:href="rex-20170430.xsd#rex_EMPLOYEEBENEFITSDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_EMPLOYEEBENEFITSDetailsTable_lbl" xml:lang="en-US">EMPLOYEE BENEFITS (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_EMPLOYEEBENEFITSDetailsTable" xlink:to="rex_EMPLOYEEBENEFITSDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_EMPLOYEEBENEFITSDetailsLineItems" xlink:href="rex-20170430.xsd#rex_EMPLOYEEBENEFITSDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_EMPLOYEEBENEFITSDetailsLineItems_lbl" xml:lang="en-US">EMPLOYEE BENEFITS (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_EMPLOYEEBENEFITSDetailsLineItems" xlink:to="rex_EMPLOYEEBENEFITSDetailsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_COMMITMENTSANDCONTINGENCIESDetailsTable" xlink:href="rex-20170430.xsd#rex_COMMITMENTSANDCONTINGENCIESDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_COMMITMENTSANDCONTINGENCIESDetailsTable_lbl" xml:lang="en-US">COMMITMENTS AND CONTINGENCIES (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_COMMITMENTSANDCONTINGENCIESDetailsTable" xlink:to="rex_COMMITMENTSANDCONTINGENCIESDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:href="rex-20170430.xsd#rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems_lbl" xml:lang="en-US">COMMITMENTS AND CONTINGENCIES (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:to="rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RelatedPartyDomain_lbl" xml:lang="en-US">Related Party [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartyDomain" xlink:to="us-gaap_RelatedPartyDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_RELATEDPARTYTRANSACTIONSDetailsTable" xlink:href="rex-20170430.xsd#rex_RELATEDPARTYTRANSACTIONSDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_RELATEDPARTYTRANSACTIONSDetailsTable_lbl" xml:lang="en-US">RELATED PARTY TRANSACTIONS (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RELATEDPARTYTRANSACTIONSDetailsTable" xlink:to="rex_RELATEDPARTYTRANSACTIONSDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_RELATEDPARTYTRANSACTIONSDetailsLineItems" xlink:href="rex-20170430.xsd#rex_RELATEDPARTYTRANSACTIONSDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_RELATEDPARTYTRANSACTIONSDetailsLineItems_lbl" xml:lang="en-US">RELATED PARTY TRANSACTIONS (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RELATEDPARTYTRANSACTIONSDetailsLineItems" xlink:to="rex_RELATEDPARTYTRANSACTIONSDetailsLineItems_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_ForwardPurchaseContractLiabilityFairValue_lbl0" xml:lang="en-US">Forward Purchase Contract Liability at Fair Value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ForwardPurchaseContractLiabilityFairValue" xlink:to="rex_ForwardPurchaseContractLiabilityFairValue_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_InvestmentInCooperativeFairValueDisclosure_lbl0" xml:lang="en-US">Fair value of investment in cooperative as of the reporting date.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_InvestmentInCooperativeFairValueDisclosure" xlink:to="rex_InvestmentInCooperativeFairValueDisclosure_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting_lbl0" xml:lang="en-US">Maximum percentage of equity ownership interest which may be considered for equity method of accounting.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" xlink:to="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_NetSalesAndRevenueTextBlock_lbl0" xml:lang="en-US">The entire disclosure for net sales and revenue.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NetSalesAndRevenueTextBlock" xlink:to="rex_NetSalesAndRevenueTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures_lbl0" xml:lang="en-US">non cash payments to acquire property, plant and equipment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:to="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_NumberOfEthanolEntitiesUnderOwnershipInterest_lbl0" xml:lang="en-US">Number of ethanol entities under ownership interest.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NumberOfEthanolEntitiesUnderOwnershipInterest" xlink:to="rex_NumberOfEthanolEntitiesUnderOwnershipInterest_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_QuantityOfBushelsUnderForwardPurchaseContract_lbl0" xml:lang="en-US">Quantity of bushels under forward purchase contract.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfBushelsUnderForwardPurchaseContract" xlink:to="rex_QuantityOfBushelsUnderForwardPurchaseContract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_QuantityOfDistillersGrainsUnderSalesCommitment_lbl0" xml:lang="en-US">Quantity of distillers grains under sales commitment.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfDistillersGrainsUnderSalesCommitment" xlink:to="rex_QuantityOfDistillersGrainsUnderSalesCommitment_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_QuantityOfEthanolUnderSalesCommitment_lbl0" xml:lang="en-US">Quantity of ethanol under sales commitment.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfEthanolUnderSalesCommitment" xlink:to="rex_QuantityOfEthanolUnderSalesCommitment_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_RealEstateTaxesRefundableNoncurrent_lbl0" xml:lang="en-US">Value of real estate taxes refundable non current as of the reporting date.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RealEstateTaxesRefundableNoncurrent" xlink:to="rex_RealEstateTaxesRefundableNoncurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock_lbl0" xml:lang="en-US">Tabular disclosure of financial information for equity method investments.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" xlink:to="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_SupplyCommitmentExpectedPeriodOfDelivery_lbl0" xml:lang="en-US">Supply commitment expected period of delivery.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SupplyCommitmentExpectedPeriodOfDelivery" xlink:to="rex_SupplyCommitmentExpectedPeriodOfDelivery_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ApproximateMember_lbl0" xml:lang="en-US">Approximate [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ApproximateMember" xlink:to="rex_ApproximateMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_BigRiverMember_lbl0" xml:lang="en-US">Big River [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_BigRiverMember" xlink:to="rex_BigRiverMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_BigRiverMember_lbl1" xml:lang="en-US">Big River [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_BigRiverMember" xlink:to="rex_BigRiverMember_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_DriedDistillersGrainsMember_lbl0" xml:lang="en-US">Dried Distillers Grains [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DriedDistillersGrainsMember" xlink:to="rex_DriedDistillersGrainsMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_DriedDistillersGrainsMember_lbl1" xml:lang="en-US">Dried Distillers Grains [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DriedDistillersGrainsMember" xlink:to="rex_DriedDistillersGrainsMember_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_EthanolMember_lbl0" xml:lang="en-US">Ethanol [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_EthanolMember" xlink:to="rex_EthanolMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_EthanolMember_lbl1" xml:lang="en-US">Ethanol [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_EthanolMember" xlink:to="rex_EthanolMember_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_FixturesAndEquipmentMember_lbl0" xml:lang="en-US">Fixtures And Equipment [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_FixturesAndEquipmentMember" xlink:to="rex_FixturesAndEquipmentMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_FixturesAndEquipmentMember_lbl1" xml:lang="en-US">Fixtures And Equipment [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_FixturesAndEquipmentMember" xlink:to="rex_FixturesAndEquipmentMember_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ModifiedDistillersGrainsMember_lbl0" xml:lang="en-US">Modified Distillers Grains [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ModifiedDistillersGrainsMember" xlink:to="rex_ModifiedDistillersGrainsMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_ModifiedDistillersGrainsMember_lbl1" xml:lang="en-US">Modified Distillers Grains [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ModifiedDistillersGrainsMember" xlink:to="rex_ModifiedDistillersGrainsMember_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NonFoodGradeCornOilMember_lbl0" xml:lang="en-US">Non Food Grade Corn Oil [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NonFoodGradeCornOilMember" xlink:to="rex_NonFoodGradeCornOilMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_NonFoodGradeCornOilMember_lbl1" xml:lang="en-US">Non-Food Grade Corn Oil [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NonFoodGradeCornOilMember" xlink:to="rex_NonFoodGradeCornOilMember_lbl1"/>
    <loc xlink:type="locator" xlink:label="rex_NotAccountedForUnderNormalPurchasesAndNormalSalesScopeMember" xlink:href="rex-20170430.xsd#rex_NotAccountedForUnderNormalPurchasesAndNormalSalesScopeMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NotAccountedForUnderNormalPurchasesAndNormalSalesScopeMember_lbl" xml:lang="en-US">Not Accounted For Under Normal Purchases And Normal Sales Scope [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NotAccountedForUnderNormalPurchasesAndNormalSalesScopeMember" xlink:to="rex_NotAccountedForUnderNormalPurchasesAndNormalSalesScopeMember_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_OneEarthEnergyAndNuGenEnergyMember_lbl0" xml:lang="en-US">One Earth Energy And Nu Gen Energy [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OneEarthEnergyAndNuGenEnergyMember" xlink:to="rex_OneEarthEnergyAndNuGenEnergyMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_OneEarthEnergyAndNuGenEnergyMember_lbl1" xml:lang="en-US">One Earth Energy And NuGen Energy [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OneEarthEnergyAndNuGenEnergyMember" xlink:to="rex_OneEarthEnergyAndNuGenEnergyMember_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_OtherProductMember_lbl0" xml:lang="en-US">Other Product [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OtherProductMember" xlink:to="rex_OtherProductMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_OtherProductMember_lbl1" xml:lang="en-US">Other [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OtherProductMember" xlink:to="rex_OtherProductMember_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_PatriotMember_lbl0" xml:lang="en-US">Patriot [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_PatriotMember" xlink:to="rex_PatriotMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_PatriotMember_lbl1" xml:lang="en-US">Patriot [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_PatriotMember" xlink:to="rex_PatriotMember_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_StockOptionPlans2015Member_lbl0" xml:lang="en-US">Stock Option Plans 2015 [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_StockOptionPlans2015Member" xlink:to="rex_StockOptionPlans2015Member_lbl0"/>
    <loc xlink:type="locator" xlink:label="rex_DocumentAndEntityInformationAbstract" xlink:href="rex-20170430.xsd#rex_DocumentAndEntityInformationAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_DocumentAndEntityInformationAbstract_lbl" xml:lang="en-US">Document and Entity Information [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DocumentAndEntityInformationAbstract" xlink:to="rex_DocumentAndEntityInformationAbstract_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties_lbl0" xml:lang="en-US">UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" xlink:to="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity_lbl0" xml:lang="en-US">Liabilities and Equity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_LiabilitiesAndStockholdersEquity_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl2" xml:lang="en-US">Stockholders&apos; Equity, Including Portion Attributable to Noncontrolling Interest</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl2"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilitiesCurrent_lbl0" xml:lang="en-US">Liabilities, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesCurrent" xlink:to="us-gaap_LiabilitiesCurrent_lbl0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityPublicFloat" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityPublicFloat"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityPublicFloat_lbl" xml:lang="en-US">Entity Public Float</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityPublicFloat" xlink:to="dei_EntityPublicFloat_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentPeriodEndDate" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentPeriodEndDate"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_DocumentPeriodEndDate_lbl" xml:lang="en-US">Document Period End Date</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentPeriodEndDate" xlink:to="dei_DocumentPeriodEndDate_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AssetsCurrent_lbl0" xml:lang="en-US">Assets, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_AssetsCurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_lbl0" xml:lang="en-US">Cash and Cash Equivalents, Period Increase (Decrease)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_lbl0"/>
    <loc xlink:type="locator" xlink:label="dei_TradingSymbol" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_TradingSymbol"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_TradingSymbol_lbl" xml:lang="en-US">Trading Symbol</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_TradingSymbol" xlink:to="dei_TradingSymbol_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetIncomeLoss_lbl0" xml:lang="en-US">Net Income (Loss) Attributable to Parent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_NetIncomeLoss_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsForProceedsFromOtherInvestingActivities_lbl0" xml:lang="en-US">Payments for (Proceeds from) Other Investing Activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:to="us-gaap_PaymentsForProceedsFromOtherInvestingActivities_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl0" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl0"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalPeriodFocus" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalPeriodFocus"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_DocumentFiscalPeriodFocus_lbl" xml:lang="en-US">Document Fiscal Period Focus</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentFiscalPeriodFocus" xlink:to="dei_DocumentFiscalPeriodFocus_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl0" xml:lang="en-US">Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCurrentReportingStatus" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCurrentReportingStatus"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityCurrentReportingStatus_lbl" xml:lang="en-US">Entity Current Reporting Status</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCurrentReportingStatus" xlink:to="dei_EntityCurrentReportingStatus_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss_lbl0" xml:lang="en-US">Equity Method Investment, Summarized Financial Information, Net Income (Loss)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss_lbl0"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentType" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentType"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_DocumentType_lbl" xml:lang="en-US">Document Type</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentType" xlink:to="dei_DocumentType_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharesOutstanding_lbl1" xml:lang="en-US">Shares, Outstanding</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharesOutstanding" xlink:to="us-gaap_SharesOutstanding_lbl1"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalYearFocus" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalYearFocus"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_DocumentFiscalYearFocus_lbl" xml:lang="en-US">Document Fiscal Year Focus</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentFiscalYearFocus" xlink:to="dei_DocumentFiscalYearFocus_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue_lbl0" xml:lang="en-US">Operating Leases, Future Minimum Payments Due</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDue_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable_lbl0" xml:lang="en-US">Increase (Decrease) in Accounts Receivable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:to="us-gaap_IncreaseDecreaseInAccountsReceivable_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_lbl0" xml:lang="en-US">Net Income (Loss) Attributable to Noncontrolling Interest</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:to="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue_lbl0" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested Options Forfeited, Weighted Average Grant Date Fair Value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent_lbl0" xml:lang="en-US">Other Accrued Liabilities, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAccruedLiabilitiesCurrent" xlink:to="us-gaap_OtherAccruedLiabilitiesCurrent_lbl0"/>
    <loc xlink:type="locator" xlink:label="dei_CurrentFiscalYearEndDate" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_CurrentFiscalYearEndDate"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_CurrentFiscalYearEndDate_lbl" xml:lang="en-US">Current Fiscal Year End Date</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_CurrentFiscalYearEndDate" xlink:to="dei_CurrentFiscalYearEndDate_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense_lbl0" xml:lang="en-US">Selling, General and Administrative Expense</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpense_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_lbl1" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested, Number of Shares</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue_lbl0" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested, Weighted Average Grant Date Fair Value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod_lbl0" xml:lang="en-US">Treasury Stock, Value, Acquired, Cost Method</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:to="us-gaap_TreasuryStockValueAcquiredCostMethod_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsToMinorityShareholders_lbl0" xml:lang="en-US">Payments to Noncontrolling Interests</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToMinorityShareholders" xlink:to="us-gaap_PaymentsToMinorityShareholders_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GainLossOnInvestments_lbl0" xml:lang="en-US">Gain (Loss) on Investments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GainLossOnInvestments" xlink:to="us-gaap_GainLossOnInvestments_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StockholdersEquity_lbl0" xml:lang="en-US">Stockholders&apos; Equity Attributable to Parent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_StockholdersEquity_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GrossProfit_lbl0" xml:lang="en-US">Gross Profit</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GrossProfit" xlink:to="us-gaap_GrossProfit_lbl0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCentralIndexKey" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCentralIndexKey"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityCentralIndexKey_lbl" xml:lang="en-US">Entity Central Index Key</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCentralIndexKey" xlink:to="dei_EntityCentralIndexKey_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade_lbl0" xml:lang="en-US">Increase (Decrease) in Accounts Payable, Trade</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayableTrade_lbl0"/>
    <loc xlink:type="locator" xlink:label="dei_AmendmentFlag" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentFlag"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_AmendmentFlag_lbl" xml:lang="en-US">Amendment Flag</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_AmendmentFlag" xlink:to="dei_AmendmentFlag_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInRestrictedCash_lbl0" xml:lang="en-US">Increase (Decrease) in Restricted Cash</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInRestrictedCash" xlink:to="us-gaap_IncreaseDecreaseInRestrictedCash_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentGross_lbl0" xml:lang="en-US">Property, Plant and Equipment, Gross</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentGross" xlink:to="us-gaap_PropertyPlantAndEquipmentGross_lbl0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityRegistrantName" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityRegistrantName"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityRegistrantName_lbl" xml:lang="en-US">Entity Registrant Name</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityRegistrantName" xlink:to="dei_EntityRegistrantName_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_lbl0" xml:lang="en-US">Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:to="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl0" xml:lang="en-US">Payments to Acquire Property, Plant, and Equipment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:to="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities_lbl0" xml:lang="en-US">Net Cash Provided by (Used in) Financing Activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities_lbl0" xml:lang="en-US">Net Cash Provided by (Used in) Operating Activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingAssets_lbl0" xml:lang="en-US">Increase (Decrease) in Other Operating Assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingAssets_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock_lbl0" xml:lang="en-US">Payments for Repurchase of Common Stock</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:to="us-gaap_PaymentsForRepurchaseOfCommonStock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_lbl0" xml:lang="en-US">Noncontrolling Interest, Decrease from Distributions to Noncontrolling Interest Holders</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" xlink:to="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_lbl0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCommonStockSharesOutstanding" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityCommonStockSharesOutstanding_lbl" xml:lang="en-US">Entity Common Stock, Shares Outstanding</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCommonStockSharesOutstanding" xlink:to="dei_EntityCommonStockSharesOutstanding_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AssetsFairValueDisclosure_lbl0" xml:lang="en-US">Assets, Fair Value Disclosure</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsFairValueDisclosure" xlink:to="us-gaap_AssetsFairValueDisclosure_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense_lbl0" xml:lang="en-US">Allocated Share-based Compensation Expense</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AllocatedShareBasedCompensationExpense" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue_lbl0" xml:lang="en-US">Equity Method Investment, Summarized Financial Information, Revenue</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilitiesNoncurrent_lbl0" xml:lang="en-US">Liabilities, Noncurrent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesNoncurrent" xlink:to="us-gaap_LiabilitiesNoncurrent_lbl0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityVoluntaryFilers" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityVoluntaryFilers"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityVoluntaryFilers_lbl" xml:lang="en-US">Entity Voluntary Filers</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityVoluntaryFilers" xlink:to="dei_EntityVoluntaryFilers_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityFilerCategory" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityFilerCategory"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityFilerCategory_lbl" xml:lang="en-US">Entity Filer Category</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityFilerCategory" xlink:to="dei_EntityFilerCategory_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_Assets_lbl0" xml:lang="en-US">Assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Assets" xlink:to="us-gaap_Assets_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TreasuryStockValue_lbl0" xml:lang="en-US">Treasury Stock, Value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockValue" xlink:to="us-gaap_TreasuryStockValue_lbl0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityWellKnownSeasonedIssuer" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityWellKnownSeasonedIssuer"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityWellKnownSeasonedIssuer_lbl" xml:lang="en-US">Entity Well-known Seasoned Issuer</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityWellKnownSeasonedIssuer" xlink:to="dei_EntityWellKnownSeasonedIssuer_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_lbl1" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested, Weighted Average Grant Date Fair Value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl0" xml:lang="en-US">Income Tax Expense (Benefit)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxExpenseBenefit" xlink:to="us-gaap_IncomeTaxExpenseBenefit_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities_lbl0" xml:lang="en-US">Net Cash Provided by (Used in) Investing Activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivities_lbl0"/>
    <loc xlink:type="locator" xlink:label="dei_AmendmentDescription" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentDescription"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_AmendmentDescription_lbl" xml:lang="en-US">Amendment Description</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_AmendmentDescription" xlink:to="dei_AmendmentDescription_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementTable_lbl" xml:lang="en-US">Statement [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementTable_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementLineItems_lbl" xml:lang="en-US">Statement [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementLineItems_lbl"/>
  </labelLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.PRE
<SEQUENCE>9
<FILENAME>rex-20170430_pre.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->
<!-- Created: Wed May 31 10:58:17 EDT 2017 -->
<linkbase xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ConsolidatedBalanceSheet" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ConsolidatedIncomeStatement" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ShareholdersEquityType2or3" roleURI="http://www.rexamerican.com/role/ShareholdersEquityType2or3"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ConsolidatedCashFlow" roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTS" roleURI="http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ACCOUNTINGPOLICIES" roleURI="http://www.rexamerican.com/role/ACCOUNTINGPOLICIES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_LEASES" roleURI="http://www.rexamerican.com/role/LEASES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_FAIRVALUE" roleURI="http://www.rexamerican.com/role/FAIRVALUE"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_PROPERTYANDEQUIPMENT" roleURI="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENT"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_OTHERASSETS" roleURI="http://www.rexamerican.com/role/OTHERASSETS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES" roleURI="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_REVOLVINGLINESOFCREDIT" roleURI="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDIT"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_DERIVATIVEFINANCIALINSTRUMENTS" roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_INVESTMENTS" roleURI="http://www.rexamerican.com/role/INVESTMENTS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_EMPLOYEEBENEFITS" roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_INCOMETAXES" roleURI="http://www.rexamerican.com/role/INCOMETAXES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_COMMITMENTSANDCONTINGENCIES" roleURI="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_NETSALESANDREVENUE" roleURI="http://www.rexamerican.com/role/NETSALESANDREVENUE"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_RELATEDPARTYTRANSACTIONS" roleURI="http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_AccountingPoliciesByPolicy" roleURI="http://www.rexamerican.com/role/AccountingPoliciesByPolicy"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ACCOUNTINGPOLICIESTables" roleURI="http://www.rexamerican.com/role/ACCOUNTINGPOLICIESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_LEASESTables" roleURI="http://www.rexamerican.com/role/LEASESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_FAIRVALUETables" roleURI="http://www.rexamerican.com/role/FAIRVALUETables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_PROPERTYANDEQUIPMENTTables" roleURI="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENTTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_OTHERASSETSTables" roleURI="http://www.rexamerican.com/role/OTHERASSETSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables" roleURI="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_DERIVATIVEFINANCIALINSTRUMENTSTables" roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_INVESTMENTSTables" roleURI="http://www.rexamerican.com/role/INVESTMENTSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_EMPLOYEEBENEFITSTables" roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_INCOMETAXESTables" roleURI="http://www.rexamerican.com/role/INCOMETAXESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_NETSALESANDREVENUETables" roleURI="http://www.rexamerican.com/role/NETSALESANDREVENUETables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofComponentsofInventoryTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofPropertyandEquipmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofOtherAssetsTable" roleURI="http://www.rexamerican.com/role/ScheduleofOtherAssetsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofaccruedexpensesandothercurrentliabilitiesTable" roleURI="http://www.rexamerican.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofFairValuesforDerivativeFinancialInstrumentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofEquityMethodInvestmentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofFinancialinformationForEquityMethodInvestmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofFinancialinformationForEquityMethodInvestmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofNonVestedRestrictedStockAwardActivityTable" roleURI="http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofUnrecognizedTaxBenefitsRollForwardTable" roleURI="http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ScheduleofSalesofConsolidatedEthanolPlantsTable" roleURI="http://www.rexamerican.com/role/ScheduleofSalesofConsolidatedEthanolPlantsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTSDetails" roleURI="http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_ACCOUNTINGPOLICIESDetails" roleURI="http://www.rexamerican.com/role/ACCOUNTINGPOLICIESDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_REVOLVINGLINESOFCREDITDetails" roleURI="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDITDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_DERIVATIVEFINANCIALINSTRUMENTSDetails" roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_INVESTMENTSDetails" roleURI="http://www.rexamerican.com/role/INVESTMENTSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_EMPLOYEEBENEFITSDetails" roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_INCOMETAXESDetails" roleURI="http://www.rexamerican.com/role/INCOMETAXESDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_COMMITMENTSANDCONTINGENCIESDetails" roleURI="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIESDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#rex_r_RELATEDPARTYTRANSACTIONSDetails" roleURI="http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170430.xsd#DocumentAndEntityInformation" roleURI="http://www.rexamerican.com/role/DocumentAndEntityInformation"/>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedBalanceSheet">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfFinancialPositionAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementOfFinancialPositionAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_StatementTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementScenarioAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" order="0.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrentAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_AssetsCurrentAbstract" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsReceivableNetCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_AccountsReceivableNetCurrent" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_InventoryNet" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesReceivable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxesReceivable"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_IncomeTaxesReceivable" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxAssetsNetNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsNetNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_DeferredTaxAssetsNetNoncurrent" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DeferredTaxAssetsNetNoncurrent" xlink:to="us-gaap_AssetsCurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_PropertyPlantAndEquipmentNet" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_OtherAssetsNoncurrent" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EquityMethodInvestments" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Assets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Assets"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityMethodInvestments" xlink:to="us-gaap_Assets" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_LiabilitiesCurrentAbstract" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableTradeCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableTradeCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_AccountsPayableTradeCurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_OtherLiabilitiesCurrent" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_LiabilitiesCurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="LongTermLiabilitiesAbstract" xlink:href="rex-20170430.xsd#rex_LongTermLiabilitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="LongTermLiabilitiesAbstract" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="LongTermLiabilitiesAbstract" xlink:to="us-gaap_DeferredTaxLiabilitiesNoncurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="LongTermLiabilitiesAbstract" xlink:to="us-gaap_OtherLiabilitiesNoncurrent" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_OtherLiabilitiesNoncurrent" xlink:to="us-gaap_LiabilitiesNoncurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EquityAbstract" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="RexShareholdersEquityAbstract" xlink:href="rex-20170430.xsd#rex_RexShareholdersEquityAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityAbstract" xlink:to="RexShareholdersEquityAbstract" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RexShareholdersEquityAbstract" xlink:to="us-gaap_CommonStockValue" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RexShareholdersEquityAbstract" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RexShareholdersEquityAbstract" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RexShareholdersEquityAbstract" xlink:to="us-gaap_TreasuryStockValue" order="3.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquity" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_TreasuryStockValue" xlink:to="us-gaap_StockholdersEquity" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinorityInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_MinorityInterest" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_LiabilitiesAndStockholdersEquity" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedIncomeStatement">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_StatementTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementScenarioAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" order="0.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SalesRevenueNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesRevenueNet"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_SalesRevenueNet" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfGoodsAndServicesSold" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CostOfGoodsAndServicesSold" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GrossProfit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GrossProfit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_GrossProfit" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpense" order="3.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_GainLossOnSaleOfInvestments" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InterestAndOtherIncome" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestAndOtherIncome"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_InterestAndOtherIncome" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="8.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_ProfitLoss" order="9.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" order="10.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetIncomeLoss" order="11.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" order="12.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EarningsPerShareBasic" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareBasic"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EarningsPerShareBasic" order="13.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" order="14.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EarningsPerShareDiluted" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareDiluted"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EarningsPerShareDiluted" order="15.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ShareholdersEquityType2or3">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfStockholdersEquityAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementOfStockholdersEquityAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfStockholdersEquityAbstract" xlink:to="us-gaap_StatementTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementEquityComponentsAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementEquityComponentsAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityComponentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_CommonStockMember" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_TreasuryStockMember" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AdditionalPaidInCapitalMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_AdditionalPaidInCapitalMember" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_RetainedEarningsMember" order="3.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NoncontrollingInterestMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NoncontrollingInterestMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_NoncontrollingInterestMember" order="4.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_EquityComponentDomain" order="5.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharesOutstanding" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharesOutstanding"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_SharesOutstanding" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_ProfitLoss" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_TreasuryStockValueAcquiredCostMethod" order="3.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockSharesAcquired" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_TreasuryStockSharesAcquired" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensation" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_ShareBasedCompensation" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" order="6.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_0" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharesOutstanding_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharesOutstanding"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_SharesOutstanding_0" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedCashFlow">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfCashFlowsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementOfCashFlowsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_StatementTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementScenarioAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" order="0.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="CashFlowsFromOperatingActivitiesAbstract" xlink:href="rex-20170430.xsd#rex_CashFlowsFromOperatingActivitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="CashFlowsFromOperatingActivitiesAbstract" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromOperatingActivitiesAbstract" xlink:to="us-gaap_ProfitLoss" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:href="rex-20170430.xsd#rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepreciationDepletionAndAmortization" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_DepreciationDepletionAndAmortization" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="1.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_GainLossOnInvestments" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_DeferredIncomeTaxExpenseBenefit" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="ChangesInAssetsAndLiabilitiesAbstract" xlink:href="rex-20170430.xsd#rex_ChangesInAssetsAndLiabilitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="ChangesInAssetsAndLiabilitiesAbstract" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInAccountsReceivable" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInInventories" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInInventories" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingAssets" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayableTrade" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="CashFlowsFromInvestingActivitiesAbstract" xlink:href="rex-20170430.xsd#rex_CashFlowsFromInvestingActivitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="CashFlowsFromInvestingActivitiesAbstract" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" order="0.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInRestrictedCash" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInRestrictedCash"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInRestrictedCash" order="1.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfRestrictedInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfRestrictedInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromSaleOfRestrictedInvestments" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfLongtermInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromSaleOfLongtermInvestments" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" order="4.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivities" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="CashFlowsFromFinancingActivitiesAbstract" xlink:href="rex-20170430.xsd#rex_CashFlowsFromFinancingActivitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="CashFlowsFromFinancingActivitiesAbstract" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToMinorityShareholders" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromFinancingActivitiesAbstract" xlink:to="us-gaap_PaymentsToMinorityShareholders" order="0.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromFinancingActivitiesAbstract" xlink:to="us-gaap_PaymentsForRepurchaseOfCommonStock" order="1.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="9.0" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_0" order="10.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <loc xlink:type="locator" xlink:label="NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:href="rex-20170430.xsd#rex_NonCashInvestingActivitiesAccruedCapitalExpenditures"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="NonCashInvestingActivitiesAccruedCapitalExpenditures" order="11.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="NonCashFinancingActivitiesEquityAwardsIssued" xlink:href="rex-20170430.xsd#rex_NonCashFinancingActivitiesEquityAwardsIssued"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="NonCashFinancingActivitiesEquityAwardsIssued" order="12.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTS">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ACCOUNTINGPOLICIES">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SignificantAccountingPoliciesTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SignificantAccountingPoliciesTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_SignificantAccountingPoliciesTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/LEASES">
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesOfLessorDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeasesOfLessorDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LeasesAbstract" xlink:to="us-gaap_LeasesOfLessorDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/FAIRVALUE">
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosuresTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_FairValueDisclosuresAbstract" xlink:to="us-gaap_FairValueDisclosuresTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENT">
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/OTHERASSETS">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_OtherAssetsDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDIT">
    <loc xlink:type="locator" xlink:label="us-gaap_DebtDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DebtDisclosureAbstract" xlink:to="us-gaap_DebtDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTS">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialInstrumentsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_FinancialInstrumentsDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INVESTMENTS">
    <loc xlink:type="locator" xlink:label="invest_InvestmentsScheduleAbstract" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentsScheduleAbstract"/>
    <loc xlink:type="locator" xlink:label="invest_InvestmentTextBlock" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="invest_InvestmentsScheduleAbstract" xlink:to="invest_InvestmentTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/EMPLOYEEBENEFITS">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CompensationAndEmployeeBenefitPlansTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INCOMETAXES">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_IncomeTaxDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIES">
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/NETSALESANDREVENUE">
    <loc xlink:type="locator" xlink:label="NetSalesAndRevenueAbstract" xlink:href="rex-20170430.xsd#rex_NetSalesAndRevenueAbstract"/>
    <loc xlink:type="locator" xlink:label="NetSalesAndRevenueTextBlock" xlink:href="rex-20170430.xsd#rex_NetSalesAndRevenueTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="NetSalesAndRevenueAbstract" xlink:to="NetSalesAndRevenueTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONS">
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RelatedPartyTransactionsAbstract" xlink:to="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/AccountingPoliciesByPolicy">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueRecognitionPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_RevenueRecognitionPolicyTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfSalesPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfSalesPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_CostOfSalesPolicyTextBlock" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueOfFinancialInstrumentsPolicy"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_FairValueOfFinancialInstrumentsPolicy" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_IncomeTaxPolicyTextBlock" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_InventoryPolicyTextBlock" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InvestmentPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_InvestmentPolicyTextBlock" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComprehensiveIncomePolicyPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" order="9.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ACCOUNTINGPOLICIESTables">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfInventoryCurrentTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/LEASESTables">
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LeasesAbstract" xlink:to="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/FAIRVALUETables">
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_FairValueDisclosuresAbstract" xlink:to="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENTTables">
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/OTHERASSETSTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfOtherAssetsTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfOtherAssetsTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_ScheduleOfOtherAssetsTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherCurrentLiabilitiesTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCurrentLiabilitiesTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_OtherCurrentLiabilitiesTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INVESTMENTSTables">
    <loc xlink:type="locator" xlink:label="invest_InvestmentsScheduleAbstract" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentsScheduleAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentsTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentsTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="invest_InvestmentsScheduleAbstract" xlink:to="us-gaap_EquityMethodInvestmentsTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" xlink:href="rex-20170430.xsd#rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="invest_InvestmentsScheduleAbstract" xlink:to="ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/EMPLOYEEBENEFITSTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INCOMETAXESTables">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/NETSALESANDREVENUETables">
    <loc xlink:type="locator" xlink:label="NetSalesAndRevenueAbstract" xlink:href="rex-20170430.xsd#rex_NetSalesAndRevenueAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="NetSalesAndRevenueAbstract" xlink:to="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
<!-- [WMV4][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+dL7zoH8Kulc7zD318fntsVoV1fcXtp7VxUKN+H8G2XZJhjxqxxJFYwdQCIlsX9qbe5/TLCustURellZclY2kqujoIFPci6NE4EwnzSIDa44Gi7VFqxesy+uQwTGvC5gSzTV/vRHKKSJ6kxdOGTckxQ==] CSR-->
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfComponentsOfInventoryAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfComponentsOfInventoryAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfComponentsOfInventoryAbstract" xlink:to="us-gaap_InventoryFinishedGoodsNetOfReserves" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryWorkInProcessNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfComponentsOfInventoryAbstract" xlink:to="us-gaap_InventoryWorkInProcessNetOfReserves" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryRawMaterialsNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfComponentsOfInventoryAbstract" xlink:to="us-gaap_InventoryRawMaterialsNetOfReserves" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfComponentsOfInventoryAbstract" xlink:to="us-gaap_InventoryNet" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract"/>
    <loc xlink:type="locator" xlink:label="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:href="rex-20170430.xsd#rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
    <loc xlink:type="locator" xlink:label="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:href="rex-20170430.xsd#rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract" xlink:to="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:to="us-gaap_FairValueByFairValueHierarchyLevelAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel1Member" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueInputsLevel1Member" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel2Member" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueInputsLevel2Member" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel3Member" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueInputsLevel3Member" order="3.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:to="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="ForwardPurchaseContractsAsset" xlink:href="rex-20170430.xsd#rex_ForwardPurchaseContractsAsset"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="ForwardPurchaseContractsAsset" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="InvestmentInCooperativeFairValueDisclosure" xlink:href="rex-20170430.xsd#rex_InvestmentInCooperativeFairValueDisclosure"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="InvestmentInCooperativeFairValueDisclosure" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsFairValueDisclosure" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="us-gaap_AssetsFairValueDisclosure" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="ForwardPurchaseContractLiabilityFairValue" xlink:href="rex-20170430.xsd#rex_ForwardPurchaseContractLiabilityFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="ForwardPurchaseContractLiabilityFairValue" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfPropertyAndEquipmentAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfPropertyAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LandAndLandImprovements" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LandAndLandImprovements"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_LandAndLandImprovements" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingsAndImprovementsGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BuildingsAndImprovementsGross"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_BuildingsAndImprovementsGross" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MachineryAndEquipmentGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MachineryAndEquipmentGross"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_MachineryAndEquipmentGross" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConstructionInProgressGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionInProgressGross"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_ConstructionInProgressGross" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentGross" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" order="5.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentNet" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofOtherAssetsTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfOtherAssetsAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfOtherAssetsAbstract"/>
    <loc xlink:type="locator" xlink:label="RealEstateTaxesRefundableNoncurrent" xlink:href="rex-20170430.xsd#rex_RealEstateTaxesRefundableNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfOtherAssetsAbstract" xlink:to="RealEstateTaxesRefundableNoncurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepositsAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepositsAssetsNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfOtherAssetsAbstract" xlink:to="us-gaap_DepositsAssetsNoncurrent" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsMiscellaneousNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfOtherAssetsAbstract" xlink:to="us-gaap_OtherAssetsMiscellaneousNoncurrent" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfOtherAssetsAbstract" xlink:to="us-gaap_OtherAssetsNoncurrent" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedUtilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedUtilitiesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_AccruedUtilitiesCurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_EmployeeRelatedLiabilitiesCurrent" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedIncomeTaxes" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedIncomeTaxes"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_AccruedIncomeTaxes" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_OtherAccruedLiabilitiesCurrent" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_OtherLiabilitiesCurrent" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract"/>
    <loc xlink:type="locator" xlink:label="DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:href="rex-20170430.xsd#rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
    <loc xlink:type="locator" xlink:label="DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:href="rex-20170430.xsd#rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract" xlink:to="DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentRiskAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:to="us-gaap_DerivativeInstrumentRiskAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeContractTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DerivativeInstrumentRiskAxis" xlink:to="us-gaap_DerivativeContractTypeDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommodityContractMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommodityContractMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DerivativeInstrumentRiskAxis" xlink:to="us-gaap_CommodityContractMember" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ForwardContractsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForwardContractsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DerivativeInstrumentRiskAxis" xlink:to="us-gaap_ForwardContractsMember" order="2.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:to="DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeAssets"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:to="us-gaap_DerivativeAssets" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeLiabilities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeLiabilities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:to="us-gaap_DerivativeLiabilities" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfEquityMethodInvestmentsAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfEquityMethodInvestmentsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfEquityMethodInvestmentsAbstract" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsTable" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_EquityMethodInvesteeNameDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="BigRiverMember" xlink:href="rex-20170430.xsd#rex_BigRiverMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="BigRiverMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsTable" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:to="us-gaap_EquityMethodInvestmentOwnershipPercentage" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:to="us-gaap_EquityMethodInvestments" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestments"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFinancialinformationForEquityMethodInvestmentTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract"/>
    <loc xlink:type="locator" xlink:label="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" xlink:href="rex-20170430.xsd#rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable"/>
    <loc xlink:type="locator" xlink:label="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:href="rex-20170430.xsd#rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract" xlink:to="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_EquityMethodInvesteeNameDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="BigRiverMember" xlink:href="rex-20170430.xsd#rex_BigRiverMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="BigRiverMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" xlink:to="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_0" order="9.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_0" order="10.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_0" order="11.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefits" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefits"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:to="us-gaap_UnrecognizedTaxBenefits" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:to="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" xlink:href="rex-20170430.xsd#rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:to="UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofSalesofConsolidatedEthanolPlantsTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract" xlink:href="rex-20170430.xsd#rex_ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract" xlink:to="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProductOrServiceAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductOrServiceAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" xlink:to="us-gaap_ProductOrServiceAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProductsAndServicesDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductsAndServicesDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ProductOrServiceAxis" xlink:to="us-gaap_ProductsAndServicesDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="EthanolMember" xlink:href="rex-20170430.xsd#rex_EthanolMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ProductOrServiceAxis" xlink:to="EthanolMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="DriedDistillersGrainsMember" xlink:href="rex-20170430.xsd#rex_DriedDistillersGrainsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ProductOrServiceAxis" xlink:to="DriedDistillersGrainsMember" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="NonFoodGradeCornOilMember" xlink:href="rex-20170430.xsd#rex_NonFoodGradeCornOilMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ProductOrServiceAxis" xlink:to="NonFoodGradeCornOilMember" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="ModifiedDistillersGrainsMember" xlink:href="rex-20170430.xsd#rex_ModifiedDistillersGrainsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ProductOrServiceAxis" xlink:to="ModifiedDistillersGrainsMember" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="OtherProductMember" xlink:href="rex-20170430.xsd#rex_OtherProductMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ProductOrServiceAxis" xlink:to="OtherProductMember" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" xlink:to="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAlternativeEnergySalesRevenue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAlternativeEnergySalesRevenue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems" xlink:to="us-gaap_OtherAlternativeEnergySalesRevenue" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTSDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfOperatingSegments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NumberOfOperatingSegments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_NumberOfOperatingSegments" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="NumberOfEthanolEntitiesUnderOwnershipInterest" xlink:href="rex-20170430.xsd#rex_NumberOfEthanolEntitiesUnderOwnershipInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="NumberOfEthanolEntitiesUnderOwnershipInterest" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="NumberOfEthanolEntitiesUnderMajorityOwnershipInterest" xlink:href="rex-20170430.xsd#rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="NumberOfEthanolEntitiesUnderMajorityOwnershipInterest" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ACCOUNTINGPOLICIESDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="ACCOUNTINGPOLICIESDetailsTable" xlink:href="rex-20170430.xsd#rex_ACCOUNTINGPOLICIESDetailsTable"/>
    <loc xlink:type="locator" xlink:label="ACCOUNTINGPOLICIESDetailsLineItems" xlink:href="rex-20170430.xsd#rex_ACCOUNTINGPOLICIESDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="ACCOUNTINGPOLICIESDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ACCOUNTINGPOLICIESDetailsTable" xlink:to="us-gaap_PropertyPlantAndEquipmentByTypeAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="us-gaap_PropertyPlantAndEquipmentTypeDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingAndBuildingImprovementsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="us-gaap_BuildingAndBuildingImprovementsMember" order="1.0"/>
    <loc xlink:type="locator" xlink:label="FixturesAndEquipmentMember" xlink:href="rex-20170430.xsd#rex_FixturesAndEquipmentMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="FixturesAndEquipmentMember" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RangeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ACCOUNTINGPOLICIESDetailsTable" xlink:to="us-gaap_RangeAxis" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RangeMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeMember" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinimumMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_MinimumMember" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MaximumMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_MaximumMember" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ACCOUNTINGPOLICIESDetailsTable" xlink:to="us-gaap_IncomeStatementLocationAxis" order="3.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementLocationAxis" xlink:to="us-gaap_IncomeStatementLocationDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfSalesMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfSalesMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementLocationAxis" xlink:to="us-gaap_CostOfSalesMember" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ACCOUNTINGPOLICIESDetailsTable" xlink:to="us-gaap_StatementScenarioAxis" order="4.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="ApproximateMember" xlink:href="rex-20170430.xsd#rex_ApproximateMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="ApproximateMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ACCOUNTINGPOLICIESDetailsTable" xlink:to="ACCOUNTINGPOLICIESDetailsLineItems" order="5.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesPaid" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxesPaid"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_IncomeTaxesPaid" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromIncomeTaxRefunds" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIncomeTaxRefunds"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_ProceedsFromIncomeTaxRefunds" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefits" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefits"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_UnrecognizedTaxBenefits" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentDepreciationMethods" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentDepreciationMethods"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_PropertyPlantAndEquipmentDepreciationMethods" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" xlink:href="rex-20170430.xsd#rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDITDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_DebtDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="REVOLVINGLINESOFCREDITDetailsTable" xlink:href="rex-20170430.xsd#rex_REVOLVINGLINESOFCREDITDetailsTable"/>
    <loc xlink:type="locator" xlink:label="REVOLVINGLINESOFCREDITDetailsLineItems" xlink:href="rex-20170430.xsd#rex_REVOLVINGLINESOFCREDITDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DebtDisclosureAbstract" xlink:to="REVOLVINGLINESOFCREDITDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="dei_LegalEntityAxis" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="REVOLVINGLINESOFCREDITDetailsTable" xlink:to="dei_LegalEntityAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="OneEarthEnergyAndNuGenEnergyMember" xlink:href="rex-20170430.xsd#rex_OneEarthEnergyAndNuGenEnergyMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_LegalEntityAxis" xlink:to="OneEarthEnergyAndNuGenEnergyMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CreditFacilityAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="REVOLVINGLINESOFCREDITDetailsTable" xlink:to="us-gaap_CreditFacilityAxis" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CreditFacilityDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CreditFacilityAxis" xlink:to="us-gaap_CreditFacilityDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevolvingCreditFacilityMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CreditFacilityAxis" xlink:to="us-gaap_RevolvingCreditFacilityMember" order="1.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="REVOLVINGLINESOFCREDITDetailsTable" xlink:to="REVOLVINGLINESOFCREDITDetailsLineItems" order="3.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtInstrumentMaturityDate" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentMaturityDate"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="REVOLVINGLINESOFCREDITDetailsLineItems" xlink:to="us-gaap_DebtInstrumentMaturityDate" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LinesOfCreditCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LinesOfCreditCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="REVOLVINGLINESOFCREDITDetailsLineItems" xlink:to="us-gaap_LinesOfCreditCurrent" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="QuantityOfBushelsUnderCommodityFutures" xlink:href="rex-20170430.xsd#rex_QuantityOfBushelsUnderCommodityFutures"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="QuantityOfBushelsUnderCommodityFutures" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="QuantityOfBushelsUnderForwardPurchaseContract" xlink:href="rex-20170430.xsd#rex_QuantityOfBushelsUnderForwardPurchaseContract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="QuantityOfBushelsUnderForwardPurchaseContract" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtInstrumentCollateralAmount" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentCollateralAmount"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_DebtInstrumentCollateralAmount" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeGainOnDerivative" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeGainOnDerivative"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_DerivativeGainOnDerivative" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INVESTMENTSDetails">
    <loc xlink:type="locator" xlink:label="invest_InvestmentsScheduleAbstract" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentsScheduleAbstract"/>
    <loc xlink:type="locator" xlink:label="INVESTMENTSDetailsTable" xlink:href="rex-20170430.xsd#rex_INVESTMENTSDetailsTable"/>
    <loc xlink:type="locator" xlink:label="INVESTMENTSDetailsLineItems" xlink:href="rex-20170430.xsd#rex_INVESTMENTSDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="invest_InvestmentsScheduleAbstract" xlink:to="INVESTMENTSDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsTable" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_EquityMethodInvesteeNameDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="BigRiverMember" xlink:href="rex-20170430.xsd#rex_BigRiverMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="BigRiverMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="PatriotMember" xlink:href="rex-20170430.xsd#rex_PatriotMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="PatriotMember" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsTable" xlink:to="INVESTMENTSDetailsLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsLineItems" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsLineItems" xlink:to="us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsLineItems" xlink:to="us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="ProceedsFromPaymentForEscrowHoldbacksAndAdjustments" xlink:href="rex-20170430.xsd#rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsLineItems" xlink:to="ProceedsFromPaymentForEscrowHoldbacksAndAdjustments" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsLineItems" xlink:to="us-gaap_GainLossOnSaleOfInvestments" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/EMPLOYEEBENEFITSDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="EMPLOYEEBENEFITSDetailsTable" xlink:href="rex-20170430.xsd#rex_EMPLOYEEBENEFITSDetailsTable"/>
    <loc xlink:type="locator" xlink:label="EMPLOYEEBENEFITSDetailsLineItems" xlink:href="rex-20170430.xsd#rex_EMPLOYEEBENEFITSDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="EMPLOYEEBENEFITSDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PlanNameAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="EMPLOYEEBENEFITSDetailsTable" xlink:to="us-gaap_PlanNameAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PlanNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PlanNameAxis" xlink:to="us-gaap_PlanNameDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="StockOptionPlans2015Member" xlink:href="rex-20170430.xsd#rex_StockOptionPlans2015Member"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PlanNameAxis" xlink:to="StockOptionPlans2015Member" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AwardTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="EMPLOYEEBENEFITSDetailsTable" xlink:to="us-gaap_AwardTypeAxis" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeStockOptionMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_EmployeeStockOptionMember" order="1.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="EMPLOYEEBENEFITSDetailsTable" xlink:to="EMPLOYEEBENEFITSDetailsLineItems" order="3.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="EMPLOYEEBENEFITSDetailsLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="EMPLOYEEBENEFITSDetailsLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="EMPLOYEEBENEFITSDetailsLineItems" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INCOMETAXESDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_EffectiveIncomeTaxRateContinuingOperations" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIESDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="COMMITMENTSANDCONTINGENCIESDetailsTable" xlink:href="rex-20170430.xsd#rex_COMMITMENTSANDCONTINGENCIESDetailsTable"/>
    <loc xlink:type="locator" xlink:label="COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:href="rex-20170430.xsd#rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="COMMITMENTSANDCONTINGENCIESDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="dei_LegalEntityAxis" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="COMMITMENTSANDCONTINGENCIESDetailsTable" xlink:to="dei_LegalEntityAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="OneEarthEnergyAndNuGenEnergyMember" xlink:href="rex-20170430.xsd#rex_OneEarthEnergyAndNuGenEnergyMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_LegalEntityAxis" xlink:to="OneEarthEnergyAndNuGenEnergyMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="COMMITMENTSANDCONTINGENCIESDetailsTable" xlink:to="COMMITMENTSANDCONTINGENCIESDetailsLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="QuantityOfBushelsUnderForwardPurchaseContract" xlink:href="rex-20170430.xsd#rex_QuantityOfBushelsUnderForwardPurchaseContract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:to="QuantityOfBushelsUnderForwardPurchaseContract" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="QuantityOfEthanolUnderSalesCommitment" xlink:href="rex-20170430.xsd#rex_QuantityOfEthanolUnderSalesCommitment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:to="QuantityOfEthanolUnderSalesCommitment" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="QuantityOfDistillersGrainsUnderSalesCommitment" xlink:href="rex-20170430.xsd#rex_QuantityOfDistillersGrainsUnderSalesCommitment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:to="QuantityOfDistillersGrainsUnderSalesCommitment" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="QuantityOfNonFoodGradeCornOilUnderSalesCommitments" xlink:href="rex-20170430.xsd#rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:to="QuantityOfNonFoodGradeCornOilUnderSalesCommitments" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="SupplyCommitmentExpectedPeriodOfDelivery" xlink:href="rex-20170430.xsd#rex_SupplyCommitmentExpectedPeriodOfDelivery"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:to="SupplyCommitmentExpectedPeriodOfDelivery" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONSDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract"/>
    <loc xlink:type="locator" xlink:label="RELATEDPARTYTRANSACTIONSDetailsTable" xlink:href="rex-20170430.xsd#rex_RELATEDPARTYTRANSACTIONSDetailsTable"/>
    <loc xlink:type="locator" xlink:label="RELATEDPARTYTRANSACTIONSDetailsLineItems" xlink:href="rex-20170430.xsd#rex_RELATEDPARTYTRANSACTIONSDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RelatedPartyTransactionsAbstract" xlink:to="RELATEDPARTYTRANSACTIONSDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RELATEDPARTYTRANSACTIONSDetailsTable" xlink:to="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="us-gaap_RelatedPartyDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="OneEarthEnergyAndNuGenEnergyMember" xlink:href="rex-20170430.xsd#rex_OneEarthEnergyAndNuGenEnergyMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="OneEarthEnergyAndNuGenEnergyMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RELATEDPARTYTRANSACTIONSDetailsTable" xlink:to="RELATEDPARTYTRANSACTIONSDetailsLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostsAndExpensesRelatedParty" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostsAndExpensesRelatedParty"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RELATEDPARTYTRANSACTIONSDetailsLineItems" xlink:to="us-gaap_CostsAndExpensesRelatedParty" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RELATEDPARTYTRANSACTIONSDetailsLineItems" xlink:to="us-gaap_AccountsPayableRelatedPartiesCurrent" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DocumentAndEntityInformation">
    <loc xlink:type="locator" xlink:label="DocumentAndEntityInformationAbstract" xlink:href="rex-20170430.xsd#rex_DocumentAndEntityInformationAbstract"/>
    <loc xlink:type="locator" xlink:label="dei_EntityRegistrantName" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityRegistrantName"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_EntityRegistrantName" order="1.0"/>
    <loc xlink:type="locator" xlink:label="dei_TradingSymbol" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_TradingSymbol"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_TradingSymbol" order="2.0"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentType" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentType"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_DocumentType" order="3.0"/>
    <loc xlink:type="locator" xlink:label="dei_CurrentFiscalYearEndDate" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_CurrentFiscalYearEndDate"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_CurrentFiscalYearEndDate" order="4.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCommonStockSharesOutstanding" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_EntityCommonStockSharesOutstanding" order="5.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityPublicFloat" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityPublicFloat"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_EntityPublicFloat" order="6.0"/>
    <loc xlink:type="locator" xlink:label="dei_AmendmentFlag" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentFlag"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_AmendmentFlag" order="7.0"/>
    <loc xlink:type="locator" xlink:label="dei_AmendmentDescription" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentDescription"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_AmendmentDescription" order="8.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCentralIndexKey" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCentralIndexKey"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_EntityCentralIndexKey" order="9.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCurrentReportingStatus" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCurrentReportingStatus"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_EntityCurrentReportingStatus" order="10.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityVoluntaryFilers" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityVoluntaryFilers"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_EntityVoluntaryFilers" order="11.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityFilerCategory" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityFilerCategory"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_EntityFilerCategory" order="12.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityWellKnownSeasonedIssuer" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityWellKnownSeasonedIssuer"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_EntityWellKnownSeasonedIssuer" order="13.0"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentPeriodEndDate" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentPeriodEndDate"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_DocumentPeriodEndDate" order="14.0"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalYearFocus" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalYearFocus"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_DocumentFiscalYearFocus" order="15.0"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalPeriodFocus" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalPeriodFocus"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_DocumentFiscalPeriodFocus" order="16.0"/>
  </presentationLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>10
<FILENAME>R1.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6800537824">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Document And Entity Information - shares<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>May 31, 2017</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_DocumentAndEntityInformationAbstract', window );"><strong>Document and Entity Information [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityRegistrantName', window );">Entity Registrant Name</a></td>
<td class="text">REX AMERICAN RESOURCES Corp<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_DocumentType', window );">Document Type</a></td>
<td class="text">10-Q<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_CurrentFiscalYearEndDate', window );">Current Fiscal Year End Date</a></td>
<td class="text">--01-31<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityCommonStockSharesOutstanding', window );">Entity Common Stock, Shares Outstanding</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">6,558,679<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_AmendmentFlag', window );">Amendment Flag</a></td>
<td class="text">false<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityCentralIndexKey', window );">Entity Central Index Key</a></td>
<td class="text">0000744187<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityCurrentReportingStatus', window );">Entity Current Reporting Status</a></td>
<td class="text">Yes<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityVoluntaryFilers', window );">Entity Voluntary Filers</a></td>
<td class="text">No<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityFilerCategory', window );">Entity Filer Category</a></td>
<td class="text">Accelerated Filer<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityWellKnownSeasonedIssuer', window );">Entity Well-known Seasoned Issuer</a></td>
<td class="text">No<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_DocumentPeriodEndDate', window );">Document Period End Date</a></td>
<td class="text">Apr. 30,  2017<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_DocumentFiscalYearFocus', window );">Document Fiscal Year Focus</a></td>
<td class="text">2017<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_DocumentFiscalPeriodFocus', window );">Document Fiscal Period Focus</a></td>
<td class="text">Q1<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_AmendmentFlag">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>If the value is true, then the document is an amendment to previously-filed/accepted document.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_AmendmentFlag</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:booleanItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_CurrentFiscalYearEndDate">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>End date of current fiscal year in the format --MM-DD.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_CurrentFiscalYearEndDate</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:gMonthDayItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_DocumentFiscalPeriodFocus">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>This is focus fiscal period of the document report. For a first quarter 2006 quarterly report, which may also provide financial information from prior periods, the first fiscal quarter should be given as the fiscal period focus. Values: FY, Q1, Q2, Q3, Q4, H1, H2, M9, T1, T2, T3, M8, CY.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_DocumentFiscalPeriodFocus</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:fiscalPeriodItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_DocumentFiscalYearFocus">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>This is focus fiscal year of the document report in CCYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_DocumentFiscalYearFocus</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:gYearItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_DocumentPeriodEndDate">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The end date of the period reflected on the cover page if a periodic report. For all other reports and registration statements containing historical data, it is the date up through which that historical data is presented.  If there is no historical data in the report, use the filing date. The format of the date is CCYY-MM-DD.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_DocumentPeriodEndDate</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:dateItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_DocumentType">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word "Other".</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_DocumentType</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:submissionTypeItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityCentralIndexKey">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher SEC<br> -Name Regulation 12B<br> -Number 240<br> -Section 12b<br> -Subsection 1<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityCentralIndexKey</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:centralIndexKeyItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityCommonStockSharesOutstanding">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityCommonStockSharesOutstanding</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityCurrentReportingStatus">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Indicate "Yes" or "No" whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityCurrentReportingStatus</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:yesNoItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityFilerCategory">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Indicate whether the registrant is one of the following: (1) Large Accelerated Filer, (2) Accelerated Filer, (3) Non-accelerated Filer, (4) Smaller Reporting Company (Non-accelerated) or (5) Smaller Reporting Accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityFilerCategory</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:filerCategoryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityRegistrantName">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher SEC<br> -Name Regulation 12B<br> -Number 240<br> -Section 12b<br> -Subsection 1<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityRegistrantName</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:normalizedStringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityVoluntaryFilers">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Indicate "Yes" or "No" if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityVoluntaryFilers</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:yesNoItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityWellKnownSeasonedIssuer">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Indicate "Yes" or "No" if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityWellKnownSeasonedIssuer</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:yesNoItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_DocumentAndEntityInformationAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_DocumentAndEntityInformationAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>11
<FILENAME>R2.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6801002848">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>CONSOLIDATED CONDENSED BALANCE SHEETS - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AssetsCurrentAbstract', window );"><strong>Current assets:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CashAndCashEquivalentsAtCarryingValue', window );">Cash and cash equivalents</a></td>
<td class="nump">$ 191,493<span></span>
</td>
<td class="nump">$ 188,576<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue', window );">Restricted cash</a></td>
<td class="nump">130<span></span>
</td>
<td class="nump">130<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountsReceivableNetCurrent', window );">Accounts receivable</a></td>
<td class="nump">9,196<span></span>
</td>
<td class="nump">11,901<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryNet', window );">Inventory</a></td>
<td class="nump">20,427<span></span>
</td>
<td class="nump">17,057<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxesReceivable', window );">Refundable income taxes</a></td>
<td class="nump">1,063<span></span>
</td>
<td class="nump">1,070<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PrepaidExpenseAndOtherAssetsCurrent', window );">Prepaid expenses and other</a></td>
<td class="nump">7,075<span></span>
</td>
<td class="nump">6,959<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DeferredTaxAssetsNetNoncurrent', window );">Deferred taxes, net</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">824<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AssetsCurrent', window );">Total current assets</a></td>
<td class="nump">229,384<span></span>
</td>
<td class="nump">226,517<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentNet', window );">Property and equipment, net</a></td>
<td class="nump">184,674<span></span>
</td>
<td class="nump">182,761<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherAssetsNoncurrent', window );">Other assets</a></td>
<td class="nump">6,777<span></span>
</td>
<td class="nump">6,913<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestments', window );">Equity method investments</a></td>
<td class="nump">38,533<span></span>
</td>
<td class="nump">37,833<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_Assets', window );">Total assets</a></td>
<td class="nump">459,368<span></span>
</td>
<td class="nump">454,024<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LiabilitiesCurrentAbstract', window );"><strong>Current liabilities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountsPayableTradeCurrent', window );">Accounts payable, trade</a></td>
<td class="nump">8,636<span></span>
</td>
<td class="nump">9,171<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherLiabilitiesCurrent', window );">Accrued expenses and other current liabilities</a></td>
<td class="nump">14,261<span></span>
</td>
<td class="nump">13,348<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LiabilitiesCurrent', window );">Total current liabilities</a></td>
<td class="nump">22,897<span></span>
</td>
<td class="nump">22,519<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_LongTermLiabilitiesAbstract', window );"><strong>Long-term liabilities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DeferredTaxLiabilitiesNoncurrent', window );">Deferred taxes</a></td>
<td class="nump">40,314<span></span>
</td>
<td class="nump">41,135<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherLiabilitiesNoncurrent', window );">Other long-term liabilities</a></td>
<td class="nump">2,242<span></span>
</td>
<td class="nump">2,096<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LiabilitiesNoncurrent', window );">Total long-term liabilities</a></td>
<td class="nump">42,556<span></span>
</td>
<td class="nump">43,231<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_RexShareholdersEquityAbstract', window );"><strong>REX shareholders&#8217; equity:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommonStockValue', window );">Common stock</a></td>
<td class="nump">299<span></span>
</td>
<td class="nump">299<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AdditionalPaidInCapitalCommonStock', window );">Paid-in capital</a></td>
<td class="nump">145,790<span></span>
</td>
<td class="nump">145,767<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RetainedEarningsAccumulatedDeficit', window );">Retained earnings</a></td>
<td class="nump">512,751<span></span>
</td>
<td class="nump">508,207<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TreasuryStockValue', window );">Treasury stock</a></td>
<td class="num">(313,832)<span></span>
</td>
<td class="num">(313,838)<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquity', window );">Total REX shareholders&#8217; equity</a></td>
<td class="nump">345,008<span></span>
</td>
<td class="nump">340,435<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_MinorityInterest', window );">Noncontrolling interests</a></td>
<td class="nump">48,907<span></span>
</td>
<td class="nump">47,839<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Total equity</a></td>
<td class="nump">393,915<span></span>
</td>
<td class="nump">388,274<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LiabilitiesAndStockholdersEquity', window );">Total liabilities and equity</a></td>
<td class="nump">$ 459,368<span></span>
</td>
<td class="nump">$ 454,024<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_LongTermLiabilitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_LongTermLiabilitiesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_RexShareholdersEquityAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_RexShareholdersEquityAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountsPayableTradeCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying value as of the balance sheet date of obligations incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6935-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.19(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountsPayableTradeCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountsReceivableNetCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount due from customers or clients, within one year of the balance sheet date (or the normal operating cycle, whichever is longer), for goods or services (including trade receivables) that have been delivered or sold in the normal course of business, reduced to the estimated net realizable fair value by an allowance established by the entity of the amount it deems uncertain of collection.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(3))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(4))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountsReceivableNetCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AdditionalPaidInCapitalCommonStock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Value received from shareholders in common stock-related transactions that are in excess of par value or stated value and amounts received from other stock-related transactions. Includes only common stock transactions (excludes preferred stock transactions). May be called contributed capital, capital in excess of par, capital surplus, or paid-in capital.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(30)(a)(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AdditionalPaidInCapitalCommonStock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_Assets">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(12))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879938&amp;loc=d3e572229-122910<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(11))<br> -URI http://asc.fasb.org/extlink&amp;oid=6876686&amp;loc=d3e534808-122878<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_Assets</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AssetsCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.9)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6801-107765<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6676-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AssetsCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AssetsCurrentAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AssetsCurrentAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CashAndCashEquivalentsAtCarryingValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6676-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3044-108585<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.1)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CashAndCashEquivalentsAtCarryingValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CommonStockValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(29))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CommonStockValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DeferredTaxAssetsNetNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards classified as noncurrent.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32537-109319<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=84176650&amp;loc=d3e31931-109318<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 5<br> -URI http://asc.fasb.org/extlink&amp;oid=84176650&amp;loc=d3e31928-109318<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=84176650&amp;loc=d3e31958-109318<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=84176650&amp;loc=d3e31917-109318<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DeferredTaxAssetsNetNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DeferredTaxLiabilitiesNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences, with jurisdictional netting and classified as noncurrent.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=84176650&amp;loc=d3e31931-109318<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=84176650&amp;loc=d3e31958-109318<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=84176650&amp;loc=d3e31917-109318<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DeferredTaxLiabilitiesNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EquityMethodInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=66022249&amp;loc=d3e33749-111570<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.12)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EquityMethodInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxesReceivable">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying amount due within one year of the balance sheet date (or one operating cycle, if longer) from tax authorities as of the balance sheet date representing refunds of overpayments or recoveries based on agreed-upon resolutions of disputes.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03.5(c))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879938&amp;loc=d3e572229-122910<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.3(a)(4))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03.10)<br> -URI http://asc.fasb.org/extlink&amp;oid=6876686&amp;loc=d3e534808-122878<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxesReceivable</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.6(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section 35<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=68049868&amp;loc=d3e3927-108312<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6676-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryNet</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LiabilitiesAndStockholdersEquity">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(23))<br> -URI http://asc.fasb.org/extlink&amp;oid=6876686&amp;loc=d3e534808-122878<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(25))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879938&amp;loc=d3e572229-122910<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(32))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LiabilitiesAndStockholdersEquity</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LiabilitiesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.21)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LiabilitiesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LiabilitiesCurrentAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LiabilitiesCurrentAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LiabilitiesNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of obligation due after one year or beyond the normal operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(22))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 201.5-02(26))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(23))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 201.5-02(25))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 201.5-02(24))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LiabilitiesNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_MinorityInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which is directly or indirectly attributable to that ownership interest in subsidiary equity which is not attributable to the parent (that is, noncontrolling interest, previously referred to as minority interest).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(22))<br> -URI http://asc.fasb.org/extlink&amp;oid=6876686&amp;loc=d3e534808-122878<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(24))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879938&amp;loc=d3e572229-122910<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.31)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_MinorityInterest</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherAssetsNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of noncurrent assets classified as other.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.17)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherAssetsNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherLiabilitiesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of liabilities classified as other, due within one year or the normal operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.20)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 5<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6904-107765<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6911-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherLiabilitiesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherLiabilitiesNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.24)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherLiabilitiesNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PrepaidExpenseAndOtherAssetsCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(8))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(7))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6676-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PrepaidExpenseAndOtherAssetsCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(13))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(14))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(8))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879938&amp;loc=d3e572229-122910<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentNet</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash and cash equivalents restricted as to withdrawal or usage, classified as current. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=98513485&amp;loc=SL98516268-108586<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3044-108585<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6676-107765<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RetainedEarningsAccumulatedDeficit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cumulative amount of the reporting entity's undistributed earnings or deficit.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(23)(a)(4))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879938&amp;loc=d3e572229-122910<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.3-04)<br> -URI http://asc.fasb.org/extlink&amp;oid=27012166&amp;loc=d3e187085-122770<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(30)(a)(3))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RetainedEarningsAccumulatedDeficit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StockholdersEquity">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(30))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 310<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SAB Topic 4.E)<br> -URI http://asc.fasb.org/extlink&amp;oid=27010918&amp;loc=d3e74512-122707<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(31))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(29))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StockholdersEquity</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 55<br> -Paragraph 4I<br> -URI http://asc.fasb.org/extlink&amp;oid=84234705&amp;loc=SL4590271-111686<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 16<br> -URI http://asc.fasb.org/extlink&amp;oid=96868048&amp;loc=SL4568740-111683<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 15<br> -URI http://asc.fasb.org/extlink&amp;oid=96868048&amp;loc=SL4568447-111683<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_TreasuryStockValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount allocated to treasury stock. Treasury stock is common and preferred shares of an entity that were issued, repurchased by the entity, and are held in its treasury.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 30<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6405813&amp;loc=d3e23239-112655<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.29,30)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 30<br> -Section 50<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=6405834&amp;loc=d3e23315-112656<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_TreasuryStockValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>12
<FILENAME>R3.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6806630304">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>CONSOLIDATED CONDENSED STATEMENTS OF OPERATIONS - USD ($)<br> shares in Thousands, $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Apr. 30, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SalesRevenueNet', window );">Net sales and revenue</a></td>
<td class="nump">$ 113,143<span></span>
</td>
<td class="nump">$ 100,222<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CostOfGoodsAndServicesSold', window );">Cost of sales</a></td>
<td class="nump">100,654<span></span>
</td>
<td class="nump">91,800<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_GrossProfit', window );">Gross profit</a></td>
<td class="nump">12,489<span></span>
</td>
<td class="nump">8,422<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SellingGeneralAndAdministrativeExpense', window );">Selling, general and administrative expenses</a></td>
<td class="num">(5,402)<span></span>
</td>
<td class="num">(4,027)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeLossFromEquityMethodInvestments', window );">Equity in income of unconsolidated affiliates</a></td>
<td class="nump">700<span></span>
</td>
<td class="nump">233<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_GainLossOnSaleOfInvestments', window );">Gain on sale of investment</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">192<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InterestAndOtherIncome', window );">Interest and other income</a></td>
<td class="nump">215<span></span>
</td>
<td class="nump">160<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest', window );">Income before income taxes</a></td>
<td class="nump">8,002<span></span>
</td>
<td class="nump">4,980<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxExpenseBenefit', window );">Provision for income taxes</a></td>
<td class="num">(2,390)<span></span>
</td>
<td class="num">(1,514)<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProfitLoss', window );">Net income</a></td>
<td class="nump">5,612<span></span>
</td>
<td class="nump">3,466<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest', window );">Net income attributable to noncontrolling interests</a></td>
<td class="num">(1,068)<span></span>
</td>
<td class="num">(628)<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetIncomeLoss', window );">Net income attributable to REX common shareholders</a></td>
<td class="nump">$ 4,544<span></span>
</td>
<td class="nump">$ 2,838<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic', window );">Weighted average shares outstanding &#8211; basic (in Shares)</a></td>
<td class="nump">6,593<span></span>
</td>
<td class="nump">6,573<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EarningsPerShareBasic', window );">Basic net income per share attributable to REX common shareholders (in Dollars per share)</a></td>
<td class="nump">$ 0.69<span></span>
</td>
<td class="nump">$ 0.43<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding', window );">Weighted average shares outstanding &#8211; diluted (in Shares)</a></td>
<td class="nump">6,593<span></span>
</td>
<td class="nump">6,594<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EarningsPerShareDiluted', window );">Diluted net income per share attributable to REX common shareholders (in Dollars per share)</a></td>
<td class="nump">$ 0.69<span></span>
</td>
<td class="nump">$ 0.43<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CostOfGoodsAndServicesSold">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The aggregate costs related to goods produced and sold and services rendered by an entity during the reporting period. This excludes costs incurred during the reporting period related to financial services rendered and other revenue generating activities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.2(a),(d))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CostOfGoodsAndServicesSold</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EarningsPerShareBasic">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 55<br> -Paragraph 52<br> -URI http://asc.fasb.org/extlink&amp;oid=96948231&amp;loc=d3e4984-109258<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(19))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=96947427&amp;loc=d3e1252-109256<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(21))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 6: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(23))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EarningsPerShareBasic</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:perShareItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EarningsPerShareDiluted">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(19))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=96947427&amp;loc=d3e1252-109256<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(21))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(23))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EarningsPerShareDiluted</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:perShareItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_GainLossOnSaleOfInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The net realized gain (loss) on investments sold during the period, not including gains (losses) on securities separately or otherwise categorized as trading, available-for-sale, or held-to-maturity, which, for cash flow reporting, is a component of proceeds from investing activities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_GainLossOnSaleOfInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_GrossProfit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.1,2)<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_GrossProfit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 940<br> -SubTopic 20<br> -Section 25<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=68072869&amp;loc=d3e41242-110953<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(10))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(15))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(8))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeLossFromEquityMethodInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>This item represents the entity's proportionate share for the period of the net income (loss) of its investee (such as unconsolidated subsidiaries and joint ventures) to which the equity method of accounting is applied. This item includes income or expense related to stock-based compensation based on the investor's grant of stock to employees of an equity method investee.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(12))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(10))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=66022249&amp;loc=d3e33749-111570<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(13)(f))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeLossFromEquityMethodInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxExpenseBenefit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -Subparagraph (a),(b)<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32639-109319<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08.(h))<br> -URI http://asc.fasb.org/extlink&amp;oid=26873400&amp;loc=d3e23780-122690<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxExpenseBenefit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InterestAndOtherIncome">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of interest income and other income recognized during the period. Included in this element is interest derived from investments in debt securities, cash and cash equivalents, and other investments which reflect the time value of money or transactions in which the payments are for the use or forbearance of money and other income from ancillary business-related activities (that is, excluding major activities considered part of the normal operations of the business).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InterestAndOtherIncome</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetIncomeLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(22))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(18))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(20))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetIncomeLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of Net Income (Loss) attributable to noncontrolling interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 55<br> -Paragraph 4J<br> -URI http://asc.fasb.org/extlink&amp;oid=84234705&amp;loc=SL4591551-111686<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (a)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=84161450&amp;loc=SL4573702-111684<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetIncomeLossAttributableToNoncontrollingInterest</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProfitLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 55<br> -Paragraph 4K<br> -URI http://asc.fasb.org/extlink&amp;oid=84234705&amp;loc=SL4591552-111686<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 19<br> -URI http://asc.fasb.org/extlink&amp;oid=96868048&amp;loc=SL4569616-111683<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (c)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=84161450&amp;loc=SL4573702-111684<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 55<br> -Paragraph 4J<br> -URI http://asc.fasb.org/extlink&amp;oid=84234705&amp;loc=SL4591551-111686<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (a)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=84161450&amp;loc=SL4573702-111684<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProfitLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SalesRevenueNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Total revenue from sale of goods and services rendered during the reporting period, in the normal course of business, reduced by sales returns and allowances, and sales discounts.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.1)<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SalesRevenueNet</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SellingGeneralAndAdministrativeExpense">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The aggregate total costs related to selling a firm's product and services, as well as all other general and administrative expenses. Direct selling expenses (for example, credit, warranty, and advertising) are expenses that can be directly linked to the sale of specific products. Indirect selling expenses are expenses that cannot be directly linked to the sale of specific products, for example telephone expenses, Internet, and postal charges. General and administrative expenses include salaries of non-sales personnel, rent, utilities, communication, etc.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.4)<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section 30<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=68048583&amp;loc=d3e3636-108311<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SellingGeneralAndAdministrativeExpense</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 16<br> -URI http://asc.fasb.org/extlink&amp;oid=96947427&amp;loc=d3e1505-109256<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=96947427&amp;loc=d3e1448-109256<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_WeightedAverageNumberOfSharesOutstandingBasic</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>13
<FILENAME>R4.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6803332752">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>CONSOLIDATED CONDENSED STATEMENTS OF SHAREHOLDERS' EQUITY - USD ($)<br> shares in Thousands, $ in Thousands</strong></div></th>
<th class="th"><div>Common Stock [Member]</div></th>
<th class="th"><div>Treasury Stock [Member]</div></th>
<th class="th"><div>Additional Paid-in Capital [Member]</div></th>
<th class="th"><div>Retained Earnings [Member]</div></th>
<th class="th"><div>Noncontrolling Interest [Member]</div></th>
<th class="th"><div>Total</div></th>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Balance at Jan. 31, 2016</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (309,754)<span></span>
</td>
<td class="nump">$ 144,844<span></span>
</td>
<td class="nump">$ 475,874<span></span>
</td>
<td class="nump">$ 44,496<span></span>
</td>
<td class="nump">$ 355,759<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharesOutstanding', window );">Balance (in Shares) at Jan. 31, 2016</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,204<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProfitLoss', window );">Net income</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">2,838<span></span>
</td>
<td class="nump">628<span></span>
</td>
<td class="nump">3,466<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TreasuryStockValueAcquiredCostMethod', window );">Treasury stock acquired</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">$ (4,353)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(4,353)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TreasuryStockSharesAcquired', window );">Treasury stock acquired (in Shares)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">88<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensation', window );">Stock based compensation expense</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 3<span></span>
</td>
<td class="nump">12<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">15<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders', window );">Noncontrolling interests distribution and other</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(268)<span></span>
</td>
<td class="num">(268)<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Balance at Apr. 30, 2016</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (314,104)<span></span>
</td>
<td class="nump">144,856<span></span>
</td>
<td class="nump">478,712<span></span>
</td>
<td class="nump">44,856<span></span>
</td>
<td class="nump">354,619<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharesOutstanding', window );">Balance (in Shares) at Apr. 30, 2016</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,292<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Balance at Jan. 31, 2017</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (313,838)<span></span>
</td>
<td class="nump">145,767<span></span>
</td>
<td class="nump">508,207<span></span>
</td>
<td class="nump">47,839<span></span>
</td>
<td class="nump">388,274<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharesOutstanding', window );">Balance (in Shares) at Jan. 31, 2017</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,292<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProfitLoss', window );">Net income</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">4,544<span></span>
</td>
<td class="nump">1,068<span></span>
</td>
<td class="nump">5,612<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensation', window );">Stock based compensation expense</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 6<span></span>
</td>
<td class="nump">23<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">29<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Balance at Apr. 30, 2017</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (313,832)<span></span>
</td>
<td class="nump">$ 145,790<span></span>
</td>
<td class="nump">$ 512,751<span></span>
</td>
<td class="nump">$ 48,907<span></span>
</td>
<td class="nump">$ 393,915<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharesOutstanding', window );">Balance (in Shares) at Apr. 30, 2017</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,292<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Decrease in noncontrolling interest balance from payment of dividends or other distributions by the non-wholly owned subsidiary or partially owned entity, included in the consolidation of the parent entity, to the noncontrolling interest holders.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.3-04)<br> -URI http://asc.fasb.org/extlink&amp;oid=27012166&amp;loc=d3e187085-122770<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProfitLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 55<br> -Paragraph 4K<br> -URI http://asc.fasb.org/extlink&amp;oid=84234705&amp;loc=SL4591552-111686<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 19<br> -URI http://asc.fasb.org/extlink&amp;oid=96868048&amp;loc=SL4569616-111683<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (c)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=84161450&amp;loc=SL4573702-111684<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 55<br> -Paragraph 4J<br> -URI http://asc.fasb.org/extlink&amp;oid=84234705&amp;loc=SL4591551-111686<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (a)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=84161450&amp;loc=SL4573702-111684<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProfitLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensation">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The aggregate amount of noncash, equity-based employee remuneration. This may include the value of stock or unit options, amortization of restricted stock or units, and adjustment for officers' compensation. As noncash, this element is an add back when calculating net cash generated by operating activities using the indirect method.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensation</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SharesOutstanding">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of shares issued which are neither cancelled nor held in the treasury.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SharesOutstanding</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 55<br> -Paragraph 4I<br> -URI http://asc.fasb.org/extlink&amp;oid=84234705&amp;loc=SL4590271-111686<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 16<br> -URI http://asc.fasb.org/extlink&amp;oid=96868048&amp;loc=SL4568740-111683<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 15<br> -URI http://asc.fasb.org/extlink&amp;oid=96868048&amp;loc=SL4568447-111683<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_TreasuryStockSharesAcquired">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of shares that have been repurchased during the period and are being held in treasury.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.3-04)<br> -URI http://asc.fasb.org/extlink&amp;oid=27012166&amp;loc=d3e187085-122770<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(29))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=84159872&amp;loc=d3e21463-112644<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_TreasuryStockSharesAcquired</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_TreasuryStockValueAcquiredCostMethod">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=84159872&amp;loc=d3e21463-112644<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 30<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6405813&amp;loc=d3e23239-112655<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.3-04)<br> -URI http://asc.fasb.org/extlink&amp;oid=27012166&amp;loc=d3e187085-122770<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_TreasuryStockValueAcquiredCostMethod</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementEquityComponentsAxis=us-gaap_TreasuryStockMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementEquityComponentsAxis=us-gaap_TreasuryStockMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementEquityComponentsAxis=us-gaap_AdditionalPaidInCapitalMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementEquityComponentsAxis=us-gaap_AdditionalPaidInCapitalMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementEquityComponentsAxis=us-gaap_RetainedEarningsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementEquityComponentsAxis=us-gaap_RetainedEarningsMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementEquityComponentsAxis=us-gaap_NoncontrollingInterestMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementEquityComponentsAxis=us-gaap_NoncontrollingInterestMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>14
<FILENAME>R5.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6800669504">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>CONSOLIDATED CONDENSED STATEMENTS OF CASH FLOWS - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Apr. 30, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_CashFlowsFromOperatingActivitiesAbstract', window );"><strong>Cash flows from operating activities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProfitLoss', window );">Net income including noncontrolling interests</a></td>
<td class="nump">$ 5,612<span></span>
</td>
<td class="nump">$ 3,466<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract', window );"><strong>Adjustments to reconcile net income to net cash provided by (used in) operating activities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DepreciationDepletionAndAmortization', window );">Depreciation and amortization</a></td>
<td class="nump">4,934<span></span>
</td>
<td class="nump">4,812<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeLossFromEquityMethodInvestments', window );">Income from equity method investments</a></td>
<td class="num">(700)<span></span>
</td>
<td class="num">(233)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_GainLossOnInvestments', window );">Gain on sale of investment</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(192)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DeferredIncomeTaxExpenseBenefit', window );">Deferred income tax</a></td>
<td class="nump">3<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AllocatedShareBasedCompensationExpense', window );">Stock based compensation expense</a></td>
<td class="nump">196<span></span>
</td>
<td class="nump">15<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ChangesInAssetsAndLiabilitiesAbstract', window );"><strong>Changes in assets and liabilities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInAccountsReceivable', window );">Accounts receivable</a></td>
<td class="nump">2,705<span></span>
</td>
<td class="num">(1,833)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInInventories', window );">Inventories</a></td>
<td class="num">(3,370)<span></span>
</td>
<td class="num">(8,554)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInOtherOperatingAssets', window );">Other assets</a></td>
<td class="num">(30)<span></span>
</td>
<td class="nump">1,589<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInAccountsPayableTrade', window );">Accounts payable, trade</a></td>
<td class="num">(1,308)<span></span>
</td>
<td class="num">(2,284)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities', window );">Other liabilities</a></td>
<td class="nump">723<span></span>
</td>
<td class="num">(2,465)<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetCashProvidedByUsedInOperatingActivities', window );">Net cash provided by (used in) operating activities</a></td>
<td class="nump">8,765<span></span>
</td>
<td class="num">(5,679)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_CashFlowsFromInvestingActivitiesAbstract', window );"><strong>Cash flows from investing activities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment', window );">Capital expenditures</a></td>
<td class="num">(5,905)<span></span>
</td>
<td class="num">(4,474)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInRestrictedCash', window );">Restricted cash</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(466)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromSaleOfRestrictedInvestments', window );">Restricted investments and deposits</a></td>
<td class="nump">51<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromSaleOfLongtermInvestments', window );">Proceeds from sale of investment</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">2,275<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PaymentsForProceedsFromOtherInvestingActivities', window );">Other</a></td>
<td class="nump">6<span></span>
</td>
<td class="nump">6<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetCashProvidedByUsedInInvestingActivities', window );">Net cash used in investing activities</a></td>
<td class="num">(5,848)<span></span>
</td>
<td class="num">(2,659)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_CashFlowsFromFinancingActivitiesAbstract', window );"><strong>Cash flows from financing activities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PaymentsToMinorityShareholders', window );">Purchase of stock from noncontrolling interests holders</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(268)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PaymentsForRepurchaseOfCommonStock', window );">Treasury stock acquired</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(4,709)<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetCashProvidedByUsedInFinancingActivities', window );">Net cash used in financing activities</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(4,977)<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease', window );">Net increase (decrease) in cash and cash equivalents</a></td>
<td class="nump">2,917<span></span>
</td>
<td class="num">(13,315)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CashAndCashEquivalentsAtCarryingValue', window );">Cash and cash equivalents, beginning of period</a></td>
<td class="nump">188,576<span></span>
</td>
<td class="nump">135,765<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CashAndCashEquivalentsAtCarryingValue', window );">Cash and cash equivalents, end of period</a></td>
<td class="nump">191,493<span></span>
</td>
<td class="nump">122,450<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_NonCashInvestingActivitiesAccruedCapitalExpenditures', window );">Non cash investing activities &#8211; Accrued capital expenditures</a></td>
<td class="nump">1,284<span></span>
</td>
<td class="nump">$ 634<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_NonCashFinancingActivitiesEquityAwardsIssued', window );">Non cash financing activities &#8211; Equity awards accrued</a></td>
<td class="nump">$ 167<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByUsedInOperatingActivitiesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_CashFlowsFromFinancingActivitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_CashFlowsFromFinancingActivitiesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_CashFlowsFromInvestingActivitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_CashFlowsFromInvestingActivitiesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_CashFlowsFromOperatingActivitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_CashFlowsFromOperatingActivitiesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ChangesInAssetsAndLiabilitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ChangesInAssetsAndLiabilitiesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_NonCashFinancingActivitiesEquityAwardsIssued">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_NonCashFinancingActivitiesEquityAwardsIssued</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_NonCashInvestingActivitiesAccruedCapitalExpenditures">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>non cash payments to acquire property, plant and equipment</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_NonCashInvestingActivitiesAccruedCapitalExpenditures</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AllocatedShareBasedCompensationExpense">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Represents the expense recognized during the period arising from equity-based compensation arrangements (for example, shares of stock, unit, stock options or other equity instruments) with employees, directors and certain consultants qualifying for treatment as employees.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB Topic 14.F)<br> -URI http://asc.fasb.org/extlink&amp;oid=27013229&amp;loc=d3e301413-122809<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5047-113901<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (h)(1)(i)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AllocatedShareBasedCompensationExpense</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CashAndCashEquivalentsAtCarryingValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6676-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3044-108585<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.1)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CashAndCashEquivalentsAtCarryingValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of increase (decrease) in cash and cash equivalents. Cash and cash equivalents are the amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Includes effect from exchange rate changes.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3521-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 830<br> -SubTopic 230<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=98513438&amp;loc=d3e33268-110906<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DeferredIncomeTaxExpenseBenefit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32639-109319<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(h))<br> -URI http://asc.fasb.org/extlink&amp;oid=26873400&amp;loc=d3e23780-122690<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB Topic 6.I.7)<br> -URI http://asc.fasb.org/extlink&amp;oid=34349781&amp;loc=d3e330036-122817<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DeferredIncomeTaxExpenseBenefit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DepreciationDepletionAndAmortization">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DepreciationDepletionAndAmortization</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_GainLossOnInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>This item represents the net total realized and unrealized gain (loss) included in earnings for the period as a result of selling or holding marketable securities categorized as trading, available-for-sale, or held-to-maturity, including the unrealized holding gain (loss) of held-to-maturity securities transferred to the trading security category and the cumulative unrealized gain (loss) which was included in other comprehensive income (a separate component of shareholders' equity) for available-for-sale securities transferred to trading securities during the period. Additionally, this item would include any gains (losses) realized during the period from the sale of investments accounted for under the cost method of accounting and losses recognized for other than temporary impairments (OTTI) of the subject investments.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 320<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -Subparagraph (c)-(e)<br> -URI http://asc.fasb.org/extlink&amp;oid=82897076&amp;loc=d3e27357-111563<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.7(c),9(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 320<br> -SubTopic 10<br> -Section 50<br> -Paragraph 10<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=82897076&amp;loc=d3e27405-111563<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_GainLossOnInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeLossFromEquityMethodInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>This item represents the entity's proportionate share for the period of the net income (loss) of its investee (such as unconsolidated subsidiaries and joint ventures) to which the equity method of accounting is applied. This item includes income or expense related to stock-based compensation based on the investor's grant of stock to employees of an equity method investee.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(12))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(10))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=66022249&amp;loc=d3e33749-111570<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(13)(f))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeLossFromEquityMethodInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInAccountsPayableTrade">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Change in recurring obligations of a business that arise from the acquisition of merchandise, materials, supplies and services used in the production and sale of goods and services.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInAccountsPayableTrade</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInAccountsReceivable">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInAccountsReceivable</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInInventories">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The increase (decrease) during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInInventories</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInOtherOperatingAssets">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of increase (decrease) in operating assets classified as other.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInOtherOperatingAssets</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of increase (decrease) in operating liabilities classified as other.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInOtherOperatingLiabilities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInRestrictedCash">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The net cash inflow or outflow for the increase (decrease) associated with funds that are not available for withdrawal or use (such as funds held in escrow) and are associated with underlying transactions that are classified as investing activities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 13<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3213-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 12<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3179-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInRestrictedCash</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetCashProvidedByUsedInFinancingActivities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3521-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 26<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3574-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetCashProvidedByUsedInFinancingActivities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetCashProvidedByUsedInInvestingActivities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3521-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 26<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3574-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetCashProvidedByUsedInInvestingActivities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetCashProvidedByUsedInOperatingActivities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3521-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 25<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3536-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetCashProvidedByUsedInOperatingActivities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PaymentsForProceedsFromOtherInvestingActivities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash (inflow) outflow from investing activities classified as other.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3098-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3095-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PaymentsForProceedsFromOtherInvestingActivities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PaymentsForRepurchaseOfCommonStock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cash outflow to reacquire common stock during the period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 15<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3291-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PaymentsForRepurchaseOfCommonStock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 13<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3213-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PaymentsToAcquirePropertyPlantAndEquipment</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PaymentsToMinorityShareholders">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash outflow to a noncontrolling interest. Includes, but not limited to, reduction of noncontrolling interest ownership. Excludes dividends paid to the noncontrolling interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 15<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3291-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PaymentsToMinorityShareholders</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProceedsFromSaleOfLongtermInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cash inflow from sales of all investments, including securities and other assets, having ready marketability and intended by management to be liquidated, if necessary, beyond the current operating cycle.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProceedsFromSaleOfLongtermInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProceedsFromSaleOfRestrictedInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cash inflow associated with the sale of investments that are pledged or subject to withdrawal restrictions during the period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 12<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3179-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProceedsFromSaleOfRestrictedInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProfitLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 55<br> -Paragraph 4K<br> -URI http://asc.fasb.org/extlink&amp;oid=84234705&amp;loc=SL4591552-111686<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 19<br> -URI http://asc.fasb.org/extlink&amp;oid=96868048&amp;loc=SL4569616-111683<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (c)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=84161450&amp;loc=SL4573702-111684<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 55<br> -Paragraph 4J<br> -URI http://asc.fasb.org/extlink&amp;oid=84234705&amp;loc=SL4591551-111686<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (a)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=84161450&amp;loc=SL4573702-111684<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProfitLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>15
<FILENAME>R6.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6796508544">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>CONSOLIDATED CONDENSED FINANCIAL STATEMENTS<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockAbstract', window );"><strong>Disclosure Text Block [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock', window );">Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0 99pt 0 0"><b>Note 1. <i>Consolidated Condensed Financial Statements</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The consolidated condensed financial statements
included in this report have been prepared by the Company, without audit, pursuant to the rules and regulations of the Securities
and Exchange Commission and include, in the opinion of management, all adjustments necessary to state fairly the information set
forth therein. Any such adjustments were of a normal recurring nature. Certain information and footnote disclosures normally included
in financial statements prepared in accordance with accounting principles generally accepted in the United States of America have
been omitted pursuant to such rules and regulations, although the Company believes that the disclosures are adequate to make the
information presented not misleading. Financial information as of January 31, 2017 included in these financial statements has been
derived from the audited consolidated financial statements included in the Company&#x2019;s Annual Report on Form 10-K for the year
ended January 31, 2017 (fiscal year 2016). It is suggested that these unaudited consolidated condensed financial statements be
read in conjunction with the consolidated financial statements and the notes thereto included in the Company&#x2019;s Annual Report
on Form 10-K for the year ended January 31, 2017. The results of operations for the interim periods are not necessarily indicative
of the results to be expected for the year.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Basis of Consolidation &#x2013; The consolidated
condensed financial statements in this report include the operating results and financial position of REX American Resources Corporation
and its wholly and majority owned subsidiaries. All intercompany balances and transactions have been eliminated. The Company includes
the results of operations of One Earth Energy, LLC (&#x201c;One Earth&#x201d;) in its Consolidated Condensed Statements of Operations
on a delayed basis of one month.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Nature of Operations &#x2013; The Company operates
in one reportable segment, alternative energy, and has equity investments in three ethanol limited liability companies, two of
which are majority ownership interests.</p><br/><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -URI http://asc.fasb.org/topic&amp;trid=2122149<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -URI http://asc.fasb.org/topic&amp;trid=2197479<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>16
<FILENAME>R7.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6789127104">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>ACCOUNTING POLICIES<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountingPoliciesAbstract', window );"><strong>Accounting Policies [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SignificantAccountingPoliciesTextBlock', window );">Significant Accounting Policies [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Note 2. <i>Accounting Policies</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The interim consolidated condensed financial
statements have been prepared in accordance with the accounting policies described in the notes to the consolidated financial statements
included in the Company&#x2019;s fiscal year 2016 Annual Report on Form 10-K. While management believes that the procedures followed
in the preparation of interim financial information are reasonable, the accuracy of some estimated amounts is dependent upon facts
that will exist or calculations that will be accomplished at fiscal year-end. Examples of such estimates include accrued liabilities,
such as management bonuses, and the provision for income taxes. Any adjustments pursuant to such estimates during the quarter were
of a normal recurring nature. Actual results could differ from those estimates.</p><br/><p style="font: bold 10pt Times New Roman, Times, Serif; margin: 0">Revenue Recognition</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company recognizes sales from the production
of ethanol, distillers grains and non-food grade corn oil when title transfers to customers, generally upon shipment from the ethanol
plant or upon loading of the rail car used to transport the products.</p><br/><p style="font: bold 10pt Times New Roman, Times, Serif; margin: 0">Cost of Sales</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Cost of sales includes depreciation, costs of
raw materials, inbound freight charges, purchasing and receiving costs, inspection costs, other distribution expenses, warehousing
costs, plant management, certain compensations costs, and general facility overhead charges.</p><br/><p style="font: bold 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 0pt">Selling, General and Administrative Expenses</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company includes non-production related costs
such as professional fees, selling charges and certain payroll in selling, general and administrative expenses.</p><br/><p style="margin: 0; font: bold 10pt Times New Roman, Times, Serif">Financial Instruments</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Certain of the forward grain purchase and ethanol,
distillers grains and non-food grade corn oil sale contracts are accounted for under the &#x201c;normal purchases and normal sales&#x201d;
scope exemption of Accounting Standards Codification (&#x201c;ASC&#x201d;) 815, &#x201c;<i>Derivatives and Hedging</i>&#x201d; because
these arrangements are for purchases of grain that will be delivered in quantities expected to be used by the Company and sales
of ethanol, distillers grains and non-food grade corn oil quantities expected to be produced by the Company over a reasonable period
of time in the normal course of business. During fiscal year 2015, the Company began to carry a portion of its forward grain purchase
contracts at fair value.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company uses derivative financial instruments
(exchange-traded futures contracts) to manage a portion of the risk associated with changes in commodity prices, primarily related
to corn. The Company monitors and manages this exposure as part of its overall risk management policy. As such, the Company seeks
to reduce the potentially adverse effects that the volatility of these markets may have on its operating results. The Company may
take hedging positions in these commodities as one way to mitigate risk. While the Company attempts to link its hedging activities
to purchase and sales activities, there are situations in which these hedging activities can themselves result in losses. The Company
does not hold or issue derivative financial instruments for trading or speculative purposes. The changes in fair value of these
derivative financial instruments are recognized in current period earnings as the Company does not use hedge accounting.</p><br/><p style="font: bold 10pt Times New Roman, Times, Serif; margin: 0">Income Taxes</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company applies an effective tax rate
to interim periods that is consistent with the Company&#x2019;s estimated annual tax rate as adjusted for discrete items
impacting the interim periods. The Company provides for deferred tax liabilities and assets for the future tax consequences
attributable to differences between the financial statement carrying amounts of existing assets and liabilities and their
respective tax basis and operating loss and tax credit carryforwards. The Company provides for a valuation allowance if,
based on the weight of available evidence, it is more likely than not that some or all of the deferred tax assets will not be
realized. The Company paid no income taxes during the three months ended April 30, 2017 and 2016. The Company received no
refunds of income taxes during the three months ended April 30, 2017 and 2016.<br />
</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">As of April 30, 2017 and January 31, 2017, total
unrecognized tax benefits were approximately $2,004,000 and $1,875,000, respectively. Accrued penalties and interest were approximately
$238,000 and $221,000 at April 30, 2017 and January 31, 2017, respectively. If the Company were to prevail on all unrecognized
tax benefits recorded, the provision for income taxes would be reduced by approximately $2,004,000. In addition, the impact of
penalties and interest would also benefit the effective tax rate. Interest and penalties associated with unrecognized tax benefits
are recorded within income tax expense. On a quarterly basis, the Company accrues for the effects of open uncertain tax positions
and the related potential penalties and interest.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Inventories</b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Inventories are carried at the lower of cost
or market on a first-in, first-out basis. Inventory includes direct production costs and certain overhead costs such as depreciation,
property taxes and utilities related to producing ethanol and related co-products. Inventory is permanently written down for instances
when cost exceeds estimated net realizable value; such write-downs are based primarily upon commodity prices as the market value
of inventory is often dependent upon changes in commodity prices. There were no significant permanent write-downs of inventory
at April 30, 2017 and January 31, 2017. Fluctuations in the write-down of inventory generally relate to the levels and composition
of such inventory at a given point in time. The components of inventory are as follows as of the dates presented (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><font style="font: 10pt Times New Roman, Times, Serif">April 30, <br />
2017</font></td><td style="text-align: center; padding-bottom: 1px">&#160;</td><td style="text-align: center; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><p style="font: 10pt Times New Roman, Times, Serif; margin-top: 0; margin-bottom: 0; text-align: center">January 31,<br />
</p>
<p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: center">2017</p>
</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 59%; text-align: left">Ethanol and other finished goods</td><td style="width: 8%">&#160;</td>
    <td style="width: 6%; text-align: left">$</td><td style="width: 7%; text-align: right">3,159</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 5%">&#160;</td>
    <td style="width: 6%; text-align: left">$</td><td style="width: 6%; text-align: right">5,262</td><td style="width: 2%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Work in process</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,487</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,359</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Grain and other raw materials</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">14,781</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">9,436</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">20,427</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">17,057</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Property and Equipment</b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Property and equipment is recorded at cost. Depreciation
is computed using the straight-line method. Estimated useful lives are 15 to 40 years for buildings and improvements, and 2 to
20 years for fixtures and equipment.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">In accordance with ASC 360-10 &#x201c;<i>Impairment
or Disposal of Long-Lived Assets</i>&#x201d;, the carrying value of long-lived assets is assessed for recoverability by management
when changes in circumstances indicate that the carrying amount may not be recoverable, based on an analysis of undiscounted future
expected cash flows from the use and ultimate disposition of the asset. There were no impairment charges in the first three months
of fiscal years 2017 or 2016. Impairment charges have historically resulted from the Company&#x2019;s management performing cash
flow analysis and have represented management&#x2019;s estimate of the excess of net book value over fair value.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company tests for recoverability of an asset
group by comparing its carrying amount to its estimated undiscounted future cash flows. If the carrying amount of an asset group
exceeds its estimated undiscounted future cash flows, the Company recognizes an impairment charge for the amount by which the asset
group&#x2019;s carrying amount exceeds its fair value, if any. The Company generally determines the fair value of the asset group
using a discounted cash flow model based on market participant assumptions (for income producing asset groups) or by obtaining
appraisals based on the market approach and comparable market transactions (for non-income producing asset groups).</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Investments</b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The method of accounting applied to long-term
investments, whether consolidated, equity or cost, involves an evaluation of the significant terms of each investment that explicitly
grant or suggest evidence of control or influence over the operations of the investee and also includes the identification of any
variable interests in which the Company is the primary beneficiary. The Company consolidates the results of two majority owned
subsidiaries, One Earth and NuGen. The results of One Earth are included on a delayed basis of one month lag as One Earth has a
fiscal year end of December 31. NuGen has the same fiscal year as the parent, and therefore, there is no lag in reporting the results
of NuGen. The Company accounts for investments in a limited liability company in which it has a less than 20% ownership interest,
using the equity method of accounting when the factors discussed in ASC 323, &#x201c;<i>Investments-Equity Method and Joint Ventures</i>&#x201d;
are met. The excess of the carrying value over the underlying equity in the net assets of equity method investees is allocated
to specific assets and liabilities. Any unallocated excess is treated as goodwill and is recorded as a component of the carrying
value of the equity method investee. Investments in businesses that the Company does not control but for which it has the ability
to exercise significant influence over operating and financial matters are accounted for using the equity method. The Company accounts
for its investment in Big River Resources, LLC (&#x201c;Big River&#x201d;) using the equity method of accounting and includes the
results on a delayed basis of one month as Big River has a fiscal year end of December 31.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company periodically evaluates its investments
for impairment due to declines in market value considered to be other than temporary. Such impairment evaluations include general
economic and company-specific evaluations. If the Company determines that a decline in market value is other than temporary, then
a charge to earnings is recorded in the Consolidated Condensed Statements of Operations and a new cost basis in the investment
is established.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Comprehensive Income</b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company has no components of other comprehensive
income, and therefore, comprehensive income equals net income.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Accounting Changes and Recently Issued Accounting Standards</b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">In March 2016, the Financial Accounting Standards
Board (&#x201c;FASB&#x201d;) issued Accounting Standards Update (&#x201c;ASU&#x201d;) 2016-09, &#x201c;<i>Improvements to Employee Share-Based
Payment Accounting</i>&#x201d; (&#x201c;ASU 2016-09&#x201d;). This standard simplifies the accounting treatment for excess tax benefits
and deficiencies, forfeitures, and cash flow considerations related to share-based compensation. The Company adopted this standard
February 1, 2017. The adoption of ASU 2016-09 did not impact the Company&#x2019;s consolidated financial statements and related
disclosures.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">In February 2016, the FASB issued ASU 2016-02
&#x201c;<i>Leases</i>&#x201d;. This standard requires that virtually all leases will be recognized by lessees on their balance sheet
as a right-of-use asset and a corresponding lease liability, including leases currently accounted for as operating leases. The
Company will be required to adopt this standard effective February 1, 2019. The Company has not completed its analysis of adopting
this guidance but it does expect the adoption of this guidance to have a material impact on its Consolidated Balance Sheet related
to the right to use asset and lease obligation liability to be recognized upon adoption of this guidance. The related leases are
currently accounted for as operating leases (see Note 3).</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company will be required to adopt the amended
guidance in ASC Topic 606 &#x201c;<i>Revenue from Contracts with Customers</i>&#x201d;, which requires revenue recognition to reflect
the transfer of promised goods or services to customers and replaces existing revenue recognition guidance. The updated standard
permits the use of either the retrospective or cumulative effect transition method. The FASB had deferred the required adoption
of the amended guidance by one year, from February 1, 2017 to February 1, 2018. The Company has not completed its analysis of adopting
this guidance but it does not expect the adoption of this guidance to have a material impact on its consolidated financial statements
with respect to measurement and recognition of revenue. The Company is still evaluating the impact of adopting this guidance on
disclosures in the consolidated financial statements.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">In November 2015, the FASB issued ASU 2015-17
&#x201c;<i>Balance Sheet Classification of Deferred Taxes</i>&#x201d;, (&#x201c;ASU 2015-17&#x201d;) which requires that for a particular
tax-paying component of an entity and within a particular tax jurisdiction, all deferred tax liabilities and assets shall be offset
and presented as a single noncurrent amount. The Company prospectively adopted the amended guidance effective February 1, 2017.
Prior periods were not retrospectively adjusted. The adoption of ASU 2015-17 did not affect net income attributable to REX common
shareholders or retained earnings in the presented periods.</p><br/><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountingPoliciesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountingPoliciesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SignificantAccountingPoliciesTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for all significant accounting policies of the reporting entity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -URI http://asc.fasb.org/topic&amp;trid=2122369<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SignificantAccountingPoliciesTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>17
<FILENAME>R8.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6796559472">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>LEASES<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LeasesAbstract', window );"><strong>Leases [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LeasesOfLessorDisclosureTextBlock', window );">Leases of Lessor Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Note 3. <i>Leases</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">At April 30, 2017, the Company has lease agreements,
as lessee, for rail cars and a natural gas pipeline. All of the leases are accounted for as operating leases. The following table
is a summary of future minimum rentals on such leases (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 40%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="text-align: left; border-bottom: Black 1px solid">Years Ended January 31,</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">Minimum<br />
    Rentals</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 66%; text-align: left">Remainder of 2018</td><td style="width: 10%">&#160;</td>
    <td style="width: 12%; text-align: left">$</td><td style="width: 10%; text-align: right">5,486</td><td style="width: 2%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">2019</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">6,910</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">2020</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">5,379</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">2021</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,580</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">2022</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,948</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px; text-align: left">Thereafter</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">1,622</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px; text-align: left">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">25,925</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><br/><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LeasesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LeasesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LeasesOfLessorDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for lessor entity's leasing arrangements for operating, capital and leveraged leases.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -URI http://asc.fasb.org/topic&amp;trid=2208923<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LeasesOfLessorDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>18
<FILENAME>R9.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6607124672">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>FAIR VALUE<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueDisclosuresAbstract', window );"><strong>Fair Value Disclosures [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueDisclosuresTextBlock', window );">Fair Value Disclosures [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Note 4. <i>Fair Value</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company applies ASC 820, &#x201c;<i>Fair Value
Measurements and Disclosures&#x201d;</i>, (&#x201c;ASC 820&#x201d;) which provides a framework for measuring fair value under accounting
principles generally accepted in the United States of America. This accounting standard defines fair value as the exchange price
that would be received for an asset or paid to transfer a liability (an exit price) in the principal or most advantageous market
for the asset or liability in an orderly transaction between market participants on the measurement date.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company determines the fair market values
of its financial instruments based on the fair value hierarchy established by ASC 820 which requires an entity to maximize the
use of observable inputs and minimize the use of unobservable inputs when measuring fair value. The standard describes three levels
of inputs that may be used to measure fair values which are provided below. The Company carries certain cash equivalents, investments
and derivative instruments at fair value.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The fair values of derivative assets and liabilities
traded in the over-the-counter market are determined using quantitative models that require the use of multiple market inputs including
interest rates, prices and indices to generate pricing and volatility factors, which are used to value the position. The predominance
of market inputs are actively quoted and can be validated through external sources, including brokers, market transactions and
third-party pricing services. Estimation risk is greater for derivative asset and liability positions that are either option-based
or have longer maturity dates where observable market inputs are less readily available or are unobservable, in which case interest
rate, price or index scenarios are extrapolated in order to determine the fair value. The fair values of derivative assets and
liabilities include adjustments for market liquidity, counterparty credit quality, the Company&#x2019;s own credit standing and
other specific factors, where appropriate. The fair values of property and equipment are determined by using various models that
discount future expected cash flows.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">To ensure the prudent application of estimates
and management judgment in determining the fair value of derivative assets and liabilities, investments and property and equipment,
various processes and controls have been adopted, which include: (i) model validation that requires a review and approval for pricing,
financial statement fair value determination and risk quantification; and (ii) periodic review and substantiation of profit and
loss reporting for all derivative instruments. Financial assets and liabilities measured at fair value on a recurring basis at
April 30, 2017 are summarized below (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="text-align: center; vertical-align: bottom; padding-bottom: 1px">&#160;</td><td style="text-align: center; vertical-align: bottom; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; vertical-align: bottom; border-bottom: Black 1px solid">Level 1</td><td style="text-align: center; vertical-align: bottom; padding-bottom: 1px">&#160;</td><td style="text-align: center; vertical-align: bottom; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; vertical-align: bottom; border-bottom: Black 1px solid">Level 2</td><td style="text-align: center; vertical-align: bottom; padding-bottom: 1px">&#160;</td><td style="text-align: center; vertical-align: bottom; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; vertical-align: bottom; border-bottom: Black 1px solid">Level 3</td><td style="text-align: center; vertical-align: bottom; padding-bottom: 1px">&#160;</td><td style="text-align: center; vertical-align: bottom; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; vertical-align: bottom; border-bottom: Black 1px solid"><p style="margin-top: 0; margin-bottom: 0; text-align: center">Fair Value</p>
<p style="margin-top: 0; margin-bottom: 0; text-align: center"></p>
</td><td style="text-align: center; vertical-align: bottom; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center; vertical-align: bottom">&#160;</td><td style="text-align: center; vertical-align: bottom">&#160;</td>
    <td colspan="2" style="text-align: center; vertical-align: bottom">&#160;</td><td style="text-align: center; vertical-align: bottom">&#160;</td><td style="text-align: center; vertical-align: bottom">&#160;</td>
    <td colspan="2" style="text-align: center; vertical-align: bottom">&#160;</td><td style="text-align: center; vertical-align: bottom">&#160;</td><td style="text-align: center; vertical-align: bottom">&#160;</td>
    <td colspan="2" style="text-align: center; vertical-align: bottom">&#160;</td><td style="text-align: center; vertical-align: bottom">&#160;</td><td style="text-align: center; vertical-align: bottom">&#160;</td>
    <td colspan="2" style="text-align: center; vertical-align: bottom">&#160;</td><td style="text-align: center; vertical-align: bottom">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: left">Commodity futures (1)</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">&#x2014;</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">66</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">&#x2014;</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">66</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Investment in cooperative (2)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">333</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">333</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Total assets</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">&#x2014;</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">66</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">333</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">399</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Forward purchase contract liability (3)</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">&#x2014;</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">413</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">&#x2014;</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">413</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Financial assets and liabilities measured at
fair value on a recurring basis at January 31, 2017 are summarized below (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Level 1</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Level 2</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Level 3</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Fair Value</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: left">Commodity futures (1)</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">&#x2014;</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">45</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">&#x2014;</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">45</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Forward purchase contract asset (4)</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">163</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">163</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Investment in cooperative (2)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; padding-bottom: 1px; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">333</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">333</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total assets</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">&#x2014;</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">208</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">333</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">541</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Forward purchase contract liability (3)</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">&#x2014;</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">136</td><td style="text-align: left; padding-bottom: 3px"></td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">&#x2014;</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">136</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">(1) Commodity futures are included in &#x201c;Prepaid
expenses and other current assets&#x201d; on the accompanying Consolidated Condensed Balance Sheets.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">(2) The investment in cooperative is included
in &#x201c;Other assets&#x201d; on the accompanying Consolidated Condensed Balance Sheets.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">(3) The forward purchase contract liability is
  included in &#x201c;Accrued expenses and other current liabilities&#x201d; on the accompanying Consolidated Condensed Balance Sheets.
</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">(4) The forward purchase contract asset is included
in &#x201c;Prepaid expenses and other current assets on the accompanying Consolidated Condensed Balance Sheets.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company determined the fair value of the
investment in cooperative by using a discounted cash flow analysis on the expected cash flows. Inputs used in the analysis include
the face value of the allocated equity amount, the projected term for repayment based upon a historical trend, and a risk adjusted
discount rate based on the expected compensation participants would demand because of the uncertainty of the future cash flows.
The inherent risk and uncertainty associated with unobservable inputs could have a significant effect on the actual fair value
of the investment.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">There were no assets measured at fair value on
a non-recurring basis at April 30, 2017 or January 31, 2017.</p><br/><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FairValueDisclosuresAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FairValueDisclosuresAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FairValueDisclosuresTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 820<br> -URI http://asc.fasb.org/topic&amp;trid=2155941<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FairValueDisclosuresTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>19
<FILENAME>R10.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6796559472">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>PROPERTY AND EQUIPMENT<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentAbstract', window );"><strong>Property, Plant and Equipment [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock', window );">Property, Plant and Equipment Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Note 5. &#160;<i>Property and Equipment</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The components of property and equipment are
as follows for the periods presented (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">April 30,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 72%; text-align: left">Land and improvements</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">20,960</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">20,951</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Buildings and improvements</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">23,237</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">23,203</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Machinery, equipment and fixtures</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">256,577</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">255,348</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Construction in progress</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">6,968</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">1,046</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">307,742</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">300,548</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Less:&#160;&#160;accumulated depreciation</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">(123,068</td><td style="text-align: left; padding-bottom: 1px">)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">(117,787</td><td style="text-align: left; padding-bottom: 1px">)</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">184,674</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">182,761</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><br/><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for long-lived, physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, accounting policies and methodology, roll forwards, depreciation, depletion and amortization expense, including composite depreciation, accumulated depreciation, depletion and amortization expense, useful lives and method used, income statement disclosures, assets held for sale and public utility disclosures.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -URI http://asc.fasb.org/topic&amp;trid=2155823<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>20
<FILENAME>R11.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6622160864">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>OTHER ASSETS<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockSupplementAbstract', window );"><strong>Disclosure Text Block Supplement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherAssetsDisclosureTextBlock', window );">Other Assets Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Note 6. &#160;<i>Other Assets</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The components of other assets are as follows
for the periods presented (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">April 30,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 72%; text-align: left">Real estate taxes refundable</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">5,925</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">5,923</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td>Deposits</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">105</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">155</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 1px">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">747</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">835</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">6,777</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">6,913</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt; text-align: justify">Real estate taxes refundable represent amounts
due One Earth associated with refunds of previously paid taxes in connection with a tax increment financing arrangement with local
taxing authorities. Deposits are with utility and other vendors.</p><br/><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockSupplementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockSupplementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherAssetsDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for other assets. This disclosure includes other current assets and other noncurrent assets.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherAssetsDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>21
<FILENAME>R12.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6796561536">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockSupplementAbstract', window );"><strong>Disclosure Text Block Supplement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock', window );">Accounts Payable, Accrued Liabilities, and Other Liabilities Disclosure, Current [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Note 7. <i>&#160;Accrued Expenses and Other Current Liabilities</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt; text-align: justify">The components of accrued expenses and other
current liabilities are as follows for the periods presented (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">April 30,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 72%; text-align: left">Accrued utility charges</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">2,003</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">2,414</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Accrued payroll and related items</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,031</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,279</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Accrued real estate taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,868</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,716</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Accrued income taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,363</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,120</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 1px">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">2,996</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">1,819</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">14,261</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">13,348</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><br/><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for accounts payable, accrued expenses, and other liabilities that are classified as current at the end of the reporting period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockSupplementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockSupplementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>22
<FILENAME>R13.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6622160864">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>REVOLVING LINES OF CREDIT<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DebtDisclosureAbstract', window );"><strong>Debt Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DebtDisclosureTextBlock', window );">Debt Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Note 8. &#160;<i>Revolving Lines of Credit</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Effective April 1, 2016, One Earth and NuGen
each entered into $10.0 million revolving loan facilities that matured April 1, 2017. Neither One Earth nor NuGen had outstanding
borrowings on the revolving loans during the three months ended April 30, 2017 and 2016.</p><br/><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DebtDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DebtDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DebtDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -URI http://asc.fasb.org/topic&amp;trid=2208564<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DebtDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>23
<FILENAME>R14.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6616081440">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>DERIVATIVE FINANCIAL INSTRUMENTS<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockSupplementAbstract', window );"><strong>Disclosure Text Block Supplement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FinancialInstrumentsDisclosureTextBlock', window );">Financial Instruments Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Note 9. <i>Derivative Financial Instruments</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company is exposed to various market risks,
including changes in commodity prices (raw materials and finished goods). To manage risks associated with the volatility of these
natural business exposures, the Company enters into commodity agreements and forward purchase (corn) and sale (ethanol, distillers
grains and non-food grade corn oil) contracts. The Company does not purchase or sell derivative financial instruments for trading
or speculative purposes. The Company does not purchase or sell derivative financial instruments for which a lack of marketplace
quotations would require the use of fair value estimation techniques.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The following table provides information about
the fair values of the Company&#x2019;s derivative financial instruments and the line items on the Consolidated Condensed Balance
Sheets in which the fair values are reflected (in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 90%; font: 10pt Times New Roman, Times, Serif; margin-left: 36pt">
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">Asset Derivatives <br /> Fair Value</td><td>&#160;</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">Liability Derivatives <br /> Fair Value</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">April 30,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">April 30,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 53%; text-align: left">Commodity futures (1)</td><td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">66</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">45</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">&#x2014;</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">&#x2014;</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Forward purchase contracts (2)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">163</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">413</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">136</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">66</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">208</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">413</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">136</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0 0 0 36pt; text-align: justify">(1) Commodity futures are included in prepaid expenses and other
current assets. These contracts are short/sell positions for approximately 0.9 million and 0.7 million bushels of corn at April
30, 2017 and January 31, 2017, respectively.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0 0 0 36pt; text-align: justify">(2) Forward purchase contracts assets are included in prepaid expenses
and other current assets while forward purchase contracts liabilities are included in accrued expenses and other current liabilities.
These contracts are for purchases of approximately 10.8 million and 5.3 million bushels of corn at April 30, 2017 and January 31,
2017, respectively.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">As of April 30, 2017, all of the derivative financial
instruments held by the Company were subject to enforceable master netting arrangements. The Company&#x2019;s accounting policy
is to offset positions amounts owed or owing with the same counterparty. As of April 30, 2017, the gross positions of the enforceable
master netting agreements are not significantly different from the net positions presented in the table above. Depending on the
amount of an unrealized loss on a derivative contract held by the Company, the counterparty may require collateral to secure the
Company&#x2019;s derivative contract position. As of April 30, 2017, the Company was
required to maintain collateral with the counterparty in the amount of approximately $130,000 to secure the Company&#x2019;s derivative
liability position.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">See Note 4 which contains fair value information
related to derivative financial instruments.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Gains of approximately $124,000 and $488,000
for the first quarters of fiscal years 2017 and 2016, respectively, on the Company&#x2019;s derivative financial instruments were
included in cost of sales on the Consolidated Condensed Statements of Operations.</p><br/><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockSupplementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockSupplementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FinancialInstrumentsDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for financial instruments. This disclosure includes, but is not limited to, fair value measurements of short and long term marketable securities, international currencies forward contracts, and auction rate securities. Financial instruments may include hedging and non-hedging currency exchange instruments, derivatives, securitizations and securities available for sale at fair value. Also included are investment results, realized and unrealized gains and losses as well as impairments and risk management disclosures.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FinancialInstrumentsDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>24
<FILENAME>R15.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6742388816">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>INVESTMENTS<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_invest_InvestmentsScheduleAbstract', window );"><strong>Investments Schedule [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_invest_InvestmentTextBlock', window );">Investment [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Note 10. &#160;<i>Investments </i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The following table summarizes the equity method
investment at April 30, 2017 and January 31, 2017 (dollars in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="border-bottom: Black 1px solid">Entity</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="border-bottom: Black 1px solid; text-align: right">Ownership Percentage</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="border-bottom: Black 1px solid; text-align: right">Carrying Amount &#160;April 30, 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="border-bottom: Black 1px solid; text-align: right">Carrying Amount January 31, 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="width: 6%; text-align: left; white-space: nowrap;">Big River</td><td style="width: 54%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;</td><td style="width: 7%; text-align: right">9.7</td><td style="width: 1%; text-align: left">%</td><td style="width: 4%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 11%; text-align: right">38,533</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 4%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 11%; text-align: right">37,833</td><td style="width: 1%; text-align: left">&#160;</td></tr>
</table><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt; text-align: justify">Undistributed earnings of the equity method investee
totaled approximately $18.5 million and $17.8 million at April 30, 2017 and January 31, 2017, respectively. The Company did not
receive dividends from its equity method investee in the first quarter of fiscal year 2017 or 2016.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Summarized financial information for the Company&#x2019;s
equity method investee is presented in the following table for the periods presented (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 60%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">Three Months Ended<br /> April 30,</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2016</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 72%; text-align: left">Net sales and revenue</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">192,500</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">183,571</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Gross profit</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">8,181</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">5,870</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Income from continuing operations</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">7,206</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">2,404</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Net income</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">7,206</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">2,404</td><td style="text-align: left">&#160;</td></tr>
</table><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Big River has debt agreements that limit amounts
Big River can pay in the form of dividends or advances to owners. The restricted net assets of Big River at April 30, 2017 and
January 31, 2017 are approximately $284.7 million and $278.7 million, respectively.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">On June 1, 2015, Patriot and a subsidiary of
CHS Inc. (&#x201c;CHS&#x201d;) completed a merger that resulted in CHS acquiring 100% of the ownership interest in Patriot. During
the first quarter of fiscal year 2016, the Company received proceeds of approximately $2.3 million as partial payment for certain
escrow holdbacks and adjustments to the purchase price. As a result, the Company recognized approximately $0.2 million as gain
on sale of investment during the first quarter of fiscal year 2016. The Company does not expect any further proceeds or gain/loss
on sale of investment to be significant.</p><br/><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_invest_InvestmentTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for investments, including all tables.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher SEC<br> -Name Regulation S-X (SX)<br> -Number 210<br> -Article 6<br> -Section 10<br> -Paragraph (c)<br> -Subparagraph (1)<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">invest_InvestmentTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>invest_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_invest_InvestmentsScheduleAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">invest_InvestmentsScheduleAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>invest_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>25
<FILENAME>R16.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6607124672">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>EMPLOYEE BENEFITS<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockSupplementAbstract', window );"><strong>Disclosure Text Block Supplement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CompensationAndEmployeeBenefitPlansTextBlock', window );">Compensation and Employee Benefit Plans [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Note 11.&#160; <i>Employee Benefits</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt; text-align: justify">The Company maintains the REX 2015 Incentive
Plan, approved by its shareholders, which reserves a total of 550,000 shares of common stock for issuance pursuant to its terms.
The plan provides for the granting of shares of stock, including options to purchase shares of common stock, stock appreciation
rights tied to the value of common stock, restricted stock, and restricted stock unit awards to eligible employees, non-employee
directors and consultants. The Company measures share-based compensation grants at fair value on the grant date, adjusted for estimated
forfeitures. The Company records noncash compensation expense related to liability and equity awards in its consolidated financial
statements over the requisite service period on a straight-line basis. At April 30, 2017, 525,330 shares remain available for issuance
under the Plan. As a component of their compensation, restricted stock has been granted to directors at the market price of REX
common stock on the date of the grant. In addition one third of executives&#x2019; incentive compensation is payable by an award
of restricted stock based on the then market price of REX common stock.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt; text-align: justify">At April 30, and January 31, 2017, unrecognized
compensation cost related to nonvested restricted stock was approximately $185,000 and $214,000, respectively.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The following table summarizes non-vested restricted
stock award activity for the three months ended April 30, 2017:</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 95%; font: 10pt Courier New, Courier, Monospace">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px; white-space: nowrap;"><b>&#160;</b></td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;"><b>&#160;</b></td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"><b>Non-Vested
    <br /> Shares</b></td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;"><b>&#160;</b></td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;"><b>&#160;</b></td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"><b>Weighted
    <br />Average Grant<br />Date Fair Value<br />(000&#x2019;s)</b></td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;"><b>&#160;</b></td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;"><b>&#160;</b></td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"><b>Weighted
    <br /> Average Remaining<br />Vesting Term <br /> (in years)</b></td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;"><b>&#160;</b></td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 56%; font-family: Times New Roman, Times, Serif">Non-Vested at January 31, 2017</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 10%; font-family: Times New Roman, Times, Serif; text-align: right">23,350</td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 11%; font-family: Times New Roman, Times, Serif; text-align: right">1,386</td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 11%; font-family: Times New Roman, Times, Serif; text-align: right">2</td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font-family: Times New Roman, Times, Serif">Granted</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">&#x2014;</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">&#x2014;</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font-family: Times New Roman, Times, Serif">Forfeited</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">&#x2014;</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">&#x2014;</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">Vested</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; padding-bottom: 1px">&#160;</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">Non-Vested at April 30, 2017</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 3px double">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double">23,350</td><td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 3px double">$</td><td style="font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double">1,386</td><td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right; padding-bottom: 3px">2</td><td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><br/><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CompensationAndEmployeeBenefitPlansTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for an entity's employee compensation and benefit plans, including, but not limited to, postemployment and postretirement benefit plans, defined benefit pension plans, defined contribution plans, non-qualified and supplemental benefit plans, deferred compensation, share-based compensation, life insurance, severance, health care, unemployment and other benefit plans.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 715<br> -URI http://asc.fasb.org/topic&amp;trid=2235017<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 712<br> -URI http://asc.fasb.org/topic&amp;trid=2197446<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 710<br> -URI http://asc.fasb.org/topic&amp;trid=2127225<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -URI http://asc.fasb.org/topic&amp;trid=2228938<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CompensationAndEmployeeBenefitPlansTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockSupplementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockSupplementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>26
<FILENAME>R17.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6622690288">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>INCOME TAXES<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxDisclosureAbstract', window );"><strong>Income Tax Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxDisclosureTextBlock', window );">Income Tax Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Note 12<i>. &#160;Income Taxes</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The effective tax rate on consolidated pre-tax
income was 29.9% for the three months ended April 30, 2017, and 30.4% for the three months ended April 30, 2016.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company files a U.S. federal income tax return
and income tax returns in various states. In general, the Company is no longer subject to U.S. federal, state or local income tax
examinations by tax authorities for years ended January 31, 2010 and prior. A reconciliation of the beginning and ending</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0">amount of unrecognized tax benefits, including interest and penalties,
is as follows (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 86%">Unrecognized tax benefits, January 31, 2017</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">2,096</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Changes for prior years&#x2019; tax positions</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">147</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Changes for current year tax positions</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">&#x2014;</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px">Unrecognized tax benefits, April 30, 2017</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">$</td><td style="border-bottom: Black 1px solid; text-align: right">2,243</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
</table><br/><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -URI http://asc.fasb.org/topic&amp;trid=2144680<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>27
<FILENAME>R18.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6607124672">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>COMMITMENTS AND CONTINGENCIES<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommitmentsAndContingenciesDisclosureAbstract', window );"><strong>Commitments and Contingencies Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock', window );">Commitments and Contingencies Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Note 13. &#160;<i>Commitments and Contingencies</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company is involved in various legal actions
arising in the normal course of business. After taking into consideration legal counsels&#x2019; evaluations of such actions, management
is of the opinion that their outcome will not have a material adverse effect on the Company&#x2019;s Consolidated Condensed Financial
Statements.	</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">One Earth and NuGen have combined forward purchase
contracts for approximately 14.4 million bushels of corn, the principal raw material for their ethanol plants. They expect to take
delivery of the grain through September 2017.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">One Earth and NuGen have combined sales commitments
for approximately 113.6 million gallons of ethanol, approximately 53,000 tons of distillers grains and approximately 14.1 million
pounds of non-food grade corn oil. They expect to deliver the ethanol through December 2017 and expect to deliver the distillers
grains and non-food grade corn oil through June 2017.</p><br/><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CommitmentsAndContingenciesDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CommitmentsAndContingenciesDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for commitments and contingencies.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 450<br> -URI http://asc.fasb.org/topic&amp;trid=2127136<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 440<br> -URI http://asc.fasb.org/topic&amp;trid=2144648<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CommitmentsAndContingenciesDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>28
<FILENAME>R19.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6796523104">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>NET SALES AND REVENUE<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_NetSalesAndRevenueAbstract', window );"><strong>Net Sales And Revenue [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_NetSalesAndRevenueTextBlock', window );">Net Sales And Revenue [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 14. <i>Net Sales and Revenue</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table summarizes sales for
each product and service group for the periods presented (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">Three Months Ended<br /> April 30,</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt; border-bottom: Black 1px solid; ">Product or Service Category</td><td style="padding-bottom: 1px; ">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid; ">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid; ">2017</td><td style="text-align: left; padding-bottom: 1px; ">&#160;</td><td style="padding-bottom: 1px; ">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid; ">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid; ">2016</td><td style="text-align: left; padding-bottom: 1px; ">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-indent: -10pt; padding-left: 10pt">Ethanol</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">91,472</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">77,631</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">Dried distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">15,149</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">17,054</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">Non-food grade corn oil</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,593</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,846</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">Modified distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,920</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,564</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-indent: -10pt; padding-left: 10pt; padding-bottom: 1px">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">9</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">127</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-indent: -10pt; padding-left: 10pt; padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">113,143</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">100,222</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><br/><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_NetSalesAndRevenueAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_NetSalesAndRevenueAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_NetSalesAndRevenueTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for net sales and revenue.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_NetSalesAndRevenueTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>29
<FILENAME>R20.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6607124672">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>RELATED PARTY TRANSACTIONS<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RelatedPartyTransactionsAbstract', window );"><strong>Related Party Transactions [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RelatedPartyTransactionsDisclosureTextBlock', window );">Related Party Transactions Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 15. <i>Related-Party Transactions</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">During the first quarters of fiscal year
2017 and 2016, One Earth and NuGen purchased approximately $42.3 million and approximately $44.4 million, respectively, of corn
from minority equity investors and board members of those subsidiaries. The Company had amounts payable to related parties for
corn purchases of approximately $1.1 million and $1.7 million at April 30, 2017 and January 31, 2017, respectively.</p><br/><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RelatedPartyTransactionsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RelatedPartyTransactionsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RelatedPartyTransactionsDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 850<br> -URI http://asc.fasb.org/topic&amp;trid=2122745<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RelatedPartyTransactionsDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>30
<FILENAME>R21.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6794959600">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Accounting Policies, by Policy (Policies)<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountingPoliciesAbstract', window );"><strong>Accounting Policies [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RevenueRecognitionPolicyTextBlock', window );">Revenue Recognition, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: bold 10pt Times New Roman, Times, Serif; margin: 0">Revenue Recognition</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company recognizes sales from the production
of ethanol, distillers grains and non-food grade corn oil when title transfers to customers, generally upon shipment from the ethanol
plant or upon loading of the rail car used to transport the products.</p><span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CostOfSalesPolicyTextBlock', window );">Cost of Sales, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: bold 10pt Times New Roman, Times, Serif; margin: 0">Cost of Sales</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Cost of sales includes depreciation, costs of
raw materials, inbound freight charges, purchasing and receiving costs, inspection costs, other distribution expenses, warehousing
costs, plant management, certain compensations costs, and general facility overhead charges</p><span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock', window );">Selling, General and Administrative Expenses, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: bold 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 0pt">Selling, General and Administrative Expenses</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company includes non-production related costs
such as professional fees, selling charges and certain payroll in selling, general and administrative expenses.</p><span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueOfFinancialInstrumentsPolicy', window );">Fair Value of Financial Instruments, Policy [Policy Text Block]</a></td>
<td class="text"><p style="margin: 0; font: bold 10pt Times New Roman, Times, Serif">Financial Instruments</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Certain of the forward grain purchase and ethanol,
distillers grains and non-food grade corn oil sale contracts are accounted for under the &#x201c;normal purchases and normal sales&#x201d;
scope exemption of Accounting Standards Codification (&#x201c;ASC&#x201d;) 815, &#x201c;<i>Derivatives and Hedging</i>&#x201d; because
these arrangements are for purchases of grain that will be delivered in quantities expected to be used by the Company and sales
of ethanol, distillers grains and non-food grade corn oil quantities expected to be produced by the Company over a reasonable period
of time in the normal course of business. During fiscal year 2015, the Company began to carry a portion of its forward grain purchase
contracts at fair value.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company uses derivative financial instruments
(exchange-traded futures contracts) to manage a portion of the risk associated with changes in commodity prices, primarily related
to corn. The Company monitors and manages this exposure as part of its overall risk management policy. As such, the Company seeks
to reduce the potentially adverse effects that the volatility of these markets may have on its operating results. The Company may
take hedging positions in these commodities as one way to mitigate risk. While the Company attempts to link its hedging activities
to purchase and sales activities, there are situations in which these hedging activities can themselves result in losses. The Company
does not hold or issue derivative financial instruments for trading or speculative purposes. The changes in fair value of these
derivative financial instruments are recognized in current period earnings as the Company does not use hedge accounting.</p><span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxPolicyTextBlock', window );">Income Tax, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: bold 10pt Times New Roman, Times, Serif; margin: 0">Income Taxes</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company applies an effective tax rate
to interim periods that is consistent with the Company&#x2019;s estimated annual tax rate as adjusted for discrete items
impacting the interim periods. The Company provides for deferred tax liabilities and assets for the future tax consequences
attributable to differences between the financial statement carrying amounts of existing assets and liabilities and their
respective tax basis and operating loss and tax credit carryforwards. The Company provides for a valuation allowance if,
based on the weight of available evidence, it is more likely than not that some or all of the deferred tax assets will not be
realized. The Company paid no income taxes during the three months ended April 30, 2017 and 2016. The Company received no
refunds of income taxes during the three months ended April 30, 2017 and 2016.<br />
</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">As of April 30, 2017 and January 31, 2017, total
unrecognized tax benefits were approximately $2,004,000 and $1,875,000, respectively. Accrued penalties and interest were approximately
$238,000 and $221,000 at April 30, 2017 and January 31, 2017, respectively. If the Company were to prevail on all unrecognized
tax benefits recorded, the provision for income taxes would be reduced by approximately $2,004,000. In addition, the impact of
penalties and interest would also benefit the effective tax rate. Interest and penalties associated with unrecognized tax benefits
are recorded within income tax expense. On a quarterly basis, the Company accrues for the effects of open uncertain tax positions
and the related potential penalties and interest.</p><span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryPolicyTextBlock', window );">Inventory, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Inventories</b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Inventories are carried at the lower of cost
or market on a first-in, first-out basis. Inventory includes direct production costs and certain overhead costs such as depreciation,
property taxes and utilities related to producing ethanol and related co-products. Inventory is permanently written down for instances
when cost exceeds estimated net realizable value; such write-downs are based primarily upon commodity prices as the market value
of inventory is often dependent upon changes in commodity prices. There were no significant permanent write-downs of inventory
at April 30, 2017 and January 31, 2017. Fluctuations in the write-down of inventory generally relate to the levels and composition
of such inventory at a given point in time. The components of inventory are as follows as of the dates presented (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><font style="font: 10pt Times New Roman, Times, Serif">April 30, <br />
2017</font></td><td style="text-align: center; padding-bottom: 1px">&#160;</td><td style="text-align: center; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><p style="font: 10pt Times New Roman, Times, Serif; margin-top: 0; margin-bottom: 0; text-align: center">January 31,<br />
</p>
<p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: center">2017</p>
</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 59%; text-align: left">Ethanol and other finished goods</td><td style="width: 8%">&#160;</td>
    <td style="width: 6%; text-align: left">$</td><td style="width: 7%; text-align: right">3,159</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 5%">&#160;</td>
    <td style="width: 6%; text-align: left">$</td><td style="width: 6%; text-align: right">5,262</td><td style="width: 2%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Work in process</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,487</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,359</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Grain and other raw materials</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">14,781</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">9,436</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">20,427</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">17,057</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentPolicyTextBlock', window );">Property, Plant and Equipment, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Property and Equipment</b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Property and equipment is recorded at cost. Depreciation
is computed using the straight-line method. Estimated useful lives are 15 to 40 years for buildings and improvements, and 2 to
20 years for fixtures and equipment.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">In accordance with ASC 360-10 &#x201c;<i>Impairment
or Disposal of Long-Lived Assets</i>&#x201d;, the carrying value of long-lived assets is assessed for recoverability by management
when changes in circumstances indicate that the carrying amount may not be recoverable, based on an analysis of undiscounted future
expected cash flows from the use and ultimate disposition of the asset. There were no impairment charges in the first three months
of fiscal years 2017 or 2016. Impairment charges have historically resulted from the Company&#x2019;s management performing cash
flow analysis and have represented management&#x2019;s estimate of the excess of net book value over fair value.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company tests for recoverability of an asset
group by comparing its carrying amount to its estimated undiscounted future cash flows. If the carrying amount of an asset group
exceeds its estimated undiscounted future cash flows, the Company recognizes an impairment charge for the amount by which the asset
group&#x2019;s carrying amount exceeds its fair value, if any. The Company generally determines the fair value of the asset group
using a discounted cash flow model based on market participant assumptions (for income producing asset groups) or by obtaining
appraisals based on the market approach and comparable market transactions (for non-income producing asset groups).</p><span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InvestmentPolicyTextBlock', window );">Investment, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Investments</b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The method of accounting applied to long-term
investments, whether consolidated, equity or cost, involves an evaluation of the significant terms of each investment that explicitly
grant or suggest evidence of control or influence over the operations of the investee and also includes the identification of any
variable interests in which the Company is the primary beneficiary. The Company consolidates the results of two majority owned
subsidiaries, One Earth and NuGen. The results of One Earth are included on a delayed basis of one month lag as One Earth has a
fiscal year end of December 31. NuGen has the same fiscal year as the parent, and therefore, there is no lag in reporting the results
of NuGen. The Company accounts for investments in a limited liability company in which it has a less than 20% ownership interest,
using the equity method of accounting when the factors discussed in ASC 323, &#x201c;<i>Investments-Equity Method and Joint Ventures</i>&#x201d;
are met. The excess of the carrying value over the underlying equity in the net assets of equity method investees is allocated
to specific assets and liabilities. Any unallocated excess is treated as goodwill and is recorded as a component of the carrying
value of the equity method investee. Investments in businesses that the Company does not control but for which it has the ability
to exercise significant influence over operating and financial matters are accounted for using the equity method. The Company accounts
for its investment in Big River Resources, LLC (&#x201c;Big River&#x201d;) using the equity method of accounting and includes the
results on a delayed basis of one month as Big River has a fiscal year end of December 31.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company periodically evaluates its investments
for impairment due to declines in market value considered to be other than temporary. Such impairment evaluations include general
economic and company-specific evaluations. If the Company determines that a decline in market value is other than temporary, then
a charge to earnings is recorded in the Consolidated Condensed Statements of Operations and a new cost basis in the investment
is established.</p><span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ComprehensiveIncomePolicyPolicyTextBlock', window );">Comprehensive Income, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Comprehensive Income</b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company has no components of other comprehensive
income, and therefore, comprehensive income equals net income.</p><span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock', window );">New Accounting Pronouncements, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0"><b>Accounting Changes and Recently Issued Accounting Standards</b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">In March 2016, the Financial Accounting Standards
Board (&#x201c;FASB&#x201d;) issued Accounting Standards Update (&#x201c;ASU&#x201d;) 2016-09, &#x201c;<i>Improvements to Employee Share-Based
Payment Accounting</i>&#x201d; (&#x201c;ASU 2016-09&#x201d;). This standard simplifies the accounting treatment for excess tax benefits
and deficiencies, forfeitures, and cash flow considerations related to share-based compensation. The Company adopted this standard
February 1, 2017. The adoption of ASU 2016-09 did not impact the Company&#x2019;s consolidated financial statements and related
disclosures.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">In February 2016, the FASB issued ASU 2016-02
&#x201c;<i>Leases</i>&#x201d;. This standard requires that virtually all leases will be recognized by lessees on their balance sheet
as a right-of-use asset and a corresponding lease liability, including leases currently accounted for as operating leases. The
Company will be required to adopt this standard effective February 1, 2019. The Company has not completed its analysis of adopting
this guidance but it does expect the adoption of this guidance to have a material impact on its Consolidated Balance Sheet related
to the right to use asset and lease obligation liability to be recognized upon adoption of this guidance. The related leases are
currently accounted for as operating leases (see Note 3).</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company will be required to adopt the amended
guidance in ASC Topic 606 &#x201c;<i>Revenue from Contracts with Customers</i>&#x201d;, which requires revenue recognition to reflect
the transfer of promised goods or services to customers and replaces existing revenue recognition guidance. The updated standard
permits the use of either the retrospective or cumulative effect transition method. The FASB had deferred the required adoption
of the amended guidance by one year, from February 1, 2017 to February 1, 2018. The Company has not completed its analysis of adopting
this guidance but it does not expect the adoption of this guidance to have a material impact on its consolidated financial statements
with respect to measurement and recognition of revenue. The Company is still evaluating the impact of adopting this guidance on
disclosures in the consolidated financial statements.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">In November 2015, the FASB issued ASU 2015-17
&#x201c;<i>Balance Sheet Classification of Deferred Taxes</i>&#x201d;, (&#x201c;ASU 2015-17&#x201d;) which requires that for a particular
tax-paying component of an entity and within a particular tax jurisdiction, all deferred tax liabilities and assets shall be offset
and presented as a single noncurrent amount. The Company prospectively adopted the amended guidance effective February 1, 2017.
Prior periods were not retrospectively adjusted. The adoption of ASU 2015-17 did not affect net income attributable to REX common
shareholders or retained earnings in the presented periods.</p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountingPoliciesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountingPoliciesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ComprehensiveIncomePolicyPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for comprehensive income.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ComprehensiveIncomePolicyPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CostOfSalesPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for recognition of costs in the period which correspond to the sales and revenue categories presented in the statement of operations. The accounting policy may include the amount and nature of costs incurred, provisions associated with inventories, purchase discounts, freight and other costs included in cost of sales incurred and recorded in the period. This disclosure also includes the nature of costs of sales incurred and recorded in the statement of operations for the period relating to transactions with related parties.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.2)<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 605<br> -SubTopic 50<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=68069731&amp;loc=d3e63676-111659<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CostOfSalesPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FairValueOfFinancialInstrumentsPolicy">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for determining the fair value of financial instruments.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=77997519&amp;loc=d3e13279-108611<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 820<br> -SubTopic 10<br> -Section 60<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=7493716&amp;loc=d3e21868-110260<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FairValueOfFinancialInstrumentsPolicy</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 19<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32840-109319<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 30<br> -Section 05<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=65884525&amp;loc=d3e40913-109327<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 954<br> -SubTopic 740<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6491622&amp;loc=d3e9504-115650<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 17<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32809-109319<br><br>Reference 6: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 25<br> -URI http://asc.fasb.org/extlink&amp;oid=84176650&amp;loc=d3e32247-109318<br><br>Reference 7: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -URI http://asc.fasb.org/extlink&amp;oid=84176650&amp;loc=d3e32280-109318<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of inventory accounting policy for inventory classes, including, but not limited to, basis for determining inventory amounts, methods by which amounts are added and removed from inventory classes, loss recognition on impairment of inventories, and situations in which inventories are stated above cost.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=66092785&amp;loc=d3e4492-108314<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.6(b))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=66092785&amp;loc=d3e4556-108314<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6361739&amp;loc=d3e7789-107766<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InvestmentPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for investments in financial assets, including marketable securities (debt and equity securities with readily determinable fair values), investments accounted for under the equity method and cost method, securities borrowed and loaned, and repurchase and resale agreements. For marketable securities, the disclosure may include the entity's accounting treatment for transfers between investment categories and how the fair values for such securities are determined. Also, for all investments, an entity may describe its policy for assessing, recognizing and measuring impairment of the investment.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (a)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=66011266&amp;loc=d3e33918-111571<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 320<br> -SubTopic 10<br> -Section 50<br> -Paragraph 6<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=82897076&amp;loc=d3e27290-111563<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.2,12)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 320<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB Topic 5.M)<br> -URI http://asc.fasb.org/extlink&amp;oid=65877573&amp;loc=d3e87990-122713<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br><br>Reference 6: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 325<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=75025870&amp;loc=d3e40691-111596<br><br>Reference 7: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 10<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=77997519&amp;loc=d3e13433-108611<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InvestmentPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for long-lived, physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, basis of assets, depreciation and depletion methods used, including composite deprecation, estimated useful lives, capitalization policy, accounting treatment for costs incurred for repairs and maintenance, capitalized interest and the method it is calculated, disposals and impairments.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.13(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RevenueRecognitionPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for revenue recognition. If the entity has different policies for different types of revenue transactions, the policy for each material type of transaction is generally disclosed. If a sales transaction has multiple element arrangements (for example, delivery of multiple products, services or the rights to use assets) the disclosure may indicate the accounting policy for each unit of accounting as well as how units of accounting are determined and valued. The disclosure may encompass important judgment as to appropriateness of principles related to recognition of revenue. The disclosure also may indicate the entity's treatment of any unearned or deferred revenue that arises from the transaction.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18823-107790<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 605<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB Topic 13.B.Q1)<br> -URI http://asc.fasb.org/extlink&amp;oid=65893310&amp;loc=d3e214044-122780<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18726-107790<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RevenueRecognitionPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for inclusion of significant items in the selling, general and administrative (or similar) expense report caption.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 720<br> -SubTopic 35<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=6420018&amp;loc=d3e36677-107848<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>31
<FILENAME>R22.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6789946480">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>ACCOUNTING POLICIES (Tables)<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountingPoliciesAbstract', window );"><strong>Accounting Policies [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfInventoryCurrentTableTextBlock', window );">Schedule of Inventory, Current [Table Text Block]</a></td>
<td class="text">The components of inventory are as follows as of the dates presented (amounts in thousands):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><font style="font: 10pt Times New Roman, Times, Serif">April 30, <br />
2017</font></td><td style="text-align: center; padding-bottom: 1px">&#160;</td><td style="text-align: center; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><p style="font: 10pt Times New Roman, Times, Serif; margin-top: 0; margin-bottom: 0; text-align: center">January 31,<br />
</p>
<p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: center">2017</p>
</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 59%; text-align: left">Ethanol and other finished goods</td><td style="width: 8%">&#160;</td>
    <td style="width: 6%; text-align: left">$</td><td style="width: 7%; text-align: right">3,159</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 5%">&#160;</td>
    <td style="width: 6%; text-align: left">$</td><td style="width: 6%; text-align: right">5,262</td><td style="width: 2%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Work in process</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,487</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,359</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Grain and other raw materials</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">14,781</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">9,436</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">20,427</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">17,057</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountingPoliciesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountingPoliciesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfInventoryCurrentTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of the carrying amount as of the balance sheet date of merchandise, goods, commodities, or supplies held for future sale or to be used in manufacturing, servicing or production process.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(6)(b))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(6)(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6361739&amp;loc=d3e7789-107766<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(6)(c))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfInventoryCurrentTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>32
<FILENAME>R23.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6796579152">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>LEASES (Tables)<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LeasesAbstract', window );"><strong>Leases [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock', window );">Schedule of Future Minimum Rental Payments for Operating Leases [Table Text Block]</a></td>
<td class="text">At April 30, 2017, the Company has lease agreements, as lessee, for rail cars and a natural gas pipeline. All of the leases are accounted for as operating leases. The following table is a summary of future minimum rentals on such leases (amounts in thousands):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 40%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="text-align: left; border-bottom: Black 1px solid">Years Ended January 31,</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">Minimum<br />
    Rentals</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 66%; text-align: left">Remainder of 2018</td><td style="width: 10%">&#160;</td>
    <td style="width: 12%; text-align: left">$</td><td style="width: 10%; text-align: right">5,486</td><td style="width: 2%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">2019</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">6,910</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">2020</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">5,379</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">2021</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,580</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">2022</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,948</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px; text-align: left">Thereafter</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">1,622</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px; text-align: left">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">25,925</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LeasesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LeasesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of future minimum payments required in the aggregate and for each of the five succeeding fiscal years for operating leases having initial or remaining noncancelable lease terms in excess of one year and the total minimum rentals to be received in the future under noncancelable subleases as of the balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=77902758&amp;loc=d3e41502-112717<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>33
<FILENAME>R24.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6742396896">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>FAIR VALUE (Tables)<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueDisclosuresAbstract', window );"><strong>Fair Value Disclosures [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock', window );">Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]</a></td>
<td class="text">Financial assets and liabilities measured at fair value on a recurring basis at April 30, 2017 are summarized below (amounts in thousands):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="text-align: center; vertical-align: bottom; padding-bottom: 1px">&#160;</td><td style="text-align: center; vertical-align: bottom; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; vertical-align: bottom; border-bottom: Black 1px solid">Level 1</td><td style="text-align: center; vertical-align: bottom; padding-bottom: 1px">&#160;</td><td style="text-align: center; vertical-align: bottom; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; vertical-align: bottom; border-bottom: Black 1px solid">Level 2</td><td style="text-align: center; vertical-align: bottom; padding-bottom: 1px">&#160;</td><td style="text-align: center; vertical-align: bottom; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; vertical-align: bottom; border-bottom: Black 1px solid">Level 3</td><td style="text-align: center; vertical-align: bottom; padding-bottom: 1px">&#160;</td><td style="text-align: center; vertical-align: bottom; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; vertical-align: bottom; border-bottom: Black 1px solid"><p style="margin-top: 0; margin-bottom: 0; text-align: center">Fair Value</p>
<p style="margin-top: 0; margin-bottom: 0; text-align: center"></p>
</td><td style="text-align: center; vertical-align: bottom; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center; vertical-align: bottom">&#160;</td><td style="text-align: center; vertical-align: bottom">&#160;</td>
    <td colspan="2" style="text-align: center; vertical-align: bottom">&#160;</td><td style="text-align: center; vertical-align: bottom">&#160;</td><td style="text-align: center; vertical-align: bottom">&#160;</td>
    <td colspan="2" style="text-align: center; vertical-align: bottom">&#160;</td><td style="text-align: center; vertical-align: bottom">&#160;</td><td style="text-align: center; vertical-align: bottom">&#160;</td>
    <td colspan="2" style="text-align: center; vertical-align: bottom">&#160;</td><td style="text-align: center; vertical-align: bottom">&#160;</td><td style="text-align: center; vertical-align: bottom">&#160;</td>
    <td colspan="2" style="text-align: center; vertical-align: bottom">&#160;</td><td style="text-align: center; vertical-align: bottom">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: left">Commodity futures (1)</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">&#x2014;</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">66</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">&#x2014;</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">66</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Investment in cooperative (2)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">333</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">333</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Total assets</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">&#x2014;</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">66</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">333</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">399</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Forward purchase contract liability (3)</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">&#x2014;</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">413</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">&#x2014;</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">413</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Level 1</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Level 2</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Level 3</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Fair Value</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: left">Commodity futures (1)</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">&#x2014;</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">45</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">&#x2014;</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">45</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Forward purchase contract asset (4)</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">163</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">163</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Investment in cooperative (2)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; padding-bottom: 1px; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">333</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">333</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total assets</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">&#x2014;</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">208</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">333</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">541</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Forward purchase contract liability (3)</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">&#x2014;</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">136</td><td style="text-align: left; padding-bottom: 3px"></td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">&#x2014;</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">136</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">(1) Commodity futures are included in &#x201c;Prepaid
expenses and other current assets&#x201d; on the accompanying Consolidated Condensed Balance Sheets.</p><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">(2) The investment in cooperative is included
in &#x201c;Other assets&#x201d; on the accompanying Consolidated Condensed Balance Sheets.</p><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">(3) The forward purchase contract liability is
  included in &#x201c;Accrued expenses and other current liabilities&#x201d; on the accompanying Consolidated Condensed Balance Sheets.
</p><p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">(4) The forward purchase contract asset is included
in &#x201c;Prepaid expenses and other current assets on the accompanying Consolidated Condensed Balance Sheets.</p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FairValueDisclosuresAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FairValueDisclosuresAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 820<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=66048111&amp;loc=d3e19190-110258<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>34
<FILENAME>R25.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6789128224">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>PROPERTY AND EQUIPMENT (Tables)<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentAbstract', window );"><strong>Property, Plant and Equipment [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentTextBlock', window );">Property, Plant and Equipment [Table Text Block]</a></td>
<td class="text">The components of property and equipment are as follows for the periods presented (amounts in thousa<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">April 30,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 72%; text-align: left">Land and improvements</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">20,960</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">20,951</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Buildings and improvements</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">23,237</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">23,203</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Machinery, equipment and fixtures</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">256,577</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">255,348</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Construction in progress</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">6,968</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">1,046</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">307,742</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">300,548</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Less:&#160;&#160;accumulated depreciation</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">(123,068</td><td style="text-align: left; padding-bottom: 1px">)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">(117,787</td><td style="text-align: left; padding-bottom: 1px">)</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">184,674</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">182,761</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(13))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>35
<FILENAME>R26.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6789045168">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>OTHER ASSETS (Tables)<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockSupplementAbstract', window );"><strong>Disclosure Text Block Supplement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfOtherAssetsTableTextBlock', window );">Schedule of Other Assets [Table Text Block]</a></td>
<td class="text">The components of other assets are as follows for the periods presented (amounts in thousands):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">April 30,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 72%; text-align: left">Real estate taxes refundable</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">5,925</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">5,923</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td>Deposits</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">105</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">155</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 1px">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">747</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">835</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">6,777</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">6,913</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockSupplementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockSupplementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfOtherAssetsTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of the carrying amounts of other assets. This disclosure includes other current assets and other noncurrent assets.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfOtherAssetsTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>36
<FILENAME>R27.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6622011072">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES (Tables)<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockSupplementAbstract', window );"><strong>Disclosure Text Block Supplement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherCurrentLiabilitiesTableTextBlock', window );">Other Current Liabilities [Table Text Block]</a></td>
<td class="text">The components of accrued expenses and other current liabilities are as follows for the periods presented (amounts in thousands):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">April 30,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 72%; text-align: left">Accrued utility charges</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">2,003</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">2,414</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Accrued payroll and related items</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,031</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,279</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Accrued real estate taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,868</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,716</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Accrued income taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,363</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,120</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 1px">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">2,996</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">1,819</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">14,261</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">13,348</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockSupplementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockSupplementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherCurrentLiabilitiesTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of other current liabilities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherCurrentLiabilitiesTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>37
<FILENAME>R28.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6796576256">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>DERIVATIVE FINANCIAL INSTRUMENTS (Tables)<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockSupplementAbstract', window );"><strong>Disclosure Text Block Supplement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock', window );">Schedule of Derivative Assets at Fair Value [Table Text Block]</a></td>
<td class="text">The following table provides information about the fair values of the Company&#x2019;s derivative financial instruments and the line items on the Consolidated Condensed Balance Sheets in which the fair values are reflected (in thousands):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 90%; font: 10pt Times New Roman, Times, Serif; margin-left: 36pt">
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">Asset Derivatives <br /> Fair Value</td><td>&#160;</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">Liability Derivatives <br /> Fair Value</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">April 30,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">April 30,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 53%; text-align: left">Commodity futures (1)</td><td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">66</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">45</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">&#x2014;</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">&#x2014;</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Forward purchase contracts (2)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">163</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">413</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">136</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">66</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">208</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">413</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">136</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><p style="font: 10pt Times New Roman, Times, Serif; margin: 0 0 0 36pt; text-align: justify">(1) Commodity futures are included in prepaid expenses and other
current assets. These contracts are short/sell positions for approximately 0.9 million and 0.7 million bushels of corn at April
30, 2017 and January 31, 2017, respectively.</p><p style="font: 10pt Times New Roman, Times, Serif; margin: 0 0 0 36pt; text-align: justify">(2) Forward purchase contracts assets are included in prepaid expenses
and other current assets while forward purchase contracts liabilities are included in accrued expenses and other current liabilities.
These contracts are for purchases of approximately 10.8 million and 5.3 million bushels of corn at April 30, 2017 and January 31,
2017, respectively.</p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockSupplementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockSupplementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of derivative assets at fair value.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>38
<FILENAME>R29.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6630912480">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>INVESTMENTS (Tables)<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_invest_InvestmentsScheduleAbstract', window );"><strong>Investments Schedule [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestmentsTextBlock', window );">Equity Method Investments [Table Text Block]</a></td>
<td class="text">The following table summarizes the equity method investment at April 30, 2017 and January 31, 2017 (dollars in thousands):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="border-bottom: Black 1px solid">Entity</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="border-bottom: Black 1px solid; text-align: right">Ownership Percentage</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="border-bottom: Black 1px solid; text-align: right">Carrying Amount &#160;April 30, 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="border-bottom: Black 1px solid; text-align: right">Carrying Amount January 31, 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="width: 6%; text-align: left; white-space: nowrap;">Big River</td><td style="width: 54%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;</td><td style="width: 7%; text-align: right">9.7</td><td style="width: 1%; text-align: left">%</td><td style="width: 4%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 11%; text-align: right">38,533</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 4%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 11%; text-align: right">37,833</td><td style="width: 1%; text-align: left">&#160;</td></tr>
</table><span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock', window );">Schedule of Financial Information for Equity Method Investments [Table Text Block]</a></td>
<td class="text">Summarized financial information for the Company&#x2019;s equity method investee is presented in the following table for the periods presented (amounts in thousands):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 60%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">Three Months Ended<br /> April 30,</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2016</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 72%; text-align: left">Net sales and revenue</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">192,500</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">183,571</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Gross profit</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">8,181</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">5,870</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Income from continuing operations</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">7,206</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">2,404</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Net income</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">7,206</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">2,404</td><td style="text-align: left">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_invest_InvestmentsScheduleAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">invest_InvestmentsScheduleAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>invest_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of financial information for equity method investments.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EquityMethodInvestmentsTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of equity method investments including, but not limited to, name of each investee or group of investments, percentage ownership, difference between recorded amount of an investment and the value of the underlying equity in the net assets, and summarized financial information.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=66011266&amp;loc=d3e33918-111571<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EquityMethodInvestmentsTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>39
<FILENAME>R30.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6776328608">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>EMPLOYEE BENEFITS (Tables)<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockSupplementAbstract', window );"><strong>Disclosure Text Block Supplement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock', window );">Nonvested Restricted Stock Shares Activity [Table Text Block]</a></td>
<td class="text">The following table summarizes non-vested restricted stock award activity for the three months ended April 30, 2017:<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 95%; font: 10pt Courier New, Courier, Monospace">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px; white-space: nowrap;"><b>&#160;</b></td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;"><b>&#160;</b></td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"><b>Non-Vested
    <br /> Shares</b></td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;"><b>&#160;</b></td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;"><b>&#160;</b></td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"><b>Weighted
    <br />Average Grant<br />Date Fair Value<br />(000&#x2019;s)</b></td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;"><b>&#160;</b></td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;"><b>&#160;</b></td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"><b>Weighted
    <br /> Average Remaining<br />Vesting Term <br /> (in years)</b></td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px; white-space: nowrap;"><b>&#160;</b></td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 56%; font-family: Times New Roman, Times, Serif">Non-Vested at January 31, 2017</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 10%; font-family: Times New Roman, Times, Serif; text-align: right">23,350</td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 11%; font-family: Times New Roman, Times, Serif; text-align: right">1,386</td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 11%; font-family: Times New Roman, Times, Serif; text-align: right">2</td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font-family: Times New Roman, Times, Serif">Granted</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">&#x2014;</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">&#x2014;</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font-family: Times New Roman, Times, Serif">Forfeited</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">&#x2014;</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">&#x2014;</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">Vested</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; padding-bottom: 1px">&#160;</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">Non-Vested at April 30, 2017</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 3px double">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double">23,350</td><td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; border-bottom: Black 3px double">$</td><td style="font-family: Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double">1,386</td><td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right; padding-bottom: 3px">2</td><td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockSupplementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockSupplementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of the changes in outstanding nonvested restricted stock shares.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>40
<FILENAME>R31.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6607124672">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>INCOME TAXES (Tables)<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxDisclosureAbstract', window );"><strong>Income Tax Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock', window );">Schedule of Unrecognized Tax Benefits Roll Forward [Table Text Block]</a></td>
<td class="text">A reconciliation of the beginning and ending amount of unrecognized tax benefits, including interest and penalties, is as follows (amounts in thousands):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 86%">Unrecognized tax benefits, January 31, 2017</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">2,096</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Changes for prior years&#x2019; tax positions</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">147</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Changes for current year tax positions</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">&#x2014;</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px">Unrecognized tax benefits, April 30, 2017</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">$</td><td style="border-bottom: Black 1px solid; text-align: right">2,243</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of the change in unrecognized tax benefits.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 55<br> -Paragraph 217<br> -URI http://asc.fasb.org/extlink&amp;oid=96868398&amp;loc=d3e36027-109320<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15A<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=SL6600010-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>41
<FILENAME>R32.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6789265456">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>NET SALES AND REVENUE (Tables)<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_NetSalesAndRevenueAbstract', window );"><strong>Net Sales And Revenue [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock', window );">Revenue from External Customers by Products and Services [Table Text Block]</a></td>
<td class="text">The following table summarizes sales for each product and service group for the periods presented (amounts in thousands):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">Three Months Ended<br /> April 30,</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt; border-bottom: Black 1px solid; ">Product or Service Category</td><td style="padding-bottom: 1px; ">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid; ">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid; ">2017</td><td style="text-align: left; padding-bottom: 1px; ">&#160;</td><td style="padding-bottom: 1px; ">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid; ">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid; ">2016</td><td style="text-align: left; padding-bottom: 1px; ">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-indent: -10pt; padding-left: 10pt">Ethanol</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">91,472</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">77,631</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">Dried distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">15,149</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">17,054</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">Non-food grade corn oil</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,593</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,846</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">Modified distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,920</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,564</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-indent: -10pt; padding-left: 10pt; padding-bottom: 1px">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">9</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">127</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-indent: -10pt; padding-left: 10pt; padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">113,143</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">100,222</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_NetSalesAndRevenueAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_NetSalesAndRevenueAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of entity-wide revenues from external customers for each product or service or each group of similar products or services if the information is not provided as part of the reportable operating segment information.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 40<br> -URI http://asc.fasb.org/extlink&amp;oid=68060357&amp;loc=d3e9031-108599<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>42
<FILENAME>R33.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6618721104">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>CONSOLIDATED CONDENSED FINANCIAL STATEMENTS (Details)<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockAbstract', window );"><strong>Disclosure Text Block [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NumberOfOperatingSegments', window );">Number of Operating Segments</a></td>
<td class="nump">1<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_NumberOfEthanolEntitiesUnderOwnershipInterest', window );">Number of Ethanol Entities Under Ownership Interest</a></td>
<td class="nump">3<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest', window );">Number of Ethanol Entities Under Majority Ownership Interest</a></td>
<td class="nump">2<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:integerItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_NumberOfEthanolEntitiesUnderOwnershipInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of ethanol entities under ownership interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_NumberOfEthanolEntitiesUnderOwnershipInterest</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:integerItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NumberOfOperatingSegments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of operating segments. An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NumberOfOperatingSegments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:integerItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>43
<FILENAME>R34.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6806594432">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>ACCOUNTING POLICIES (Details) - USD ($)<br></strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Apr. 30, 2016</div></th>
<th class="th"><div>Jan. 31, 2017</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ACCOUNTINGPOLICIESDetailsLineItems', window );"><strong>ACCOUNTING POLICIES (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxesPaid', window );">Income Taxes Paid</a></td>
<td class="nump">$ 0<span></span>
</td>
<td class="nump">$ 0<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromIncomeTaxRefunds', window );">Proceeds from Income Tax Refunds</a></td>
<td class="nump">0<span></span>
</td>
<td class="nump">$ 0<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_UnrecognizedTaxBenefits', window );">Unrecognized Tax Benefits</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 2,096,000<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued', window );">Income Tax Examination, Penalties and Interest Accrued</a></td>
<td class="nump">238,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">221,000<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease', window );">Unrecognized Tax Benefits, Period Increase (Decrease)</a></td>
<td class="nump">$ 2,004,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentDepreciationMethods', window );">Property, Plant and Equipment, Depreciation Methods</a></td>
<td class="text">Depreciationis computed using the straight-line method.<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StatementScenarioAxis=rex_ApproximateMember', window );">Approximate [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ACCOUNTINGPOLICIESDetailsLineItems', window );"><strong>ACCOUNTING POLICIES (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_UnrecognizedTaxBenefits', window );">Unrecognized Tax Benefits</a></td>
<td class="nump">$ 2,004,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 1,875,000<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeStatementLocationAxis=us-gaap_CostOfSalesMember', window );">Cost of Sales [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ACCOUNTINGPOLICIESDetailsLineItems', window );"><strong>ACCOUNTING POLICIES (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting', window );">Maximum Percentage of Equity Ownership Interest Which May be Considered for Equity Method of Accounting</a></td>
<td class="nump">20.00%<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingAndBuildingImprovementsMember', window );">Building and Building Improvements [Member] | Minimum [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ACCOUNTINGPOLICIESDetailsLineItems', window );"><strong>ACCOUNTING POLICIES (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives', window );">Property, Plant and Equipment, Estimated Useful Lives</a></td>
<td class="text">15<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingAndBuildingImprovementsMember', window );">Building and Building Improvements [Member] | Maximum [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ACCOUNTINGPOLICIESDetailsLineItems', window );"><strong>ACCOUNTING POLICIES (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives', window );">Property, Plant and Equipment, Estimated Useful Lives</a></td>
<td class="text">40 years<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentByTypeAxis=rex_FixturesAndEquipmentMember', window );">Fixtures And Equipment [Member] | Minimum [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ACCOUNTINGPOLICIESDetailsLineItems', window );"><strong>ACCOUNTING POLICIES (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives', window );">Property, Plant and Equipment, Estimated Useful Lives</a></td>
<td class="text">2<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentByTypeAxis=rex_FixturesAndEquipmentMember', window );">Fixtures And Equipment [Member] | Maximum [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ACCOUNTINGPOLICIESDetailsLineItems', window );"><strong>ACCOUNTING POLICIES (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives', window );">Property, Plant and Equipment, Estimated Useful Lives</a></td>
<td class="text">20 years<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ACCOUNTINGPOLICIESDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ACCOUNTINGPOLICIESDetailsLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Maximum percentage of equity ownership interest which may be considered for equity method of accounting.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:percentItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of estimated penalties and interest accrued as of the balance sheet date arising from income tax examinations.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32718-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxesPaid">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=98513485&amp;loc=d3e4297-108586<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 25<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3536-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxesPaid</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProceedsFromIncomeTaxRefunds">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of cash received during the period as refunds for the overpayment of taxes.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 25<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3536-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=98513485&amp;loc=d3e4297-108586<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProceedsFromIncomeTaxRefunds</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentDepreciationMethods">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Description of the methodology for computing depreciation for classes of depreciable assets.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (d)<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentDepreciationMethods</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Describes the periods of time over which an entity anticipates to receive utility from its property, plant and equipment (that is, the periods of time over which an entity allocates the initial cost of its property, plant and equipment).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 35<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=68071081&amp;loc=d3e1205-110223<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_UnrecognizedTaxBenefits">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of unrecognized tax benefits.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15A<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=SL6600010-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_UnrecognizedTaxBenefits</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of increase (decrease) in unrecognized tax benefits attributable to uncertain tax positions taken in tax returns.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15A<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=SL6600010-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementScenarioAxis=rex_ApproximateMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementScenarioAxis=rex_ApproximateMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeStatementLocationAxis=us-gaap_CostOfSalesMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeStatementLocationAxis=us-gaap_CostOfSalesMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingAndBuildingImprovementsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingAndBuildingImprovementsMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RangeAxis=us-gaap_MinimumMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RangeAxis=us-gaap_MinimumMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RangeAxis=us-gaap_MaximumMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RangeAxis=us-gaap_MaximumMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentByTypeAxis=rex_FixturesAndEquipmentMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentByTypeAxis=rex_FixturesAndEquipmentMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>44
<FILENAME>R35.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6800678080">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>ACCOUNTING POLICIES (Details) - Schedule of Components of Inventory - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ScheduleOfComponentsOfInventoryAbstract', window );"><strong>Schedule of Components of Inventory [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryFinishedGoodsNetOfReserves', window );">Ethanol and other finished goods</a></td>
<td class="nump">$ 3,159<span></span>
</td>
<td class="nump">$ 5,262<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryWorkInProcessNetOfReserves', window );">Work in process</a></td>
<td class="nump">2,487<span></span>
</td>
<td class="nump">2,359<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryRawMaterialsNetOfReserves', window );">Grain and other raw materials</a></td>
<td class="nump">14,781<span></span>
</td>
<td class="nump">9,436<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryNet', window );">Total</a></td>
<td class="nump">$ 20,427<span></span>
</td>
<td class="nump">$ 17,057<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfComponentsOfInventoryAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ScheduleOfComponentsOfInventoryAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryFinishedGoodsNetOfReserves">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying amount, net of valuation reserves and adjustments, as of the balance sheet date of merchandise or goods held by the company that are readily available for sale.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(6)(a)(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SAB Topic 5.BB)<br> -URI http://asc.fasb.org/extlink&amp;oid=27011343&amp;loc=d3e100047-122729<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryFinishedGoodsNetOfReserves</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.6(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section 35<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=68049868&amp;loc=d3e3927-108312<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6676-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryNet</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryRawMaterialsNetOfReserves">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying amount, net of valuation reserves and adjustments, as of the balance sheet date of unprocessed items to be consumed in the manufacturing or production process.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(6)(a)(4))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SAB Topic 5.BB)<br> -URI http://asc.fasb.org/extlink&amp;oid=27011343&amp;loc=d3e100047-122729<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryRawMaterialsNetOfReserves</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryWorkInProcessNetOfReserves">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying amount, net of reserves and adjustments, as of the balance sheet date of merchandise or goods which are partially completed. This inventory is generally comprised of raw materials, labor and factory overhead costs, which require further materials, labor and overhead to be converted into finished goods, and which generally require the use of estimates to determine percentage complete and pricing.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(6)(a)(3))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SAB Topic 5.BB)<br> -URI http://asc.fasb.org/extlink&amp;oid=27011343&amp;loc=d3e100047-122729<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryWorkInProcessNetOfReserves</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>45
<FILENAME>R36.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6795333248">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>LEASES (Details) - Schedule of Future Minimum Rental Payments for Operating Leases<br> $ in Thousands</strong></div></th>
<th class="th">
<div>Apr. 30, 2017 </div>
<div>USD ($)</div>
</th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract', window );"><strong>Schedule of Future Minimum Rental Payments for Operating Leases [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent', window );">Remainder of 2018</a></td>
<td class="nump">$ 5,486<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears', window );">2019</a></td>
<td class="nump">6,910<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears', window );">2020</a></td>
<td class="nump">5,379<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears', window );">2021</a></td>
<td class="nump">3,580<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears', window );">2022</a></td>
<td class="nump">2,948<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter', window );">Thereafter</a></td>
<td class="nump">1,622<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDue', window );">Total</a></td>
<td class="nump">$ 25,925<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of required minimum rental payments for leases having an initial or remaining non-cancelable letter-terms in excess of one year.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 10<br> -Section 55<br> -Paragraph 40<br> -Subparagraph (Note 3)<br> -URI http://asc.fasb.org/extlink&amp;oid=82846649&amp;loc=d3e38371-112697<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=77902758&amp;loc=d3e41502-112717<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsDue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the next fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 10<br> -Section 55<br> -Paragraph 40<br> -Subparagraph (Note 3)<br> -URI http://asc.fasb.org/extlink&amp;oid=82846649&amp;loc=d3e38371-112697<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=77902758&amp;loc=d3e41502-112717<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=77902758&amp;loc=d3e41502-112717<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 10<br> -Section 55<br> -Paragraph 40<br> -Subparagraph (Note 3)<br> -URI http://asc.fasb.org/extlink&amp;oid=82846649&amp;loc=d3e38371-112697<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the fourth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=77902758&amp;loc=d3e41502-112717<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 10<br> -Section 55<br> -Paragraph 40<br> -Subparagraph (Note 3)<br> -URI http://asc.fasb.org/extlink&amp;oid=82846649&amp;loc=d3e38371-112697<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the third fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=77902758&amp;loc=d3e41502-112717<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 10<br> -Section 55<br> -Paragraph 40<br> -Subparagraph (Note 3)<br> -URI http://asc.fasb.org/extlink&amp;oid=82846649&amp;loc=d3e38371-112697<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the second fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 10<br> -Section 55<br> -Paragraph 40<br> -Subparagraph (Note 3)<br> -URI http://asc.fasb.org/extlink&amp;oid=82846649&amp;loc=d3e38371-112697<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=77902758&amp;loc=d3e41502-112717<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due after the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 10<br> -Section 55<br> -Paragraph 40<br> -Subparagraph (Note 3)<br> -URI http://asc.fasb.org/extlink&amp;oid=82846649&amp;loc=d3e38371-112697<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=77902758&amp;loc=d3e41502-112717<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>46
<FILENAME>R37.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6801427936">
<tr>
<th class="tl" colspan="2" rowspan="1"><div style="width: 200px;"><strong>FAIR VALUE (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems', window );"><strong>FAIR VALUE (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items]</strong></a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue', window );">Commodity futures (1)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">$ 66<span></span>
</td>
<td class="nump">$ 45<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ForwardPurchaseContractsAsset', window );">Forward purchase contract asset</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">163<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_InvestmentInCooperativeFairValueDisclosure', window );">Investment in cooperative (2)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[3]</sup></td>
<td class="nump">333<span></span>
</td>
<td class="nump">333<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AssetsFairValueDisclosure', window );">Total assets</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">399<span></span>
</td>
<td class="nump">541<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ForwardPurchaseContractLiabilityFairValue', window );">Forward purchase contract liability (3)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[4]</sup></td>
<td class="nump">413<span></span>
</td>
<td class="nump">136<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member', window );">Fair Value, Inputs, Level 1 [Member]</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems', window );"><strong>FAIR VALUE (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items]</strong></a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue', window );">Commodity futures (1)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ForwardPurchaseContractsAsset', window );">Forward purchase contract asset</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_InvestmentInCooperativeFairValueDisclosure', window );">Investment in cooperative (2)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[3]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ForwardPurchaseContractLiabilityFairValue', window );">Forward purchase contract liability (3)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[4]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member', window );">Fair Value, Inputs, Level 2 [Member]</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems', window );"><strong>FAIR VALUE (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items]</strong></a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue', window );">Commodity futures (1)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">66<span></span>
</td>
<td class="nump">45<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ForwardPurchaseContractsAsset', window );">Forward purchase contract asset</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">163<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_InvestmentInCooperativeFairValueDisclosure', window );">Investment in cooperative (2)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[3]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AssetsFairValueDisclosure', window );">Total assets</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">66<span></span>
</td>
<td class="nump">208<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ForwardPurchaseContractLiabilityFairValue', window );">Forward purchase contract liability (3)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[4]</sup></td>
<td class="nump">413<span></span>
</td>
<td class="nump">136<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member', window );">Fair Value, Inputs, Level 3 [Member]</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems', window );"><strong>FAIR VALUE (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items]</strong></a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue', window );">Commodity futures (1)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ForwardPurchaseContractsAsset', window );">Forward purchase contract asset</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_InvestmentInCooperativeFairValueDisclosure', window );">Investment in cooperative (2)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[3]</sup></td>
<td class="nump">333<span></span>
</td>
<td class="nump">333<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AssetsFairValueDisclosure', window );">Total assets</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">333<span></span>
</td>
<td class="nump">333<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ForwardPurchaseContractLiabilityFairValue', window );">Forward purchase contract liability (3)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[4]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4"><table class="outerFootnotes" width="100%">
<tr class="outerFootnote">
<td style="vertical-align: top; width: 12pt;" valign="top">[1]</td>
<td style="vertical-align: top;" valign="top">Commodity futures are included in "Prepaid expenses and other current assets" on the accompanying Consolidated Condensed Balance Sheets.</td>
</tr>
<tr class="outerFootnote">
<td style="vertical-align: top; width: 12pt;" valign="top">[2]</td>
<td style="vertical-align: top;" valign="top">The forward purchase contract asset is included in "Prepaid expenses and other current assets on the accompanying Consolidated Condensed Balance Sheets.</td>
</tr>
<tr class="outerFootnote">
<td style="vertical-align: top; width: 12pt;" valign="top">[3]</td>
<td style="vertical-align: top;" valign="top">The investment in cooperative is included in "Other assets" on the accompanying Consolidated Condensed Balance Sheets.</td>
</tr>
<tr class="outerFootnote">
<td style="vertical-align: top; width: 12pt;" valign="top">[4]</td>
<td style="vertical-align: top;" valign="top">The forward purchase contract liability is included in "Accrued expenses and other current liabilities" on the accompanying Consolidated Condensed Balance Sheets.</td>
</tr>
</table></td></tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ForwardPurchaseContractLiabilityFairValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Forward Purchase Contract Liability at Fair Value</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ForwardPurchaseContractLiabilityFairValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ForwardPurchaseContractsAsset">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ForwardPurchaseContractsAsset</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_InvestmentInCooperativeFairValueDisclosure">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Fair value of investment in cooperative as of the reporting date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_InvestmentInCooperativeFairValueDisclosure</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AssetsFairValueDisclosure">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 820<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=66048111&amp;loc=d3e19207-110258<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AssetsFairValueDisclosure</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The fair value as of the balance sheet date of firm holdings in all assets resulting from contracts that meet the criteria of being accounted for as derivative instruments. Their value is derived from the values of one or more underlying assets, reference rates, or indices of asset values. Includes both pledged (to counterparties as collateral for financing transactions) and unpledged holdings.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4B<br> -Subparagraph c<br> -URI http://asc.fasb.org/extlink&amp;oid=84234895&amp;loc=SL5624163-113959<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>47
<FILENAME>R38.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6795357920">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>PROPERTY AND EQUIPMENT (Details) - Schedule of Property and Equipment - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ScheduleOfPropertyAndEquipmentAbstract', window );"><strong>Schedule of Property and Equipment [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LandAndLandImprovements', window );">Land and improvements</a></td>
<td class="nump">$ 20,960<span></span>
</td>
<td class="nump">$ 20,951<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_BuildingsAndImprovementsGross', window );">Buildings and improvements</a></td>
<td class="nump">23,237<span></span>
</td>
<td class="nump">23,203<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_MachineryAndEquipmentGross', window );">Machinery, equipment and fixtures</a></td>
<td class="nump">256,577<span></span>
</td>
<td class="nump">255,348<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ConstructionInProgressGross', window );">Construction in progress</a></td>
<td class="nump">6,968<span></span>
</td>
<td class="nump">1,046<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentGross', window );"></a></td>
<td class="nump">307,742<span></span>
</td>
<td class="nump">300,548<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment', window );">Less: accumulated depreciation</a></td>
<td class="num">(123,068)<span></span>
</td>
<td class="num">(117,787)<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentNet', window );">Total</a></td>
<td class="nump">$ 184,674<span></span>
</td>
<td class="nump">$ 182,761<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfPropertyAndEquipmentAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ScheduleOfPropertyAndEquipmentAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.14)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_BuildingsAndImprovementsGross">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount before accumulated depreciation of building structures held for productive use including addition, improvement, or renovation to the structure, including, but not limited to, interior masonry, interior flooring, electrical, and plumbing.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6812-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_BuildingsAndImprovementsGross</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ConstructionInProgressGross">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of structure or a modification to a structure under construction. Includes recently completed structures or modifications to structures that have not been placed into service.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ConstructionInProgressGross</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LandAndLandImprovements">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount before accumulated deprecation and depletion of real estate held for productive use and additions or improvements to real estate held for productive use, examples include, but are not limited to, walkways, driveways, fences, and parking lots. Excludes land held for sale.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6812-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LandAndLandImprovements</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_MachineryAndEquipmentGross">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount before accumulated depreciation of tangible personal property used to produce goods and services, including, but is not limited to, tools, dies and molds, computer and office equipment.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6812-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_MachineryAndEquipmentGross</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentGross">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.13)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentGross</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(13))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(14))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(8))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879938&amp;loc=d3e572229-122910<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentNet</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>48
<FILENAME>R39.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6619072528">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>OTHER ASSETS (Details) - Schedule of Other Assets - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ScheduleOfOtherAssetsAbstract', window );"><strong>Schedule of Other Assets [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_RealEstateTaxesRefundableNoncurrent', window );">Real estate taxes refundable</a></td>
<td class="nump">$ 5,925<span></span>
</td>
<td class="nump">$ 5,923<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DepositsAssetsNoncurrent', window );">Deposits</a></td>
<td class="nump">105<span></span>
</td>
<td class="nump">155<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherAssetsMiscellaneousNoncurrent', window );">Other</a></td>
<td class="nump">747<span></span>
</td>
<td class="nump">835<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherAssetsNoncurrent', window );">Total</a></td>
<td class="nump">$ 6,777<span></span>
</td>
<td class="nump">$ 6,913<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_RealEstateTaxesRefundableNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Value of real estate taxes refundable non current as of the reporting date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_RealEstateTaxesRefundableNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfOtherAssetsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ScheduleOfOtherAssetsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DepositsAssetsNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying value of amounts transferred to third parties for security purposes that are expected to be returned or applied towards payment after one year or beyond the operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.17)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DepositsAssetsNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherAssetsMiscellaneousNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of other miscellaneous assets expected to be realized or consumed after one year or normal operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherAssetsMiscellaneousNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherAssetsNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of noncurrent assets classified as other.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.17)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherAssetsNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>49
<FILENAME>R40.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6803463056">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES (Details) - Schedule of accrued expenses and other current liabilities - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract', window );"><strong>Schedule of accrued expenses and other current liabilities [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccruedUtilitiesCurrent', window );">Accrued utility charges</a></td>
<td class="nump">$ 2,003<span></span>
</td>
<td class="nump">$ 2,414<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EmployeeRelatedLiabilitiesCurrent', window );">Accrued payroll and related items</a></td>
<td class="nump">2,031<span></span>
</td>
<td class="nump">4,279<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent', window );">Accrued real estate taxes</a></td>
<td class="nump">2,868<span></span>
</td>
<td class="nump">2,716<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccruedIncomeTaxes', window );">Accrued income taxes</a></td>
<td class="nump">4,363<span></span>
</td>
<td class="nump">2,120<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherAccruedLiabilitiesCurrent', window );">Other</a></td>
<td class="nump">2,996<span></span>
</td>
<td class="nump">1,819<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherLiabilitiesCurrent', window );">Total</a></td>
<td class="nump">$ 14,261<span></span>
</td>
<td class="nump">$ 13,348<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying value as of the balance sheet date of obligations incurred and payable for real and property taxes. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.20)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 720<br> -SubTopic 30<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6419918&amp;loc=d3e35281-107843<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6935-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccruedIncomeTaxes">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying amount as of the balance sheet date of the unpaid sum of the known and estimated amounts payable to satisfy all domestic and foreign income tax obligations due.  This amount is the total of current and noncurrent accrued income taxes.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(24))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32718-109319<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(15)(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=6876686&amp;loc=d3e534808-122878<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(20))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(15)(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879938&amp;loc=d3e572229-122910<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccruedIncomeTaxes</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccruedUtilitiesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying value as of the balance sheet date of obligations incurred through that date and payable for utilities, such as electrical power, heating oil, natural gas, and water. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6911-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6935-107765<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.20)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccruedUtilitiesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EmployeeRelatedLiabilitiesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Total of the carrying values as of the balance sheet date of obligations incurred through that date and payable for obligations related to services received from employees, such as accrued salaries and bonuses, payroll taxes and fringe benefits. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.20)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EmployeeRelatedLiabilitiesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherAccruedLiabilitiesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of expenses incurred but not yet paid classified as other, due within one year or the normal operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e7018-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6911-107765<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6935-107765<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.20)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherAccruedLiabilitiesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherLiabilitiesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of liabilities classified as other, due within one year or the normal operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.20)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 5<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6904-107765<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6911-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherLiabilitiesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>50
<FILENAME>R41.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6796474288">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>REVOLVING LINES OF CREDIT (Details) - One Earth Energy And Nu Gen Energy [Member] - Revolving Credit Facility [Member]<br> $ in Millions</strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th">
<div>Apr. 30, 2017 </div>
<div>USD ($)</div>
</th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_REVOLVINGLINESOFCREDITDetailsLineItems', window );"><strong>REVOLVING LINES OF CREDIT (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DebtInstrumentMaturityDate', window );">Debt Instrument, Maturity Date</a></td>
<td class="text">Apr.  01,  2017<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LinesOfCreditCurrent', window );">Line of Credit, Current</a></td>
<td class="nump">$ 10.0<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_REVOLVINGLINESOFCREDITDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_REVOLVINGLINESOFCREDITDetailsLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DebtInstrumentMaturityDate">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Date when the debt instrument is scheduled to be fully repaid, in CCYY-MM-DD format.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.22(a)(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DebtInstrumentMaturityDate</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:dateItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LinesOfCreditCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The carrying value as of the balance sheet date of the current portion of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(13))<br> -URI http://asc.fasb.org/extlink&amp;oid=6876686&amp;loc=d3e534808-122878<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(19))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LinesOfCreditCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_LegalEntityAxis=rex_OneEarthEnergyAndNuGenEnergyMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_LegalEntityAxis=rex_OneEarthEnergyAndNuGenEnergyMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>51
<FILENAME>R42.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6649448880">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>DERIVATIVE FINANCIAL INSTRUMENTS (Details)<br> bu in Millions</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th">
<div>Apr. 30, 2017 </div>
<div>USD ($) </div>
<div>bu</div>
</th>
<th class="th">
<div>Apr. 30, 2016 </div>
<div>USD ($)</div>
</th>
<th class="th">
<div>Jan. 31, 2017 </div>
<div>bu</div>
</th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockSupplementAbstract', window );"><strong>Disclosure Text Block Supplement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_QuantityOfBushelsUnderCommodityFutures', window );">Quantity Of Bushels Under Commodity Futures | bu</a></td>
<td class="nump">0.9<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">0.7<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_QuantityOfBushelsUnderForwardPurchaseContract', window );">Quantity of Bushels under Forward Purchase Contract | bu</a></td>
<td class="nump">10.8<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">5.3<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DebtInstrumentCollateralAmount', window );">Debt Instrument, Collateral Amount (in Dollars) | $</a></td>
<td class="nump">$ 130,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeGainOnDerivative', window );">Derivative, Gain on Derivative (in Dollars) | $</a></td>
<td class="nump">$ 124,000<span></span>
</td>
<td class="nump">$ 488,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_QuantityOfBushelsUnderCommodityFutures">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_QuantityOfBushelsUnderCommodityFutures</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:volumeItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_QuantityOfBushelsUnderForwardPurchaseContract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Quantity of bushels under forward purchase contract.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_QuantityOfBushelsUnderForwardPurchaseContract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:volumeItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DebtInstrumentCollateralAmount">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of assets pledged to secure a debt instrument.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 470<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (d)<br> -URI http://asc.fasb.org/extlink&amp;oid=75038535&amp;loc=d3e64711-112823<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DebtInstrumentCollateralAmount</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DerivativeGainOnDerivative">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of increase in the fair value of derivatives recognized in the income statement.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4C<br> -Subparagraph (a),(c),(d),(e)<br> -URI http://asc.fasb.org/extlink&amp;oid=84234895&amp;loc=SL5624171-113959<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4A<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=84234895&amp;loc=SL5618551-113959<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DerivativeGainOnDerivative</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockSupplementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockSupplementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>52
<FILENAME>R43.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6801200480">
<tr>
<th class="tl" colspan="2" rowspan="1"><div style="width: 200px;"><strong>DERIVATIVE FINANCIAL INSTRUMENTS (Details) - Schedule of Fair Values for Derivative Financial Instruments - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems', window );"><strong>DERIVATIVE FINANCIAL INSTRUMENTS (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items]</strong></a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeAssets', window );">Asset Derivatives, Fair Value</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">$ 66<span></span>
</td>
<td class="nump">$ 208<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeLiabilities', window );">Liability Derivatives, Fair Value</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">413<span></span>
</td>
<td class="nump">136<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CommodityContractMember', window );">Commodity Contract [Member]</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems', window );"><strong>DERIVATIVE FINANCIAL INSTRUMENTS (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items]</strong></a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeAssets', window );">Asset Derivatives, Fair Value</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">66<span></span>
</td>
<td class="nump">45<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeLiabilities', window );">Liability Derivatives, Fair Value</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForwardContractsMember', window );">Forward Contracts [Member]</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems', window );"><strong>DERIVATIVE FINANCIAL INSTRUMENTS (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items]</strong></a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeAssets', window );">Asset Derivatives, Fair Value</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="text"> <span></span>
</td>
<td class="nump">163<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeLiabilities', window );">Liability Derivatives, Fair Value</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="nump">$ 413<span></span>
</td>
<td class="nump">$ 136<span></span>
</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4"><table class="outerFootnotes" width="100%">
<tr class="outerFootnote">
<td style="vertical-align: top; width: 12pt;" valign="top">[1]</td>
<td style="vertical-align: top;" valign="top">Commodity futures are included in prepaid expenses and other current assets. These contracts are short/sell positions for approximately 0.9 million and 0.7 million bushels of corn at April 30, 2017 and January 31, 2017, respectively.</td>
</tr>
<tr class="outerFootnote">
<td style="vertical-align: top; width: 12pt;" valign="top">[2]</td>
<td style="vertical-align: top;" valign="top">Forward purchase contracts assets are included in prepaid expenses and other current assets while forward purchase contracts liabilities are included in accrued expenses and other current liabilities. These contracts are for purchases of approximately 10.8 million and 5.3 million bushels of corn at April 30, 2017 and January 31, 2017, respectively.</td>
</tr>
</table></td></tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DerivativeAssets">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 20<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=51824906&amp;loc=SL20225862-175312<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 10<br> -Section 45<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=6945355&amp;loc=d3e41271-113958<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 10<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=77997519&amp;loc=d3e13433-108611<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 10<br> -Section 45<br> -Paragraph 5<br> -URI http://asc.fasb.org/extlink&amp;oid=6945355&amp;loc=d3e41228-113958<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15<br> -URI http://asc.fasb.org/extlink&amp;oid=77997519&amp;loc=d3e13495-108611<br><br>Reference 6: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 20<br> -Section 55<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=82849420&amp;loc=SL20226008-175313<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DerivativeAssets</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DerivativeLiabilities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 20<br> -Section 55<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=82849420&amp;loc=SL20226008-175313<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15<br> -URI http://asc.fasb.org/extlink&amp;oid=77997519&amp;loc=d3e13495-108611<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 20<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=51824906&amp;loc=SL20225862-175312<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 10<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=77997519&amp;loc=d3e13433-108611<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 10<br> -Section 45<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=6945355&amp;loc=d3e41271-113958<br><br>Reference 6: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 10<br> -Section 45<br> -Paragraph 5<br> -URI http://asc.fasb.org/extlink&amp;oid=6945355&amp;loc=d3e41228-113958<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DerivativeLiabilities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CommodityContractMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CommodityContractMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForwardContractsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForwardContractsMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>53
<FILENAME>R44.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6795356400">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>INVESTMENTS (Details) - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="1">12 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Apr. 30, 2016</div></th>
<th class="th"><div>Jan. 31, 2017</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_INVESTMENTSDetailsLineItems', window );"><strong>INVESTMENTS (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeLossFromEquityMethodInvestments', window );">Income (Loss) from Equity Method Investments</a></td>
<td class="nump">$ 700<span></span>
</td>
<td class="nump">$ 233<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_GainLossOnSaleOfInvestments', window );">Gain (Loss) on Sale of Investments</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">192<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_BigRiverMember', window );">Big River [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_INVESTMENTSDetailsLineItems', window );"><strong>INVESTMENTS (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeLossFromEquityMethodInvestments', window );">Income (Loss) from Equity Method Investments</a></td>
<td class="nump">18,500<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 17,800<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets', window );">Equity Method Investment, Underlying Equity in Net Assets</a></td>
<td class="nump">$ 284,700<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 278,700<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_PatriotMember', window );">Patriot [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_INVESTMENTSDetailsLineItems', window );"><strong>INVESTMENTS (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired', window );">Business Acquisition, Percentage of Voting Interests Acquired</a></td>
<td class="nump">100.00%<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments', window );">Proceeds From Payment For Escrow Holdbacks And Adjustments</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">2,300<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_GainLossOnSaleOfInvestments', window );">Gain (Loss) on Sale of Investments</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 200<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_INVESTMENTSDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_INVESTMENTSDetailsLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Percentage of voting equity interests acquired at the acquisition date in the business combination.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=79982066&amp;loc=d3e1392-128463<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:percentItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>This item represents the entity's ownership percentage in the investee multiplied by the investee's total equity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (a)(3)<br> -URI http://asc.fasb.org/extlink&amp;oid=66011266&amp;loc=d3e33918-111571<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_GainLossOnSaleOfInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The net realized gain (loss) on investments sold during the period, not including gains (losses) on securities separately or otherwise categorized as trading, available-for-sale, or held-to-maturity, which, for cash flow reporting, is a component of proceeds from investing activities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_GainLossOnSaleOfInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeLossFromEquityMethodInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>This item represents the entity's proportionate share for the period of the net income (loss) of its investee (such as unconsolidated subsidiaries and joint ventures) to which the equity method of accounting is applied. This item includes income or expense related to stock-based compensation based on the investor's grant of stock to employees of an equity method investee.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(12))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(10))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=66022249&amp;loc=d3e33749-111570<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(13)(f))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeLossFromEquityMethodInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_BigRiverMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_BigRiverMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_PatriotMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_PatriotMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>54
<FILENAME>R45.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6795437456">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>INVESTMENTS (Details) - Schedule of Equity Method Investments - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems', window );"><strong>Schedule of Equity Method Investments [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestments', window );">Big River</a></td>
<td class="nump">$ 38,533<span></span>
</td>
<td class="nump">$ 37,833<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_BigRiverMember', window );">Big River [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems', window );"><strong>Schedule of Equity Method Investments [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestmentOwnershipPercentage', window );">Big River</a></td>
<td class="nump">9.70%<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestments', window );">Big River</a></td>
<td class="nump">$ 38,533<span></span>
</td>
<td class="nump">$ 37,833<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EquityMethodInvestmentOwnershipPercentage">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (a)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=66011266&amp;loc=d3e33918-111571<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EquityMethodInvestmentOwnershipPercentage</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:percentItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EquityMethodInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=66022249&amp;loc=d3e33749-111570<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.12)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EquityMethodInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfEquityMethodInvestmentsLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_BigRiverMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_BigRiverMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>55
<FILENAME>R46.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6789257328">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>INVESTMENTS (Details) - Schedule of Financial information For Equity Method Investment - Big River [Member] - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Apr. 30, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems', window );"><strong>INVESTMENTS (Details) - Schedule of Financial information For Equity Method Investment [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue', window );">Net sales and revenue</a></td>
<td class="nump">$ 192,500<span></span>
</td>
<td class="nump">$ 183,571<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss', window );">Gross profit</a></td>
<td class="nump">8,181<span></span>
</td>
<td class="nump">5,870<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems', window );">Income from continuing operations</a></td>
<td class="nump">7,206<span></span>
</td>
<td class="nump">2,404<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss', window );">Net income</a></td>
<td class="nump">$ 7,206<span></span>
</td>
<td class="nump">$ 2,404<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of gross profit (loss) reported by an equity method investment of the entity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 7<br> -URI http://asc.fasb.org/extlink&amp;oid=64827811&amp;loc=SL51721683-107760<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=66011266&amp;loc=d3e33912-111571<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g))<br> -URI http://asc.fasb.org/extlink&amp;oid=26873400&amp;loc=d3e23780-122690<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=66011266&amp;loc=d3e33918-111571<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of income (loss) from continuing operations reported by an equity method investee.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g))<br> -URI http://asc.fasb.org/extlink&amp;oid=26873400&amp;loc=d3e23780-122690<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 7<br> -URI http://asc.fasb.org/extlink&amp;oid=64827811&amp;loc=SL51721683-107760<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=66011266&amp;loc=d3e33912-111571<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=66011266&amp;loc=d3e33918-111571<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of net income (loss) reported by an equity method investment of the entity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 7<br> -URI http://asc.fasb.org/extlink&amp;oid=64827811&amp;loc=SL51721683-107760<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=75031198&amp;loc=d3e14064-108612<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=66011266&amp;loc=d3e33918-111571<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g))<br> -URI http://asc.fasb.org/extlink&amp;oid=26873400&amp;loc=d3e23780-122690<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=66011266&amp;loc=d3e33912-111571<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of revenue from sale of goods and services reduced by sales returns, allowances, and discounts reported by an equity method investment of the entity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 7<br> -URI http://asc.fasb.org/extlink&amp;oid=64827811&amp;loc=SL51721683-107760<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=66011266&amp;loc=d3e33918-111571<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_BigRiverMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_BigRiverMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>56
<FILENAME>R47.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6778680320">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>EMPLOYEE BENEFITS (Details) - USD ($)<br></strong></div></th>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_EMPLOYEEBENEFITSDetailsLineItems', window );"><strong>EMPLOYEE BENEFITS (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized', window );">Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized</a></td>
<td class="nump">$ 185,000<span></span>
</td>
<td class="nump">$ 214,000<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PlanNameAxis=rex_StockOptionPlans2015Member', window );">Stock Option Plans 2015 [Member] | Employee Stock Option [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_EMPLOYEEBENEFITSDetailsLineItems', window );"><strong>EMPLOYEE BENEFITS (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized', window );">Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized</a></td>
<td class="nump">550,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant', window );">Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant</a></td>
<td class="nump">525,330<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_EMPLOYEEBENEFITSDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_EMPLOYEEBENEFITSDetailsLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Unrecognized cost of unvested share-based compensation awards.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (i)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The maximum number of shares (or other type of equity) originally approved (usually by shareholders and board of directors), net of any subsequent amendments and adjustments, for awards under the equity-based compensation plan. As stock or unit options and equity instruments other than options are awarded to participants, the shares or units remain authorized and become reserved for issuance under outstanding awards (not necessarily vested).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)(3)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PlanNameAxis=rex_StockOptionPlans2015Member">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PlanNameAxis=rex_StockOptionPlans2015Member</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AwardTypeAxis=us-gaap_EmployeeStockOptionMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AwardTypeAxis=us-gaap_EmployeeStockOptionMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>57
<FILENAME>R48.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6801209104">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>EMPLOYEE BENEFITS (Details) - Schedule of Non-Vested Restricted Stock Award Activity<br> $ / shares in Thousands</strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th">
<div>Apr. 30, 2017 </div>
<div>$ / shares </div>
<div>shares</div>
</th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract', window );"><strong>Schedule of Non-Vested Restricted Stock Award Activity [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares', window );">Non-Vested at January 31, 2017 | shares</a></td>
<td class="nump">23,350<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue', window );">Non-Vested at January 31, 2017 | $ / shares</a></td>
<td class="nump">$ 1,386<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1', window );">Non-Vested at January 31, 2017</a></td>
<td class="text">2 years<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross', window );">Granted | shares</a></td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue', window );">Granted | $ / shares</a></td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares', window );">Forfeited | shares</a></td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue', window );">Forfeited | $ / shares</a></td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares', window );">Vested | shares</a></td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue', window );">Vested | $ / shares</a></td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares', window );">Non-Vested at April 30, 2017 | shares</a></td>
<td class="nump">23,350<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue', window );">Non-Vested at April 30, 2017 | $ / shares</a></td>
<td class="nump">$ 1,386<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1', window );">Non-Vested at April 30, 2017</a></td>
<td class="text">2 years<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Weighted average period over which unrecognized compensation is expected to be recognized for equity-based compensation plans, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (i)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:durationItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Gross number of share options (or share units) granted during the period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (d)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:perShareItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of non-vested options outstanding.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of non-vested options forfeited.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Weighted average grant-date fair value of non-vested options forfeited.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:perShareItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Weighted average grant-date fair value of non-vested options outstanding.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:perShareItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of options vested.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Weighted average grant-date fair value of options vested.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:perShareItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>58
<FILENAME>R49.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6795562384">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>INCOME TAXES (Details)<br></strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Apr. 30, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxDisclosureAbstract', window );"><strong>Income Tax Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EffectiveIncomeTaxRateContinuingOperations', window );">Effective Income Tax Rate Reconciliation, Percent</a></td>
<td class="nump">29.90%<span></span>
</td>
<td class="nump">30.40%<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EffectiveIncomeTaxRateContinuingOperations">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 13<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32698-109319<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08.(h)(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=26873400&amp;loc=d3e23780-122690<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 12<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32687-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EffectiveIncomeTaxRateContinuingOperations</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:percentItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>59
<FILENAME>R50.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6789068944">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>INCOME TAXES  (Details) - Schedule of Unrecognized Tax Benefits Roll Forward<br> $ in Thousands</strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th">
<div>Apr. 30, 2017 </div>
<div>USD ($)</div>
</th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract', window );"><strong>Schedule of Unrecognized Tax Benefits Roll Forward [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_UnrecognizedTaxBenefits', window );">Unrecognized tax benefits, January 31, 2017</a></td>
<td class="nump">$ 2,096<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions', window );">Changes for prior years&#8217; tax positions</a></td>
<td class="nump">147<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties', window );">Unrecognized tax benefits, April 30, 2017</a></td>
<td class="nump">$ 2,243<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_UnrecognizedTaxBenefits">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of unrecognized tax benefits.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15A<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=SL6600010-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_UnrecognizedTaxBenefits</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of increase in unrecognized tax benefits resulting from tax positions taken in prior period tax returns.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15A<br> -Subparagraph (a)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=SL6600010-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>60
<FILENAME>R51.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6786363312">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>COMMITMENTS AND CONTINGENCIES (Details)<br> lb in Millions, gal in Millions, bu in Millions</strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th">
<div>Apr. 30, 2017 </div>
<div>T </div>
<div>lb </div>
<div>bu </div>
<div>gal</div>
</th>
<th class="th">
<div>Jan. 31, 2017 </div>
<div>bu</div>
</th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems', window );"><strong>COMMITMENTS AND CONTINGENCIES (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_QuantityOfBushelsUnderForwardPurchaseContract', window );">Quantity of Bushels under Forward Purchase Contract</a></td>
<td class="nump">10.8<span></span>
</td>
<td class="nump">5.3<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_LegalEntityAxis=rex_OneEarthEnergyAndNuGenEnergyMember', window );">One Earth Energy And Nu Gen Energy [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems', window );"><strong>COMMITMENTS AND CONTINGENCIES (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_QuantityOfBushelsUnderForwardPurchaseContract', window );">Quantity of Bushels under Forward Purchase Contract</a></td>
<td class="nump">14.4<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_QuantityOfEthanolUnderSalesCommitment', window );">Quantity of Ethanol under Sales Commitment | gal</a></td>
<td class="nump">113.6<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_QuantityOfDistillersGrainsUnderSalesCommitment', window );">Quantity of Distillers Grains Under Sales Commitment | T</a></td>
<td class="nump">53,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments', window );">Quantity of Non-food Grade Corn Oil Under Sales Commitments | lb</a></td>
<td class="nump">14.1<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_SupplyCommitmentExpectedPeriodOfDelivery', window );">Supply Commitment Expected Period Of Delivery</a></td>
<td class="text">They expect to deliver the ethanol through December 2017 and expect to deliver the distillersgrains and non-food grade corn oil through June 2017.<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_QuantityOfBushelsUnderForwardPurchaseContract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Quantity of bushels under forward purchase contract.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_QuantityOfBushelsUnderForwardPurchaseContract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:volumeItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_QuantityOfDistillersGrainsUnderSalesCommitment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Quantity of distillers grains under sales commitment.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_QuantityOfDistillersGrainsUnderSalesCommitment</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:massItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_QuantityOfEthanolUnderSalesCommitment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Quantity of ethanol under sales commitment.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_QuantityOfEthanolUnderSalesCommitment</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:volumeItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:massItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_SupplyCommitmentExpectedPeriodOfDelivery">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Supply commitment expected period of delivery.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_SupplyCommitmentExpectedPeriodOfDelivery</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_LegalEntityAxis=rex_OneEarthEnergyAndNuGenEnergyMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_LegalEntityAxis=rex_OneEarthEnergyAndNuGenEnergyMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>61
<FILENAME>R52.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6800741472">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>NET SALES AND REVENUE (Details) - Schedule of Sales of Consolidated Ethanol Plants - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Apr. 30, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems', window );"><strong>Revenue from External Customer [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherAlternativeEnergySalesRevenue', window );">Product or Service</a></td>
<td class="nump">$ 113,143<span></span>
</td>
<td class="nump">$ 100,222<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProductOrServiceAxis=rex_EthanolMember', window );">Ethanol [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems', window );"><strong>Revenue from External Customer [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherAlternativeEnergySalesRevenue', window );">Product or Service</a></td>
<td class="nump">91,472<span></span>
</td>
<td class="nump">77,631<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProductOrServiceAxis=rex_DriedDistillersGrainsMember', window );">Dried Distillers Grains [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems', window );"><strong>Revenue from External Customer [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherAlternativeEnergySalesRevenue', window );">Product or Service</a></td>
<td class="nump">15,149<span></span>
</td>
<td class="nump">17,054<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProductOrServiceAxis=rex_NonFoodGradeCornOilMember', window );">Non-Food Grade Corn Oil [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems', window );"><strong>Revenue from External Customer [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherAlternativeEnergySalesRevenue', window );">Product or Service</a></td>
<td class="nump">4,593<span></span>
</td>
<td class="nump">3,846<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProductOrServiceAxis=rex_ModifiedDistillersGrainsMember', window );">Modified Distillers Grains [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems', window );"><strong>Revenue from External Customer [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherAlternativeEnergySalesRevenue', window );">Product or Service</a></td>
<td class="nump">1,920<span></span>
</td>
<td class="nump">1,564<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProductOrServiceAxis=rex_OtherProductMember', window );">Other Product [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems', window );"><strong>Revenue from External Customer [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherAlternativeEnergySalesRevenue', window );">Product or Service</a></td>
<td class="nump">$ 9<span></span>
</td>
<td class="nump">$ 127<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherAlternativeEnergySalesRevenue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Revenue earned during the period from alternative energy sources (for example, ethanol, biomass, solar, geothermal, and wind power).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 932<br> -SubTopic 235<br> -Section 50<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=68064819&amp;loc=d3e62246-109447<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 980<br> -SubTopic 605<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=68059722&amp;loc=SL51755165-203213<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.1)<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 932<br> -SubTopic 235<br> -Section 50<br> -Paragraph 23<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=68064819&amp;loc=d3e62136-109447<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherAlternativeEnergySalesRevenue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProductOrServiceAxis=rex_EthanolMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProductOrServiceAxis=rex_EthanolMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProductOrServiceAxis=rex_DriedDistillersGrainsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProductOrServiceAxis=rex_DriedDistillersGrainsMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProductOrServiceAxis=rex_NonFoodGradeCornOilMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProductOrServiceAxis=rex_NonFoodGradeCornOilMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProductOrServiceAxis=rex_ModifiedDistillersGrainsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProductOrServiceAxis=rex_ModifiedDistillersGrainsMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProductOrServiceAxis=rex_OtherProductMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProductOrServiceAxis=rex_OtherProductMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>62
<FILENAME>R53.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6634082432">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>RELATED PARTY TRANSACTIONS (Details) - USD ($)<br> $ in Millions</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Apr. 30, 2016</div></th>
<th class="th"><div>Jan. 31, 2017</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_RELATEDPARTYTRANSACTIONSDetailsLineItems', window );"><strong>RELATED PARTY TRANSACTIONS (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountsPayableRelatedPartiesCurrent', window );">Accounts Payable, Related Parties, Current</a></td>
<td class="nump">$ 1.1<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 1.7<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=rex_OneEarthEnergyAndNuGenEnergyMember', window );">One Earth Energy And Nu Gen Energy [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_RELATEDPARTYTRANSACTIONSDetailsLineItems', window );"><strong>RELATED PARTY TRANSACTIONS (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CostsAndExpensesRelatedParty', window );">Costs and Expenses, Related Party</a></td>
<td class="nump">$ 42.3<span></span>
</td>
<td class="nump">$ 44.4<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_RELATEDPARTYTRANSACTIONSDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_RELATEDPARTYTRANSACTIONSDetailsLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountsPayableRelatedPartiesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount for accounts payable to related parties. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 850<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39549-107864<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.19(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 850<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39603-107864<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 850<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39622-107864<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08.(k)(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=26873400&amp;loc=d3e23780-122690<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountsPayableRelatedPartiesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CostsAndExpensesRelatedParty">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Costs of sales and operating expenses for the period incurred from transactions with related parties.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.2)<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CostsAndExpensesRelatedParty</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=rex_OneEarthEnergyAndNuGenEnergyMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=rex_OneEarthEnergyAndNuGenEnergyMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EXCEL
<SEQUENCE>63
<FILENAME>Financial_Report.xlsx
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
begin 644 Financial_Report.xlsx
M4$L#!!0    ( %5\P4H?(\\#P    !,"   +    7W)E;',O+G)E;'.MDD^+
MPD ,Q;]*F?L:5\'#8CUYZ6U9_ )Q)OU#.Y,A$[%^>X>];+=44/ 87O+>CT?V
M/S2@=AQ2V\54C'X(J32M:OP"2+8ECVG%D4)6:A:/FD=I(*+ML2'8K-<[D*F'
M.>RGGD7E2B.5^S3%":4A+<TXP)6E/S/WJVR;A5ND9T*YKCM+1[873T$7LF<;
M!I99-G\LCNVW<+ZT+/0:S>,*P).B0\5?UX^8 TBTH_0(:+L A#&^NQT:E8(C
M-R."?S]PN -02P,$%     @ 57S!2F;S"V""    L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QV!WI&O=P1Z1[[>$>@=^7K'B=ZYJ8>T?2G#H=WG
M2Y=\&OYMS03N7-Z/Z?(9YZG?[I\H7<8M*9P_+W[SGJ=^1(1/+Q$\_@502P,$
M%     @ 57S!2HRC=%'1 0  (R   !,   !;0V]N=&5N=%]4>7!E<UTN>&UL
MS=I=3\(P% ;@OT)V:UCIQ_ CP(UZJR3Z!^IV8 O;VK0%X=_;#371S$0C).\-
M8SO=.>]&\UPQ>SY8\J-]4[=^GI0AV!O&?%Y2HWUJ++6QLC*NT2&>NC6S.M_H
M-3$QF4Q9;MI ;1B'KD>RF-W12F_K,+H]7N]:SQ-M;5WE.E2F9;NV^-9T_-XP
M=53W:WQ967\1%R2C^WWLXN.U>1*K/F&_F/#]QNX\WO>X(^>J@OX4S:Q654Z%
MR;=-O"7UUI$N?$D4FCKUI794/ 57M>OWO$OMPH-N8F.VK]F7!>GY<H1#3<,!
M^LHI)X>X+6AH5%\X?O)_#?S8#;EQ-+8N5EVH!AXO1EK&JF?=PE,^(G5;IZ#B
M5\-CZ_/]L*_&;?KO0R_\L^A9?_C?6S]=#@&20X+D4" Y,I <4Y <ER YKD!R
M7(/DX!.4("BB<A12.8JI' 55CJ(J1V&5H[C*46#E*+(*%%D%BJP"15:!(JM
MD56@R"I09!4HL@H4606*K!)%5HDBJT215:+(*E%DE2BR2A19)8JL$D56B2*K
M0I%5H<BJ4&15*+(J%%D5BJP*15:%(JM"D56AR)JAR)JAR)JAR)J=4=;^F#:Z
M:G]*\F+,YF,^Z_\;L'@#4$L! A0#%     @ 57S!2A\CSP/     $P(   L
M             ( !     %]R96QS+RYR96QS4$L! A0#%     @ 57S!2F;S
M"V""    L0   !               ( !Z0   &1O8U!R;W!S+V%P<"YX;6Q0
M2P$"% ,4    " !5?,%*@(]:L>\    K @  $0              @ &9 0
M9&]C4')O<',O8V]R92YX;6Q02P$"% ,4    " !5?,%*F5R<(Q &  "<)P
M$P              @ &W @  >&PO=&AE;64O=&AE;64Q+GAM;%!+ 0(4 Q0
M   ( %5\P4I[VT89>@(  -\(   8              "  ?@(  !X;"]W;W)K
M<VAE971S+W-H965T,2YX;6Q02P$"% ,4    " !5?,%*1ZL=&/D#  !K$@
M&               @ &H"P  >&PO=V]R:W-H965T<R]S:&5E=#(N>&UL4$L!
M A0#%     @ 57S!2DHB%ND> P  6PP  !@              ( !UP\  'AL
M+W=O<FMS:&5E=',O<VAE970S+GAM;%!+ 0(4 Q0    ( %5\P4J2 +B8EP,
M &\/   8              "  2L3  !X;"]W;W)K<VAE971S+W-H965T-"YX
M;6Q02P$"% ,4    " !5?,%*M50$T0($  #\$0  &               @ 'X
M%@  >&PO=V]R:W-H965T<R]S:&5E=#4N>&UL4$L! A0#%     @ 57S!2F1R
M.B6Q 0  T@,  !@              ( !,!L  'AL+W=O<FMS:&5E=',O<VAE
M970V+GAM;%!+ 0(4 Q0    ( %5\P4H],X2)M@$  -(#   8
M  "  1<=  !X;"]W;W)K<VAE971S+W-H965T-RYX;6Q02P$"% ,4    " !5
M?,%*T22@_[4!  #2 P  &               @ $#'P  >&PO=V]R:W-H965T
M<R]S:&5E=#@N>&UL4$L! A0#%     @ 57S!2CZ7XTZV 0  T@,  !@
M         ( ![B   'AL+W=O<FMS:&5E=',O<VAE970Y+GAM;%!+ 0(4 Q0
M   ( %5\P4I-SDHZMP$  -(#   9              "  =HB  !X;"]W;W)K
M<VAE971S+W-H965T,3 N>&UL4$L! A0#%     @ 57S!2BY1-W^U 0  T@,
M !D              ( !R"0  'AL+W=O<FMS:&5E=',O<VAE970Q,2YX;6Q0
M2P$"% ,4    " !5?,%*?L*QVK(!  #2 P  &0              @ &T)@
M>&PO=V]R:W-H965T<R]S:&5E=#$R+GAM;%!+ 0(4 Q0    ( %5\P4K86).O
MM@$  -(#   9              "  9TH  !X;"]W;W)K<VAE971S+W-H965T
M,3,N>&UL4$L! A0#%     @ 57S!2L0EG!^V 0  T@,  !D
M ( !BBH  'AL+W=O<FMS:&5E=',O<VAE970Q-"YX;6Q02P$"% ,4    " !5
M?,%*5./KN[8!  #2 P  &0              @ %W+   >&PO=V]R:W-H965T
M<R]S:&5E=#$U+GAM;%!+ 0(4 Q0    ( %5\P4I-E1<MM@$  -(#   9
M          "  60N  !X;"]W;W)K<VAE971S+W-H965T,38N>&UL4$L! A0#
M%     @ 57S!2I,C$FRV 0  T@,  !D              ( !43   'AL+W=O
M<FMS:&5E=',O<VAE970Q-RYX;6Q02P$"% ,4    " !5?,%*1H!*JK<!  #2
M P  &0              @ $^,@  >&PO=V]R:W-H965T<R]S:&5E=#$X+GAM
M;%!+ 0(4 Q0    ( %5\P4IDUOJJM@$  -(#   9              "  2PT
M  !X;"]W;W)K<VAE971S+W-H965T,3DN>&UL4$L! A0#%     @ 57S!2HPX
MUDFV 0  T@,  !D              ( !&38  'AL+W=O<FMS:&5E=',O<VAE
M970R,"YX;6Q02P$"% ,4    " !5?,%*UJ/T>C "  !L!P  &0
M    @ $&.   >&PO=V]R:W-H965T<R]S:&5E=#(Q+GAM;%!+ 0(4 Q0    (
M %5\P4HN.-I!M0$  -(#   9              "  6TZ  !X;"]W;W)K<VAE
M971S+W-H965T,C(N>&UL4$L! A0#%     @ 57S!2J'1KS"R 0  T@,  !D
M             ( !63P  'AL+W=O<FMS:&5E=',O<VAE970R,RYX;6Q02P$"
M% ,4    " !5?,%*B7XDU+,!  #2 P  &0              @ %"/@  >&PO
M=V]R:W-H965T<R]S:&5E=#(T+GAM;%!+ 0(4 Q0    ( %5\P4KY[H??N $
M -(#   9              "  2Q   !X;"]W;W)K<VAE971S+W-H965T,C4N
M>&UL4$L! A0#%     @ 57S!2E"N#7RU 0  T@,  !D              ( !
M&T(  'AL+W=O<FMS:&5E=',O<VAE970R-BYX;6Q02P$"% ,4    " !5?,%*
M[X(BX;<!  #2 P  &0              @ $'1   >&PO=V]R:W-H965T<R]S
M:&5E=#(W+GAM;%!+ 0(4 Q0    ( %5\P4K[/E9>N $  -(#   9
M      "  ?5%  !X;"]W;W)K<VAE971S+W-H965T,C@N>&UL4$L! A0#%
M  @ 57S!2H.(^!_! 0  -P0  !D              ( !Y$<  'AL+W=O<FMS
M:&5E=',O<VAE970R.2YX;6Q02P$"% ,4    " !5?,%*C.;.K[<!  #2 P
M&0              @ '<20  >&PO=V]R:W-H965T<R]S:&5E=#,P+GAM;%!+
M 0(4 Q0    ( %5\P4IA)#Y%MP$  -(#   9              "  <I+  !X
M;"]W;W)K<VAE971S+W-H965T,S$N>&UL4$L! A0#%     @ 57S!2AA?=5JW
M 0  T@,  !D              ( !N$T  'AL+W=O<FMS:&5E=',O<VAE970S
M,BYX;6Q02P$"% ,4    " !5?,%*21*1^]@!  "6!   &0
M@ &F3P  >&PO=V]R:W-H965T<R]S:&5E=#,S+GAM;%!+ 0(4 Q0    ( %5\
MP4I])=I&^@(  +P,   9              "  ;51  !X;"]W;W)K<VAE971S
M+W-H965T,S0N>&UL4$L! A0#%     @ 57S!2CSWBJ3_ 0  =04  !D
M         ( !YE0  'AL+W=O<FMS:&5E=',O<VAE970S-2YX;6Q02P$"% ,4
M    " !5?,%**+F"3@("  ##!0  &0              @ $<5P  >&PO=V]R
M:W-H965T<R]S:&5E=#,V+GAM;%!+ 0(4 Q0    ( %5\P4KF%O5 O0,  )83
M   9              "  559  !X;"]W;W)K<VAE971S+W-H965T,S<N>&UL
M4$L! A0#%     @ 57S!2OA+0E<\ @  !0<  !D              ( !25T
M 'AL+W=O<FMS:&5E=',O<VAE970S."YX;6Q02P$"% ,4    " !5?,%*F]H"
M0?4!  !N!0  &0              @ &\7P  >&PO=V]R:W-H965T<R]S:&5E
M=#,Y+GAM;%!+ 0(4 Q0    ( %5\P4K"+L%Z)P(  (H&   9
M  "  >AA  !X;"]W;W)K<VAE971S+W-H965T-# N>&UL4$L! A0#%     @
M57S!2LQ5AG?* 0  . 0  !D              ( !1F0  'AL+W=O<FMS:&5E
M=',O<VAE970T,2YX;6Q02P$"% ,4    " !5?,%*R!CEYS$"   [!@  &0
M            @ %'9@  >&PO=V]R:W-H965T<R]S:&5E=#0R+GAM;%!+ 0(4
M Q0    ( %5\P4K')T,-F@(  ,,)   9              "  :]H  !X;"]W
M;W)K<VAE971S+W-H965T-#,N>&UL4$L! A0#%     @ 57S!2C1?ZQ6% @
MG0@  !D              ( !@&L  'AL+W=O<FMS:&5E=',O<VAE970T-"YX
M;6Q02P$"% ,4    " !5?,%*5D+]>]X!  !(!0  &0              @ $\
M;@  >&PO=V]R:W-H965T<R]S:&5E=#0U+GAM;%!+ 0(4 Q0    ( %5\P4IV
MTT>A)@(   8&   9              "  5%P  !X;"]W;W)K<VAE971S+W-H
M965T-#8N>&UL4$L! A0#%     @ 57S!2O*RMJSG 0  * 4  !D
M     ( !KG(  'AL+W=O<FMS:&5E=',O<VAE970T-RYX;6Q02P$"% ,4
M" !5?,%*V7FNPE<"  !$"   &0              @ ',=   >&PO=V]R:W-H
M965T<R]S:&5E=#0X+GAM;%!+ 0(4 Q0    ( %5\P4KZXE/FU@$  &($   9
M              "  5IW  !X;"]W;W)K<VAE971S+W-H965T-#DN>&UL4$L!
M A0#%     @ 57S!2L%(<WC@ 0  H 0  !D              ( !9WD  'AL
M+W=O<FMS:&5E=',O<VAE970U,"YX;6Q02P$"% ,4    " !5?,%*4&O^\S,"
M  #6!@  &0              @ %^>P  >&PO=V]R:W-H965T<R]S:&5E=#4Q
M+GAM;%!+ 0(4 Q0    ( %5\P4I )38AG0(  ,8)   9              "
M >A]  !X;"]W;W)K<VAE971S+W-H965T-3(N>&UL4$L! A0#%     @ 57S!
M2C.O[002 @  QP4  !D              ( !O(   'AL+W=O<FMS:&5E=',O
M<VAE970U,RYX;6Q02P$"% ,4    " !5?,%*=P+)2KTP  "U[0  %
M        @ $%@P  >&PO<VAA<F5D4W1R:6YG<RYX;6Q02P$"% ,4    " !5
M?,%*JG ^Y4D"  !9"P  #0              @ 'TLP  >&PO<W1Y;&5S+GAM
M;%!+ 0(4 Q0    ( %5\P4HTM?O6"P0  &8B   /              "  6BV
M  !X;"]W;W)K8F]O:RYX;6Q02P$"% ,4    " !5?,%*&BO;,>X!  !4(
M&@              @ &@N@  >&PO7W)E;',O=V]R:V)O;VLN>&UL+G)E;'-0
M2P$"% ,4    " !5?,%*C*-T4=$!   C(   $P              @ '&O
I6T-O;G1E;G1?5'EP97-=+GAM;%!+!08     /@ ^ .00  #(O@     !

end
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>64
<FILENAME>Show.js
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
/**
 * Rivet Software Inc.
 *
 * @copyright Copyright (c) 2006-2011 Rivet Software, Inc. All rights reserved.
 * Version 2.4.0.3
 *
 */

var Show = {};
Show.LastAR = null,

Show.hideAR = function(){
	Show.LastAR.style.display = 'none';
};

Show.showAR = function ( link, id, win ){
	if( Show.LastAR ){
		Show.hideAR();
	}

	var ref = link;
	do {
		ref = ref.nextSibling;
	} while (ref && ref.nodeName != 'TABLE');

	if (!ref || ref.nodeName != 'TABLE') {
		var tmp = win ?
			win.document.getElementById(id) :
			document.getElementById(id);

		if( tmp ){
			ref = tmp.cloneNode(true);
			ref.id = '';
			link.parentNode.appendChild(ref);
		}
	}

	if( ref ){
		ref.style.display = 'block';
		Show.LastAR = ref;
	}
};

Show.toggleNext = function( link ){
	var ref = link;

	do{
		ref = ref.nextSibling;
	}while( ref.nodeName != 'DIV' );

	if( ref.style &&
		ref.style.display &&
		ref.style.display == 'none' ){
		ref.style.display = 'block';

		if( link.textContent ){
			link.textContent = link.textContent.replace( '+', '-' );
		}else{
			link.innerText = link.innerText.replace( '+', '-' );
		}
	}else{
		ref.style.display = 'none';

		if( link.textContent ){
			link.textContent = link.textContent.replace( '-', '+' );
		}else{
			link.innerText = link.innerText.replace( '-', '+' );
		}
	}
};
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>65
<FILENAME>report.css
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
/* Updated 2009-11-04 */
/* v2.2.0.24 */

/* DefRef Styles */
..report table.authRefData{
	background-color: #def;
	border: 2px solid #2F4497;
	font-size: 1em;
	position: absolute;
}

..report table.authRefData a {
	display: block;
	font-weight: bold;
}

..report table.authRefData p {
	margin-top: 0px;
}

..report table.authRefData .hide {
	background-color: #2F4497;
	padding: 1px 3px 0px 0px;
	text-align: right;
}

..report table.authRefData .hide a:hover {
	background-color: #2F4497;
}

..report table.authRefData .body {
	height: 150px;
	overflow: auto;
	width: 400px;
}

..report table.authRefData table{
	font-size: 1em;
}

/* Report Styles */
..pl a, .pl a:visited {
	color: black;
	text-decoration: none;
}

/* table */
..report {
	background-color: white;
	border: 2px solid #acf;
	clear: both;
	color: black;
	font: normal 8pt Helvetica, Arial, san-serif;
	margin-bottom: 2em;
}

..report hr {
	border: 1px solid #acf;
}

/* Top labels */
..report th {
	background-color: #acf;
	color: black;
	font-weight: bold;
	text-align: center;
}

..report th.void	{
	background-color: transparent;
	color: #000000;
	font: bold 10pt Helvetica, Arial, san-serif;
	text-align: left;
}

..report .pl {
	text-align: left;
	vertical-align: top;
	white-space: normal;
	width: 200px;
	white-space: normal; /* word-wrap: break-word; */
}

..report td.pl a.a {
	cursor: pointer;
	display: block;
	width: 200px;
	overflow: hidden;
}

..report td.pl div.a {
	width: 200px;
}

..report td.pl a:hover {
	background-color: #ffc;
}

/* Header rows... */
..report tr.rh {
	background-color: #acf;
	color: black;
	font-weight: bold;
}

/* Calendars... */
..report .rc {
	background-color: #f0f0f0;
}

/* Even rows... */
..report .re, .report .reu {
	background-color: #def;
}

..report .reu td {
	border-bottom: 1px solid black;
}

/* Odd rows... */
..report .ro, .report .rou {
	background-color: white;
}

..report .rou td {
	border-bottom: 1px solid black;
}

..report .rou table td, .report .reu table td {
	border-bottom: 0px solid black;
}

/* styles for footnote marker */
..report .fn {
	white-space: nowrap;
}

/* styles for numeric types */
..report .num, .report .nump {
	text-align: right;
	white-space: nowrap;
}

..report .nump {
	padding-left: 2em;
}

..report .nump {
	padding: 0px 0.4em 0px 2em;
}

/* styles for text types */
..report .text {
	text-align: left;
	white-space: normal;
}

..report .text .big {
	margin-bottom: 1em;
	width: 17em;
}

..report .text .more {
	display: none;
}

..report .text .note {
	font-style: italic;
	font-weight: bold;
}

..report .text .small {
	width: 10em;
}

..report sup {
	font-style: italic;
}

..report .outerFootnotes {
	font-size: 1em;
}
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>67
<FILENAME>FilingSummary.xml
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<XML>
<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.7.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>76</ContextCount>
  <ElementCount>197</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>28</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000 - Disclosure - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>001 - Statement - CONSOLIDATED CONDENSED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedBalanceSheet</Role>
      <ShortName>CONSOLIDATED CONDENSED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>002 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedIncomeStatement</Role>
      <ShortName>CONSOLIDATED CONDENSED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>003 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF SHAREHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ShareholdersEquityType2or3</Role>
      <ShortName>CONSOLIDATED CONDENSED STATEMENTS OF SHAREHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>004 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedCashFlow</Role>
      <ShortName>CONSOLIDATED CONDENSED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>005 - Disclosure - CONSOLIDATED CONDENSED FINANCIAL STATEMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTS</Role>
      <ShortName>CONSOLIDATED CONDENSED FINANCIAL STATEMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>006 - Disclosure - ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ACCOUNTINGPOLICIES</Role>
      <ShortName>ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>007 - Disclosure - LEASES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/LEASES</Role>
      <ShortName>LEASES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>008 - Disclosure - FAIR VALUE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/FAIRVALUE</Role>
      <ShortName>FAIR VALUE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>009 - Disclosure - PROPERTY AND EQUIPMENT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/PROPERTYANDEQUIPMENT</Role>
      <ShortName>PROPERTY AND EQUIPMENT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>010 - Disclosure - OTHER ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/OTHERASSETS</Role>
      <ShortName>OTHER ASSETS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>011 - Disclosure - ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES</Role>
      <ShortName>ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>012 - Disclosure - REVOLVING LINES OF CREDIT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/REVOLVINGLINESOFCREDIT</Role>
      <ShortName>REVOLVING LINES OF CREDIT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>013 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTS</Role>
      <ShortName>DERIVATIVE FINANCIAL INSTRUMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>014 - Disclosure - INVESTMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/INVESTMENTS</Role>
      <ShortName>INVESTMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>015 - Disclosure - EMPLOYEE BENEFITS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/EMPLOYEEBENEFITS</Role>
      <ShortName>EMPLOYEE BENEFITS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>016 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/INCOMETAXES</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>017 - Disclosure - COMMITMENTS AND CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIES</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>018 - Disclosure - NET SALES AND REVENUE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/NETSALESANDREVENUE</Role>
      <ShortName>NET SALES AND REVENUE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>019 - Disclosure - RELATED PARTY TRANSACTIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONS</Role>
      <ShortName>RELATED PARTY TRANSACTIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>020 - Disclosure - Accounting Policies, by Policy (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/AccountingPoliciesByPolicy</Role>
      <ShortName>Accounting Policies, by Policy (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>021 - Disclosure - ACCOUNTING POLICIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ACCOUNTINGPOLICIESTables</Role>
      <ShortName>ACCOUNTING POLICIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/ACCOUNTINGPOLICIES</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>022 - Disclosure - LEASES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/LEASESTables</Role>
      <ShortName>LEASES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/LEASES</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>023 - Disclosure - FAIR VALUE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/FAIRVALUETables</Role>
      <ShortName>FAIR VALUE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/FAIRVALUE</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>024 - Disclosure - PROPERTY AND EQUIPMENT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/PROPERTYANDEQUIPMENTTables</Role>
      <ShortName>PROPERTY AND EQUIPMENT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/PROPERTYANDEQUIPMENT</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>025 - Disclosure - OTHER ASSETS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/OTHERASSETSTables</Role>
      <ShortName>OTHER ASSETS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/OTHERASSETS</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>026 - Disclosure - ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables</Role>
      <ShortName>ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>027 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSTables</Role>
      <ShortName>DERIVATIVE FINANCIAL INSTRUMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTS</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>028 - Disclosure - INVESTMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/INVESTMENTSTables</Role>
      <ShortName>INVESTMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/INVESTMENTS</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>029 - Disclosure - EMPLOYEE BENEFITS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/EMPLOYEEBENEFITSTables</Role>
      <ShortName>EMPLOYEE BENEFITS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/EMPLOYEEBENEFITS</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>030 - Disclosure - INCOME TAXES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/INCOMETAXESTables</Role>
      <ShortName>INCOME TAXES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/INCOMETAXES</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>031 - Disclosure - NET SALES AND REVENUE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/NETSALESANDREVENUETables</Role>
      <ShortName>NET SALES AND REVENUE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/NETSALESANDREVENUE</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>032 - Disclosure - CONSOLIDATED CONDENSED FINANCIAL STATEMENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTSDetails</Role>
      <ShortName>CONSOLIDATED CONDENSED FINANCIAL STATEMENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTS</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>033 - Disclosure - ACCOUNTING POLICIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ACCOUNTINGPOLICIESDetails</Role>
      <ShortName>ACCOUNTING POLICIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/ACCOUNTINGPOLICIESTables</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>034 - Disclosure - ACCOUNTING POLICIES (Details) - Schedule of Components of Inventory</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable</Role>
      <ShortName>ACCOUNTING POLICIES (Details) - Schedule of Components of Inventory</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/ACCOUNTINGPOLICIESTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>035 - Disclosure - LEASES (Details) - Schedule of Future Minimum Rental Payments for Operating Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable</Role>
      <ShortName>LEASES (Details) - Schedule of Future Minimum Rental Payments for Operating Leases</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/LEASESTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>036 - Disclosure - FAIR VALUE (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable</Role>
      <ShortName>FAIR VALUE (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/FAIRVALUETables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>037 - Disclosure - PROPERTY AND EQUIPMENT (Details) - Schedule of Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable</Role>
      <ShortName>PROPERTY AND EQUIPMENT (Details) - Schedule of Property and Equipment</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/PROPERTYANDEQUIPMENTTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>038 - Disclosure - OTHER ASSETS (Details) - Schedule of Other Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofOtherAssetsTable</Role>
      <ShortName>OTHER ASSETS (Details) - Schedule of Other Assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/OTHERASSETSTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>039 - Disclosure - ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES (Details) - Schedule of accrued expenses and other current liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable</Role>
      <ShortName>ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES (Details) - Schedule of accrued expenses and other current liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>040 - Disclosure - REVOLVING LINES OF CREDIT (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/REVOLVINGLINESOFCREDITDetails</Role>
      <ShortName>REVOLVING LINES OF CREDIT (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/REVOLVINGLINESOFCREDIT</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>041 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSDetails</Role>
      <ShortName>DERIVATIVE FINANCIAL INSTRUMENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>042 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENTS (Details) - Schedule of Fair Values for Derivative Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable</Role>
      <ShortName>DERIVATIVE FINANCIAL INSTRUMENTS (Details) - Schedule of Fair Values for Derivative Financial Instruments</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>043 - Disclosure - INVESTMENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/INVESTMENTSDetails</Role>
      <ShortName>INVESTMENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/INVESTMENTSTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>044 - Disclosure - INVESTMENTS (Details) - Schedule of Equity Method Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable</Role>
      <ShortName>INVESTMENTS (Details) - Schedule of Equity Method Investments</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/INVESTMENTSTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>045 - Disclosure - INVESTMENTS (Details) - Schedule of Financial information For Equity Method Investment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofFinancialinformationForEquityMethodInvestmentTable</Role>
      <ShortName>INVESTMENTS (Details) - Schedule of Financial information For Equity Method Investment</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/INVESTMENTSTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>046 - Disclosure - EMPLOYEE BENEFITS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/EMPLOYEEBENEFITSDetails</Role>
      <ShortName>EMPLOYEE BENEFITS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/EMPLOYEEBENEFITSTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>047 - Disclosure - EMPLOYEE BENEFITS (Details) - Schedule of Non-Vested Restricted Stock Award Activity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable</Role>
      <ShortName>EMPLOYEE BENEFITS (Details) - Schedule of Non-Vested Restricted Stock Award Activity</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/EMPLOYEEBENEFITSTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>048 - Disclosure - INCOME TAXES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/INCOMETAXESDetails</Role>
      <ShortName>INCOME TAXES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/INCOMETAXESTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>049 - Disclosure - INCOME TAXES  (Details) - Schedule of Unrecognized Tax Benefits Roll Forward</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable</Role>
      <ShortName>INCOME TAXES  (Details) - Schedule of Unrecognized Tax Benefits Roll Forward</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/INCOMETAXESTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>050 - Disclosure - COMMITMENTS AND CONTINGENCIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIESDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIES</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>051 - Disclosure - NET SALES AND REVENUE (Details) - Schedule of Sales of Consolidated Ethanol Plants</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofSalesofConsolidatedEthanolPlantsTable</Role>
      <ShortName>NET SALES AND REVENUE (Details) - Schedule of Sales of Consolidated Ethanol Plants</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/NETSALESANDREVENUETables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="rex-20170430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>052 - Disclosure - RELATED PARTY TRANSACTIONS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONSDetails</Role>
      <ShortName>RELATED PARTY TRANSACTIONS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONS</ParentRole>
      <Position>53</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>rex-20170430.xml</File>
    <File>rex-20170430.xsd</File>
    <File>rex-20170430_cal.xml</File>
    <File>rex-20170430_def.xml</File>
    <File>rex-20170430_lab.xml</File>
    <File>rex-20170430_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
</XML>
</TEXT>
</DOCUMENT>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U[:X'ZX/?,MSHGHM@>"F1^V,8U>,28+T>W['+EF% ,F3< U\
MY'C\'52$"AC7ZMRPBBZY&ZS.>5P2P#^PAVA2@\;;\!2LD4=2,F<8A%! ]F/E
MZ-U93*I!VAUE^)Y4.HQ_B]P08^!M!PY)7A"%?G[8SFG\$2X[P'F3?.-AH]%Z
MV-=<HOSU/#_8V4&[Y_OE0-DAS=GT\C#N)^"ZOT/T &? ]!$$MN'[855-.!OL
M9<-W3P"E0.U$P5E*G3[8QKD7P@ZBQ<-V:)DIP66'^%O.968W[.%P.\"_$;"N
MEPW<G0VU%)H=YOS'R^S0L4BEX)X>NC,^>P4Z.^A_VCN2Q?<$OUR0$>],'Y!_
M_3]02P$"% ,4    " !5?,%*&\$K8%MK  "I8P4 $               @ $
M    <F5X+3(P,3<P-#,P+GAM;%!+ 0(4 Q0    ( %5\P4K',(XU[!   )&L
M   0              "  8EK  !R97@M,C Q-S T,S N>'-D4$L! A0#%
M  @ 57S!2D%#:?=O#0  W*,  !0              ( !HWP  ')E>"TR,#$W
M,#0S,%]C86PN>&UL4$L! A0#%     @ 57S!2KATH.?8+@  W[," !0
M         ( !1(H  ')E>"TR,#$W,#0S,%]D968N>&UL4$L! A0#%     @
M57S!2K4FG !"3   7\,# !0              ( !3KD  ')E>"TR,#$W,#0S
M,%]L86(N>&UL4$L! A0#%     @ 57S!2A49Q_6;+P  9LT" !0
M     ( !P@4! ')E>"TR,#$W,#0S,%]P<F4N>&UL4$L%!@     &  8 A $
' (\U 0    $!

end
</TEXT>
</DOCUMENT>
</SEC-DOCUMENT>
