<SEC-DOCUMENT>0000930413-18-001960.txt : 20180604
<SEC-HEADER>0000930413-18-001960.hdr.sgml : 20180604
<ACCEPTANCE-DATETIME>20180604133525
ACCESSION NUMBER:		0000930413-18-001960
CONFORMED SUBMISSION TYPE:	10-Q
PUBLIC DOCUMENT COUNT:		74
CONFORMED PERIOD OF REPORT:	20180430
FILED AS OF DATE:		20180604
DATE AS OF CHANGE:		20180604

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:		18877543

	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>c91268_10q.htm
<TEXT>
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>



<!-- Field: Rule-Page --><DIV ALIGN="LEFT" STYLE="margin-top: 0pt; margin-bottom: 0pt"><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"><B>&nbsp;</B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; text-indent: 0.5in"><B>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" STYLE="margin-top: 0pt; margin-bottom: 0pt"><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: 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"><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: 6%"><FONT STYLE="font-family: Wingdings">x</FONT></TD>
    <TD STYLE="width: 94%"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><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: 10pt Times New Roman, Times, Serif"><B>For the quarterly period ended April 30, 2018</B></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>OR</B></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD><FONT STYLE="font-family: Wingdings">o</FONT></TD>
    <TD><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><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><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><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" STYLE="margin-top: 0pt; margin-bottom: 0pt"><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>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: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>


<!-- Field: Rule-Page --><DIV ALIGN="CENTER" STYLE="margin-top: 0pt; margin-bottom: 0pt"><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" ALIGN="CENTER" STYLE="font: 10pt Times New Roman, Times, Serif; width: 60%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 50%; text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>Delaware</B></FONT></TD>
    <TD STYLE="width: 50%; text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>31-1095548</B></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>(State or other jurisdiction of</B></FONT></TD>
    <TD STYLE="text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>(I.R.S. Employer</B></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>incorporation or organization)</B></FONT></TD>
    <TD STYLE="text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>Identification Number)</B></FONT></TD></TR>
</TABLE>

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

<TABLE CELLSPACING="0" CELLPADDING="0" ALIGN="CENTER" STYLE="font: 10pt Times New Roman, Times, Serif; width: 60%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 50%; text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>7720 Paragon Road, Dayton, Ohio</B></FONT></TD>
    <TD STYLE="width: 50%; text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>45459</B></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>(Address of principal executive offices)</B></FONT></TD>
    <TD STYLE="text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>(Zip Code)</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>(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" STYLE="margin-top: 0pt; margin-bottom: 0pt"><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 Times New Roman, Times, Serif; margin: 0pt 0.2in 0pt 0; text-align: justify">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. 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: 0pt 0.2in 0pt 0; text-align: justify">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0.2in 0pt 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). 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: 0pt 0.2in 0pt 0; text-align: justify">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0.25in 0pt 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 0.25in 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 STYLE="width: 25%"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Large accelerated filer <FONT STYLE="font-family: Wingdings">o</FONT></FONT></TD>
    <TD STYLE="width: 46%">&nbsp;</TD>
    <TD STYLE="width: 29%"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Accelerated filer <FONT STYLE="font-family: Wingdings">x</FONT></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD COLSPAN="2"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Non-accelerated filer <FONT STYLE="font-family: Wingdings">o</FONT></FONT> <FONT STYLE="font: 10pt Times New Roman, Times, Serif">(Do not check if a smaller reporting company)</FONT></TD>
    <TD><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Smaller reporting company <FONT STYLE="font-family: Wingdings">o</FONT></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Emerging growth company <FONT STYLE="font-family: Wingdings">o</FONT></FONT></TD></TR>
</TABLE>
<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0.25in 0pt 0; text-align: justify">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0.25in 0pt 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.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0.25in 0pt 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). 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 0.25in 0pt 0; text-align: justify">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0.25in 0pt 0; text-align: justify">At the close of business on
June 1, 2018 the registrant had 6,433,744 shares of Common Stock, par value $.01 per share, outstanding.</P>

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

<!-- Field: Rule-Page --><DIV ALIGN="LEFT" STYLE="margin-top: 0pt; margin-bottom: 0pt"><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: 12pt 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="width: 100%; border-collapse: collapse; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 10%">&nbsp;</TD>
    <TD STYLE="width: 85%">&nbsp;</TD>
    <TD STYLE="width: 5%; text-align: right">Page</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c91268a001">PART I.</A></TD>
    <TD><A HREF="#x1_c91268a001">FINANCIAL INFORMATION</A></TD>
    <TD STYLE="text-align: right">3</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c91268a002">Item 1.</A> </TD>
    <TD><A HREF="#x1_c91268a002">Financial Statements</A> </TD>
    <TD STYLE="text-align: right">3</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><A HREF="#x1_c91268a003">Consolidated Condensed Balance Sheets</A></TD>
    <TD STYLE="text-align: right">3</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><A HREF="#x1_c91268a004">Consolidated Condensed Statements of Operations</A></TD>
    <TD STYLE="text-align: right">4</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><A HREF="#x1_c91268a005">Consolidated Condensed Statements of Equity</A></TD>
    <TD STYLE="text-align: right">5</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><A HREF="#x1_c91268a006">Consolidated Condensed Statements of Cash Flows</A></TD>
    <TD STYLE="text-align: right">6</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><A HREF="#x1_c91268a007">Notes to Consolidated Condensed Financial Statements</A></TD>
    <TD STYLE="text-align: right">7</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c91268a008">Item 2.</A></TD>
    <TD><A HREF="#x1_c91268a008">Management&rsquo;s Discussion and Analysis of Financial Condition and Results of Operations</A></TD>
    <TD STYLE="text-align: right">24</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c91268a009">Item 3.</A></TD>
    <TD><A HREF="#x1_c91268a009">Quantitative and Qualitative Disclosures About Market Risk</A></TD>
    <TD STYLE="text-align: right">35</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c91268a010">Item 4.</A></TD>
    <TD><A HREF="#x1_c91268a010">Controls and Procedures</A></TD>
    <TD STYLE="text-align: right">35</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c91268a011">PART II.</A></TD>
    <TD><A HREF="#x1_c91268a011">OTHER INFORMATION</A></TD>
    <TD STYLE="text-align: right">36</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c91268a012">Item 1.</A></TD>
    <TD><A HREF="#x1_c91268a012">Legal Proceedings</A></TD>
    <TD STYLE="text-align: right">36</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c91268a013">Item 1A.</A></TD>
    <TD><A HREF="#x1_c91268a013">Risk Factors</A></TD>
    <TD STYLE="text-align: right">36</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c91268a014">Item 2.</A></TD>
    <TD><A HREF="#x1_c91268a014">Unregistered Sales of Equity Securities and Use of Proceeds</A></TD>
    <TD STYLE="text-align: right">36</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c91268a015">Item 3.</A></TD>
    <TD><A HREF="#x1_c91268a015">Defaults upon Senior Securities</A></TD>
    <TD STYLE="text-align: right">36</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c91268a016">Item 4.</A></TD>
    <TD><A HREF="#x1_c91268a016">Mine Safety Disclosures</A></TD>
    <TD STYLE="text-align: right">36</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c91268a017">Item 5.</A></TD>
    <TD><A HREF="#x1_c91268a017">Other Information</A></TD>
    <TD STYLE="text-align: right">36</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c91268a018">Item 6.</A></TD>
    <TD><A HREF="#x1_c91268a018">Exhibits</A></TD>
    <TD STYLE="text-align: right">37</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"><A NAME="x1_c91268a001"></A><B>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_c91268a002"></A><B>Item 1. <I>Financial Statements</I></B></P>

<P STYLE="font: bold 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"><A NAME="x1_c91268a003"></A><B>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>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">(In Thousands)</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: 100%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">April 30,</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">January 31,</TD><TD>&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">2018</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">2018</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-indent: -10pt; padding-left: 10pt">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: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 10pt">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: 69%; text-align: left; text-indent: -10pt; padding-left: 20pt">Cash and cash equivalents</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 8%; text-align: right">64,246</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">190,988</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-indent: -10pt; padding-left: 20pt">Short-term investments</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">111,495</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: rgb(229,255,255)">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Restricted cash</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">896</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">354</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: 20pt">Accounts receivable</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">21,263</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">12,913</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: 20pt">Inventory</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">26,088</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">20,755</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: 20pt">Refundable income taxes</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">7,861</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">6,612</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; text-indent: -10pt; padding-left: 20pt">Prepaid expenses 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">8,056</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">7,412</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; text-indent: -10pt; padding-left: 30pt">Total current assets</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">239,905</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">239,034</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">Property and equipment, net</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">193,969</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">197,827</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">Other assets</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">7,444</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">7,454</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; text-indent: -10pt; padding-left: 10pt">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">35,246</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">34,549</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; text-indent: -10pt; padding-left: 20pt">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">476,564</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,864</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-indent: -10pt; padding-left: 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="text-align: left; text-indent: -10pt; padding-left: 10pt">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; text-indent: -10pt; padding-left: 10pt">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; text-indent: -10pt; padding-left: 20pt">Accounts payable, trade</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">8,803</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">8,149</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; text-indent: -10pt; padding-left: 20pt">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">10,956</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,716</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; text-indent: -10pt; padding-left: 30pt">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">19,759</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">21,865</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-indent: -10pt; padding-left: 10pt">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; text-indent: -10pt; padding-left: 20pt">Deferred taxes</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">19,435</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">21,706</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; text-indent: -10pt; padding-left: 20pt">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">4,039</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">3,367</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; text-indent: -10pt; padding-left: 30pt">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">23,474</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">25,073</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-indent: -10pt; padding-left: 10pt">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; text-indent: -10pt; padding-left: 20pt">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; text-indent: -10pt; padding-left: 40pt">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="text-indent: -10pt; padding-left: 40pt">Paid-in capital</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">146,981</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">146,923</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: 40pt">Retained earnings</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">557,409</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">547,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; text-indent: -10pt; padding-left: 40pt">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">(322,758</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,643</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 50pt">Total REX shareholders&rsquo; equity</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">381,931</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">381,492</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; text-indent: -10pt; padding-left: 20pt">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">51,400</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">50,434</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; text-indent: -10pt; padding-left: 20pt">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">433,331</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">431,926</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; text-indent: -10pt; padding-left: 20pt">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">476,564</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,864</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><FONT STYLE="font-size: 10pt">The accompanying notes are an
integral part of  these unaudited consolidated condensed financial statements</FONT><FONT STYLE="font-size: 10pt">.</FONT></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"><A NAME="x1_c91268a004"></A><B>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>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left">(In Thousands)</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: 100%; 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; 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>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2018</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">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: 69%; text-align: left; text-indent: -10pt; padding-left: 10pt">Net sales and revenue</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 8%; text-align: right">120,820</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">113,143</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 1px; text-indent: -10pt; padding-left: 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">109,969</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">100,654</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; text-indent: -10pt; padding-left: 10pt">Gross profit</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">10,851</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 10pt">Selling, general and administrative expenses</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(4,553</TD><TD STYLE="text-align: left">)</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></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 10pt">Equity in income of unconsolidated affiliates</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">697</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 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">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">215</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; text-indent: -10pt; padding-left: 10pt">Income before income taxes</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">7,649</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Benefit (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,703</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,390</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; text-indent: -10pt; padding-left: 10pt">Net income</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">10,352</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; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 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">(856</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,068</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: 3px; text-indent: -10pt; padding-left: 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">9,496</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">4,544</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-indent: -10pt; padding-left: 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="padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Weighted average shares outstanding &ndash; basic and 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,571</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,593</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-indent: -10pt; padding-left: 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="text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Basic and 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">1.45</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.69</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_c91268a005"></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">&nbsp;</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>&nbsp;</TD>
    <TD COLSPAN="22" STYLE="text-align: center; border-bottom: Black 1px solid">REX Shareholders</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>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">Common Shares</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><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="text-align: center; border-bottom: Black 1px solid">Issued</TD><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">Treasury</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; padding-bottom: 1px">Paid-in</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; padding-bottom: 1px">Retained</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; padding-bottom: 1px">Noncontrolling</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; padding-bottom: 1px">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="text-align: center; border-bottom: Black 1px solid">Shares</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">Amount</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">Shares</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">Amount</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">Capital</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">Earnings</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">Interests</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">Equity</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><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><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; background-color: rgb(229,255,255)">
    <TD STYLE="width: 28%; text-indent: -10pt; padding-left: 10pt">Balance at January 31, 2018</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 5%; 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: 5%; 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: 5%; text-align: right">23,287</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: 5%; text-align: right">(313,643</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: 5%; text-align: right">146,923</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: 5%; text-align: right">547,913</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: 5%; text-align: right">50,434</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: 5%; text-align: right">431,926</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-indent: -10pt; padding-left: 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; text-indent: -10pt; padding-left: 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">9,496</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">856</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">10,352</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-indent: -10pt; padding-left: 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; text-indent: -10pt; padding-left: 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">126</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(9,128</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">(9,128</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-indent: -10pt; padding-left: 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; text-indent: -10pt; padding-left: 10pt">Capital contributions</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">110</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">110</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-indent: -10pt; padding-left: 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; text-indent: -10pt; padding-left: 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">13</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">58</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">71</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-indent: -10pt; padding-left: 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; text-indent: -10pt; padding-left: 10pt">Balance at April 30, 2018</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,413</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">(322,758</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">146,981</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">557,409</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">51,400</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">433,331</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-indent: -10pt; padding-left: 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-indent: -10pt; padding-left: 10pt">Balance at January 31, 2017</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,292</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">(313,838</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">145,767</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">508,207</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">47,839</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">388,274</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-indent: -10pt; padding-left: 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; text-indent: -10pt; padding-left: 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="text-indent: -10pt; padding-left: 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; text-indent: -10pt; padding-left: 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="text-indent: -10pt; padding-left: 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; text-indent: -10pt; padding-left: 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: 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">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>
</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_c91268a006"></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>

<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: 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 STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center; border-bottom: Black 1px solid">April 30,</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">2018</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">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: 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; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 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: 65%; text-align: left; text-indent: -10pt; padding-left: 10pt">Net income including noncontrolling interests</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">10,352</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">5,612</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; text-indent: -10pt; padding-left: 10pt">Adjustments to reconcile net income to net cash (used in) provided by 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-indent: -10pt; padding-left: 20pt">Depreciation</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">5,920</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Income from equity method investments</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(697</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(700</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Accrued interest income</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(341</TD><TD STYLE="text-align: left">)</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: rgb(229,255,255)">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Deferred income tax</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(2,271</TD><TD STYLE="text-align: left">)</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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Stock based compensation expense</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">71</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Gain on disposal of property and equipment</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(8</TD><TD STYLE="text-align: left">)</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; text-indent: -10pt; padding-left: 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: rgb(229,255,255)">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Accounts receivable</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(8,350</TD><TD STYLE="text-align: left">)</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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-indent: -10pt; padding-left: 20pt">Inventories</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(5,333</TD><TD STYLE="text-align: left">)</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></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Other assets</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(1,894</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(30</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Accounts payable, trade</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,011</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 20pt">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">(1,980</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">723</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; text-indent: -10pt; padding-left: 10pt">Net cash (used in) provided by 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">(3,520</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">8,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; text-indent: -10pt; padding-left: 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: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Capital expenditures</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(3,061</TD><TD STYLE="text-align: left">)</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></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-indent: -10pt; padding-left: 20pt">Purchase of short-term investment</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(111,154</TD><TD STYLE="text-align: left">)</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; text-indent: -10pt; padding-left: 20pt">Restricted investments and deposits</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">5</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 1px; text-indent: -10pt; padding-left: 20pt">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; text-indent: -10pt; padding-left: 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">(114,204</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">(5,848</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; text-indent: -10pt; padding-left: 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; text-indent: -10pt; padding-left: 20pt">Treasury stock acquired</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(8,586</TD><TD STYLE="text-align: left">)</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: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 20pt">Capital contributions from minority investor</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">110</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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 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">(8,476</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">&mdash;</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; text-indent: -10pt; padding-left: 10pt">Net (decrease) increase in cash, cash equivalents and restricted cash</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(126,200</TD><TD STYLE="text-align: left">)</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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Cash, cash equivalents and restricted cash, 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">191,342</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">188,706</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; text-indent: -10pt; padding-left: 10pt">Cash, cash equivalents and restricted cash, 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">65,142</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">191,623</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-indent: -10pt; padding-left: 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; text-indent: -10pt; padding-left: 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">142</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">1,284</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; text-indent: -10pt; padding-left: 10pt">Non cash financing activities &ndash; Stock 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">&mdash;</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">167</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Non cash financing activities &ndash; Accrued common stock repurchases</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">542</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>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-indent: -10pt; padding-left: 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="text-align: left; text-indent: -10pt; padding-left: 10pt">Reconciliation of total cash, cash equivalents and restricted cash:</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">
    <TD STYLE="text-indent: -10pt; padding-left: 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; text-indent: -10pt; padding-left: 10pt">Cash and cash equivalents</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">64,246</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">191,493</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; text-indent: -10pt; padding-left: 10pt">Restricted cash</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">896</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">130</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; text-indent: -10pt; padding-left: 10pt">Total cash, cash equivalents and restricted cash</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">65,142</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">191,623</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: 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: 0pt 0; text-align: center"><B>REX AMERICAN RESOURCES CORPORATION AND
SUBSIDIARIES</B></P>

<P STYLE="font: 12pt 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"><A NAME="x1_c91268a007"></A><B>NOTES TO UNAUDITED CONSOLIDATED CONDENSED
FINANCIAL STATEMENTS</B></P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>April 30, 2018</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 99pt 0pt 0"><B>Note 1. <I>Consolidated Condensed Financial Statements</I></B></P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">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, 2018 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, 2018 (fiscal year 2017). 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, 2018. 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: 0pt 0; text-indent: 0.5in">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">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 consolidates
the results of its four majority owned subsidiaries. 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 as One Earth has a fiscal
year end of December 31.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">Nature of Operations &ndash; In the third
quarter of fiscal year 2017, the Company began reporting the results of its refined coal operation as a new segment as a result
of the August 10, 2017 acquisition of an entity that operates a refined coal facility (see Note 4). Prior to the acquisition, the
Company had one reportable segment, ethanol. Beginning with the third quarter of fiscal year 2017, the Company has two reportable
segments: i) ethanol and by-products and ii) refined coal. Within the ethanol and by-products segment, the Company has equity investments
in three ethanol limited liability companies, two of which are majority ownership interests. Within the refined coal segment, the
Company has a majority equity interest in one refined coal limited liability company.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 2. <I>Accounting Policies</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: 0.5in">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 2017 Annual Report on Form 10-K and the
adoption of new accounting standards described at the end of this footnote. 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</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: 10pt Times New Roman, Times, Serif; margin: 0pt 0">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>

<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">Revenue Recognition</P>

<P STYLE="font: bold 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: 0.5in">For ethanol and by-products segment sales,
the Company recognizes sales of ethanol, distillers grains and non-food grade corn oil when obligations under the terms of the
respective contracts with customers are satisfied. This occurs with the transfer of control of products, generally upon shipment
from the ethanol plant or upon loading of the rail car used to transport the products. For refined coal segment sales, the Company
recognizes sales of refined coal when obligations under the term of the contract with its customer are satisfied. This occurs when
title and control of the product transfers to its customer, generally upon the coal leaving the refined coal plant. Refined coal
sales are recorded net of the cost of coal as the Company purchases the coal feedstock from the customer to which refined coal
is sold (after processing).</P>

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

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

<P STYLE="font: bold 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: 0.5in">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: 0pt 0; text-indent: 0.5in">&nbsp;</P>

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

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

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

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

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

<P STYLE="font: bold 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: 0.5in">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;
(&ldquo;ASC 815&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.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">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>

<!-- 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: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0">Income Taxes</P>

<P STYLE="font: bold 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: 0.5in">The Company applies an effective tax rate
to interim periods that is consistent with the Company&rsquo;s estimated annual effective tax rate as adjusted for discrete items
impacting the interim periods. The Company&rsquo;s estimated annual effective tax rate includes the impact of its refined coal
operation and the expected federal income tax credits to be earned, beginning August 10, 2017, the date of the refined coal acquisition
(see Note 4). Based on current projections, the Company has estimated that its annual effective tax rate for fiscal year 2018 will
be a tax benefit of approximately 25-30%. 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 nor received refunds of income taxes during the three months ended April 30, 2018 and 2017.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">As of April 30, 2018 and January 31, 2018,
total unrecognized tax benefits were approximately $2.8 million and $2.0 million, respectively. Accrued penalties and interest
were approximately $0.4 million and $0.4 million at April 30, 2018 and January 31, 2018, respectively. If the Company were to prevail
on all unrecognized tax benefits recorded, the provision for income taxes would be reduced by approximately $2.8 million. 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: 0pt 0; text-indent: 0.5in">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Inventories</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: 0.5in">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 by-products and refined coal. 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, 2018 and January 31, 2018. 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: 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: 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>
    2018</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>
    2018</TD><TD STYLE="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: 56%; text-align: left">Ethanol and other finished goods</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">8,985</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">8,402</TD><TD STYLE="width: 1%; 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,917</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,824</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,186</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,529</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">26,088</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">20,755</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>


<!-- 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: 0pt 0"><B>Property and Equipment </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-align: left; text-indent: 36pt"><B></B>Property and
equipment is recorded at cost or the fair value on the date of acquisition (for property and equipment acquired in a business combination).
Depreciation is computed using the straight-line method. Estimated useful lives are 5 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: 0pt 0; text-align: left; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; 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 2018 or 2017. 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>

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

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Investments </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 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 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: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 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>




<!-- Field: Page; Sequence: 1; Options: NewSection; Value: 10 -->
    <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: 0pt 0; text-indent: 36pt">Short-term investments are considered held
to maturity, and, therefore are carried at amortized historical cost.</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>Comprehensive Income</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-align: left; 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: 0pt 0; text-align: left; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Accounting Changes and Recently Issued Accounting Standards
</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-align: left; text-indent: 36pt">Effective February
1, 2018, the Company adopted 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. See Note 3 for a further discussion of adopting this amended guidance.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">Effective February
1, 2018, the Company prospectively adopted Accounting Standards Update &ldquo;ASU&rdquo; 2016-15 &ldquo;<I>Statement of Cash Flows
(Topic 230), Classification of Certain Cash Receipts and Cash Payments</I>&rdquo;. This standard provides guidance on eight specific
cash flow issues. The cash flow issues covered by this ASU are: 1) debt prepayment or debt extinguishment costs; 2) settlement
of zero-coupon debt instruments or other debt instruments with coupon interest rates that are insignificant in relation to the
effective interest rate of the borrowing; 3) contingent consideration payments made after a business combination; 4) proceeds from
the settlement of insurance claims; 5) proceeds from the settlement of corporate-owned life insurance policies, including bank-owned
life insurance policies; 6) distributions received from equity method investees; 7) beneficial interests in securitization transactions;
and 8) separately identifiable cash flows and application of the predominance principle for distributions received from equity
method investees in the Statement of Cash Flows. The adoption of this standard did not affect the consolidated condensed financial
statements and related disclosures.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">Effective February
1, 2018, the Company adopted ASU 2016-18 &ldquo;<I>Statement of Cash Flows (Topic 230), Restricted Cash&rdquo;. </I>
This standard requires that the statements of cash flows explain the changes in the combined total of restricted and
unrestricted cash balances. Amounts generally described as restricted cash will be combined with unrestricted cash and cash
equivalents when reconciling the beginning and end of period balances on the statements of cash flows. The Company adopted
this standard retrospectively. Therefore, the beginning and end of period balances of cash and cash equivalents as of January
31 and April 30, 2017 were increased by $130,000 to reflect the respective restricted cash amounts.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">In February 2016, the
FASB issued ASU 2016-02 &ldquo;Leases&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 the effect 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-of-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 5).</P>




<!-- Field: Page; Sequence: 2; Value: 10 -->
    <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: 0pt 0"><B>Note 3. <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-align: left; text-indent: 36pt">On February 1, 2018,
the Company adopted the amended guidance in ASC Topic 606, &ldquo;<I>Revenue from Contracts with Customers</I>&rdquo;, and all
related amendments and applied it to all contracts utilizing the modified retrospective method. There were no adjustments to the
Consolidated Condensed Balance Sheet as of February 1, 2018 as a result of the adoption of this accounting guidance. Therefore,
comparative information has not been restated and continues to be reported under the accounting standards in effect for those periods.
Furthermore, there was no impact related to the adoption of this accounting guidance on the Consolidated Condensed Statements of
Operations or Balance Sheets for the three months ended April 30, 2018. The Company expects the impact of adopting this accounting
guidance to be immaterial on an ongoing basis.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">The Company
recognizes sales of products when obligations under the terms of the respective contracts with customers are satisfied. This
occurs with the transfer of control of products, generally upon shipment from the ethanol plant or upon loading of the rail
car used to transport the products. Revenue is measured as the amount of consideration expected to be received in exchange
for transferring goods. Sales, value add and other taxes the Company collects concurrent with revenue producing activities
are excluded from net sales and revenue.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">The majority of the
Company&rsquo;s sales have payment terms ranging from 5 to 10 days after transfer of control. The Company has determined that sales
contracts do not generally include a significant financing component. The Company has not historically, and does not intend to,
enter into sales contracts in which payment is due from a customer prior to transferring product to the customer. Thus, the Company
does not record unearned revenue.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">The Company elected,
pursuant to the new accounting guidance, to recognize the cost for shipping and handling activities that occur after the customer
obtains control of the promised goods as fulfillment activities and not when performance obligations are met. The Company has also
elected, pursuant to the new accounting guidance, to exclude sales and other taxes from net sales and revenue.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">See Note 17 for disaggregation
of net sales and revenue by operating segment and by product.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 4. <I>Business Combinations</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-align: left; text-indent: 36pt"><B><I></I></B>On August
10, 2017, the Company, through a 95.35% owned subsidiary, purchased the entire ownership interest of an entity that owns a refined
coal facility. The Company began operating its refined coal facility immediately after the acquisition. The Company expects that
the revenues from the sale of refined coal produced in the facility will be subsidized by federal production tax credits through
November 2021, subject to meeting qualified emissions reductions as governed by Section 45 of the Internal Revenue Code.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The impact on the combined results of operations
of the Company and the refined coal entity, on a pro forma basis, as though the companies had been combined as of the beginning
of fiscal year 2017, is as follows:</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">Cost of sales would have increased by approximately
$692,000 for the quarter ended April 30, 2017. This pro forma increase is a result of increased depreciation expense as if the
refined coal entity was</P>




<!-- Field: Page; Sequence: 3; Value: 10 -->
    <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: 0pt 0">consolidated during the quarter ended April 30, 2017. Selling,
general and administrative expenses would have increased by approximately $2,510,000 for the quarter ended April 30, 2017. These
pro forma adjustments are a result of transaction costs occurring (on a pro forma basis) during the first quarter of fiscal year
2017. The provision for income taxes would have decreased by approximately $1,217,000 for the quarter ended April 30, 2017. Net
income attributable to REX common shareholders would have decreased by approximately $1,893,000 for the quarter ended April 30,
2017. Basic and diluted net income per share attributable to REX common shareholders would have decreased by approximately $0.29
per share for the quarter ended April 30, 2017.</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 results of the Company&rsquo;s refined
coal operations (approximately $0.6 million of net sales and revenue and approximately $6.9 million of net income attributable
to REX common shareholders, including the income tax benefit of estimated Section 45 credits to be earned) have been included in
the consolidated financial statements subsequent to the acquisition date and are included in the Company&rsquo;s refined coal segment.</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">The purchase price was $12,049,000, which
was paid in cash. The acquisition was recorded by allocating the total purchase price to the assets acquired, based on their estimated
fair values at the acquisition date. The purchase price allocation is based on the final fair value assessment results of a valuation
analysis. The income approach was used to determine the fair values of assets acquired. The following table summarizes the estimated
fair values of the assets acquired at the acquisition date (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: 75%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 86%; text-indent: -10pt; padding-left: 10pt">Inventory</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">49</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; text-indent: -10pt; padding-left: 10pt">Property, plant and equipment</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">12,000</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; text-indent: -10pt; padding-left: 10pt">Total assets acquired and purchase price</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">12,049</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; text-align: left; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">Transaction costs totaled
approximately $2.5 million during fiscal year 2017. The Company does not expect transaction costs from this acquisition to be significant
for fiscal year 2018 and beyond.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 5. <I>Leases</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">At April 30, 2018, 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: 0pt 0">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 50%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-align: left; padding-bottom: 1px; border-bottom: Black 1px solid">Years Ended January 31,</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; padding-bottom: 1px; border-bottom: Black 1px solid">Minimum<BR>Rentals</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-align: left">&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: 83%; text-indent: -10pt; padding-left: 10pt; text-align: left">Remainder of 2019</TD><TD STYLE="width: 10%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 5%; text-align: right">5,712</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">2020</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">6,151</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">2021</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">4,261</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">2022</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">3,629</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">2023</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,064</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt; 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">4,569</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-indent: -10pt; padding-left: 10pt; 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">26,386</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>


<!-- Field: Page; Sequence: 4; Value: 10 -->
    <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: 0pt 0"><B>Note 6. <I>Fair Value</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">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 </FONT>accounting principles generally accepted in the United States of America<FONT STYLE="color: black">. 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.</FONT></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">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>

<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-align: left; 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.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 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, 2018 are summarized below (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: 80%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px; text-align: left">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; border-bottom: Black 1px solid; text-align: left">Level 1</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px; text-align: left">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; border-bottom: Black 1px solid; text-align: left">Level 2</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px; text-align: left">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; border-bottom: Black 1px solid; text-align: left">Level 3</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px; text-align: left">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; border-bottom: Black 1px solid; text-align: left">Fair Value</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 40%; color: black; text-align: left; text-indent: -10pt; padding-left: 10pt">Forward purchase contract asset (1)</TD><TD STYLE="width: 3%; color: black">&nbsp;</TD>
    <TD STYLE="width: 1%; color: black; text-align: left">$</TD><TD STYLE="width: 10%; color: black; text-align: right">&mdash;</TD><TD STYLE="width: 1%; color: black; text-align: left">&nbsp;</TD><TD STYLE="width: 3%; color: black">&nbsp;</TD>
    <TD STYLE="width: 1%; color: black; text-align: left">$</TD><TD STYLE="width: 10%; color: black; text-align: right">378</TD><TD STYLE="width: 1%; color: black; text-align: left">&nbsp;</TD><TD STYLE="width: 3%; color: black">&nbsp;</TD>
    <TD STYLE="width: 1%; color: black; text-align: left">$</TD><TD STYLE="width: 10%; color: black; text-align: right">&mdash;</TD><TD STYLE="width: 1%; color: black; text-align: left">&nbsp;</TD><TD STYLE="width: 3%; color: black">&nbsp;</TD>
    <TD STYLE="width: 1%; color: black; text-align: left">$</TD><TD STYLE="width: 10%; color: black; text-align: right">378</TD><TD STYLE="width: 1%; color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Investment in cooperative (2)</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">333</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">333</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total assets</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">378</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">333</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">711</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="color: Black; text-indent: -10pt; padding-left: 10pt">&nbsp;</TD><TD STYLE="color: Black">&nbsp;</TD>
    <TD STYLE="color: Black; text-align: left">&nbsp;</TD><TD STYLE="color: Black; text-align: right">&nbsp;</TD><TD STYLE="color: Black; text-align: left">&nbsp;</TD><TD STYLE="color: Black">&nbsp;</TD>
    <TD STYLE="color: Black; text-align: left">&nbsp;</TD><TD STYLE="color: Black; text-align: right">&nbsp;</TD><TD STYLE="color: Black; text-align: left">&nbsp;</TD><TD STYLE="color: Black">&nbsp;</TD>
    <TD STYLE="color: Black; text-align: left">&nbsp;</TD><TD STYLE="color: Black; text-align: right">&nbsp;</TD><TD STYLE="color: Black; text-align: left">&nbsp;</TD><TD STYLE="color: Black">&nbsp;</TD>
    <TD STYLE="color: Black; text-align: left">&nbsp;</TD><TD STYLE="color: Black; text-align: right">&nbsp;</TD><TD STYLE="color: Black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="color: black; text-align: left; text-indent: -10pt; padding-left: 10pt">Commodity futures (3)</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">$</TD><TD STYLE="color: black; text-align: right">&mdash;</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">$</TD><TD STYLE="color: black; text-align: right">592</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">$</TD><TD STYLE="color: black; text-align: right">&mdash;</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">$</TD><TD STYLE="color: black; text-align: right">592</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Forward purchase contract liability (4)</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">436</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">436</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total liabilities</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">1,028</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">1,028</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD></TR>
</TABLE>


<!-- Field: Page; Sequence: 5; Value: 10 -->
    <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: 0pt 0; text-indent: 36pt">Financial assets and liabilities measured
at fair value on a recurring basis at January 31, 2018 are summarized below (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: 80%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; border-bottom: Black 1px solid">Level 1</TD><TD STYLE="padding-bottom: 1px; color: black">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; border-bottom: Black 1px solid">Level 2</TD><TD STYLE="padding-bottom: 1px; color: black">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; border-bottom: Black 1px solid">Level 3</TD><TD STYLE="padding-bottom: 1px; color: black">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; text-align: left; border-bottom: Black 1px solid">Fair Value</TD><TD STYLE="padding-bottom: 1px; color: black">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; text-align: center">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 40%; color: black; text-align: left; text-indent: -10pt; padding-left: 10pt">Forward purchase contracts asset (1)</TD><TD STYLE="width: 3%; color: black">&nbsp;</TD>
    <TD STYLE="width: 1%; color: black; text-align: left">$</TD><TD STYLE="width: 10%; color: black; text-align: right">&mdash;</TD><TD STYLE="width: 1%; color: black; text-align: left">&nbsp;</TD><TD STYLE="width: 3%; color: black">&nbsp;</TD>
    <TD STYLE="width: 1%; color: black; text-align: left">$</TD><TD STYLE="width: 10%; color: black; text-align: right">72</TD><TD STYLE="width: 1%; color: black; text-align: left">&nbsp;</TD><TD STYLE="width: 3%; color: black">&nbsp;</TD>
    <TD STYLE="width: 1%; color: black; text-align: left">$</TD><TD STYLE="width: 10%; color: black; text-align: right">&mdash;</TD><TD STYLE="width: 1%; color: black; text-align: left">&nbsp;</TD><TD STYLE="width: 3%; color: black">&nbsp;</TD>
    <TD STYLE="width: 1%; color: black; text-align: left">$</TD><TD STYLE="width: 10%; color: black; text-align: right">72</TD><TD STYLE="width: 1%; color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Investment in cooperative (2)</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">333</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">333</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total assets</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">72</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">333</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">405</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-indent: -10pt; padding-left: 10pt">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: right">&nbsp;</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: right">&nbsp;</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: right">&nbsp;</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: right">&nbsp;</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="color: black; text-align: left; text-indent: -10pt; padding-left: 10pt">Commodity futures (3)</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">$</TD><TD STYLE="color: black; text-align: right">&mdash;</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">$</TD><TD STYLE="color: black; text-align: right">87</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">$</TD><TD STYLE="color: black; text-align: right">&mdash;</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">$</TD><TD STYLE="color: black; text-align: right">87</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Forward purchase contract liability (4)</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">34</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">34</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total liabilities</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">121</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">&mdash;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">121</TD><TD STYLE="padding-bottom: 3px; color: black; 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">(1) The forward purchase contract asset is
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: 0pt 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: 0pt 0; text-indent: 36pt">(3) Commodity futures are 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: 0pt 0; text-indent: 36pt">(4) 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: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 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: 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 assets measured at fair value
on a non-recurring basis at April 30, 2018 or January 31, 2018. As discussed in Note 4, the Company estimated the fair values of
refined coal assets acquired using the income approach. This estimated fair value is a level 3 measurement.</P>




<!-- Field: Page; Sequence: 6; Value: 10 -->
    <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: 0pt 0"><B>Note 7. <I>Property and Equipment</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-align: left; text-indent: 36pt"><B></B>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: 0pt 0; text-align: left; text-indent: 36pt">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 75%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&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, </FONT><BR><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><U>
    </U>2018</FONT></TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" NOWRAP STYLE="text-align: center; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">January 31,</FONT><BR> <FONT STYLE="font: 10pt Times New Roman, Times, Serif">2018</FONT></TD><TD>&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-align: left; text-indent: -10pt; padding-left: 10pt">Land and improvements</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">21,095</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">21,074</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">Buildings and improvements</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">23,277</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">23,272</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">Machinery, equipment and fixtures</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">289,633</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">288,832</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; text-indent: -10pt; padding-left: 10pt">Construction in progress</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,378</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">3,155</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-indent: -10pt; padding-left: 10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">338,383</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">336,333</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; text-indent: -10pt; padding-left: 10pt">Less: accumulated depreciation</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">(144,414</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">(138,506</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">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">193,969</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">197,827</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"><B>&nbsp;</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 8. <I>Other Assets</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-align: left; 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: 0pt 0; text-align: left; text-indent: 36pt">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 75%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&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,</FONT><BR><FONT STYLE="font: 10pt Times New Roman, Times, Serif"> 2018</FONT></TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" NOWRAP STYLE="text-align: center; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">January
    31,</FONT><BR> <FONT STYLE="font: 10pt Times New Roman, Times, Serif">2018</FONT></TD><TD>&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-align: left; text-indent: -10pt; padding-left: 10pt">Real estate taxes refundable</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">6,721</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">6,719</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-indent: -10pt; padding-left: 10pt">Deposits</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">5</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; text-indent: -10pt; padding-left: 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">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">730</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; text-indent: -10pt; padding-left: 10pt">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">7,444</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">7,454</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; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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>

<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>Note 9. <I>Accrued Expenses and Other Current Liabilities</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-align: left; text-indent: 36pt">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: 0pt 0; text-align: left; text-indent: 36pt">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 75%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&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, </FONT><BR><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><U>
    </U>2018</FONT></TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" NOWRAP STYLE="text-align: center; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">January 31,</FONT><BR> <FONT STYLE="font: 10pt Times New Roman, Times, Serif">2018</FONT></TD><TD>&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-align: left; text-indent: -10pt; padding-left: 10pt">Accrued payroll and related items</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">1,822</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">5,108</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">Accrued utility charges</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,202</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,639</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">Accrued real estate taxes</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,846</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,678</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">Accrued income taxes</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">68</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">61</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; text-indent: -10pt; padding-left: 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">4,018</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">3,230</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; text-indent: -10pt; padding-left: 10pt">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">10,956</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">13,716</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>


<!-- Field: Page; Sequence: 7; Value: 10 -->
    <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: 0pt 0"><B>Note 10. <I>Revolving Lines of Credit</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-align: left; text-indent: 36pt">Effective April 1,
2016, One Earth and NuGen Energy, LLC (&ldquo;NuGen&rdquo;) each entered into $10.0 million revolving loan facilities that  mature June 1, 2019. Neither One Earth nor NuGen had outstanding borrowings on the revolving loans during the three months
ended April 30, 2018 and 2017.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 11. <I>Derivative Financial Instruments</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-align: left; 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: 0pt 0; text-align: left; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">The following table
provides information about the fair values of the Company&rsquo;s derivative financial instruments (that are not accounted for
under the &ldquo;normal purchases and normal sales&rdquo; scope exemption of ASC 815) 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: 0pt 0; text-align: left; 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="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="text-align: justify">&nbsp;</TD><TD>&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,</FONT><BR><FONT STYLE="font: 10pt Times New Roman, Times, Serif"> <U> </U>2018</FONT></TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">January
    31,</FONT><BR><FONT STYLE="font: 10pt Times New Roman, Times, Serif"> <U> </U>2018</FONT></TD><TD>&nbsp;</TD><TD>&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,</FONT><BR><FONT STYLE="font: 10pt Times New Roman, Times, Serif"> <U> </U>2018</FONT></TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">January
    31,</FONT><BR><FONT STYLE="font: 10pt Times New Roman, Times, Serif"> <U> </U>2018</FONT></TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-align: justify">&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: 52%; text-align: justify; text-indent: -10pt; padding-left: 10pt">Commodity futures (1)</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><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 8%; text-align: right">592</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">87</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: justify; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Forward purchase contracts (2)</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">378</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">72</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">436</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">34</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: justify; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">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">378</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">72</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">1,028</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">121</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 0pt 23.75pt; text-align: justify">&nbsp;</P>

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

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; 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 22.6 million and 11.7 million bushels
of corn at April 30, 2018 and January 31, 2018, respectively.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">As of April 30, 2018,
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, 2018, 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</P>
<!-- Field: Page; Sequence: 8; Value: 10 -->
    <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">30, 2018, the Company was required to maintain collateral in
the amount of approximately $896,000 to secure the Company&rsquo;s derivative position.</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">See Note 6 which contains fair value information
related to derivative financial instruments.</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">Losses on the Company&rsquo;s derivative
financial instruments of approximately $565,000 for the first quarter of fiscal year 2018 were included in cost of sales on the
Consolidated Condensed Statements of Operations. Gains on the Company&rsquo;s derivative financial instruments of approximately
$124,000 for the first quarter of fiscal year 2017 were included in cost of sales on the Consolidated Condensed Statements of
Operations. Gains on the Company&rsquo;s derivative financial instruments of approximately $44,000 for the first quarter of fiscal
year 2018 were included in net sales and revenue on the Consolidated Condensed Statements of Operations.</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>Note 12. <I>Investments</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 the Company&rsquo;s
equity method investment at April 30, 2018 and January 31, 2018 (dollars 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: 95%; 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="text-align: right; border-bottom: Black 1px solid">Ownership Percentage</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">Carrying Amount<BR> April 30, 2018</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">Carrying Amount<BR> January 31, 2018</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 STYLE="width: 31%; text-align: left">Big River</TD><TD STYLE="width: 12%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 15%; text-align: right">10.3</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: 12%; text-align: right">35,246</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: 12%; text-align: right">34,549</TD><TD STYLE="width: 5%; 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">Undistributed earnings of the Company&rsquo;s
equity method investee totaled approximately $15.2 million and $14.5 million at April 30, 2018 and January 31, 2018, respectively.
The Company did not receive dividends from its equity method investee in the first quarter of fiscal years 2018 or 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">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: 0pt 0; text-indent: 36pt">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 50%; 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">2018</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">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: 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; background-color: rgb(229,255,255)">
    <TD STYLE="width: 60%; text-align: left">Net sales and revenue</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 15%; text-align: right">191,943</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: 15%; text-align: right">192,500</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">13,691</TD><TD STYLE="text-align: left">&nbsp;</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></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">6,765</TD><TD STYLE="text-align: left">&nbsp;</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></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">6,765</TD><TD STYLE="text-align: left">&nbsp;</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></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">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,
2018 and January 31, 2018 are approximately $214.1 million and $202.6 million, respectively.</P>

<!-- Field: Page; Sequence: 1; Options: NewSection; Value: 18 -->
    <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"><B>Note 13. <I>Employee Benefits</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-align: justify; text-indent: 36pt">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. Since plan inception, the Company has only granted restricted stock awards. 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, 2018, 511,174 shares remain available for issuance under the Plan. As a
component of their compensation, restricted stock has been granted to directors at the closing market price of REX common stock
on the predetermined grant date. In addition one third of executives&rsquo; incentive compensation is payable by an award of restricted
stock based on the then closing market price of REX common stock on the predetermined grant date.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">At April 30, and January
31, 2018, unrecognized compensation cost related to nonvested restricted stock was approximately $162,000 and $233,000, respectively.
The following tables summarize non-vested restricted stock award activity for the three months ended April 30, 2018 and 2017:</P>

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

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 90%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD COLSPAN="10" STYLE="font: 10pt Times New Roman, Times, Serif; text-align: center">Three Months Ended April 30, 2018</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD COLSPAN="10" STYLE="font: 10pt Times New Roman, Times, Serif; text-align: center">&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="font: 10pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid">Non-Vested<BR> Shares</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="font: 10pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid">Weighted<BR> Average&nbsp;&nbsp;Grant<BR> Date Fair Value<BR> (000&rsquo;s)</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="font: 10pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid">Weighted<BR> Average Remaining<BR> VestingTerm<BR> (in years)</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; 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><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: 49%; font: 10pt Times New Roman, Times, Serif">Non-Vested at January 31, 2018</TD><TD STYLE="width: 3%; font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="width: 12%; font: 10pt Times New Roman, Times, Serif; text-align: right">29,415</TD><TD STYLE="width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="width: 3%; font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left">$</TD><TD STYLE="width: 12%; font: 10pt Times New Roman, Times, Serif; text-align: right">2,275</TD><TD STYLE="width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="width: 3%; font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="width: 12%; font: 10pt Times New Roman, Times, Serif; text-align: right">2</TD><TD STYLE="width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">Granted</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: right">&mdash;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: right">&mdash;</TD><TD STYLE="font: 10pt 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: 10pt Times New Roman, Times, Serif">Forfeited</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: right">&mdash;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: left">&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: right">&mdash;</TD><TD STYLE="font: 10pt 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: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">Vested</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid">672</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid">50</TD><TD STYLE="font: 10pt 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: 10pt Times New Roman, Times, Serif; padding-bottom: 3px">Non-Vested at April 30, 2018</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double">28,743</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double">2,225</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: right; padding-bottom: 3px">2</TD><TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&nbsp;</TD></TR>
</TABLE>




<!-- Field: Page; Sequence: 2; Value: 18 -->
    <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 -->

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 90%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="10" STYLE="text-align: center">Three Months Ended April 30, 2017</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="10" STYLE="text-align: center">&nbsp;</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">Non-Vested<BR> Shares</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">Weighted<BR> Average Grant<BR> Date Fair Value<BR> (000&rsquo;s)</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">Weighted<BR> Average&nbsp;&nbsp;Remaining<BR> VestingTerm<BR> (in years)</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><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: 49%">Non-Vested at January 31, 2017</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 12%; text-align: right">23,350</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,386</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 12%; text-align: right">2</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD>Granted</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">&mdash;</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>Forfeited</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">&mdash;</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: 1px">Vested</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; padding-bottom: 1px">&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; 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="padding-bottom: 3px">Non-Vested at April 30, 2017</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">23,350</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">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">1,386</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="text-align: right; padding-bottom: 3px">2</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-align: justify; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">The above tables include
24,711 and 18,541 non-vested shares at April 30, 2018 and 2017, respectively, which are included in the number of weighted average
shares outstanding used to determine basic and diluted earnings per share attributable to REX common shareholders. Such shares
are treated, for accounting purposes, as being fully vested at the grant date as they were granted to recipients who were retirement
eligible at the time of grant.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 14<I>. Income Taxes</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 effective tax rate on
consolidated pre-tax income was (35.3) % for the three months ended April 30, 2018 and 29.9% for the three months ended April
30, 2017. The fluctuation in the rate results primarily from the production tax credits the Company expects to receive
associated with its refined coal segment, lower tax rates as a result of the Tax Cuts and Jobs Act of 2017 (&ldquo;the Tax Act&rdquo;) and
expected research and experimentation federal tax credits to be claimed and earned in fiscal year 2018. The Company records
its tax provision/benefit based on an estimated annual effective rate adjusted for items recorded discretely. The
estimated annual effective tax rate includes the impact of the refined coal operation and the expected federal income tax
credits to be earned in fiscal year 2018. Based on current projections the Company estimates that its annual effective tax
rate will result in a tax benefit of approximately 25-30%.</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">The Tax Act signed into law on December
22, 2017, reduced the federal corporate income tax rate to 21% effective January 1, 2018. The Tax Act also made numerous other
changes to the U.S. tax code, including, but not limited to, permitting full expensing of qualified property acquired after September
27, 2017, expanding prior limitations of the deductibility of certain executive compensation and eliminating the corporate alternative
minimum tax.</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-align: left; text-indent: 36pt">The SEC issued Staff Accounting Bulletin
118 (&ldquo;SAB 118&rdquo;), which provides guidance on accounting for the tax effects of the Tax Act. In recognition of the inherent
complexities associated with accounting for the effects of the Tax Act, SAB 118 provides a measurement period of up to one year
from enactment of the Tax Act for companies to complete the accounting for the tax effects of the Tax Act. Although the Company&rsquo;s
accounting for the tax effects of the Tax Act are not yet complete, at January 31, 2018, the Company made a preliminary estimate
of the effect of the tax rate reduction on the existing deferred tax balances and recorded a tax benefit of approximately $14,362,000
to remeasure the deferred tax liability at the new 21% rate. The Company will continue to refine the calculation as additional</P>



<!-- Field: Page; Sequence: 3; Value: 18 -->
    <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: 0">analysis is completed, which will include a final determination of the deferred tax balances at January 31, 2018 after the Company&rsquo;s
federal income tax return is filed, and as further guidance is provided by the Internal Revenue Service.</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">Through its refined coal operation, the
Company earns production tax credits pursuant to IRC Section 45. The credits can be used to reduce future income tax liabilities
for up to 20 years.</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">The Company files a U.S. federal income
tax return and various state income tax returns. 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, 2013 and prior. A reconciliation of the beginning and ending
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: 0pt 0; text-indent: 36pt">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 80%; 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">2018</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">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: 56%; text-align: left">Unrecognized tax benefits, beginning of period</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">2,325</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; 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">809</TD><TD STYLE="text-align: left">&nbsp;</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="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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 3px">Unrecognized tax benefits, end of period</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">3,134</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">2,243</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; text-indent: 36pt">The Company expects to claim research and experimentation credits
in the current year and certain prior years. In connection with this, the Company has increased the amount of unrecognized tax
benefits.</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"><B>Note 15. <I>Commitments and Contingencies</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 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. </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: 0.5in">One Earth and NuGen have combined forward
purchase contracts for approximately 23.9 million bushels of corn, the principal raw material for their ethanol plants. They expect
to take delivery of the grain through October 2018.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">One Earth and NuGen have combined sales
commitments for approximately 43.8 million gallons of ethanol, approximately 113,000 tons of distillers grains and approximately
17.4 million pounds of non-food grade corn oil. They expect to deliver a majority of the ethanol,
distillers grains and non-food grade corn oil through October 2018.</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: 0.5in">The refined coal entity has various agreements
(site license, operating agreements, etc.) containing payment terms based upon production of refined coal under which the Company
is required to pay various fees. These fees totaled approximately $1.8 million in the first three months of fiscal year 2018.</P>

<!-- Field: Page; Sequence: 4; Value: 18 -->
    <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"><B>Note 16. <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 years
2018 and 2017, One Earth and NuGen purchased approximately $46.1 million and approximately $42.3 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.3 million and $0.9 million at April 30, 2018 and January 31, 2018, 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">During the first three months of fiscal
year 2018, the Company recognized commission expense of approximately $0.1 million, payable to the minority investor in the refined
coal entity. The Company did not recognize any commission expense during the first three months of fiscal year 2017. The commission
expense is associated with the refined coal acquisition. The Company had accrued liabilities and accounts payable related to the
commission expense of approximately $1.5 million at April 30, 2018 and 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>Note 17. Segment Reporting</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">In the third quarter of fiscal year 2017,
the Company began reporting the results of its refined coal operations as a new segment as a result of the refined coal acquisition
(see Note 4.) The Company has two segments: ethanol and by-products and refined coal. Historical amounts have been reclassified
to conform to the current year segment reporting presentation. The Company evaluates the performance of each reportable segment
based on net income attributable to REX common shareholders. The following table summarizes segment and other results and assets
(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: 80%; 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="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2018</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">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">Net sales and revenue:</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: 56%; text-align: left">Ethanol and by-products</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">120,680</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 8%">&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></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px">Refined coal <SUP>1</SUP></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">140</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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 3px">Total net sales and revenue</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">120,820</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">113,143</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"><SUP>1 </SUP>The Company records sales in
the refined coal segment net of the cost of coal as the Company purchases the coal feedstock from the customer to which refined
coal is sold.</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: 80%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">Segment gross profit (loss):</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: 56%; text-align: left">Ethanol and by-products</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">13,546</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">12,489</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-bottom: 1px">Refined coal</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,695</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">&mdash;</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 gross profit</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">10,851</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">12,489</TD><TD STYLE="text-align: left; padding-bottom: 3px">&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><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>
</TABLE>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">Income (loss) before income taxes:</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: 56%; text-align: left">Ethanol and by-products</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">11,009</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">8,923</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">Refined coal</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(2,859</TD><TD STYLE="text-align: left">)</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-bottom: 1px">Corporate and 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">(501</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">(921</TD><TD STYLE="text-align: left; padding-bottom: 1px">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 3px">Total income (loss) before income taxes</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">7,649</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">8,002</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD></TR>
</TABLE>


<!-- Field: Page; Sequence: 5; Value: 18 -->
    <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 -->

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-align: center">&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>&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2018</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">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">Benefit (provision) for income taxes:</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: White">
    <TD STYLE="width: 56%; text-align: left">Ethanol and by-products</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">(1,420</TD><TD STYLE="width: 1%; text-align: left">)</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">(2,705</TD><TD STYLE="width: 1%; text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">Refined coal</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">3,999</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-bottom: 1px">Corporate 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">124</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">315</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">Total benefit (provision) for income taxes</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,703</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,390</TD><TD STYLE="padding-bottom: 3px; text-align: left">)</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><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">Segment profit (loss):</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">Ethanol and by-products</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">8,589</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">5,142</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Refined coal</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,271</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: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px">Corporate and 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">(364</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">(598</TD><TD STYLE="text-align: left; padding-bottom: 1px">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 3px">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">9,496</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">4,544</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <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: 1px">&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">April 30, <BR>
2018</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">January 31, 2018</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD>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: White">
    <TD STYLE="text-align: left">Ethanol and by-products</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">397,198</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">384,997</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">Refined coal</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">10,820</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">12,165</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">Corporate and 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">68,546</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">81,702</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="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">476,564</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,864</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>

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

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD COLSPAN="5" STYLE="text-align: center">&nbsp;&nbsp;Three Months Ended<BR> April 30,</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; width: 56%; background-color: White">&nbsp;</TD><TD STYLE="padding-bottom: 1px; width: 8%; background-color: White">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left; width: 1%; background-color: White">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right; width: 12%; background-color: White">2018</TD><TD STYLE="padding-bottom: 1px; text-align: left; width: 1%; background-color: White">&nbsp;</TD><TD STYLE="padding-bottom: 1px; width: 8%; background-color: White">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left; width: 1%; background-color: White">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right; width: 12%; background-color: White">2017</TD><TD STYLE="padding-bottom: 1px; text-align: left; width: 1%; background-color: White">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">Sales of products, ethanol and by-products segment:</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>Ethanol</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">91,893</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">91,472</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">Dried distillers grains</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">20,083</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Non-food grade corn oil</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><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></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">Modified distillers grains</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">3,717</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 1px">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">7</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</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">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">120,680</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">113,143</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: White">
    <TD STYLE="text-align: left">Sales of products, refined coal segment:</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">Refined coal</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">140</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>



<!-- Field: Page; Sequence: 6; Value: 18 -->
    <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>Item 2.  <I><A NAME="x1_c91268a008"></A>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">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Ethanol and By-Products</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">At April 30, 2018, investments in our ethanol
business include equity investments in three ethanol limited liability companies, in two of which we have a majority ownership
interest. 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: 36pt">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 95%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="font-weight: bold; text-align: center; border-bottom: Black 1px solid; padding-left: 10pt; text-indent: -10pt">Entity</TD><TD STYLE="font-weight: bold; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Trailing 12<BR> Months<BR> Ethanol<BR> Gallons<BR> Shipped</TD><TD STYLE="font-weight: bold; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="font-weight: bold; text-align: center; border-bottom: Black 1px solid">REX&rsquo;s<BR> Current<BR> Effective<BR> Ownership<BR> Interest</TD><TD STYLE="padding-bottom: 1px; font-weight: bold">&nbsp;</TD><TD STYLE="font-weight: bold; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="font-weight: bold; text-align: center; border-bottom: Black 1px solid">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: 40%; text-align: left; padding-left: 10pt; text-indent: -10pt">One Earth Energy, LLC</TD><TD STYLE="width: 4%">&nbsp;</TD>
    <TD STYLE="width: 16%; text-align: right">127.3 M</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 16%; text-align: right">75.1</TD><TD STYLE="width: 1%; text-align: left">%</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 16%; text-align: right">95.6 M</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">NuGen Energy, LLC</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: right">134.5 M</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">99.5</TD><TD STYLE="text-align: left">%</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: right">133.8 M</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Big River Resources, LLC:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&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: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Big River Resources W Burlington, LLC</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: right">108.3 M</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">10.3</TD><TD STYLE="text-align: left">%</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: right">11.2 M</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Big River Resources Galva, LLC</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: right">127.8 M</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">10.3</TD><TD STYLE="text-align: left">%</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: right">13.2 M</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Big River United Energy, LLC</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: right">129.6 M</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">5.7</TD><TD STYLE="text-align: left">%</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: right">7.4 M</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt; padding-bottom: 1px">Big River Resources Boyceville, LLC</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: right; padding-bottom: 1px; border-bottom: Black 1px solid">56.9 M</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">10.3</TD><TD STYLE="text-align: left; padding-bottom: 1px">%</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: right; border-bottom: Black 1px solid">5.9 M</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">Total</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: right; padding-bottom: 1px; border-bottom: Black 1px solid">684.4 M</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><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: right; border-bottom: Black 1px solid">267.1 M</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">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 not follow 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 minimally 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.0 pounds
of distillers grains and 0.8 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, 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</P>

<!-- Field: Page; Sequence: 7; Value: 18 -->
    <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">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">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Refined Coal</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: 0.5in">On August 10, 2017, we purchased the entire
ownership interest of an entity that owns a refined coal facility, through a 95.35% owned subsidiary, for approximately $12.0
million. We began operating the refined coal facility immediately after the acquisition. We expect that the revenues from the
sale of refined coal produced in the facility will be subsidized by federal production tax credits through November 2021, subject
to meeting qualified emissions reductions as governed by Section 45 of the Internal Revenue Code. In order to maintain compliance
with Section 45 of the Internal Revenue Code, we are required to test every six months, through an independent laboratory, the
effectiveness of our operations with respect to emissions reductions. Annually, the IRS publishes the amount of federal income
tax credit earned per ton of refined coal produced and sold. We expect to earn credits at the rate of $7.03 per ton of refined
coal produced and sold during fiscal year 2018.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The refined coal facility is located at
the site of a utility-owned electrical generating power station, which is our refined coal operation&rsquo;s sole customer. We
expect refined coal production and sales amounts to vary with the demand requirements of the utility company, increasing during
periods of colder and hotter weather conditions in the areas the utility company serves. We have contracted with an experienced
third party to operate and maintain the refined coal facility and to provide us with management reporting and operating data as
required. We do not have any employees on site at the refined coal facility.</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 (&ldquo;Future Energy&rdquo;).</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 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.9 million</P>

<!-- Field: Page; Sequence: 8; Value: 18 -->
    <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">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">&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, 2018, we did not change any of our critical accounting policies as disclosed in our 2017 Annual Report on Form 10-K as
filed with the Securities and Exchange Commission on March 29, 2018, except, as discussed in Note 2, adopted ASC Topic 606
and ASU 2016-18.</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 2018&rdquo; means the period February
1, 2018 to January 31, 2019.</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 0; text-indent: 36pt">For a detailed analysis of period to period
changes, see the segment discussion that follows this section as that discussion reflects how management views and monitors our
business.</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 36pt 0pt 0"><B>Comparison of Three Months Ended April 30, 2018
and 2017</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; text-indent: 36pt">Net sales and revenue in the quarter ended
April 30, 2018 were approximately $120.8 million compared to approximately $113.1 million in the prior year&rsquo;s first quarter,
representing an increase of approximately $7.7 million. The increase was primarily caused by higher sales in our ethanol and by-products
segment of approximately $7.5 million.</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 2018 was approximately $10.9 million (9.0% of net sales and revenue) which was approximately $1.6 million lower compared
to approximately $12.5 million of gross profit (11.0% of net sales and revenue) for the first quarter of fiscal year 2017. Gross
profit for the first quarter of fiscal year 2018 increased by approximately $1.1 million compared to the prior year first quarter
as a result of operations in the ethanol and by-products segment and decreased by approximately $2.7 million as a result of operations
in the refined coal segment.</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">Selling, general and administrative expenses
were approximately $4.6 million for the first quarter of fiscal year 2018, which was approximately $0.8 million lower compared
to approximately $5.4 million for the first quarter of fiscal year 2017. The decrease was primarily related to a decrease in incentive
compensation expenses as the Company&rsquo;s executive compensation programs were modified to include a one-time cumulative earnings
adjustment for fiscal year 2018 and lower repair costs for leased rail cars in fiscal year 2018 compared to 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">We recognized income of approximately $0.7
million during each of the first quarters of fiscal years 2018 and 2017 from our equity investment in Big River, which is included
in our ethanol and by-products segment results. Our investment in Big River, which has interests in four ethanol production plants,
has an effective ownership of ethanol gallons shipped in the trailing twelve months ended April 30, 2018 of approximately 365
million gallons. Big River&rsquo;s operations also include agricultural elevators.</P>

<!-- Field: Page; Sequence: 9; Value: 18 -->
    <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">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">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Interest and other income was approximately
$0.7 million for the first quarter of fiscal year 2018 versus approximately $0.2 million for the first quarter of fiscal year
2017. Income has increased as yields on our excess cash have improved compared to 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 $7.6 million for the first quarter of fiscal year 2018 versus approximately $8.0 million for the
first 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; text-indent: 36pt">Our effective tax rate was approximately
(35.3)% and 29.9% for the first quarters of fiscal years 2018 and 2017, respectively. The fluctuation in the rate results primarily
from the production tax credits we expect to receive associated with our refined coal segment and from the research and experimentation
credits we expect to receive associated with our ethanol and by-products segment. In addition the fluctuation in the rate also
was impacted by the Tax Act, which reduced the federal income tax rate on corporations from 35% to 21% effective January 1, 2018.
We record our tax provision/benefit based on an estimated annual effective rate adjusted for items recorded discretely.</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 $10.4 million for the first quarter of fiscal year 2018 compared to approximately $5.6 million for the first
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; text-indent: 36pt">Income related to noncontrolling interests
was approximately $0.9 million and approximately $1.1 million during the first quarters of fiscal years 2018 and 2017, respectively.
These amounts represent the owners&rsquo; (other than us) share of the income or loss of NuGen, One Earth, the refined coal entity
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 2018 was approximately $9.5 million, an increase
of approximately $5.0 million from approximately $4.5 million for the first 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>Business Segment Results</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">In the third quarter of fiscal year 2017,
we began reporting the results of our refined coal operations as a new segment as a result of the acquisition of a refined coal
entity (see Note 3.) We have two segments: ethanol and by-products and refined coal. Historical amounts have been reclassified
to conform to the current year segment reporting presentation. We evaluate the performance of each reportable segment based on
segment profit. Segment profit excludes indirect interest income and certain other items that are included in net income determined
in accordance with accounting principles generally accepted in the United States of America. Segment profit includes realized
and unrealized gains and losses on derivative financial instruments and the provision/benefit for income taxes.</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">The following sections discuss the results
of operations for each of our business segments and corporate and other. Amounts in the corporate and other category include activities
that are not separately reportable or related to a segment.</P>

<!-- Field: Page; Sequence: 10; Value: 18 -->
    <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: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table summarizes segment and
other results (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: 80%; 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="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2018</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">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">Net sales and revenue:</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: 56%; text-align: left">Ethanol and by-products</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">120,680</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 8%">&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></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px">Refined coal <SUP>1</SUP></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">140</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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 3px">Total net sales and revenue</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">120,820</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">113,143</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"><SUP>1</SUP> We record sales in the refined coal segment net
of the cost of coal as we purchase the coal feedstock from the customer to which refined coal is sold.</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: 80%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">Segment gross profit (loss):</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: 56%; text-align: left">Ethanol and by-products</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">13,546</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">12,489</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-bottom: 1px">Refined coal</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,695</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">&mdash;</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 gross profit</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">10,851</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">12,489</TD><TD STYLE="text-align: left; padding-bottom: 3px">&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><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">Income (loss) before income taxes:</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">Ethanol and by-products</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">11,009</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">8,923</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">Refined coal</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(2,859</TD><TD STYLE="text-align: left">)</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-bottom: 1px">Corporate and 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">(501</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">(921</TD><TD STYLE="text-align: left; padding-bottom: 1px">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 3px">Total income (loss) before income taxes</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">7,649</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">8,002</TD><TD STYLE="text-align: left; padding-bottom: 3px">&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><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">Benefit (provision) for income taxes:</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">Ethanol and by-products</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">(1,420</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">(2,705</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Refined coal</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">3,999</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: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px">Corporate and 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">124</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">315</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 benefit (provision) for income taxes</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">2,703</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">(2,390</TD><TD STYLE="text-align: left; padding-bottom: 3px">)</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><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">Segment profit (loss):</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">Ethanol and by-products</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">8,589</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">5,142</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">Refined coal</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,271</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-bottom: 1px">Corporate and 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">(364</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">(598</TD><TD STYLE="text-align: left; padding-bottom: 1px">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 3px">Net income attributable to REX common shareholders</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">9,496</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">4,544</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>Ethanol and by-Products</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 ethanol and by-products segment includes
the consolidated financial results of One Earth and NuGen, our equity investment in Big River and certain administrative expenses.</P>

<!-- Field: Page; Sequence: 11; Value: 18 -->
    <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>
    <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 from
One Earth and NuGen by product group (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: 80%; 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; background-color: White">
    <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">2018</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">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD>Sales of products, ethanol and by-products segment:</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: White">
    <TD STYLE="width: 56%">Ethanol</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">91,893</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">91,472</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">Dried distillers grains</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">20,083</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Non-food grade corn oil</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><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></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">Modified distillers grains</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">3,717</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <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">7</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">9</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">120,680</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">113,143</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">The following table summarizes selected operating data from
One Earth and NuGen:</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: 80%; 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="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2018</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">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: 56%">Average selling price per gallon of ethanol</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">1.33</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 8%">&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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Gallons of ethanol sold (in millions)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">69.2</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD>Average selling price per ton of dried distillers grains</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">137.75</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Tons of dried distillers grains sold</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">145,794</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD>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.25</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">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">20.1</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD>Average selling price per ton of modified distillers grains</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">70.29</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Tons of modified distillers grains sold</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">52,886</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD>Average cost per bushel of grain</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">3.50</TD><TD STYLE="text-align: left">&nbsp;</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></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD>Average cost of natural gas (per mmbtu)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">3.46</TD><TD STYLE="text-align: left">&nbsp;</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></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
$91.5 million in the first quarter of fiscal year 2017 to approximately $91.9 million in the first quarter of fiscal year 2018,
primarily a result of a 9% increase in gallons sold, which was partially offset by a $0.11 decline in the price per gallon sold.
Dried distillers grains sales increased from approximately $15.1 million in the first quarter of fiscal year 2017 to approximately
$20.1 million in the first quarter of fiscal year 2018, primarily a result of a $37.69 increase in the price per ton sold, which
was partially offset by a 4% decrease in tons sold. Non-food grade corn oil sales increased from approximately $4.6 million in
the first quarter of fiscal year 2017 to approximately $5.0 million in the first quarter of fiscal year 2018, primarily a result
of a 21% increase in pounds sold, which was partially offset by a $0.03 decline in the price per pound sold. Modified distillers
grains sales increased from approximately $1.9 million in the first quarter of fiscal year 2017 to approximately $3.7</P>

<!-- Field: Page; Sequence: 12; Value: 18 -->
    <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 -->29<!-- 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">million in the first quarter of fiscal year 2018, primarily a result
of a $28.38 increase in the price per ton sold and a 15% increase in tons sold.</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">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: 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: 25%; layout-grid-mode: line">Product</TD>
    <TD STYLE="width: 75%; layout-grid-mode: line">Annual Sales Quantity</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">Ethanol</TD>
    <TD STYLE="layout-grid-mode: line">260 million to 290 million gallons</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">Dried distillers grains</TD>
    <TD STYLE="layout-grid-mode: line">590,000 to 630,000 tons</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">Non-food grade corn oil</TD>
    <TD STYLE="layout-grid-mode: line">70 million to 90 million pounds</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">Modified distillers grains</TD>
    <TD STYLE="layout-grid-mode: line">170,000 to 225,000 tons</TD></TR>
</TABLE>
<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">This expectation assumes that One Earth and
NuGen will operate at slightly above historical production levels, which is dependent upon market conditions, plant profitability
and efficient plant operations. We may vary the amounts of ethanol, dried and modified distillers grains and corn oil production,
and thus, the resulting sales, based upon market conditions. NuGen and One Earth have received the EPA pathway approval and have
permits to increase their production levels to 150 million gallons annually.</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">Gross profit for the first quarter of fiscal
year 2018 was approximately $13.5 million (11.2% of net sales and revenue), which was approximately $1.0 million higher compared
to approximately $12.5 million of gross profit (11.0% of net sales and revenue) for the first quarter of fiscal year 2017. The
crush spread for the first quarter of fiscal year 2018 was approximately $0.12 per gallon of ethanol sold compared to the first
quarter of fiscal year 2017 which was approximately $0.23 per gallon of ethanol sold. The increase of approximately $4.9 million
in sales of dried distillers grains compared to the first quarter of fiscal year 2017 positively affected gross profit. Grain accounted
for approximately 78% ($83.2 million) of our cost of sales during the first quarter of fiscal year 2018 compared to approximately
77% ($77.7 million) during the first quarter of fiscal year 2017. Natural gas accounted for approximately 6% ($6.4 million) of
our cost of sales during the first quarter of fiscal year 2018 compared to approximately 6% ($6.0 million) during the first quarter
of fiscal year 2017. The increase of approximately $1.8 million in sales of modified distillers grains compared to the first quarter
of fiscal year 2017 positively affected gross profit. The volume of ethanol sold during the first quarter of fiscal year 2018 compared
to the first quarter of fiscal year 2017 positively impacted gross profit by approximately $0.7 million. In addition, corn oil
sales positively impacted gross profit in the first quarter of fiscal year 2018 by approximately $0.4 million compared to the first
quarter of fiscal year 2017.</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 4.5pt 0 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</P>


<!-- Field: Page; Sequence: 1; Options: NewSection; Value: 30 -->
    <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 -->30<!-- 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 4.5pt 0 0">2018, approximately 9% of our forecasted ethanol, approximately
13% of our forecasted distillers grains and approximately 22% 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 $47.5 million
for the remaining forecasted sales. Similarly, approximately 11% 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 $34.1 million for the remaining forecasted grain purchases. Approximately 20% 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
$1.8 million for the remaining forecasted natural gas purchases.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0 4.5pt 0 0; text-indent: 36pt">Selling, general and administrative
expenses for the first quarter of fiscal year 2018 were approximately $3.6 million, which were approximately $0.8 million lower
compared to the first quarter of fiscal year 2017 amount of $4.4 million. A majority of the decrease results from lower incentive
compensation expenses as the Company&rsquo;s executive compensation programs were modified to include a one-time cumulative earnings
adjustment for fiscal year 2018 and lower repair costs for leased rail cars in fiscal year 2018 compared to fiscal year 2017.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">During each of the first quarters of fiscal
years 2018 and 2017, we recognized income of approximately $0.7 million from our equity investment in Big River. Our investment
in Big River, which has interests in four ethanol production plants, has an effective ownership of ethanol gallons shipped in the
trailing twelve months ended April 30, 2018 of approximately 365 million gallons. Big River&rsquo;s operations also include agricultural
elevators. 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: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Interest and other income was approximately $0.4
million for the first quarter of fiscal year 2018 versus approximately $0.1 million for the first quarter of fiscal year 2017.
The income has increased as yields on our excess cash have improved compared to fiscal year 2017.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Income related to noncontrolling interests was
approximately $1.0 million and approximately $1.1 million during the first quarters of fiscal years 2018 and 2017, respectively.
These amounts represent the owners&rsquo; (other than us) share of the income of NuGen and One Earth.</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 provision for income taxes was approximately
$1.4 million in the first quarter of fiscal year 2018 compared to approximately $2.7 million in the first quarter of fiscal year
2017. The segment tax rate in the first quarter of fiscal year 2018 was lower compared to the first quarter of fiscal year 2017
as a result of the reduction in corporate tax rates in connection with the Tax Act and from the research and experimentation credits
we expect to earn (and claim by filing amended returns for prior years) in fiscal year 2018.</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">Segment profit for the first quarter of fiscal
year 2018 was approximately $8.6 million, which was $3.5 million higher compared to the prior year first quarter profit of approximately
$5.1 million. The</P>


<!-- Field: Page; Sequence: 2; Value: 30 -->
    <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 -->31<!-- 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">increase from fiscal year 2017 results is primarily related to increased
gross profit and a lower provision for 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"><B>Refined Coal</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 refined coal segment includes the consolidated
financial results of our refined coal entity and certain administrative expenses. We acquired the refined coal entity during the
third quarter of fiscal year 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">The following table summarizes sales from refined
coal operations by product group (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">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="7" STYLE="text-align: center">Three Months Ended<BR> April 30,</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="border-bottom: Black 1px solid; text-align: right">2018</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="border-bottom: Black 1px solid; text-align: right">2017</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="width: 70%">Sales of products, refined coal segment:</TD><TD STYLE="width: 5%">&nbsp;</TD>
    <TD STYLE="text-align: left; width: 1%">&nbsp;</TD><TD STYLE="text-align: right; width: 8%">&nbsp;</TD><TD STYLE="text-align: left; width: 1%">&nbsp;</TD><TD STYLE="width: 5%">&nbsp;</TD>
    <TD STYLE="text-align: left; width: 1%">&nbsp;</TD><TD STYLE="text-align: right; width: 8%">&nbsp;</TD><TD STYLE="text-align: left; width: 1%">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-align: left">Refined coal <SUP>1</SUP></TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">140</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">&mdash;</TD><TD STYLE="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; text-indent: 36pt"><SUP>1</SUP> We record sales in the refined
coal segment net of the cost of coal as we purchase the coal feedstock from the customer to which refined coal is sold.</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">Refined coal sales were approximately $0.1 million
in the first quarter of fiscal year 2018. We expect future period sales to vary depending on fluctuations in demand from the site
host utility which generally change based upon weather conditions in the geographic markets the utility serves.</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">Gross loss was approximately $2.7 million in
the first quarter of fiscal year 2018. We expect future period gross loss to vary similar to the sales fluctuations described above.
Based on the agreements in place that govern the operation, sales and purchasing activities of the refined coal plant, we expect
the refined coal operation to continue operating at a gross loss. We expect that the ongoing losses will be subsidized by federal
production income tax credits.</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">Selling, general and administrative expenses
were approximately $0.2 million in the first quarter of fiscal year 2018. We expect future period expenses to be less than $1.0
million per quarter.</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">Loss related to noncontrolling interests was
approximately $0.1 million during the first quarter of fiscal year 2018. This amount represents the owners&rsquo; (other than us)
share of the pre-tax loss of refined coal 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; text-indent: 36pt">As a result of the foregoing, including the
benefit of federal tax credits associated with refined coal production and sales, segment profit for the first quarter of fiscal
year 2018 was approximately $1.3 million.</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>Corporate and Other</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">Selling, general and administrative expenses
for the first quarter of fiscal year 2018 were approximately $0.8 million, which was approximately $0.2 million lower compared
to approximately $1.0</P>


<!-- Field: Page; Sequence: 3; Value: 30 -->
    <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 -->32<!-- 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">million of expenses for the first quarter of fiscal year 2017. The
decrease is primarily related to higher professional expenses incurred during the first quarter of fiscal year 2017 associated
with due diligence and other efforts related to researching the refined coal operations prior to our refined coal acquisition.</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">Interest and other income was approximately $0.3
million for the first quarter of fiscal year 2018 versus approximately $0.1 million for the first quarter of fiscal year 2017.
The income has increased as yields on our excess cash have improved compared to fiscal year 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>Liquidity and Capital Resources </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">Net cash used in operating activities was approximately
$3.5 million for the first quarter of fiscal year 2018, compared to net cash provided of approximately $8.8 million for the quarter
of fiscal year 2017. For the first quarter of fiscal year 2018, cash was provided by net income of approximately $10.4 million,
adjusted for non-cash items of approximately $2.7 million, which consisted of depreciation, income from equity method investments,
accrued interest income, the deferred income tax provision and stock based compensation expense. An increase in the balance of
accounts receivable used cash of approximately $8.4 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 $5.3 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 2018. An increase in refundable income taxes used cash of approximately $1.2 million, which was primarily a result of recognizing
the benefit of an expected filing of an amended income tax return to claim a refund for prior years. An increase in the balance
of accounts payable provided cash of approximately $1.0 million, which was primarily a result of the timing of inventory receipts
and vendor payments. A decrease in the balance of other liabilities used cash of approximately $2.0 million which was primarily
a result of payments of incentive compensation and real estate taxes.</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">Net cash provided by operating activities was
approximately $8.8 million for the first quarter of fiscal year 2017. 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,
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: 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">At April 30, 2018, working capital was approximately
$220.1 million, compared to approximately $217.2 million at January 31, 2018. The ratio of current assets to current liabilities
was 12.1 to 1 at April 30, 2018 and 10.9 to 1 at January 31, 2018.</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">Cash of approximately $114.2 million was used
in investing activities for the first quarter of fiscal year 2018, compared to approximately $5.8 million during the first quarter
of fiscal year 2017. During the first quarter of fiscal year 2018, we had capital expenditures of approximately $3.1 million, the
majority of</P>


<!-- Field: Page; Sequence: 4; Value: 30 -->
    <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 -->33<!-- 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">which were plant capacity expansion projects at the One Earth and
NuGen ethanol plants. We expect to spend between $6.0 million and $8.0 million during the remainder of fiscal year 2018 on various
capital projects. During the first quarter of fiscal year 2018, we used cash of approximately $111.2 million for the purchase of
United States treasury bills to increase the income we receive on our excess cash balances.</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">Cash of approximately $5.8 million was used in
investing activities for the first quarter of fiscal year 2017. 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.</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">Cash used in financing activities totaled approximately
$8.5 million for the first quarter of fiscal year 2018. No cash was used in or provided by financing activities during the first
quarter of fiscal year 2017. During the first quarter of fiscal year 2018, we used cash of approximately $8.6 million to purchase
approximately 119,000 shares of our common stock in open market transactions. During the first quarter of fiscal year 2018, we
received approximately $0.1 million in capital contributions from the minority investor in the refined coal entity. We expect to
continue to receive these capital contributions in the future as we expect the minority investor to continue funding its proportionate
share of refined coal operating losses.</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">We are investigating various uses for our excess
cash. We have a stock buyback program, and given our current authorization level, can repurchase a total of approximately 529,000
shares. We also plan to seek and evaluate investment opportunities including energy related, agricultural or other ventures we
believe fit our investment criteria in addition to investing in highly liquid short-term securities.</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">Effective April 1, 2016, One Earth and NuGen
each entered into $10.0 million revolving loan facilities that mature June 1, 2019. One Earth and NuGen renewed the revolving
loan facilities, which mature June 1, 2018, during the second quarter of fiscal year 2017. Neither One Earth nor NuGen had outstanding
borrowings on the revolving loans during the quarter ended April 30, 2018. These agreements do not contain any financial covenants.</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0"><B>Forward-Looking Statements</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">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, our ethanol and
refined coal plants operating efficiently and according to forecasts and projections, changes in the international, national or
regional economies, weather, results of income tax audits, changes in income tax laws or regulations 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</P>


<!-- Field: Page; Sequence: 5; Value: 30 -->
    <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 -->34<!-- 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">10-K for the fiscal year ended January 31,
2018 (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"><A NAME="x1_c91268a009"></A><B>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: 36pt">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: 36pt">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,
2018, One Earth and NuGen combined have forward purchase contracts for approximately 23.9 million bushels of corn, the principal
raw material for their ethanol plants. One Earth and NuGen expect to take delivery of the corn through October 2018. At April 30,
2018, One Earth and NuGen have combined sales commitments for approximately 43.8 million gallons of ethanol, approximately 113,000
tons of distillers grains and approximately 17.4 million pounds of non-food grade corn oil. One Earth and NuGen expect to deliver
the majority of the ethanol, distillers grains and non-food grade corn oil through October 2018. Approximately 9% of our forecasted
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 $36.7 million.
Approximately 13% 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 $9.3 million. Approximately 22% 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.5 million. Similarly,
approximately 11% 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 $34.1 million. Approximately 20% 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 $1.8 million.<FONT STYLE="color: red"> </FONT></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-align: justify"><B><A NAME="x1_c91268a010"></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>

<!-- Field: Page; Sequence: 1; Options: NewSection; Value: 35 -->
    <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 -->35<!-- 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"><A NAME="x1_c91268a011"></A><B>PART II. OTHER INFORMATION</B></P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B><A NAME="x1_c91268a012"></A>Item 1. <I>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><A NAME="x1_c91268a013"></A>Item 1A. <I>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, 2018,
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, 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><A NAME="x1_c91268a014"></A>Item 2. <I>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. None of our consolidated subsidiaries have restrictions
on their ability to pay dividends to us. Neither One Earth nor NuGen paid dividends to REX during the first quarter of fiscal year
2018.</P>

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


<TABLE CELLPADDING="0" CELLSPACING="0" ALIGN="CENTER" STYLE="border-collapse: collapse; width: 98%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD COLSPAN="17" STYLE="font-weight: bold; text-align: center">Issuer Purchases of Equity Securities</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD COLSPAN="17" STYLE="font-weight: bold; text-align: center">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="font-weight: bold; border-bottom: Black 1px solid">Period</TD><TD STYLE="font-weight: bold">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>Total
    Number</B></FONT><BR> <FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>of Shares </B></FONT><BR> <FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>Purchased</B></FONT></TD><TD STYLE="font-weight: bold">&nbsp;</TD><TD STYLE="font-weight: bold">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>Average</B></FONT><BR>
    <FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>Price</B></FONT><BR> <FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>Paid
    per</B></FONT><BR> <FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>Share</B></FONT></TD><TD STYLE="font-weight: bold">&nbsp;</TD><TD STYLE="font-weight: bold">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>Total
    Number of</B></FONT><BR> <FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>Shares Purchased</B></FONT><BR> <FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>as
    Part of Publicly</B></FONT><BR> <FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>Announced Plans</B></FONT><BR> <FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>or
    Programs</B></FONT></TD><TD STYLE="font-weight: bold">&nbsp;</TD><TD STYLE="font-weight: bold">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>Maximum
    Number</B></FONT><BR> <FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>of Shares that May</B></FONT><BR> <FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>Yet
    Be Purchased</B></FONT><BR> <FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>Under the Plans</B></FONT><BR> <FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>or
    Programs (1)</B></FONT></TD><TD STYLE="font-weight: bold">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 30%">February 1-28, 2018</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 12%; 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: 7%; 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">&nbsp;</TD><TD STYLE="width: 16%; 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">&nbsp;</TD><TD STYLE="width: 15%; text-align: right">155,334</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD>March 1-31, 2018</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">70,251</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">71.90</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">70,251</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">585,083</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD>April 1-30, 2018</TD><TD>&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">55,890</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">72.95</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">55,890</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">529,193</TD><TD STYLE="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">&nbsp;</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">126,141</TD><TD STYLE="text-align: left; padding-bottom: 3px">&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">72.36</TD><TD STYLE="text-align: left; padding-bottom: 3px">&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">126,141</TD><TD STYLE="text-align: left; padding-bottom: 3px">&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">529,193</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>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt"><TR STYLE="vertical-align: top">
<TD STYLE="width: 15pt"></TD><TD STYLE="width: 18pt">(1)</TD><TD>On March 20, 2018, our Board of Directors increased our share repurchase authorization by an additional 500,000 shares. At
April 30, 2018, a total of 529,193 shares remained available to purchase under this authorization.</TD></TR></TABLE>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><A NAME="x1_c91268a015"></A><B>Item 3. <I>Defaults upon Senior Securities</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 0pt 36pt">Not Applicable</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><A NAME="x1_c91268a016"></A><B>Item 4. <I>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 0pt 36pt">Not Applicable</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><A NAME="x1_c91268a017"></A><B>Item 5. <I>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 0pt 36pt">None</P>

<!-- Field: Page; Sequence: 2; Value: 35 -->
    <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 -->36<!-- 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"><A NAME="x1_c91268a018"></A><B>Item 6. <I>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" STYLE="width: 100%; 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: 10pt; text-align: right">31</TD>
    <TD STYLE="width: 5pt">&nbsp;</TD><TD STYLE="text-align: justify"><A HREF="c91268_ex31.htm" STYLE="-sec-extract: exhibit">Rule 13a-14(a)/15d-14(a) Certifications</A></TD></TR>
<TR STYLE="vertical-align: top">
<TD>&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD>
    <TD>&nbsp;</TD><TD STYLE="text-align: justify">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
<TD STYLE="width: 49.5pt"></TD><TD STYLE="width: 10pt; text-align: right">32</TD>
    <TD STYLE="width: 5pt">&nbsp;</TD><TD STYLE="text-align: justify"><A HREF="c91268_ex32.htm" STYLE="-sec-extract: exhibit">Section 1350 Certifications</A></TD></TR>
<TR STYLE="vertical-align: top">
<TD>&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD>
    <TD>&nbsp;</TD><TD STYLE="text-align: justify">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
<TD STYLE="width: 49.5pt"></TD><TD STYLE="width: 10pt; text-align: right">101</TD>
    <TD STYLE="width: 5pt">&nbsp;</TD><TD STYLE="text-align: justify">The following information from REX American Resources Corporation Quarterly Report on Form 10-Q
for the quarter ended April 30, 2018, 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.</TD></TR></TABLE>

<!-- Field: Page; Sequence: 3; Value: 35 -->
    <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 -->37<!-- 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>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 50%">REX American Resources Corporation
Registrant</P>

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


<TABLE CELLSPACING="0" CELLPADDING="0" ALIGN="CENTER" STYLE="font: 10pt Times New Roman, Times, Serif; width: 90%; border-collapse: collapse">
<TR STYLE="vertical-align: top; font: 10pt Times New Roman, Times, Serif">
    <TD STYLE="width: 30%; text-align: center; font: 10pt Times New Roman, Times, Serif; border-bottom: Black 1px solid"><B>Signature</B></TD>
    <TD STYLE="width: 3%; font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="width: 35%; padding-right: 5.4pt; padding-left: 5.4pt; layout-grid-mode: line; text-align: center; font: 10pt Times New Roman, Times, Serif; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>Title</B></FONT></TD>
    <TD STYLE="width: 3%; font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="width: 29%; layout-grid-mode: line; text-align: center; font: 10pt Times New Roman, Times, Serif; border-bottom: Black 1px solid"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>Date</B></FONT></TD></TR>
<TR STYLE="vertical-align: top; font: 10pt Times New Roman, Times, Serif">
    <TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: center">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="padding-right: 5.4pt; padding-left: 5.4pt; layout-grid-mode: line; font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="padding-right: 5.4pt; padding-left: 5.4pt; layout-grid-mode: line; font: 10pt Times New Roman, Times, Serif">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top; font: 10pt Times New Roman, Times, Serif">
    <TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid">/s/ Zafar Rizvi</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="padding-right: 5.4pt; padding-left: 5.4pt; layout-grid-mode: line; font: 10pt Times New Roman, Times, Serif; text-align: center">Chief Executive Officer and President</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="padding-right: 5.4pt; padding-left: 5.4pt; layout-grid-mode: line; font: 10pt Times New Roman, Times, Serif">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top; font: 10pt Times New Roman, Times, Serif">
    <TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: center">(Zafar Rizvi)</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="padding-right: 5.4pt; padding-left: 12pt; layout-grid-mode: line; text-align: center; font: 10pt Times New Roman, Times, Serif"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">(Chief Executive Officer)</FONT></TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line; text-align: center; vertical-align: bottom; font: 10pt Times New Roman, Times, Serif"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">June 4, 2018</FONT></TD></TR>
<TR STYLE="vertical-align: top; font: 10pt Times New Roman, Times, Serif">
    <TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: center">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="padding-right: 5.4pt; padding-left: 5.4pt; layout-grid-mode: line; font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="padding-right: 5.4pt; padding-left: 5.4pt; layout-grid-mode: line; font: 10pt Times New Roman, Times, Serif">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top; font: 10pt Times New Roman, Times, Serif">
    <TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid">/s/ Douglas L. Bruggeman</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="padding-right: 5.4pt; padding-left: 5.4pt; layout-grid-mode: line; font: 10pt Times New Roman, Times, Serif; text-align: center">Vice President, Finance and Treasurer</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="padding-right: 5.4pt; padding-left: 5.4pt; layout-grid-mode: line; font: 10pt Times New Roman, Times, Serif">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top; font: 10pt Times New Roman, Times, Serif">
    <TD STYLE="font: 10pt Times New Roman, Times, Serif; text-align: center">(Douglas L. Bruggeman)</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="padding-right: 5.4pt; padding-left: 12pt; layout-grid-mode: line; text-align: center; font: 10pt Times New Roman, Times, Serif"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">(Chief Financial Officer)</FONT></TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line; text-align: center; vertical-align: bottom; font: 10pt Times New Roman, Times, Serif"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">June 4, 2018</FONT></TD></TR>
</TABLE>



<!-- Field: Page; Sequence: 4; Value: 35 -->
    <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 -->38<!-- Field: /Sequence --></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->


</BODY>
</HTML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-31
<SEQUENCE>2
<FILENAME>c91268_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">Exhibit 31</P>

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

<P STYLE="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>CERTIFICATIONS</B></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; 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: 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 CELLPADDING="0" CELLSPACING="0" BORDER="0" STYLE="width: 100%; margin-top: 0pt; margin-bottom: 0pt; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 60%"></TD>
    <TD STYLE="width: 40%">Date: June 4, 2018</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR>

<TR STYLE="vertical-align: top">
    <TD></TD>
    <TD>/s/ Zafar Rizvi</TD></TR>

<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: justify"></TD>
    <TD STYLE="text-align: justify">Zafar Rizvi</TD></TR>

<TR STYLE="vertical-align: top">
    <TD></TD>
    <TD><I>Chief Executive Officer and President</I></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 12pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; text-align: center"><B>CERTIFICATIONS</B></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>

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

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

<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0" STYLE="width: 100%; margin-bottom: 0pt; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: justify">&nbsp;</TD>
    <TD STYLE="text-align: left">Date:
June 4, 2018</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: justify">&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: justify; width: 60%"></TD>
    <TD STYLE="text-align: left; width: 40%">/s/ Douglas L. Bruggeman</TD></TR>

<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: center"></TD>
    <TD STYLE="text-align: left">Douglas L. Bruggeman</TD></TR>

<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: center"></TD>
    <TD STYLE="text-align: left"> <I>Vice President, Finance, Treasurer and</I></TD></TR>

<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: center"></TD>
    <TD STYLE="text-align: left"><I>Chief</I> <I>Financial Officer</I></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>c91268_ex32.htm
<TEXT>
<HTML>
<HEAD>
     <TITLE></TITLE>
</HEAD>
<BODY>

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

<P STYLE="font: italic bold 10pt Times New Roman, Times, Serif; margin-top: 0pt; text-align: center; margin-bottom: 0pt">&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: 12pt 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: 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-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, 2018 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>

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

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><I>Chief Executive Officer and President</I></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">/s/ Douglas L. Bruggeman</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><I>Vice President, Finance, Treasurer and</I></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><I>Chief Financial Officer</I></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">Date: June 4, 2018</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-20180430.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->
<!-- Created: Mon Jun 04 10:39:36 EDT 2018 -->
<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:us-gaap="http://fasb.org/us-gaap/2018-01-31" xmlns:utr="http://www.xbrl.org/2009/utr" xmlns:rex="http://www.rexamerican.com/20180430" xmlns:iso4217="http://www.xbrl.org/2003/iso4217" xmlns:invest="http://xbrl.sec.gov/invest/2013-01-31" xmlns:compsci="http://compsciresources.com" xmlns:us-types="http://fasb.org/us-types/2018-01-31" xmlns:srt="http://fasb.org/srt/2018-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:dei="http://xbrl.sec.gov/dei/2018-01-31" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
  <link:schemaRef xlink:type="simple" xlink:href="rex-20180430.xsd"/>
  <context id="c0_AsOf30Apr2018">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <instant>2018-04-30</instant>
    </period>
  </context>
  <context id="c1_AsOf31Jan2018">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <instant>2018-01-31</instant>
    </period>
  </context>
  <context id="c2_From1Feb2018To30Apr2018">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c3_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="c4_AsOf31Jan2018_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>2018-01-31</instant>
    </period>
  </context>
  <context id="c5_AsOf31Jan2018_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>2018-01-31</instant>
    </period>
  </context>
  <context id="c6_AsOf31Jan2018_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>2018-01-31</instant>
    </period>
  </context>
  <context id="c7_AsOf31Jan2018_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>2018-01-31</instant>
    </period>
  </context>
  <context id="c8_AsOf31Jan2018_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>2018-01-31</instant>
    </period>
  </context>
  <context id="c9_From1Feb2018To30Apr2018_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>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c10_From1Feb2018To30Apr2018_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>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c11_From1Feb2018To30Apr2018_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>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c12_From1Feb2018To30Apr2018_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>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c13_From1Feb2018To30Apr2018_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>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c14_AsOf30Apr2018_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>2018-04-30</instant>
    </period>
  </context>
  <context id="c15_AsOf30Apr2018_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>2018-04-30</instant>
    </period>
  </context>
  <context id="c16_AsOf30Apr2018_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>2018-04-30</instant>
    </period>
  </context>
  <context id="c17_AsOf30Apr2018_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>2018-04-30</instant>
    </period>
  </context>
  <context id="c18_AsOf30Apr2018_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>2018-04-30</instant>
    </period>
  </context>
  <context id="c19_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="c20_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="c21_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="c22_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="c23_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="c24_AsOf31Jan2017">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <instant>2017-01-31</instant>
    </period>
  </context>
  <context id="c25_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="c26_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="c27_From1Feb2017To30Apr2017_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>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c28_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="c29_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="c30_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="c31_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="c32_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="c33_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="c34_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="c35_AsOf30Apr2017">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c36_AsOf1Jun2018">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <instant>2018-06-01</instant>
    </period>
  </context>
  <context id="c37_From1Feb2016To31Jan2017">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2017-01-31</endDate>
    </period>
  </context>
  <context id="c38_From1Aug2017To31Oct2017">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <startDate>2017-08-01</startDate>
      <endDate>2017-10-31</endDate>
    </period>
  </context>
  <context id="c39_From1Feb2018To30Apr2018_EthanolMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c40_From1Feb2018To30Apr2018_MajorityOwnedSubsidiaryUnconsolidatedMember_EthanolMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="srt:OwnershipAxis">us-gaap:MajorityOwnedSubsidiaryUnconsolidatedMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c41_From1Feb2018To30Apr2018_MajorityOwnedSubsidiaryUnconsolidatedMember_RefinedCoalMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="srt:OwnershipAxis">us-gaap:MajorityOwnedSubsidiaryUnconsolidatedMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c42_From1Feb2018To31Jan2019_MinimumMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="srt:RangeAxis">srt:MinimumMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2019-01-31</endDate>
    </period>
  </context>
  <context id="c43_From1Feb2018To31Jan2019_MaximumMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2019-01-31</endDate>
    </period>
  </context>
  <context id="c44_AsOf1Feb2018">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <instant>2018-02-01</instant>
    </period>
  </context>
  <context id="c45_AsOf30Apr2018_CustomerConcentrationRiskMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ConcentrationRiskByTypeAxis">us-gaap:CustomerConcentrationRiskMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2018-04-30</instant>
    </period>
  </context>
  <context id="c46_AsOf31Jan2018_CustomerConcentrationRiskMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ConcentrationRiskByTypeAxis">us-gaap:CustomerConcentrationRiskMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2018-01-31</instant>
    </period>
  </context>
  <context id="c47_AsOf30Apr2018_ProvisionForIncomeTaxesMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">rex:ProvisionForIncomeTaxesMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2018-04-30</instant>
    </period>
  </context>
  <context id="c48_From1Feb2018To30Apr2018_MinimumMember_BuildingAndBuildingImprovementsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="srt:RangeAxis">srt:MinimumMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:BuildingAndBuildingImprovementsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c49_From1Feb2018To30Apr2018_MaximumMember_BuildingAndBuildingImprovementsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:BuildingAndBuildingImprovementsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c50_From1Feb2018To30Apr2018_MinimumMember_FixturesAndEquipmentMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="srt:RangeAxis">srt:MinimumMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">rex:FixturesAndEquipmentMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c51_From1Feb2018To30Apr2018_MaximumMember_FixturesAndEquipmentMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">rex:FixturesAndEquipmentMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c52_From1Feb2018To30Apr2018_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>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c53_AsOf10Aug2017_RefinedCoalMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-08-10</instant>
    </period>
  </context>
  <context id="c54_From1Feb2017To30Apr2017_ProFormaMember_RefinedCoalMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ChangeInAccountingEstimateByTypeAxis">us-gaap:ProFormaMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c55_From1Feb2017To31Jan2018">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2018-01-31</endDate>
    </period>
  </context>
  <context id="c56_AsOf30Apr2018_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>2018-04-30</instant>
    </period>
  </context>
  <context id="c57_AsOf30Apr2018_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>2018-04-30</instant>
    </period>
  </context>
  <context id="c58_AsOf30Apr2018_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>2018-04-30</instant>
    </period>
  </context>
  <context id="c59_AsOf31Jan2018_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>2018-01-31</instant>
    </period>
  </context>
  <context id="c60_AsOf31Jan2018_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>2018-01-31</instant>
    </period>
  </context>
  <context id="c61_AsOf31Jan2018_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>2018-01-31</instant>
    </period>
  </context>
  <context id="c62_AsOf30Apr2018_ShortSellMember_CornMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ContractWithCustomerDurationAxis">rex:ShortSellMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="us-gaap:TradingActivityByTypeAxis">rex:CornMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2018-04-30</instant>
    </period>
  </context>
  <context id="c63_AsOf31Jan2018_ShortSellMember_CornMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ContractWithCustomerDurationAxis">rex:ShortSellMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="us-gaap:TradingActivityByTypeAxis">rex:CornMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2018-01-31</instant>
    </period>
  </context>
  <context id="c64_AsOf30Apr2018_CornMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:TradingActivityByTypeAxis">rex:CornMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2018-04-30</instant>
    </period>
  </context>
  <context id="c65_AsOf31Jan2018_CornMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:TradingActivityByTypeAxis">rex:CornMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2018-01-31</instant>
    </period>
  </context>
  <context id="c66_AsOf30Apr2018_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>2018-04-30</instant>
    </period>
  </context>
  <context id="c67_AsOf31Jan2018_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>2018-01-31</instant>
    </period>
  </context>
  <context id="c68_AsOf30Apr2018_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>2018-04-30</instant>
    </period>
  </context>
  <context id="c69_AsOf31Jan2018_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>2018-01-31</instant>
    </period>
  </context>
  <context id="c70_AsOf30Apr2018_BigRiverMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2018-04-30</instant>
    </period>
  </context>
  <context id="c71_AsOf31Jan2018_BigRiverMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2018-01-31</instant>
    </period>
  </context>
  <context id="c72_From1Feb2018To30Apr2018_BigRiverMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c73_From1Feb2017To30Apr2017_BigRiverMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c74_AsOf30Apr2018_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>2018-04-30</instant>
    </period>
  </context>
  <context id="c75_AsOf30Apr2018_RexShareholdersMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ShareholdersEquityClassAxis">rex:RexShareholdersMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2018-04-30</instant>
    </period>
  </context>
  <context id="c76_AsOf31Jan2018_RexShareholdersMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ShareholdersEquityClassAxis">rex:RexShareholdersMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2018-01-31</instant>
    </period>
  </context>
  <context id="c77_AsOf30Apr2017_RexShareholdersMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ShareholdersEquityClassAxis">rex:RexShareholdersMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-04-30</instant>
    </period>
  </context>
  <context id="c78_From30Apr2018To30Apr2018">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <startDate>2018-04-30</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c79_AsOf30Jan2017">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <instant>2017-01-30</instant>
    </period>
  </context>
  <context id="c80_From31Jan2017To31Jan2017">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <startDate>2017-01-31</startDate>
      <endDate>2017-01-31</endDate>
    </period>
  </context>
  <context id="c81_From1Feb2018To30Apr2018_MinimumMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="srt:RangeAxis">srt:MinimumMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c82_From1Feb2018To30Apr2018_MaximumMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c83_From1Jan2018To1Jan2018">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <startDate>2018-01-01</startDate>
      <endDate>2018-01-01</endDate>
    </period>
  </context>
  <context id="c84_From31Jan2018To31Jan2018">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <startDate>2018-01-31</startDate>
      <endDate>2018-01-31</endDate>
    </period>
  </context>
  <context id="c85_From1Feb2018To30Apr2018_RefinedCoalMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c86_AsOf30Apr2018_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>2018-04-30</instant>
    </period>
  </context>
  <context id="c87_From1Feb2018To30Apr2018_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>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c88_From1Feb2018To30Apr2018_RefinedCoalMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c89_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="c90_AsOf30Apr2018_RefinedCoalMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2018-04-30</instant>
    </period>
  </context>
  <context id="c91_AsOf31Jan2018_RefinedCoalMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2018-01-31</instant>
    </period>
  </context>
  <context id="c92_From1Feb2018To31Jan2019">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2019-01-31</endDate>
    </period>
  </context>
  <context id="c93_From1Feb2017To30Apr2017_EthanolMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c94_From1Feb2017To30Apr2017_RefinedCoalMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c95_From1Feb2018To30Apr2018_CorporateAndOtherMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:CorporateAndOtherMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c96_From1Feb2017To30Apr2017_CorporateAndOtherMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:CorporateAndOtherMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c97_From1Feb2018To30Apr2018_DriedDistillersGrainsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c98_From1Feb2017To30Apr2017_DriedDistillersGrainsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c99_From1Feb2018To30Apr2018_NonFoodGradeCornOilMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c100_From1Feb2017To30Apr2017_NonFoodGradeCornOilMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c101_From1Feb2018To30Apr2018_ModifiedDistillersGrainsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c102_From1Feb2017To30Apr2017_ModifiedDistillersGrainsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c103_From1Feb2018To30Apr2018_AllOtherSegmentsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:AllOtherSegmentsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c104_From1Feb2017To30Apr2017_AllOtherSegmentsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:AllOtherSegmentsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-04-30</endDate>
    </period>
  </context>
  <context id="c105_From1Feb2018To30Apr2018_AssetsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:AssetsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2018-02-01</startDate>
      <endDate>2018-04-30</endDate>
    </period>
  </context>
  <context id="c106_AsOf30Apr2018_EthanolMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2018-04-30</instant>
    </period>
  </context>
  <context id="c107_AsOf31Jan2018_EthanolMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2018-01-31</instant>
    </period>
  </context>
  <context id="c108_AsOf30Apr2018_RefinedCoalMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2018-04-30</instant>
    </period>
  </context>
  <context id="c109_AsOf30Apr2018_CorporateAndOtherMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:CorporateAndOtherMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2018-04-30</instant>
    </period>
  </context>
  <context id="c110_AsOf31Jan2018_CorporateAndOtherMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:CorporateAndOtherMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2018-01-31</instant>
    </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="_ForwardPurchaseContractsAsset-c56_AsOf30Apr2018_FairValueInputsLevel1Member_usd" xlink:href="#_ForwardPurchaseContractsAsset-c56_AsOf30Apr2018_FairValueInputsLevel1Member_usd"/>
    <link:footnote xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:label="ftnt_0" xml:lang="en-US">The forward purchase contract asset is 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="_ForwardPurchaseContractsAsset-c56_AsOf30Apr2018_FairValueInputsLevel1Member_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c57_AsOf30Apr2018_FairValueInputsLevel2Member_usd" xlink:href="#_ForwardPurchaseContractsAsset-c57_AsOf30Apr2018_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c57_AsOf30Apr2018_FairValueInputsLevel2Member_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c58_AsOf30Apr2018_FairValueInputsLevel3Member_usd" xlink:href="#_ForwardPurchaseContractsAsset-c58_AsOf30Apr2018_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c58_AsOf30Apr2018_FairValueInputsLevel3Member_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c0_AsOf30Apr2018_usd" xlink:href="#_ForwardPurchaseContractsAsset-c0_AsOf30Apr2018_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c0_AsOf30Apr2018_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c56_AsOf30Apr2018_FairValueInputsLevel1Member_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c56_AsOf30Apr2018_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-c56_AsOf30Apr2018_FairValueInputsLevel1Member_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c57_AsOf30Apr2018_FairValueInputsLevel2Member_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c57_AsOf30Apr2018_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c57_AsOf30Apr2018_FairValueInputsLevel2Member_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c58_AsOf30Apr2018_FairValueInputsLevel3Member_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c58_AsOf30Apr2018_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c58_AsOf30Apr2018_FairValueInputsLevel3Member_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c0_AsOf30Apr2018_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c0_AsOf30Apr2018_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c0_AsOf30Apr2018_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c56_AsOf30Apr2018_FairValueInputsLevel1Member_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c56_AsOf30Apr2018_FairValueInputsLevel1Member_usd"/>
    <link:footnote xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:label="ftnt_2" xml:lang="en-US">Commodity futures are 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="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c56_AsOf30Apr2018_FairValueInputsLevel1Member_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c57_AsOf30Apr2018_FairValueInputsLevel2Member_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c57_AsOf30Apr2018_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c57_AsOf30Apr2018_FairValueInputsLevel2Member_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c58_AsOf30Apr2018_FairValueInputsLevel3Member_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c58_AsOf30Apr2018_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c58_AsOf30Apr2018_FairValueInputsLevel3Member_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c0_AsOf30Apr2018_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c0_AsOf30Apr2018_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c0_AsOf30Apr2018_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiability-c56_AsOf30Apr2018_FairValueInputsLevel1Member_usd" xlink:href="#_ForwardPurchaseContractLiability-c56_AsOf30Apr2018_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 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="_ForwardPurchaseContractLiability-c56_AsOf30Apr2018_FairValueInputsLevel1Member_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiability-c57_AsOf30Apr2018_FairValueInputsLevel2Member_usd" xlink:href="#_ForwardPurchaseContractLiability-c57_AsOf30Apr2018_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiability-c57_AsOf30Apr2018_FairValueInputsLevel2Member_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiability-c58_AsOf30Apr2018_FairValueInputsLevel3Member_usd" xlink:href="#_ForwardPurchaseContractLiability-c58_AsOf30Apr2018_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiability-c58_AsOf30Apr2018_FairValueInputsLevel3Member_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiability-c0_AsOf30Apr2018_usd" xlink:href="#_ForwardPurchaseContractLiability-c0_AsOf30Apr2018_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiability-c0_AsOf30Apr2018_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c59_AsOf31Jan2018_FairValueInputsLevel1Member_usd" xlink:href="#_ForwardPurchaseContractsAsset-c59_AsOf31Jan2018_FairValueInputsLevel1Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c59_AsOf31Jan2018_FairValueInputsLevel1Member_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c60_AsOf31Jan2018_FairValueInputsLevel2Member_usd" xlink:href="#_ForwardPurchaseContractsAsset-c60_AsOf31Jan2018_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c60_AsOf31Jan2018_FairValueInputsLevel2Member_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c61_AsOf31Jan2018_FairValueInputsLevel3Member_usd" xlink:href="#_ForwardPurchaseContractsAsset-c61_AsOf31Jan2018_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c61_AsOf31Jan2018_FairValueInputsLevel3Member_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c1_AsOf31Jan2018_usd" xlink:href="#_ForwardPurchaseContractsAsset-c1_AsOf31Jan2018_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c1_AsOf31Jan2018_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c59_AsOf31Jan2018_FairValueInputsLevel1Member_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c59_AsOf31Jan2018_FairValueInputsLevel1Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c59_AsOf31Jan2018_FairValueInputsLevel1Member_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c60_AsOf31Jan2018_FairValueInputsLevel2Member_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c60_AsOf31Jan2018_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c60_AsOf31Jan2018_FairValueInputsLevel2Member_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c61_AsOf31Jan2018_FairValueInputsLevel3Member_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c61_AsOf31Jan2018_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c61_AsOf31Jan2018_FairValueInputsLevel3Member_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c1_AsOf31Jan2018_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c1_AsOf31Jan2018_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c1_AsOf31Jan2018_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c59_AsOf31Jan2018_FairValueInputsLevel1Member_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c59_AsOf31Jan2018_FairValueInputsLevel1Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c59_AsOf31Jan2018_FairValueInputsLevel1Member_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c60_AsOf31Jan2018_FairValueInputsLevel2Member_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c60_AsOf31Jan2018_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c60_AsOf31Jan2018_FairValueInputsLevel2Member_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c61_AsOf31Jan2018_FairValueInputsLevel3Member_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c61_AsOf31Jan2018_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c61_AsOf31Jan2018_FairValueInputsLevel3Member_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c1_AsOf31Jan2018_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c1_AsOf31Jan2018_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c1_AsOf31Jan2018_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiability-c59_AsOf31Jan2018_FairValueInputsLevel1Member_usd" xlink:href="#_ForwardPurchaseContractLiability-c59_AsOf31Jan2018_FairValueInputsLevel1Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiability-c59_AsOf31Jan2018_FairValueInputsLevel1Member_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiability-c60_AsOf31Jan2018_FairValueInputsLevel2Member_usd" xlink:href="#_ForwardPurchaseContractLiability-c60_AsOf31Jan2018_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiability-c60_AsOf31Jan2018_FairValueInputsLevel2Member_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiability-c61_AsOf31Jan2018_FairValueInputsLevel3Member_usd" xlink:href="#_ForwardPurchaseContractLiability-c61_AsOf31Jan2018_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiability-c61_AsOf31Jan2018_FairValueInputsLevel3Member_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiability-c1_AsOf31Jan2018_usd" xlink:href="#_ForwardPurchaseContractLiability-c1_AsOf31Jan2018_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiability-c1_AsOf31Jan2018_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeAssets-c66_AsOf30Apr2018_CommodityContractMember_usd" xlink:href="#_DerivativeAssets-c66_AsOf30Apr2018_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 accrued expenses and other current liabilities. These contracts are short/sell positions for approximately 6.2 million and 2.5 million bushels of corn at April 30, 2018 and January 31, 2018, respectively.</link:footnote>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeAssets-c66_AsOf30Apr2018_CommodityContractMember_usd" xlink:to="ftnt_4" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeAssets-c67_AsOf31Jan2018_CommodityContractMember_usd" xlink:href="#_DerivativeAssets-c67_AsOf31Jan2018_CommodityContractMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeAssets-c67_AsOf31Jan2018_CommodityContractMember_usd" xlink:to="ftnt_4" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeLiabilities-c66_AsOf30Apr2018_CommodityContractMember_usd" xlink:href="#_DerivativeLiabilities-c66_AsOf30Apr2018_CommodityContractMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeLiabilities-c66_AsOf30Apr2018_CommodityContractMember_usd" xlink:to="ftnt_4" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeLiabilities-c67_AsOf31Jan2018_CommodityContractMember_usd" xlink:href="#_DerivativeLiabilities-c67_AsOf31Jan2018_CommodityContractMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeLiabilities-c67_AsOf31Jan2018_CommodityContractMember_usd" xlink:to="ftnt_4" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeAssets-c68_AsOf30Apr2018_ForwardContractsMember_usd" xlink:href="#_DerivativeAssets-c68_AsOf30Apr2018_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 22.6 million and 11.7 million bushels of corn at April 30, 2018 and January 31, 2018, respectively.</link:footnote>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeAssets-c68_AsOf30Apr2018_ForwardContractsMember_usd" xlink:to="ftnt_5" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeAssets-c69_AsOf31Jan2018_ForwardContractsMember_usd" xlink:href="#_DerivativeAssets-c69_AsOf31Jan2018_ForwardContractsMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeAssets-c69_AsOf31Jan2018_ForwardContractsMember_usd" xlink:to="ftnt_5" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeLiabilities-c68_AsOf30Apr2018_ForwardContractsMember_usd" xlink:href="#_DerivativeLiabilities-c68_AsOf30Apr2018_ForwardContractsMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeLiabilities-c68_AsOf30Apr2018_ForwardContractsMember_usd" xlink:to="ftnt_5" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeLiabilities-c69_AsOf31Jan2018_ForwardContractsMember_usd" xlink:href="#_DerivativeLiabilities-c69_AsOf31Jan2018_ForwardContractsMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeLiabilities-c69_AsOf31Jan2018_ForwardContractsMember_usd" xlink:to="ftnt_5" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_RevenueFromContractWithCustomerIncludingAssessedTax-c85_From1Feb2018To30Apr2018_RefinedCoalMember_usd" xlink:href="#_RevenueFromContractWithCustomerIncludingAssessedTax-c85_From1Feb2018To30Apr2018_RefinedCoalMember_usd"/>
    <link:footnote xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:label="ftnt_6" xml:lang="en-US">The Company records sales in the refined coal segment net of the cost of coal as the Company purchases the coal feedstock from the customer to which refined coal is sold.</link:footnote>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_RevenueFromContractWithCustomerIncludingAssessedTax-c85_From1Feb2018To30Apr2018_RefinedCoalMember_usd" xlink:to="ftnt_6" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_RevenueFromContractWithCustomerIncludingAssessedTax-c94_From1Feb2017To30Apr2017_RefinedCoalMember_usd" xlink:href="#_RevenueFromContractWithCustomerIncludingAssessedTax-c94_From1Feb2017To30Apr2017_RefinedCoalMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_RevenueFromContractWithCustomerIncludingAssessedTax-c94_From1Feb2017To30Apr2017_RefinedCoalMember_usd" xlink:to="ftnt_6" order="1"/>
  </link:footnoteLink>
  <us-gaap:CashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">64246000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
  <us-gaap:CashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">190988000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
  <us-gaap:ShortTermInvestments unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">111495000</us-gaap:ShortTermInvestments>
  <us-gaap:RestrictedCashCurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">896000</us-gaap:RestrictedCashCurrent>
  <us-gaap:RestrictedCashCurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">354000</us-gaap:RestrictedCashCurrent>
  <us-gaap:AccountsReceivableNetCurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">21263000</us-gaap:AccountsReceivableNetCurrent>
  <us-gaap:AccountsReceivableNetCurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">12913000</us-gaap:AccountsReceivableNetCurrent>
  <us-gaap:InventoryNet unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">26088000</us-gaap:InventoryNet>
  <us-gaap:InventoryNet unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">20755000</us-gaap:InventoryNet>
  <us-gaap:IncomeTaxesReceivable unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">7861000</us-gaap:IncomeTaxesReceivable>
  <us-gaap:IncomeTaxesReceivable unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">6612000</us-gaap:IncomeTaxesReceivable>
  <us-gaap:PrepaidExpenseAndOtherAssetsCurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">8056000</us-gaap:PrepaidExpenseAndOtherAssetsCurrent>
  <us-gaap:PrepaidExpenseAndOtherAssetsCurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">7412000</us-gaap:PrepaidExpenseAndOtherAssetsCurrent>
  <us-gaap:AssetsCurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">239905000</us-gaap:AssetsCurrent>
  <us-gaap:AssetsCurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">239034000</us-gaap:AssetsCurrent>
  <us-gaap:PropertyPlantAndEquipmentNet unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">193969000</us-gaap:PropertyPlantAndEquipmentNet>
  <us-gaap:PropertyPlantAndEquipmentNet unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">197827000</us-gaap:PropertyPlantAndEquipmentNet>
  <us-gaap:OtherAssetsNoncurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">7444000</us-gaap:OtherAssetsNoncurrent>
  <us-gaap:OtherAssetsNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">7454000</us-gaap:OtherAssetsNoncurrent>
  <us-gaap:EquityMethodInvestments unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">35246000</us-gaap:EquityMethodInvestments>
  <us-gaap:EquityMethodInvestments unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">34549000</us-gaap:EquityMethodInvestments>
  <us-gaap:Assets unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">476564000</us-gaap:Assets>
  <us-gaap:Assets unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">478864000</us-gaap:Assets>
  <us-gaap:AccountsPayableTradeCurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">8803000</us-gaap:AccountsPayableTradeCurrent>
  <us-gaap:AccountsPayableTradeCurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">8149000</us-gaap:AccountsPayableTradeCurrent>
  <us-gaap:OtherLiabilitiesCurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">10956000</us-gaap:OtherLiabilitiesCurrent>
  <us-gaap:OtherLiabilitiesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">13716000</us-gaap:OtherLiabilitiesCurrent>
  <us-gaap:LiabilitiesCurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">19759000</us-gaap:LiabilitiesCurrent>
  <us-gaap:LiabilitiesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">21865000</us-gaap:LiabilitiesCurrent>
  <us-gaap:DeferredTaxLiabilitiesNoncurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">19435000</us-gaap:DeferredTaxLiabilitiesNoncurrent>
  <us-gaap:DeferredTaxLiabilitiesNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">21706000</us-gaap:DeferredTaxLiabilitiesNoncurrent>
  <us-gaap:OtherLiabilitiesNoncurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">4039000</us-gaap:OtherLiabilitiesNoncurrent>
  <us-gaap:OtherLiabilitiesNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">3367000</us-gaap:OtherLiabilitiesNoncurrent>
  <us-gaap:LiabilitiesNoncurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">23474000</us-gaap:LiabilitiesNoncurrent>
  <us-gaap:LiabilitiesNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">25073000</us-gaap:LiabilitiesNoncurrent>
  <us-gaap:CommonStockValue unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">299000</us-gaap:CommonStockValue>
  <us-gaap:CommonStockValue unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">299000</us-gaap:CommonStockValue>
  <us-gaap:AdditionalPaidInCapitalCommonStock unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">146981000</us-gaap:AdditionalPaidInCapitalCommonStock>
  <us-gaap:AdditionalPaidInCapitalCommonStock unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">146923000</us-gaap:AdditionalPaidInCapitalCommonStock>
  <us-gaap:RetainedEarningsAccumulatedDeficit unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">557409000</us-gaap:RetainedEarningsAccumulatedDeficit>
  <us-gaap:RetainedEarningsAccumulatedDeficit unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">547913000</us-gaap:RetainedEarningsAccumulatedDeficit>
  <us-gaap:TreasuryStockValue unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">322758000</us-gaap:TreasuryStockValue>
  <us-gaap:TreasuryStockValue unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">313643000</us-gaap:TreasuryStockValue>
  <us-gaap:StockholdersEquity unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">381931000</us-gaap:StockholdersEquity>
  <us-gaap:StockholdersEquity unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">381492000</us-gaap:StockholdersEquity>
  <us-gaap:MinorityInterest unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">51400000</us-gaap:MinorityInterest>
  <us-gaap:MinorityInterest unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">50434000</us-gaap:MinorityInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">433331000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">431926000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:LiabilitiesAndStockholdersEquity unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">476564000</us-gaap:LiabilitiesAndStockholdersEquity>
  <us-gaap:LiabilitiesAndStockholdersEquity unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">478864000</us-gaap:LiabilitiesAndStockholdersEquity>
  <us-gaap:SalesRevenueNet unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">120820000</us-gaap:SalesRevenueNet>
  <us-gaap:SalesRevenueNet unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">113143000</us-gaap:SalesRevenueNet>
  <us-gaap:CostOfGoodsAndServicesSold unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">109969000</us-gaap:CostOfGoodsAndServicesSold>
  <us-gaap:CostOfGoodsAndServicesSold unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">100654000</us-gaap:CostOfGoodsAndServicesSold>
  <us-gaap:GrossProfit unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">10851000</us-gaap:GrossProfit>
  <us-gaap:GrossProfit unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">12489000</us-gaap:GrossProfit>
  <us-gaap:SellingGeneralAndAdministrativeExpense unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">4553000</us-gaap:SellingGeneralAndAdministrativeExpense>
  <us-gaap:SellingGeneralAndAdministrativeExpense unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">5402000</us-gaap:SellingGeneralAndAdministrativeExpense>
  <us-gaap:IncomeLossFromEquityMethodInvestments unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">697000</us-gaap:IncomeLossFromEquityMethodInvestments>
  <us-gaap:IncomeLossFromEquityMethodInvestments unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">700000</us-gaap:IncomeLossFromEquityMethodInvestments>
  <us-gaap:InterestAndOtherIncome unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">654000</us-gaap:InterestAndOtherIncome>
  <us-gaap:InterestAndOtherIncome unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">215000</us-gaap:InterestAndOtherIncome>
  <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">7649000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
  <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">8002000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
  <us-gaap:IncomeTaxExpenseBenefit unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">-2703000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:IncomeTaxExpenseBenefit unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">2390000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">10352000</us-gaap:ProfitLoss>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">5612000</us-gaap:ProfitLoss>
  <us-gaap:NetIncomeLossAttributableToNoncontrollingInterest unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">856000</us-gaap:NetIncomeLossAttributableToNoncontrollingInterest>
  <us-gaap:NetIncomeLossAttributableToNoncontrollingInterest unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">1068000</us-gaap:NetIncomeLossAttributableToNoncontrollingInterest>
  <us-gaap:NetIncomeLoss unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">9496000</us-gaap:NetIncomeLoss>
  <us-gaap:NetIncomeLoss unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">4544000</us-gaap:NetIncomeLoss>
  <us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted unitRef="shares" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">6571000</us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted>
  <us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted unitRef="shares" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">6593000</us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted>
  <us-gaap:EarningsPerShareBasicAndDiluted unitRef="usdPershares" contextRef="c2_From1Feb2018To30Apr2018" decimals="2">1.45</us-gaap:EarningsPerShareBasicAndDiluted>
  <us-gaap:EarningsPerShareBasicAndDiluted unitRef="usdPershares" contextRef="c3_From1Feb2017To30Apr2017" decimals="2">0.69</us-gaap:EarningsPerShareBasicAndDiluted>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c4_AsOf31Jan2018_CommonStockMember" decimals="-3">29853000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c4_AsOf31Jan2018_CommonStockMember" decimals="-3">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c5_AsOf31Jan2018_TreasuryStockMember" decimals="-3">23287000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c5_AsOf31Jan2018_TreasuryStockMember" decimals="-3">-313643000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c6_AsOf31Jan2018_AdditionalPaidInCapitalMember" decimals="-3">146923000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c7_AsOf31Jan2018_RetainedEarningsMember" decimals="-3">547913000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c8_AsOf31Jan2018_NoncontrollingInterestMember" decimals="-3">50434000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c9_From1Feb2018To30Apr2018_RetainedEarningsMember" decimals="-3">9496000</us-gaap:ProfitLoss>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c10_From1Feb2018To30Apr2018_NoncontrollingInterestMember" decimals="-3">856000</us-gaap:ProfitLoss>
  <us-gaap:TreasuryStockSharesAcquired unitRef="shares" contextRef="c11_From1Feb2018To30Apr2018_TreasuryStockMember" decimals="-3">126000</us-gaap:TreasuryStockSharesAcquired>
  <us-gaap:TreasuryStockValueAcquiredCostMethod unitRef="usd" contextRef="c11_From1Feb2018To30Apr2018_TreasuryStockMember" decimals="-3">9128000</us-gaap:TreasuryStockValueAcquiredCostMethod>
  <us-gaap:TreasuryStockValueAcquiredCostMethod unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">9128000</us-gaap:TreasuryStockValueAcquiredCostMethod>
  <us-gaap:ProceedsFromContributionsFromAffiliates unitRef="usd" contextRef="c10_From1Feb2018To30Apr2018_NoncontrollingInterestMember" decimals="-3">110000</us-gaap:ProceedsFromContributionsFromAffiliates>
  <us-gaap:ProceedsFromContributionsFromAffiliates unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">110000</us-gaap:ProceedsFromContributionsFromAffiliates>
  <rex:SharesIssuedRelatedToVestingOfRestrictedStockAwards unitRef="shares" contextRef="c12_From1Feb2018To30Apr2018_CommonStockMember" xs:nil="true"/>
  <rex:StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards unitRef="usd" contextRef="c12_From1Feb2018To30Apr2018_CommonStockMember" xs:nil="true"/>
  <rex:SharesIssuedRelatedToVestingOfRestrictedStockAwards unitRef="shares" contextRef="c11_From1Feb2018To30Apr2018_TreasuryStockMember" xs:nil="true"/>
  <rex:StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards unitRef="usd" contextRef="c11_From1Feb2018To30Apr2018_TreasuryStockMember" decimals="-3">13000</rex:StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards>
  <rex:StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards unitRef="usd" contextRef="c13_From1Feb2018To30Apr2018_AdditionalPaidInCapitalMember" decimals="-3">58000</rex:StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards>
  <rex:StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards unitRef="usd" contextRef="c9_From1Feb2018To30Apr2018_RetainedEarningsMember" xs:nil="true"/>
  <rex:StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards unitRef="usd" contextRef="c10_From1Feb2018To30Apr2018_NoncontrollingInterestMember" xs:nil="true"/>
  <rex:StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">71000</rex:StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c14_AsOf30Apr2018_CommonStockMember" decimals="-3">29853000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c14_AsOf30Apr2018_CommonStockMember" decimals="-3">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c15_AsOf30Apr2018_TreasuryStockMember" decimals="-3">23413000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c15_AsOf30Apr2018_TreasuryStockMember" decimals="-3">-322758000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c16_AsOf30Apr2018_AdditionalPaidInCapitalMember" decimals="-3">146981000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c17_AsOf30Apr2018_RetainedEarningsMember" decimals="-3">557409000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c18_AsOf30Apr2018_NoncontrollingInterestMember" decimals="-3">51400000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c19_AsOf31Jan2017_CommonStockMember" decimals="-3">29853000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c19_AsOf31Jan2017_CommonStockMember" decimals="-3">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c20_AsOf31Jan2017_TreasuryStockMember" decimals="-3">23292000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c20_AsOf31Jan2017_TreasuryStockMember" decimals="-3">-313838000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c21_AsOf31Jan2017_AdditionalPaidInCapitalMember" decimals="-3">145767000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c22_AsOf31Jan2017_RetainedEarningsMember" decimals="-3">508207000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c23_AsOf31Jan2017_NoncontrollingInterestMember" decimals="-3">47839000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c24_AsOf31Jan2017" decimals="-3">388274000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c25_From1Feb2017To30Apr2017_RetainedEarningsMember" decimals="-3">4544000</us-gaap:ProfitLoss>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c26_From1Feb2017To30Apr2017_NoncontrollingInterestMember" decimals="-3">1068000</us-gaap:ProfitLoss>
  <rex:SharesIssuedRelatedToVestingOfRestrictedStockAwards unitRef="shares" contextRef="c27_From1Feb2017To30Apr2017_CommonStockMember" xs:nil="true"/>
  <rex:StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards unitRef="usd" contextRef="c27_From1Feb2017To30Apr2017_CommonStockMember" xs:nil="true"/>
  <rex:SharesIssuedRelatedToVestingOfRestrictedStockAwards unitRef="shares" contextRef="c28_From1Feb2017To30Apr2017_TreasuryStockMember" xs:nil="true"/>
  <rex:StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards unitRef="usd" contextRef="c28_From1Feb2017To30Apr2017_TreasuryStockMember" decimals="-3">6000</rex:StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards>
  <rex:StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards unitRef="usd" contextRef="c29_From1Feb2017To30Apr2017_AdditionalPaidInCapitalMember" decimals="-3">23000</rex:StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards>
  <rex:StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards unitRef="usd" contextRef="c25_From1Feb2017To30Apr2017_RetainedEarningsMember" xs:nil="true"/>
  <rex:StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards unitRef="usd" contextRef="c26_From1Feb2017To30Apr2017_NoncontrollingInterestMember" xs:nil="true"/>
  <rex:StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">29000</rex:StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c30_AsOf30Apr2017_CommonStockMember" decimals="-3">29853000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c30_AsOf30Apr2017_CommonStockMember" decimals="-3">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c31_AsOf30Apr2017_TreasuryStockMember" decimals="-3">23292000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c31_AsOf30Apr2017_TreasuryStockMember" decimals="-3">-313832000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c32_AsOf30Apr2017_AdditionalPaidInCapitalMember" decimals="-3">145790000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c33_AsOf30Apr2017_RetainedEarningsMember" decimals="-3">512751000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c34_AsOf30Apr2017_NoncontrollingInterestMember" decimals="-3">48907000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c35_AsOf30Apr2017" decimals="-3">393915000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:DepreciationDepletionAndAmortization unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">5920000</us-gaap:DepreciationDepletionAndAmortization>
  <us-gaap:DepreciationDepletionAndAmortization unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">4934000</us-gaap:DepreciationDepletionAndAmortization>
  <us-gaap:IncreaseDecreaseInAccruedInterestReceivableNet unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">341000</us-gaap:IncreaseDecreaseInAccruedInterestReceivableNet>
  <us-gaap:DeferredIncomeTaxExpenseBenefit unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">2271000</us-gaap:DeferredIncomeTaxExpenseBenefit>
  <us-gaap:DeferredIncomeTaxExpenseBenefit unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">-3000</us-gaap:DeferredIncomeTaxExpenseBenefit>
  <us-gaap:AllocatedShareBasedCompensationExpense unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">71000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:AllocatedShareBasedCompensationExpense unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">196000</us-gaap:AllocatedShareBasedCompensationExpense>
  <rex:GainOnDisposalOfRealEstateAndPropertyAndEquipment unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">8000</rex:GainOnDisposalOfRealEstateAndPropertyAndEquipment>
  <us-gaap:IncreaseDecreaseInAccountsReceivable unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">8350000</us-gaap:IncreaseDecreaseInAccountsReceivable>
  <us-gaap:IncreaseDecreaseInAccountsReceivable unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">-2705000</us-gaap:IncreaseDecreaseInAccountsReceivable>
  <us-gaap:IncreaseDecreaseInInventories unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">5333000</us-gaap:IncreaseDecreaseInInventories>
  <us-gaap:IncreaseDecreaseInInventories unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">3370000</us-gaap:IncreaseDecreaseInInventories>
  <us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">1894000</us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets>
  <us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">30000</us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets>
  <us-gaap:IncreaseDecreaseInAccountsPayableTrade unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">-1011000</us-gaap:IncreaseDecreaseInAccountsPayableTrade>
  <us-gaap:IncreaseDecreaseInAccountsPayableTrade unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">1308000</us-gaap:IncreaseDecreaseInAccountsPayableTrade>
  <us-gaap:IncreaseDecreaseInOtherOperatingLiabilities unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">1980000</us-gaap:IncreaseDecreaseInOtherOperatingLiabilities>
  <us-gaap:IncreaseDecreaseInOtherOperatingLiabilities unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">-723000</us-gaap:IncreaseDecreaseInOtherOperatingLiabilities>
  <us-gaap:NetCashProvidedByUsedInOperatingActivities unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">-3520000</us-gaap:NetCashProvidedByUsedInOperatingActivities>
  <us-gaap:NetCashProvidedByUsedInOperatingActivities unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">8765000</us-gaap:NetCashProvidedByUsedInOperatingActivities>
  <us-gaap:PaymentsToAcquirePropertyPlantAndEquipment unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">3061000</us-gaap:PaymentsToAcquirePropertyPlantAndEquipment>
  <us-gaap:PaymentsToAcquirePropertyPlantAndEquipment unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">5905000</us-gaap:PaymentsToAcquirePropertyPlantAndEquipment>
  <us-gaap:PaymentsToAcquireShortTermInvestments unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">111154000</us-gaap:PaymentsToAcquireShortTermInvestments>
  <us-gaap:ProceedsFromSaleOfRestrictedInvestments unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">5000</us-gaap:ProceedsFromSaleOfRestrictedInvestments>
  <us-gaap:ProceedsFromSaleOfRestrictedInvestments unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">51000</us-gaap:ProceedsFromSaleOfRestrictedInvestments>
  <us-gaap:PaymentsForProceedsFromOtherInvestingActivities unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">-6000</us-gaap:PaymentsForProceedsFromOtherInvestingActivities>
  <us-gaap:PaymentsForProceedsFromOtherInvestingActivities unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">-6000</us-gaap:PaymentsForProceedsFromOtherInvestingActivities>
  <us-gaap:NetCashProvidedByUsedInInvestingActivities unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">-114204000</us-gaap:NetCashProvidedByUsedInInvestingActivities>
  <us-gaap:NetCashProvidedByUsedInInvestingActivities unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">-5848000</us-gaap:NetCashProvidedByUsedInInvestingActivities>
  <us-gaap:PaymentsForRepurchaseOfCommonStock unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">8586000</us-gaap:PaymentsForRepurchaseOfCommonStock>
  <us-gaap:NetCashProvidedByUsedInFinancingActivities unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">-8476000</us-gaap:NetCashProvidedByUsedInFinancingActivities>
  <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">-126200000</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect>
  <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">2917000</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect>
  <us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">191342000</us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue>
  <us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c24_AsOf31Jan2017" decimals="-3">188706000</us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue>
  <us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">65142000</us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue>
  <us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c35_AsOf30Apr2017" decimals="-3">191623000</us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue>
  <rex:NonCashInvestingActivitiesAccruedCapitalExpenditures unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">142000</rex:NonCashInvestingActivitiesAccruedCapitalExpenditures>
  <rex:NonCashInvestingActivitiesAccruedCapitalExpenditures unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">1284000</rex:NonCashInvestingActivitiesAccruedCapitalExpenditures>
  <rex:NonCashFinancingActivitiesEquityAwardsAccrued unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">167000</rex:NonCashFinancingActivitiesEquityAwardsAccrued>
  <rex:NonCashFinancingActivitiesAccruedCommonStockRepurchase unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">542000</rex:NonCashFinancingActivitiesAccruedCommonStockRepurchase>
  <us-gaap:CashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c35_AsOf30Apr2017" decimals="-3">191493000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
  <us-gaap:RestrictedCashCurrent unitRef="usd" contextRef="c35_AsOf30Apr2017" decimals="-3">130000</us-gaap:RestrictedCashCurrent>
  <dei:EntityRegistrantName contextRef="c2_From1Feb2018To30Apr2018">REX AMERICAN RESOURCES Corp</dei:EntityRegistrantName>
  <dei:DocumentType contextRef="c2_From1Feb2018To30Apr2018">10-Q</dei:DocumentType>
  <dei:CurrentFiscalYearEndDate contextRef="c2_From1Feb2018To30Apr2018">--01-31</dei:CurrentFiscalYearEndDate>
  <dei:EntityCommonStockSharesOutstanding unitRef="shares" contextRef="c36_AsOf1Jun2018" decimals="INF">6433744</dei:EntityCommonStockSharesOutstanding>
  <dei:AmendmentFlag contextRef="c2_From1Feb2018To30Apr2018">false</dei:AmendmentFlag>
  <dei:EntityCentralIndexKey contextRef="c2_From1Feb2018To30Apr2018">0000744187</dei:EntityCentralIndexKey>
  <dei:EntityCurrentReportingStatus contextRef="c2_From1Feb2018To30Apr2018">Yes</dei:EntityCurrentReportingStatus>
  <dei:EntityVoluntaryFilers contextRef="c2_From1Feb2018To30Apr2018">No</dei:EntityVoluntaryFilers>
  <dei:EntityFilerCategory contextRef="c2_From1Feb2018To30Apr2018">Accelerated Filer</dei:EntityFilerCategory>
  <dei:EntityWellKnownSeasonedIssuer contextRef="c2_From1Feb2018To30Apr2018">No</dei:EntityWellKnownSeasonedIssuer>
  <dei:DocumentFiscalYearFocus contextRef="c2_From1Feb2018To30Apr2018">2018</dei:DocumentFiscalYearFocus>
  <dei:DocumentFiscalPeriodFocus contextRef="c2_From1Feb2018To30Apr2018">Q1</dei:DocumentFiscalPeriodFocus>
  <dei:DocumentPeriodEndDate contextRef="c2_From1Feb2018To30Apr2018">2018-04-30</dei:DocumentPeriodEndDate>
  <us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 99pt 0pt 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: 0pt 0; text-indent: 0.5in&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, 2018 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, 2018 (fiscal year 2017). 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, 2018. 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: 0pt 0; text-indent: 0.5in&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 consolidates
the results of its four majority owned subsidiaries. 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 as One Earth 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: 0pt 0; text-indent: 0.5in&quot;&gt;Nature of Operations &amp;#x2013; In the third
quarter of fiscal year 2017, the Company began reporting the results of its refined coal operation as a new segment as a result
of the August 10, 2017 acquisition of an entity that operates a refined coal facility (see Note 4). Prior to the acquisition, the
Company had one reportable segment, ethanol. Beginning with the third quarter of fiscal year 2017, the Company has two reportable
segments: i) ethanol and by-products and ii) refined coal. Within the ethanol and by-products segment, the Company has equity investments
in three ethanol limited liability companies, two of which are majority ownership interests. Within the refined coal segment, the
Company has a majority equity interest in one refined coal limited liability company.&lt;/p&gt;&lt;br/&gt;</us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock>
  <rex:NumberOfConsolidatedSubsidiaries unitRef="pure" contextRef="c2_From1Feb2018To30Apr2018" decimals="0">4</rex:NumberOfConsolidatedSubsidiaries>
  <us-gaap:NumberOfReportableSegments unitRef="pure" contextRef="c37_From1Feb2016To31Jan2017" decimals="0">1</us-gaap:NumberOfReportableSegments>
  <us-gaap:NumberOfReportableSegments unitRef="pure" contextRef="c38_From1Aug2017To31Oct2017" decimals="0">2</us-gaap:NumberOfReportableSegments>
  <us-gaap:NumberOfOperatingSegments unitRef="pure" contextRef="c39_From1Feb2018To30Apr2018_EthanolMember" decimals="0">3</us-gaap:NumberOfOperatingSegments>
  <us-gaap:NumberOfOperatingSegments unitRef="pure" contextRef="c40_From1Feb2018To30Apr2018_MajorityOwnedSubsidiaryUnconsolidatedMember_EthanolMember" decimals="0">2</us-gaap:NumberOfOperatingSegments>
  <us-gaap:NumberOfOperatingSegments unitRef="pure" contextRef="c41_From1Feb2018To30Apr2018_MajorityOwnedSubsidiaryUnconsolidatedMember_RefinedCoalMember" decimals="0">1</us-gaap:NumberOfOperatingSegments>
  <us-gaap:SignificantAccountingPoliciesTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 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: 0pt 0; text-indent: 0.5in&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 2017 Annual Report on Form 10-K and the adoption of new accounting standards described at the end of this footnote. 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: 0pt 0&quot;&gt;Revenue Recognition&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in&quot;&gt;For ethanol and by-products segment sales,
the Company recognizes sales of ethanol, distillers grains and non-food grade corn oil when obligations under the terms of the
respective contracts with customers are satisfied. This occurs with the transfer of control of products, generally upon shipment
from the ethanol plant or upon loading of the rail car used to transport the products. For refined coal segment sales, the Company
recognizes sales of refined coal when obligations under the term of the contract with its customer are satisfied. This occurs when
title and control of the product transfers to its customer, generally upon the coal leaving the refined coal plant. Refined coal
sales are recorded net of the cost of coal as the Company purchases the coal feedstock from the customer to which refined coal
is sold (after processing).&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;Cost of Sales&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in&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: 0pt 0; text-indent: 0in&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: 0pt 0; text-indent: 0.5in&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&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;/font&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;Financial Instruments&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in&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;
(&amp;#x201c;ASC 815&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.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in&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: 0pt 0&quot;&gt;Income Taxes&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in&quot;&gt;The Company applies an effective tax rate
to interim periods that is consistent with the Company&amp;#x2019;s estimated annual effective tax rate as adjusted for discrete items
impacting the interim periods. The Company&amp;#x2019;s estimated annual effective tax rate includes the impact of its refined coal
operation and the expected federal income tax credits to be earned, beginning August 10, 2017, the date of the refined coal acquisition
(see Note 4). Based on current projections, the Company has estimated that its annual effective tax rate for fiscal year 2018 will
be a tax benefit of approximately 25-30%. 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 nor received refunds of income taxes during the three months ended April 30, 2018 and 2017.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in&quot;&gt;As of April 30, 2018 and January 31, 2018,
total unrecognized tax benefits were approximately $2.8 million and $2.0 million, respectively. Accrued penalties and interest
were approximately $0.4 million and $0.4 million at April 30, 2018 and January 31, 2018, respectively. If the Company were to prevail
on all unrecognized tax benefits recorded, the provision for income taxes would be reduced by approximately $2.8 million. 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: 0pt 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: 0pt 0; text-indent: 0.5in&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 by-products and refined coal. 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, 2018 and January 31, 2018. 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;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&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;
    2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&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;
    2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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%; text-align: left&quot;&gt;Ethanol and other finished goods&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;8,985&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;8,402&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,917&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,824&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;14,186&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;9,529&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&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;26,088&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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,755&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 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: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;&lt;b&gt;&lt;/b&gt;Property and
equipment is recorded at cost or the fair value on the date of acquisition (for property and equipment acquired in a business combination).
Depreciation is computed using the straight-line method. Estimated useful lives are 5 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: 0pt 0; text-align: left; 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 2018 or 2017. 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: 0pt 0; text-align: left; 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: 0pt 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: 0pt 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 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: 0pt 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: 0pt 0; text-indent: 36pt&quot;&gt;Short-term investments are considered held
to maturity, and, therefore are carried at amortized historical cost.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 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: 0pt 0; text-align: left; 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: 0pt 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: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;Effective February
1, 2018, the Company adopted 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. See Note 3 for a further discussion of adopting this amended guidance.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;Effective February
1, 2018, the Company prospectively adopted Accounting Standards Update &amp;#x201c;ASU&amp;#x201d; 2016-15 &amp;#x201c;&lt;i&gt;Statement of Cash Flows
(Topic 230), Classification of Certain Cash Receipts and Cash Payments&lt;/i&gt;&amp;#x201d;. This standard provides guidance on eight specific
cash flow issues. The cash flow issues covered by this ASU are: 1) debt prepayment or debt extinguishment costs; 2) settlement
of zero-coupon debt instruments or other debt instruments with coupon interest rates that are insignificant in relation to the
effective interest rate of the borrowing; 3) contingent consideration payments made after a business combination; 4) proceeds from
the settlement of insurance claims; 5) proceeds from the settlement of corporate-owned life insurance policies, including bank-owned
life insurance policies; 6) distributions received from equity method investees; 7) beneficial interests in securitization transactions;
and 8) separately identifiable cash flows and application of the predominance principle for distributions received from equity
method investees in the Statement of Cash Flows. The adoption of this standard did not affect the consolidated condensed financial
statements and related disclosures.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;Effective February
1, 2018, the Company adopted ASU 2016-18 &amp;#x201c;&lt;i&gt;Statement of Cash Flows (Topic 230), Restricted Cash&amp;#x201d;. &lt;/i&gt;
This standard requires that the statements of cash flows explain the changes in the combined total of restricted and
unrestricted cash balances. Amounts generally described as restricted cash will be combined with unrestricted cash and cash
equivalents when reconciling the beginning and end of period balances on the statements of cash flows. The Company adopted
this standard retrospectively. Therefore, the beginning and end of period balances of cash and cash equivalents as of January
31 and April 30, 2017 were increased by $130,000 to reflect the respective restricted cash amounts.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;In February 2016, the
FASB issued ASU 2016-02 &amp;#x201c;Leases&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 the effect 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-of-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 5).&lt;/p&gt;&lt;br/&gt;</us-gaap:SignificantAccountingPoliciesTextBlock>
  <us-gaap:ConsolidationPolicyTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in&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 2017 Annual Report on Form 10-K and the adoption of new accounting standards described at the end of this footnote. 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;</us-gaap:ConsolidationPolicyTextBlock>
  <us-gaap:RevenueRecognitionPolicyTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;Revenue Recognition&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in&quot;&gt;For ethanol and by-products segment sales,
the Company recognizes sales of ethanol, distillers grains and non-food grade corn oil when obligations under the terms of the
respective contracts with customers are satisfied. This occurs with the transfer of control of products, generally upon shipment
from the ethanol plant or upon loading of the rail car used to transport the products. For refined coal segment sales, the Company
recognizes sales of refined coal when obligations under the term of the contract with its customer are satisfied. This occurs when
title and control of the product transfers to its customer, generally upon the coal leaving the refined coal plant. Refined coal
sales are recorded net of the cost of coal as the Company purchases the coal feedstock from the customer to which refined coal
is sold (after processing).&lt;/p&gt;</us-gaap:RevenueRecognitionPolicyTextBlock>
  <us-gaap:CostOfSalesPolicyTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;Cost of Sales&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in&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_From1Feb2018To30Apr2018">&lt;p style=&quot;font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0in&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: 0pt 0; text-indent: 0.5in&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&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;/font&gt;&lt;/p&gt;</us-gaap:SellingGeneralAndAdministrativeExpensesPolicyTextBlock>
  <us-gaap:FairValueOfFinancialInstrumentsPolicy contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;Financial Instruments&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in&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;
(&amp;#x201c;ASC 815&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.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in&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_From1Feb2018To30Apr2018">&lt;p style=&quot;font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;Income Taxes&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in&quot;&gt;The Company applies an effective tax rate
to interim periods that is consistent with the Company&amp;#x2019;s estimated annual effective tax rate as adjusted for discrete items
impacting the interim periods. The Company&amp;#x2019;s estimated annual effective tax rate includes the impact of its refined coal
operation and the expected federal income tax credits to be earned, beginning August 10, 2017, the date of the refined coal acquisition
(see Note 4). Based on current projections, the Company has estimated that its annual effective tax rate for fiscal year 2018 will
be a tax benefit of approximately 25-30%. 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 nor received refunds of income taxes during the three months ended April 30, 2018 and 2017.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in&quot;&gt;As of April 30, 2018 and January 31, 2018,
total unrecognized tax benefits were approximately $2.8 million and $2.0 million, respectively. Accrued penalties and interest
were approximately $0.4 million and $0.4 million at April 30, 2018 and January 31, 2018, respectively. If the Company were to prevail
on all unrecognized tax benefits recorded, the provision for income taxes would be reduced by approximately $2.8 million. 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:EffectiveIncomeTaxRateReconciliationTaxCredits unitRef="pure" contextRef="c42_From1Feb2018To31Jan2019_MinimumMember" decimals="2">0.25</us-gaap:EffectiveIncomeTaxRateReconciliationTaxCredits>
  <us-gaap:EffectiveIncomeTaxRateReconciliationTaxCredits unitRef="pure" contextRef="c43_From1Feb2018To31Jan2019_MaximumMember" decimals="2">0.30</us-gaap:EffectiveIncomeTaxRateReconciliationTaxCredits>
  <us-gaap:IncomeTaxesPaid unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="0">0</us-gaap:IncomeTaxesPaid>
  <us-gaap:IncomeTaxesPaid unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="0">0</us-gaap:IncomeTaxesPaid>
  <us-gaap:ProceedsFromIncomeTaxRefunds unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="0">0</us-gaap:ProceedsFromIncomeTaxRefunds>
  <us-gaap:ProceedsFromIncomeTaxRefunds unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="0">0</us-gaap:ProceedsFromIncomeTaxRefunds>
  <us-gaap:UnrecognizedTaxBenefits unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-5">2800000</us-gaap:UnrecognizedTaxBenefits>
  <us-gaap:UnrecognizedTaxBenefits unitRef="usd" contextRef="c44_AsOf1Feb2018" decimals="-5">2000000</us-gaap:UnrecognizedTaxBenefits>
  <us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued unitRef="usd" contextRef="c45_AsOf30Apr2018_CustomerConcentrationRiskMember" decimals="-5">400000</us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued>
  <us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued unitRef="usd" contextRef="c46_AsOf31Jan2018_CustomerConcentrationRiskMember" decimals="-5">400000</us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued>
  <us-gaap:UnrecognizedTaxBenefits unitRef="usd" contextRef="c47_AsOf30Apr2018_ProvisionForIncomeTaxesMember" decimals="-5">2800000</us-gaap:UnrecognizedTaxBenefits>
  <us-gaap:InventoryPolicyTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 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: 0pt 0; text-indent: 0.5in&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 by-products and refined coal. 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, 2018 and January 31, 2018. 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;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&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;
    2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&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;
    2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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%; text-align: left&quot;&gt;Ethanol and other finished goods&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;8,985&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;8,402&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,917&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,824&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;14,186&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;9,529&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&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;26,088&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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,755&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:InventoryPolicyTextBlock>
  <us-gaap:PropertyPlantAndEquipmentPolicyTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 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: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;&lt;b&gt;&lt;/b&gt;Property and
equipment is recorded at cost or the fair value on the date of acquisition (for property and equipment acquired in a business combination).
Depreciation is computed using the straight-line method. Estimated useful lives are 5 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: 0pt 0; text-align: left; 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 2018 or 2017. 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: 0pt 0; text-align: left; 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_From1Feb2018To30Apr2018">Depreciation is computed using the straight-line method.</us-gaap:PropertyPlantAndEquipmentDepreciationMethods>
  <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c48_From1Feb2018To30Apr2018_MinimumMember_BuildingAndBuildingImprovementsMember">5</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
  <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c49_From1Feb2018To30Apr2018_MaximumMember_BuildingAndBuildingImprovementsMember">40 years</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
  <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c50_From1Feb2018To30Apr2018_MinimumMember_FixturesAndEquipmentMember">2</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
  <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c51_From1Feb2018To30Apr2018_MaximumMember_FixturesAndEquipmentMember">20 years</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
<!-- [WMV4][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+iaPeU+5LKszw3x4i+UF9HgtfxZID75VQVVRqTDXuIlR2AqtI+7mc9Sx6WDJRWZuRiPt8TNHMmDB6Awplxc6/DA+r/YB93OwCrQ9RRSODLJnYRYUgvYfGqcW74EW4EUzq2J7SoVjqE4jRye9Seeeu3A==] CSR-->
  <us-gaap:InvestmentPolicyTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 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: 0pt 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 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: 0pt 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: 0pt 0; text-indent: 36pt&quot;&gt;Short-term investments are considered held
to maturity, and, therefore are carried at amortized historical cost.&lt;/p&gt;</us-gaap:InvestmentPolicyTextBlock>
  <rex:MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting unitRef="pure" contextRef="c52_From1Feb2018To30Apr2018_CostOfSalesMember" decimals="2">0.20</rex:MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting>
  <us-gaap:ComprehensiveIncomePolicyPolicyTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 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: 0pt 0; text-align: left; 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_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 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: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;Effective February
1, 2018, the Company adopted 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. See Note 3 for a further discussion of adopting this amended guidance.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;Effective February
1, 2018, the Company prospectively adopted Accounting Standards Update &amp;#x201c;ASU&amp;#x201d; 2016-15 &amp;#x201c;&lt;i&gt;Statement of Cash Flows
(Topic 230), Classification of Certain Cash Receipts and Cash Payments&lt;/i&gt;&amp;#x201d;. This standard provides guidance on eight specific
cash flow issues. The cash flow issues covered by this ASU are: 1) debt prepayment or debt extinguishment costs; 2) settlement
of zero-coupon debt instruments or other debt instruments with coupon interest rates that are insignificant in relation to the
effective interest rate of the borrowing; 3) contingent consideration payments made after a business combination; 4) proceeds from
the settlement of insurance claims; 5) proceeds from the settlement of corporate-owned life insurance policies, including bank-owned
life insurance policies; 6) distributions received from equity method investees; 7) beneficial interests in securitization transactions;
and 8) separately identifiable cash flows and application of the predominance principle for distributions received from equity
method investees in the Statement of Cash Flows. The adoption of this standard did not affect the consolidated condensed financial
statements and related disclosures.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;Effective February
1, 2018, the Company adopted ASU 2016-18 &amp;#x201c;&lt;i&gt;Statement of Cash Flows (Topic 230), Restricted Cash&amp;#x201d;. &lt;/i&gt;
This standard requires that the statements of cash flows explain the changes in the combined total of restricted and
unrestricted cash balances. Amounts generally described as restricted cash will be combined with unrestricted cash and cash
equivalents when reconciling the beginning and end of period balances on the statements of cash flows. The Company adopted
this standard retrospectively. Therefore, the beginning and end of period balances of cash and cash equivalents as of January
31 and April 30, 2017 were increased by $130,000 to reflect the respective restricted cash amounts.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;In February 2016, the
FASB issued ASU 2016-02 &amp;#x201c;Leases&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 the effect 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-of-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 5).&lt;/p&gt;</us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock>
  <us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease unitRef="usd" contextRef="c37_From1Feb2016To31Jan2017" decimals="0">130000</us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease>
  <us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="0">130000</us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease>
  <us-gaap:ScheduleOfInventoryCurrentTableTextBlock contextRef="c2_From1Feb2018To30Apr2018">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;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&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;
    2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&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;
    2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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%; text-align: left&quot;&gt;Ethanol and other finished goods&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;8,985&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;8,402&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,917&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,824&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;14,186&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;9,529&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&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;26,088&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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,755&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfInventoryCurrentTableTextBlock>
  <us-gaap:InventoryFinishedGoodsNetOfReserves unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">8985000</us-gaap:InventoryFinishedGoodsNetOfReserves>
  <us-gaap:InventoryFinishedGoodsNetOfReserves unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">8402000</us-gaap:InventoryFinishedGoodsNetOfReserves>
  <us-gaap:InventoryWorkInProcessNetOfReserves unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">2917000</us-gaap:InventoryWorkInProcessNetOfReserves>
  <us-gaap:InventoryWorkInProcessNetOfReserves unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">2824000</us-gaap:InventoryWorkInProcessNetOfReserves>
  <us-gaap:InventoryRawMaterialsNetOfReserves unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">14186000</us-gaap:InventoryRawMaterialsNetOfReserves>
  <us-gaap:InventoryRawMaterialsNetOfReserves unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">9529000</us-gaap:InventoryRawMaterialsNetOfReserves>
  <us-gaap:RevenueFromContractWithCustomerTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 3. &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-align: left; text-indent: 36pt&quot;&gt;On February 1, 2018,
the Company adopted the amended guidance in ASC Topic 606, &amp;#x201c;&lt;i&gt;Revenue from Contracts with Customers&lt;/i&gt;&amp;#x201d;, and all
related amendments and applied it to all contracts utilizing the modified retrospective method. There were no adjustments to the
Consolidated Condensed Balance Sheet as of February 1, 2018 as a result of the adoption of this accounting guidance. Therefore,
comparative information has not been restated and continues to be reported under the accounting standards in effect for those periods.
Furthermore, there was no impact related to the adoption of this accounting guidance on the Consolidated Condensed Statements of
Operations or Balance Sheets for the three months ended April 30, 2018. The Company expects the impact of adopting this accounting
guidance to be immaterial on an ongoing basis.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;The Company
recognizes sales of products when obligations under the terms of the respective contracts with customers are satisfied. This
occurs with the transfer of control of products, generally upon shipment from the ethanol plant or upon loading of the rail
car used to transport the products. Revenue is measured as the amount of consideration expected to be received in exchange
for transferring goods. Sales, value add and other taxes the Company collects concurrent with revenue producing activities
are excluded from net sales and revenue.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;The majority of the
Company&amp;#x2019;s sales have payment terms ranging from 5 to 10 days after transfer of control. The Company has determined that sales
contracts do not generally include a significant financing component. The Company has not historically, and does not intend to,
enter into sales contracts in which payment is due from a customer prior to transferring product to the customer. Thus, the Company
does not record unearned revenue.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;The Company elected,
pursuant to the new accounting guidance, to recognize the cost for shipping and handling activities that occur after the customer
obtains control of the promised goods as fulfillment activities and not when performance obligations are met. The Company has also
elected, pursuant to the new accounting guidance, to exclude sales and other taxes from net sales and revenue.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;See Note 17 for disaggregation
of net sales and revenue by operating segment and by product.&lt;/p&gt;&lt;br/&gt;</us-gaap:RevenueFromContractWithCustomerTextBlock>
  <us-gaap:BusinessCombinationDisclosureTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 4. &lt;i&gt;Business Combinations&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-align: left; text-indent: 36pt&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;/i&gt;&lt;/b&gt;On August
10, 2017, the Company, through a 95.35% owned subsidiary, purchased the entire ownership interest of an entity that owns a refined
coal facility. The Company began operating its refined coal facility immediately after the acquisition. The Company expects that
the revenues from the sale of refined coal produced in the facility will be subsidized by federal production tax credits through
November 2021, subject to meeting qualified emissions reductions as governed by Section 45 of the Internal Revenue Code.&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 impact on the combined results of operations
of the Company and the refined coal entity, on a pro forma basis, as though the companies had been combined as of the beginning
of fiscal year 2017, is as follows:&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;Cost of sales would have increased by approximately
$692,000 for the quarter ended April 30, 2017. This pro forma increase is a result of increased depreciation expense as if the
refined coal entity was consolidated during the quarter ended April 30, 2017. Selling,
general and administrative expenses would have increased by approximately $2,510,000 for the quarter ended April 30, 2017. These
pro forma adjustments are a result of transaction costs occurring (on a pro forma basis) during the first quarter of fiscal year
2017. The provision for income taxes would have decreased by approximately $1,217,000 for the quarter ended April 30, 2017. Net
income attributable to REX common shareholders would have decreased by approximately $1,893,000 for the quarter ended April 30,
2017. Basic and diluted net income per share attributable to REX common shareholders would have decreased by approximately $0.29
per share for the quarter ended April 30, 2017.&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 results of the Company&amp;#x2019;s refined
coal operations (approximately $0.6 million of net sales and revenue and approximately $6.9 million of net income attributable
to REX common shareholders, including the income tax benefit of estimated Section 45 credits to be earned) have been included in
the consolidated financial statements subsequent to the acquisition date and are included in the Company&amp;#x2019;s refined coal segment.&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 purchase price was $12,049,000, which
was paid in cash. The acquisition was recorded by allocating the total purchase price to the assets acquired, based on their estimated
fair values at the acquisition date. The purchase price allocation is based on the final fair value assessment results of a valuation
analysis. The income approach was used to determine the fair values of assets acquired. The following table summarizes the estimated
fair values of the assets acquired at the acquisition date (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: 75%; 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%; text-indent: -10pt; padding-left: 10pt&quot;&gt;Inventory&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#xa0;&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;49&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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; text-indent: -10pt; padding-left: 10pt&quot;&gt;Property, plant and equipment&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;12,000&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&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; text-indent: -10pt; padding-left: 10pt&quot;&gt;Total assets acquired and purchase price&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;12,049&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;Transaction costs totaled
approximately $2.5 million during fiscal year 2017. The Company does not expect transaction costs from this acquisition to be significant
for fiscal year 2018 and beyond.&lt;/p&gt;&lt;br/&gt;</us-gaap:BusinessCombinationDisclosureTextBlock>
  <us-gaap:MinorityInterestOwnershipPercentageByParent unitRef="pure" contextRef="c53_AsOf10Aug2017_RefinedCoalMember" decimals="4">0.9535</us-gaap:MinorityInterestOwnershipPercentageByParent>
  <us-gaap:CostsAndExpenses unitRef="usd" contextRef="c54_From1Feb2017To30Apr2017_ProFormaMember_RefinedCoalMember" decimals="0">692000</us-gaap:CostsAndExpenses>
  <us-gaap:SellingGeneralAndAdministrativeExpense unitRef="usd" contextRef="c54_From1Feb2017To30Apr2017_ProFormaMember_RefinedCoalMember" decimals="0">2510000</us-gaap:SellingGeneralAndAdministrativeExpense>
  <us-gaap:IncomeTaxExpenseBenefit unitRef="usd" contextRef="c54_From1Feb2017To30Apr2017_ProFormaMember_RefinedCoalMember" decimals="0">1217000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:NetIncomeLoss unitRef="usd" contextRef="c54_From1Feb2017To30Apr2017_ProFormaMember_RefinedCoalMember" decimals="0">1893000</us-gaap:NetIncomeLoss>
  <us-gaap:BusinessAcquisitionProFormaEarningsPerShareBasic unitRef="usdPershares" contextRef="c3_From1Feb2017To30Apr2017" decimals="2">0.29</us-gaap:BusinessAcquisitionProFormaEarningsPerShareBasic>
  <us-gaap:BusinessAcquisitionProFormaEarningsPerShareDiluted unitRef="usdPershares" contextRef="c3_From1Feb2017To30Apr2017" decimals="2">0.29</us-gaap:BusinessAcquisitionProFormaEarningsPerShareDiluted>
  <us-gaap:BusinessAcquisitionsProFormaRevenue unitRef="usd" contextRef="c55_From1Feb2017To31Jan2018" decimals="-5">600000</us-gaap:BusinessAcquisitionsProFormaRevenue>
  <us-gaap:BusinessAcquisitionsProFormaNetIncomeLoss unitRef="usd" contextRef="c55_From1Feb2017To31Jan2018" decimals="-5">6900000</us-gaap:BusinessAcquisitionsProFormaNetIncomeLoss>
  <us-gaap:PaymentsToAcquireBusinessesGross unitRef="usd" contextRef="c55_From1Feb2017To31Jan2018" decimals="0">12049000</us-gaap:PaymentsToAcquireBusinessesGross>
  <us-gaap:BusinessAcquisitionCostOfAcquiredEntityTransactionCosts unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-5">2500000</us-gaap:BusinessAcquisitionCostOfAcquiredEntityTransactionCosts>
  <us-gaap:FiniteLivedAndIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTableTextBlock contextRef="c2_From1Feb2018To30Apr2018">The following table summarizes the estimated fair values of the assets acquired at the acquisition date (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: 75%; 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%; text-indent: -10pt; padding-left: 10pt&quot;&gt;Inventory&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#xa0;&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;49&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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; text-indent: -10pt; padding-left: 10pt&quot;&gt;Property, plant and equipment&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;12,000&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&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; text-indent: -10pt; padding-left: 10pt&quot;&gt;Total assets acquired and purchase price&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;12,049&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:FiniteLivedAndIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTableTextBlock>
  <us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">49000</us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory>
  <us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">12000000</us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment>
  <us-gaap:PaymentsToAcquireBusinessesGross unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">12049000</us-gaap:PaymentsToAcquireBusinessesGross>
  <us-gaap:LeasesOfLesseeDisclosureTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 5. &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: 0pt 0; text-indent: 36pt&quot;&gt;At April 30, 2018, 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: 50%; 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; padding-bottom: 1px; border-bottom: Black 1px solid&quot;&gt;Years Ended January 31,&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; padding-bottom: 1px; border-bottom: Black 1px solid&quot;&gt;Minimum&lt;br /&gt;Rentals&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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: 83%; text-indent: -10pt; padding-left: 10pt; text-align: left&quot;&gt;Remainder of 2019&lt;/td&gt;&lt;td style=&quot;width: 10%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 5%; text-align: right&quot;&gt;5,712&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;2020&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;6,151&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;2021&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;4,261&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;2022&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;3,629&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;2023&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,064&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt; text-align: left&quot;&gt;Thereafter&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;4,569&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&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-indent: -10pt; padding-left: 10pt; text-align: left&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;26,386&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;</us-gaap:LeasesOfLesseeDisclosureTextBlock>
  <us-gaap:ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock contextRef="c2_From1Feb2018To30Apr2018">At April 30, 2018, 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: 50%; 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; padding-bottom: 1px; border-bottom: Black 1px solid&quot;&gt;Years Ended January 31,&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; padding-bottom: 1px; border-bottom: Black 1px solid&quot;&gt;Minimum&lt;br /&gt;Rentals&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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: 83%; text-indent: -10pt; padding-left: 10pt; text-align: left&quot;&gt;Remainder of 2019&lt;/td&gt;&lt;td style=&quot;width: 10%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 5%; text-align: right&quot;&gt;5,712&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;2020&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;6,151&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;2021&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;4,261&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;2022&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;3,629&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;2023&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,064&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt; text-align: left&quot;&gt;Thereafter&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;4,569&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&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-indent: -10pt; padding-left: 10pt; text-align: left&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;26,386&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">5712000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInTwoYears unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">6151000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInTwoYears>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInThreeYears unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">4261000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInThreeYears>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFourYears unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">3629000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFourYears>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFiveYears unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">2064000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFiveYears>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueThereafter unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">4569000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueThereafter>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDue unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">26386000</us-gaap:OperatingLeasesFutureMinimumPaymentsDue>
  <us-gaap:FairValueDisclosuresTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 6. &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: 0pt 0; text-indent: 36pt&quot;&gt;&lt;font style=&quot;color: black&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 &lt;/font&gt;accounting principles generally accepted in the United States of America&lt;font style=&quot;color: black&quot;&gt;. 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;/font&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 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: 0pt 0; text-align: left; 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.&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;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, 2018 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: 80%; 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&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; border-bottom: Black 1px solid; text-align: left&quot;&gt;Level 1&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; border-bottom: Black 1px solid; text-align: left&quot;&gt;Level 2&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; border-bottom: Black 1px solid; text-align: left&quot;&gt;Level 3&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; border-bottom: Black 1px solid; text-align: left&quot;&gt;Fair Value&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&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: 40%; color: black; text-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Forward purchase contract asset (1)&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;378&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;378&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Investment in cooperative (2)&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&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;color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Total assets&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;378&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;711&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;color: Black; text-indent: -10pt; padding-left: 10pt&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: Black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black; text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: Black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black; text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: Black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black; text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: Black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black; text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Commodity futures (3)&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;592&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;592&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&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;color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Forward purchase contract liability (4)&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;436&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;436&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Total liabilities&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;1,028&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;1,028&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;Financial assets and liabilities measured
at fair value on a recurring basis at January 31, 2018 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: 80%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; border-bottom: Black 1px solid&quot;&gt;Level 1&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; border-bottom: Black 1px solid&quot;&gt;Level 2&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; border-bottom: Black 1px solid&quot;&gt;Level 3&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left; border-bottom: Black 1px solid&quot;&gt;Fair Value&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: center&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&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: 40%; color: black; text-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Forward purchase contracts asset (1)&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;72&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;72&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Investment in cooperative (2)&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&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;color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Total assets&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;72&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;405&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&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&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Commodity futures (3)&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;87&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;87&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&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;color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Forward purchase contract liability (4)&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;34&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;34&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Total liabilities&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;121&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;121&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;(1) The forward purchase contract asset is
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: 0pt 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: 0pt 0; text-indent: 36pt&quot;&gt;(3) Commodity futures are 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: 0pt 0; text-indent: 36pt&quot;&gt;(4) 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: 0pt 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: 0pt 0; text-indent: 36pt&quot;&gt;There were no assets measured at fair value
on a non-recurring basis at April 30, 2018 or January 31, 2018. As discussed in Note 4, the Company estimated the fair values of
refined coal assets acquired using the income approach. This estimated fair value is a level 3 measurement.&lt;/p&gt;&lt;br/&gt;</us-gaap:FairValueDisclosuresTextBlock>
  <us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock contextRef="c2_From1Feb2018To30Apr2018">Financial assets and liabilities measured at fair value on a recurring basis at April 30, 2018 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: 80%; 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&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; border-bottom: Black 1px solid; text-align: left&quot;&gt;Level 1&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; border-bottom: Black 1px solid; text-align: left&quot;&gt;Level 2&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; border-bottom: Black 1px solid; text-align: left&quot;&gt;Level 3&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; border-bottom: Black 1px solid; text-align: left&quot;&gt;Fair Value&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&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: 40%; color: black; text-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Forward purchase contract asset (1)&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;378&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;378&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Investment in cooperative (2)&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&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;color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Total assets&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;378&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;711&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;color: Black; text-indent: -10pt; padding-left: 10pt&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: Black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black; text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: Black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black; text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: Black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black; text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: Black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black; text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: Black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Commodity futures (3)&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;592&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;592&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&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;color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Forward purchase contract liability (4)&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;436&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;436&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Total liabilities&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;1,028&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;1,028&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&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: 80%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; border-bottom: Black 1px solid&quot;&gt;Level 1&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; border-bottom: Black 1px solid&quot;&gt;Level 2&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; border-bottom: Black 1px solid&quot;&gt;Level 3&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left; border-bottom: Black 1px solid&quot;&gt;Fair Value&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: center&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&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: 40%; color: black; text-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Forward purchase contracts asset (1)&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;72&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;72&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Investment in cooperative (2)&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&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;color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Total assets&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;72&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;405&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&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&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Commodity futures (3)&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;87&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;87&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#xa0;&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;color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Forward purchase contract liability (4)&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;34&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;34&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Total liabilities&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;121&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;121&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;(1) The forward purchase contract asset is
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: 0pt 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: 0pt 0; text-indent: 36pt&quot;&gt;(3) Commodity futures are 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: 0pt 0; text-indent: 36pt&quot;&gt;(4) 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;</us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c56_AsOf30Apr2018_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c56_AsOf30Apr2018_FairValueInputsLevel1Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c57_AsOf30Apr2018_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c57_AsOf30Apr2018_FairValueInputsLevel2Member" decimals="-3">378000</rex:ForwardPurchaseContractsAsset>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c58_AsOf30Apr2018_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c58_AsOf30Apr2018_FairValueInputsLevel3Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c0_AsOf30Apr2018_usd" unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">378000</rex:ForwardPurchaseContractsAsset>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c56_AsOf30Apr2018_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c56_AsOf30Apr2018_FairValueInputsLevel1Member" xs:nil="true"/>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c57_AsOf30Apr2018_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c57_AsOf30Apr2018_FairValueInputsLevel2Member" xs:nil="true"/>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c58_AsOf30Apr2018_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c58_AsOf30Apr2018_FairValueInputsLevel3Member" decimals="-3">333000</rex:InvestmentInCooperativeFairValueDisclosure>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c0_AsOf30Apr2018_usd" unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">333000</rex:InvestmentInCooperativeFairValueDisclosure>
  <us-gaap:AssetsFairValueDisclosure unitRef="usd" contextRef="c57_AsOf30Apr2018_FairValueInputsLevel2Member" decimals="-3">378000</us-gaap:AssetsFairValueDisclosure>
  <us-gaap:AssetsFairValueDisclosure unitRef="usd" contextRef="c58_AsOf30Apr2018_FairValueInputsLevel3Member" decimals="-3">333000</us-gaap:AssetsFairValueDisclosure>
  <us-gaap:AssetsFairValueDisclosure unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">711000</us-gaap:AssetsFairValueDisclosure>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c56_AsOf30Apr2018_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c56_AsOf30Apr2018_FairValueInputsLevel1Member" xs:nil="true"/>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c57_AsOf30Apr2018_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c57_AsOf30Apr2018_FairValueInputsLevel2Member" decimals="-3">592000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c58_AsOf30Apr2018_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c58_AsOf30Apr2018_FairValueInputsLevel3Member" xs:nil="true"/>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c0_AsOf30Apr2018_usd" unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">592000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
  <rex:ForwardPurchaseContractLiability id="_ForwardPurchaseContractLiability-c56_AsOf30Apr2018_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c56_AsOf30Apr2018_FairValueInputsLevel1Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractLiability id="_ForwardPurchaseContractLiability-c57_AsOf30Apr2018_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c57_AsOf30Apr2018_FairValueInputsLevel2Member" decimals="-3">436000</rex:ForwardPurchaseContractLiability>
  <rex:ForwardPurchaseContractLiability id="_ForwardPurchaseContractLiability-c58_AsOf30Apr2018_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c58_AsOf30Apr2018_FairValueInputsLevel3Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractLiability id="_ForwardPurchaseContractLiability-c0_AsOf30Apr2018_usd" unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">436000</rex:ForwardPurchaseContractLiability>
  <us-gaap:Liabilities unitRef="usd" contextRef="c57_AsOf30Apr2018_FairValueInputsLevel2Member" decimals="-3">1028000</us-gaap:Liabilities>
  <us-gaap:Liabilities unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">1028000</us-gaap:Liabilities>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c59_AsOf31Jan2018_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c59_AsOf31Jan2018_FairValueInputsLevel1Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c60_AsOf31Jan2018_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c60_AsOf31Jan2018_FairValueInputsLevel2Member" decimals="-3">72000</rex:ForwardPurchaseContractsAsset>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c61_AsOf31Jan2018_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c61_AsOf31Jan2018_FairValueInputsLevel3Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c1_AsOf31Jan2018_usd" unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">72000</rex:ForwardPurchaseContractsAsset>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c59_AsOf31Jan2018_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c59_AsOf31Jan2018_FairValueInputsLevel1Member" xs:nil="true"/>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c60_AsOf31Jan2018_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c60_AsOf31Jan2018_FairValueInputsLevel2Member" xs:nil="true"/>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c61_AsOf31Jan2018_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c61_AsOf31Jan2018_FairValueInputsLevel3Member" decimals="-3">333000</rex:InvestmentInCooperativeFairValueDisclosure>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c1_AsOf31Jan2018_usd" unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">333000</rex:InvestmentInCooperativeFairValueDisclosure>
  <us-gaap:AssetsFairValueDisclosure unitRef="usd" contextRef="c60_AsOf31Jan2018_FairValueInputsLevel2Member" decimals="-3">72000</us-gaap:AssetsFairValueDisclosure>
  <us-gaap:AssetsFairValueDisclosure unitRef="usd" contextRef="c61_AsOf31Jan2018_FairValueInputsLevel3Member" decimals="-3">333000</us-gaap:AssetsFairValueDisclosure>
  <us-gaap:AssetsFairValueDisclosure unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">405000</us-gaap:AssetsFairValueDisclosure>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c59_AsOf31Jan2018_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c59_AsOf31Jan2018_FairValueInputsLevel1Member" xs:nil="true"/>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c60_AsOf31Jan2018_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c60_AsOf31Jan2018_FairValueInputsLevel2Member" decimals="-3">87000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c61_AsOf31Jan2018_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c61_AsOf31Jan2018_FairValueInputsLevel3Member" xs:nil="true"/>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c1_AsOf31Jan2018_usd" unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">87000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
  <rex:ForwardPurchaseContractLiability id="_ForwardPurchaseContractLiability-c59_AsOf31Jan2018_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c59_AsOf31Jan2018_FairValueInputsLevel1Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractLiability id="_ForwardPurchaseContractLiability-c60_AsOf31Jan2018_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c60_AsOf31Jan2018_FairValueInputsLevel2Member" decimals="-3">34000</rex:ForwardPurchaseContractLiability>
  <rex:ForwardPurchaseContractLiability id="_ForwardPurchaseContractLiability-c61_AsOf31Jan2018_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c61_AsOf31Jan2018_FairValueInputsLevel3Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractLiability id="_ForwardPurchaseContractLiability-c1_AsOf31Jan2018_usd" unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">34000</rex:ForwardPurchaseContractLiability>
  <us-gaap:Liabilities unitRef="usd" contextRef="c60_AsOf31Jan2018_FairValueInputsLevel2Member" decimals="-3">121000</us-gaap:Liabilities>
  <us-gaap:Liabilities unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">121000</us-gaap:Liabilities>
  <us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 7. &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: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;&lt;b&gt;&lt;/b&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: 75%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;/font&gt;&lt;br /&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&lt;font style=&quot;text-decoration:underline&quot;&gt;
    &lt;/font&gt;2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid; white-space: nowrap;&quot;&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;January 31,&lt;/font&gt;&lt;br /&gt; &lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Land and improvements&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&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;21,095&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&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;21,074&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;Buildings and improvements&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;23,277&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;23,272&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;Machinery, equipment and fixtures&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;289,633&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;288,832&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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; text-indent: -10pt; padding-left: 10pt&quot;&gt;Construction in progress&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;4,378&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;3,155&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&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&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;338,383&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;336,333&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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; text-indent: -10pt; padding-left: 10pt&quot;&gt;Less: accumulated depreciation&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;(144,414&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;(138,506&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&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; text-indent: -10pt; padding-left: 10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;193,969&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;197,827&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;</us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock>
  <us-gaap:PropertyPlantAndEquipmentTextBlock contextRef="c2_From1Feb2018To30Apr2018">The components of property and equipment 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: 75%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;/font&gt;&lt;br /&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&lt;font style=&quot;text-decoration:underline&quot;&gt;
    &lt;/font&gt;2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid; white-space: nowrap;&quot;&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;January 31,&lt;/font&gt;&lt;br /&gt; &lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Land and improvements&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&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;21,095&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&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;21,074&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;Buildings and improvements&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;23,277&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;23,272&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;Machinery, equipment and fixtures&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;289,633&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;288,832&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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; text-indent: -10pt; padding-left: 10pt&quot;&gt;Construction in progress&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;4,378&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;3,155&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&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&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;338,383&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;336,333&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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; text-indent: -10pt; padding-left: 10pt&quot;&gt;Less: accumulated depreciation&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;(144,414&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;(138,506&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&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; text-indent: -10pt; padding-left: 10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;193,969&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;197,827&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:PropertyPlantAndEquipmentTextBlock>
  <us-gaap:Land unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">21095000</us-gaap:Land>
  <us-gaap:Land unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">21074000</us-gaap:Land>
  <us-gaap:BuildingsAndImprovementsGross unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">23277000</us-gaap:BuildingsAndImprovementsGross>
  <us-gaap:BuildingsAndImprovementsGross unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">23272000</us-gaap:BuildingsAndImprovementsGross>
  <us-gaap:MachineryAndEquipmentGross unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">289633000</us-gaap:MachineryAndEquipmentGross>
  <us-gaap:MachineryAndEquipmentGross unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">288832000</us-gaap:MachineryAndEquipmentGross>
  <us-gaap:ConstructionInProgressGross unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">4378000</us-gaap:ConstructionInProgressGross>
  <us-gaap:ConstructionInProgressGross unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">3155000</us-gaap:ConstructionInProgressGross>
  <us-gaap:PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">338383000</us-gaap:PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress>
  <us-gaap:PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">336333000</us-gaap:PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress>
  <us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">144414000</us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment>
  <us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">138506000</us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment>
  <us-gaap:OtherAssetsDisclosureTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 8. &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: 0pt 0; text-align: left; 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: 75%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;/font&gt;&lt;br /&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt; 2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid; white-space: nowrap;&quot;&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;January
    31,&lt;/font&gt;&lt;br /&gt; &lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Real estate taxes refundable&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&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;6,721&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&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;6,719&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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&quot;&gt;Deposits&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;5&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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; text-indent: -10pt; padding-left: 10pt&quot;&gt;Other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;723&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;730&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;7,444&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;7,454&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&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_From1Feb2018To30Apr2018">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: 75%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;/font&gt;&lt;br /&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt; 2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid; white-space: nowrap;&quot;&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;January
    31,&lt;/font&gt;&lt;br /&gt; &lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Real estate taxes refundable&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&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;6,721&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&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;6,719&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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&quot;&gt;Deposits&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;5&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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; text-indent: -10pt; padding-left: 10pt&quot;&gt;Other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;723&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;730&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;7,444&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;7,454&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfOtherAssetsTableTextBlock>
  <rex:RealEstateTaxesRefundableNoncurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">6721000</rex:RealEstateTaxesRefundableNoncurrent>
  <rex:RealEstateTaxesRefundableNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">6719000</rex:RealEstateTaxesRefundableNoncurrent>
  <us-gaap:DepositsAssetsNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">5000</us-gaap:DepositsAssetsNoncurrent>
  <us-gaap:OtherAssetsMiscellaneousNoncurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">723000</us-gaap:OtherAssetsMiscellaneousNoncurrent>
  <us-gaap:OtherAssetsMiscellaneousNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">730000</us-gaap:OtherAssetsMiscellaneousNoncurrent>
  <us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 9. &lt;i&gt;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: 0pt 0; text-align: left; text-indent: 36pt&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: 75%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;/font&gt;&lt;br /&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&lt;font style=&quot;text-decoration:underline&quot;&gt;
    &lt;/font&gt;2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid; white-space: nowrap;&quot;&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;January 31,&lt;/font&gt;&lt;br /&gt; &lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Accrued payroll and related items&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&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;1,822&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&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,108&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;Accrued utility charges&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,202&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,639&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;Accrued real estate taxes&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,846&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,678&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;Accrued income taxes&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;68&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;61&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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; text-indent: -10pt; padding-left: 10pt&quot;&gt;Other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;4,018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;3,230&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;10,956&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;13,716&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;</us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock>
  <us-gaap:OtherCurrentLiabilitiesTableTextBlock contextRef="c2_From1Feb2018To30Apr2018">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: 75%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;/font&gt;&lt;br /&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&lt;font style=&quot;text-decoration:underline&quot;&gt;
    &lt;/font&gt;2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid; white-space: nowrap;&quot;&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;January 31,&lt;/font&gt;&lt;br /&gt; &lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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-align: left; text-indent: -10pt; padding-left: 10pt&quot;&gt;Accrued payroll and related items&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&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;1,822&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&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,108&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;Accrued utility charges&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,202&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,639&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;Accrued real estate taxes&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,846&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,678&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;Accrued income taxes&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;68&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;61&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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; text-indent: -10pt; padding-left: 10pt&quot;&gt;Other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;4,018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;3,230&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;10,956&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;13,716&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:OtherCurrentLiabilitiesTableTextBlock>
  <us-gaap:EmployeeRelatedLiabilitiesCurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">1822000</us-gaap:EmployeeRelatedLiabilitiesCurrent>
  <us-gaap:EmployeeRelatedLiabilitiesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">5108000</us-gaap:EmployeeRelatedLiabilitiesCurrent>
  <us-gaap:AccruedUtilitiesCurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">2202000</us-gaap:AccruedUtilitiesCurrent>
  <us-gaap:AccruedUtilitiesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">2639000</us-gaap:AccruedUtilitiesCurrent>
  <us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">2846000</us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent>
  <us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">2678000</us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent>
  <us-gaap:AccruedIncomeTaxes unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">68000</us-gaap:AccruedIncomeTaxes>
  <us-gaap:AccruedIncomeTaxes unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">61000</us-gaap:AccruedIncomeTaxes>
  <us-gaap:OtherAccruedLiabilitiesCurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">4018000</us-gaap:OtherAccruedLiabilitiesCurrent>
  <us-gaap:OtherAccruedLiabilitiesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">3230000</us-gaap:OtherAccruedLiabilitiesCurrent>
  <us-gaap:DebtDisclosureTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 10. &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: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;Effective April 1,
2016, One Earth and NuGen Energy, LLC (&amp;#x201c;NuGen&amp;#x201d;) each entered into $10.0 million revolving loan facilities that  mature June 1, 2019. Neither One Earth nor NuGen had outstanding borrowings on the revolving loans during the three months
ended April 30, 2018 and 2017.&lt;/p&gt;&lt;br/&gt;</us-gaap:DebtDisclosureTextBlock>
  <us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-5">10000000</us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity>
  <us-gaap:DebtInstrumentMaturityDate contextRef="c2_From1Feb2018To30Apr2018">2019-06-01</us-gaap:DebtInstrumentMaturityDate>
  <us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 11. &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: 0pt 0; text-align: left; 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: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;The following table
provides information about the fair values of the Company&amp;#x2019;s derivative financial instruments (that are not accounted for
under the &amp;#x201c;normal purchases and normal sales&amp;#x201d; scope exemption of ASC 815) 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: 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&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;text-align: justify&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;/font&gt;&lt;br /&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt; &lt;font style=&quot;text-decoration:underline&quot;&gt; &lt;/font&gt;2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;January
    31,&lt;/font&gt;&lt;br /&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt; &lt;font style=&quot;text-decoration:underline&quot;&gt; &lt;/font&gt;2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;/font&gt;&lt;br /&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt; &lt;font style=&quot;text-decoration:underline&quot;&gt; &lt;/font&gt;2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;January
    31,&lt;/font&gt;&lt;br /&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt; &lt;font style=&quot;text-decoration:underline&quot;&gt; &lt;/font&gt;2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;text-align: justify&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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: 52%; text-align: justify; text-indent: -10pt; padding-left: 10pt&quot;&gt;Commodity futures (1)&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#xa0;&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;592&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#xa0;&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;87&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: justify; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Forward purchase contracts (2)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;378&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;72&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;436&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;34&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&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: justify; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;378&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;72&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;1,028&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;121&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; text-align: justify&quot;&gt;(1) Commodity futures are included
in accrued expenses and other current liabilities. These contracts are short/sell positions for approximately 6.2 million and 2.5
million bushels of corn at April 30, 2018 and January 31, 2018, respectively.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; 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 22.6 million and 11.7 million bushels
of corn at April 30, 2018 and January 31, 2018, respectively.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;As of April 30, 2018,
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, 2018, 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, 2018, the Company was required to maintain collateral in
the amount of approximately $896,000 to secure the Company&amp;#x2019;s derivative position.&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;See Note 6 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: 0pt 0; text-indent: 36pt&quot;&gt;Losses on the Company&amp;#x2019;s derivative
financial instruments of approximately $565,000 for the first quarter of fiscal year 2018 were included in cost of sales on the
Consolidated Condensed Statements of Operations. Gains on the Company&amp;#x2019;s derivative financial instruments of approximately
$124,000 for the first quarter of fiscal year 2017 were included in cost of sales on the Consolidated Condensed Statements of
Operations. Gains on the Company&amp;#x2019;s derivative financial instruments of approximately $44,000 for the first quarter of fiscal
year 2018 were included in net sales and revenue on the Consolidated Condensed Statements of Operations.&lt;/p&gt;&lt;br/&gt;</us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock>
  <rex:CommodityFuturesQuantity unitRef="bu" contextRef="c62_AsOf30Apr2018_ShortSellMember_CornMember" decimals="-5">6200000</rex:CommodityFuturesQuantity>
  <rex:CommodityFuturesQuantity unitRef="bu" contextRef="c63_AsOf31Jan2018_ShortSellMember_CornMember" decimals="-5">2500000</rex:CommodityFuturesQuantity>
  <rex:ForwardPurchaseContractsQuantity unitRef="bu" contextRef="c64_AsOf30Apr2018_CornMember" decimals="-5">22600000</rex:ForwardPurchaseContractsQuantity>
  <rex:ForwardPurchaseContractsQuantity unitRef="bu" contextRef="c65_AsOf31Jan2018_CornMember" decimals="-5">11700000</rex:ForwardPurchaseContractsQuantity>
  <us-gaap:DebtInstrumentCollateralAmount unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="0">896000</us-gaap:DebtInstrumentCollateralAmount>
  <us-gaap:DerivativeLossOnDerivative unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="0">565000</us-gaap:DerivativeLossOnDerivative>
  <us-gaap:DerivativeGainOnDerivative unitRef="usd" contextRef="c55_From1Feb2017To31Jan2018" decimals="0">124000</us-gaap:DerivativeGainOnDerivative>
  <us-gaap:DerivativeGainOnDerivative unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="0">44000</us-gaap:DerivativeGainOnDerivative>
  <us-gaap:ScheduleOfDerivativeAssetsAtFairValueTableTextBlock contextRef="c55_From1Feb2017To31Jan2018">The following table provides information about the fair values of the Company&amp;#x2019;s derivative financial instruments (that are not accounted for under the &amp;#x201c;normal purchases and normal sales&amp;#x201d; scope exemption of ASC 815) 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: 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&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;text-align: justify&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;/font&gt;&lt;br /&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt; &lt;font style=&quot;text-decoration:underline&quot;&gt; &lt;/font&gt;2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;January
    31,&lt;/font&gt;&lt;br /&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt; &lt;font style=&quot;text-decoration:underline&quot;&gt; &lt;/font&gt;2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;/font&gt;&lt;br /&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt; &lt;font style=&quot;text-decoration:underline&quot;&gt; &lt;/font&gt;2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;January
    31,&lt;/font&gt;&lt;br /&gt;&lt;font style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt; &lt;font style=&quot;text-decoration:underline&quot;&gt; &lt;/font&gt;2018&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;text-align: justify&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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: 52%; text-align: justify; text-indent: -10pt; padding-left: 10pt&quot;&gt;Commodity futures (1)&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#xa0;&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;592&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 2%&quot;&gt;&amp;#xa0;&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;87&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: justify; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Forward purchase contracts (2)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;378&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;72&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;436&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;34&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&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: justify; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;378&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;72&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;1,028&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;121&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; text-align: justify&quot;&gt;(1) Commodity futures are included
in accrued expenses and other current liabilities. These contracts are short/sell positions for approximately 6.2 million and 2.5
million bushels of corn at April 30, 2018 and January 31, 2018, respectively.&lt;/p&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; 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 22.6 million and 11.7 million bushels
of corn at April 30, 2018 and January 31, 2018, respectively.&lt;/p&gt;</us-gaap:ScheduleOfDerivativeAssetsAtFairValueTableTextBlock>
  <us-gaap:DerivativeAssets id="_DerivativeAssets-c66_AsOf30Apr2018_CommodityContractMember_usd" unitRef="usd" contextRef="c66_AsOf30Apr2018_CommodityContractMember" xs:nil="true"/>
  <us-gaap:DerivativeAssets id="_DerivativeAssets-c67_AsOf31Jan2018_CommodityContractMember_usd" unitRef="usd" contextRef="c67_AsOf31Jan2018_CommodityContractMember" xs:nil="true"/>
  <us-gaap:DerivativeLiabilities id="_DerivativeLiabilities-c66_AsOf30Apr2018_CommodityContractMember_usd" unitRef="usd" contextRef="c66_AsOf30Apr2018_CommodityContractMember" decimals="-3">592000</us-gaap:DerivativeLiabilities>
  <us-gaap:DerivativeLiabilities id="_DerivativeLiabilities-c67_AsOf31Jan2018_CommodityContractMember_usd" unitRef="usd" contextRef="c67_AsOf31Jan2018_CommodityContractMember" decimals="-3">87000</us-gaap:DerivativeLiabilities>
  <us-gaap:DerivativeAssets id="_DerivativeAssets-c68_AsOf30Apr2018_ForwardContractsMember_usd" unitRef="usd" contextRef="c68_AsOf30Apr2018_ForwardContractsMember" decimals="-3">378000</us-gaap:DerivativeAssets>
  <us-gaap:DerivativeAssets id="_DerivativeAssets-c69_AsOf31Jan2018_ForwardContractsMember_usd" unitRef="usd" contextRef="c69_AsOf31Jan2018_ForwardContractsMember" decimals="-3">72000</us-gaap:DerivativeAssets>
  <us-gaap:DerivativeLiabilities id="_DerivativeLiabilities-c68_AsOf30Apr2018_ForwardContractsMember_usd" unitRef="usd" contextRef="c68_AsOf30Apr2018_ForwardContractsMember" decimals="-3">436000</us-gaap:DerivativeLiabilities>
  <us-gaap:DerivativeLiabilities id="_DerivativeLiabilities-c69_AsOf31Jan2018_ForwardContractsMember_usd" unitRef="usd" contextRef="c69_AsOf31Jan2018_ForwardContractsMember" decimals="-3">34000</us-gaap:DerivativeLiabilities>
  <us-gaap:DerivativeAssets unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">378000</us-gaap:DerivativeAssets>
  <us-gaap:DerivativeAssets unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">72000</us-gaap:DerivativeAssets>
  <us-gaap:DerivativeLiabilities unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">1028000</us-gaap:DerivativeLiabilities>
  <us-gaap:DerivativeLiabilities unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">121000</us-gaap:DerivativeLiabilities>
  <invest:InvestmentTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 12. &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: 0pt 0; text-indent: 36pt&quot;&gt;The following table summarizes the Company&amp;#x2019;s
equity method investment at April 30, 2018 and January 31, 2018 (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: 95%; 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;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;Ownership Percentage&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;Carrying Amount&lt;br /&gt; April 30, 2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;Carrying Amount&lt;br /&gt; January 31, 2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;width: 31%; text-align: left&quot;&gt;Big River&lt;/td&gt;&lt;td style=&quot;width: 12%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 15%; text-align: right&quot;&gt;10.3&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;35,246&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 4%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;34,549&lt;/td&gt;&lt;td style=&quot;width: 5%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;Undistributed earnings of the Company&amp;#x2019;s
equity method investee totaled approximately $15.2 million and $14.5 million at April 30, 2018 and January 31, 2018, respectively.
The Company did not receive dividends from its equity method investee in the first quarter of fiscal years 2018 or 2017.&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;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: 50%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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: 60%; text-align: left&quot;&gt;Net sales and revenue&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 15%; text-align: right&quot;&gt;191,943&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 15%; text-align: right&quot;&gt;192,500&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;13,691&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;6,765&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;6,765&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 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,
2018 and January 31, 2018 are approximately $214.1 million and $202.6 million, respectively.&lt;/p&gt;&lt;br/&gt;</invest:InvestmentTextBlock>
  <us-gaap:RetainedEarningsUndistributedEarningsFromEquityMethodInvestees unitRef="usd" contextRef="c70_AsOf30Apr2018_BigRiverMember" decimals="1">15.2</us-gaap:RetainedEarningsUndistributedEarningsFromEquityMethodInvestees>
  <us-gaap:RetainedEarningsUndistributedEarningsFromEquityMethodInvestees unitRef="usd" contextRef="c71_AsOf31Jan2018_BigRiverMember" decimals="-5">14500000</us-gaap:RetainedEarningsUndistributedEarningsFromEquityMethodInvestees>
  <us-gaap:AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="1">214.1</us-gaap:AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries>
  <us-gaap:AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-5">202600000</us-gaap:AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries>
  <us-gaap:EquityMethodInvestmentsTextBlock contextRef="c2_From1Feb2018To30Apr2018">The following table summarizes the Company&amp;#x2019;s equity method investment at April 30, 2018 and January 31, 2018 (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: 95%; 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;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;Ownership Percentage&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;Carrying Amount&lt;br /&gt; April 30, 2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;Carrying Amount&lt;br /&gt; January 31, 2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;width: 31%; text-align: left&quot;&gt;Big River&lt;/td&gt;&lt;td style=&quot;width: 12%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 15%; text-align: right&quot;&gt;10.3&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;35,246&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 4%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;34,549&lt;/td&gt;&lt;td style=&quot;width: 5%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:EquityMethodInvestmentsTextBlock>
  <us-gaap:EquityMethodInvestmentOwnershipPercentage unitRef="pure" contextRef="c0_AsOf30Apr2018" decimals="3">0.103</us-gaap:EquityMethodInvestmentOwnershipPercentage>
  <rex:ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock contextRef="c2_From1Feb2018To30Apr2018">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: 50%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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: 60%; text-align: left&quot;&gt;Net sales and revenue&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 15%; text-align: right&quot;&gt;191,943&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 15%; text-align: right&quot;&gt;192,500&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;13,691&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;6,765&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;6,765&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</rex:ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue unitRef="usd" contextRef="c72_From1Feb2018To30Apr2018_BigRiverMember" decimals="-3">191943000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue unitRef="usd" contextRef="c73_From1Feb2017To30Apr2017_BigRiverMember" decimals="-3">192500000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss unitRef="usd" contextRef="c72_From1Feb2018To30Apr2018_BigRiverMember" decimals="-3">13691000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss unitRef="usd" contextRef="c73_From1Feb2017To30Apr2017_BigRiverMember" decimals="-3">8181000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems unitRef="usd" contextRef="c72_From1Feb2018To30Apr2018_BigRiverMember" decimals="-3">6765000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems unitRef="usd" contextRef="c73_From1Feb2017To30Apr2017_BigRiverMember" decimals="-3">7206000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems>
  <us-gaap:NetIncomeLoss unitRef="usd" contextRef="c72_From1Feb2018To30Apr2018_BigRiverMember" decimals="-3">6765000</us-gaap:NetIncomeLoss>
  <us-gaap:NetIncomeLoss unitRef="usd" contextRef="c73_From1Feb2017To30Apr2017_BigRiverMember" decimals="-3">7206000</us-gaap:NetIncomeLoss>
  <us-gaap:CompensationAndEmployeeBenefitPlansTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 13. &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: 0pt 0; text-align: justify; text-indent: 36pt&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. Since plan inception, the Company has only granted restricted stock awards. 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, 2018, 511,174 shares remain available for issuance under the Plan. As a
component of their compensation, restricted stock has been granted to directors at the closing market price of REX common stock
on the predetermined grant date. In addition one third of executives&amp;#x2019; incentive compensation is payable by an award of restricted
stock based on the then closing market price of REX common stock on the predetermined grant date.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt&quot;&gt;At April 30, and January
31, 2018, unrecognized compensation cost related to nonvested restricted stock was approximately $162,000 and $233,000, respectively.
The following tables summarize non-vested restricted stock award activity for the three months ended April 30, 2018 and 2017:&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&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;10&quot; style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: center&quot;&gt;Three Months Ended April 30, 2018&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;10&quot; style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: center&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid&quot;&gt;Non-Vested&lt;br /&gt; Shares&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid&quot;&gt;Weighted&lt;br /&gt; Average&amp;#xa0;&amp;#xa0;Grant&lt;br /&gt; Date Fair Value&lt;br /&gt; (000&amp;#x2019;s)&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid&quot;&gt;Weighted&lt;br /&gt; Average Remaining&lt;br /&gt; VestingTerm&lt;br /&gt; (in years)&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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: 49%; font: 10pt Times New Roman, Times, Serif&quot;&gt;Non-Vested at January 31, 2018&lt;/td&gt;&lt;td style=&quot;width: 3%; font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 12%; font: 10pt Times New Roman, Times, Serif; text-align: right&quot;&gt;29,415&lt;/td&gt;&lt;td style=&quot;width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%; font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; font: 10pt Times New Roman, Times, Serif; text-align: right&quot;&gt;2,275&lt;/td&gt;&lt;td style=&quot;width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%; font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 12%; font: 10pt Times New Roman, Times, Serif; text-align: right&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;Granted&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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: 10pt Times New Roman, Times, Serif&quot;&gt;Forfeited&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;Vested&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid&quot;&gt;672&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid&quot;&gt;50&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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: 10pt Times New Roman, Times, Serif; padding-bottom: 3px&quot;&gt;Non-Vested at April 30, 2018&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double&quot;&gt;28,743&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double&quot;&gt;2,225&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: right; padding-bottom: 3px&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&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&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;10&quot; style=&quot;text-align: center&quot;&gt;Three Months Ended April 30, 2017&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;10&quot; style=&quot;text-align: center&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Non-Vested&lt;br /&gt; Shares&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Weighted&lt;br /&gt; Average Grant&lt;br /&gt; Date Fair Value&lt;br /&gt; (000&amp;#x2019;s)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Weighted&lt;br /&gt; Average&amp;#xa0;&amp;#xa0;Remaining&lt;br /&gt; VestingTerm&lt;br /&gt; (in years)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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: 49%&quot;&gt;Non-Vested at January 31, 2017&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;23,350&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;1,386&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td&gt;Granted&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td&gt;Forfeited&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;Vested&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;Non-Vested at April 30, 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;23,350&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;1,386&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; padding-bottom: 3px&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt&quot;&gt;The above tables include
24,711 and 18,541 non-vested shares at April 30, 2018 and 2017, respectively, which are included in the number of weighted average
shares outstanding used to determine basic and diluted earnings per share attributable to REX common shareholders. Such shares
are treated, for accounting purposes, as being fully vested at the grant date as they were granted to recipients who were retirement
eligible at the time of grant.&lt;/p&gt;&lt;br/&gt;</us-gaap:CompensationAndEmployeeBenefitPlansTextBlock>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized unitRef="shares" contextRef="c74_AsOf30Apr2018_EmployeeStockOptionMember_StockOptionPlans2015Member" decimals="INF">550000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant unitRef="shares" contextRef="c74_AsOf30Apr2018_EmployeeStockOptionMember_StockOptionPlans2015Member" decimals="INF">511174</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant>
  <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized unitRef="usd" contextRef="c75_AsOf30Apr2018_RexShareholdersMember" decimals="0">162000</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized>
  <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized unitRef="usd" contextRef="c76_AsOf31Jan2018_RexShareholdersMember" decimals="0">233000</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber unitRef="shares" contextRef="c75_AsOf30Apr2018_RexShareholdersMember" decimals="INF">24711</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber unitRef="shares" contextRef="c77_AsOf30Apr2017_RexShareholdersMember" decimals="INF">18541</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber>
  <us-gaap:NonvestedRestrictedStockSharesActivityTableTextBlock contextRef="c2_From1Feb2018To30Apr2018">The following tables summarize non-vested restricted stock award activity for the three months ended April 30, 2018 and 2017:&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&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;10&quot; style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: center&quot;&gt;Three Months Ended April 30, 2018&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;10&quot; style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: center&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid&quot;&gt;Non-Vested&lt;br /&gt; Shares&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid&quot;&gt;Weighted&lt;br /&gt; Average&amp;#xa0;&amp;#xa0;Grant&lt;br /&gt; Date Fair Value&lt;br /&gt; (000&amp;#x2019;s)&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid&quot;&gt;Weighted&lt;br /&gt; Average Remaining&lt;br /&gt; VestingTerm&lt;br /&gt; (in years)&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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: 49%; font: 10pt Times New Roman, Times, Serif&quot;&gt;Non-Vested at January 31, 2018&lt;/td&gt;&lt;td style=&quot;width: 3%; font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 12%; font: 10pt Times New Roman, Times, Serif; text-align: right&quot;&gt;29,415&lt;/td&gt;&lt;td style=&quot;width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%; font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; font: 10pt Times New Roman, Times, Serif; text-align: right&quot;&gt;2,275&lt;/td&gt;&lt;td style=&quot;width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%; font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 12%; font: 10pt Times New Roman, Times, Serif; text-align: right&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;Granted&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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: 10pt Times New Roman, Times, Serif&quot;&gt;Forfeited&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: right&quot;&gt;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;Vested&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid&quot;&gt;672&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid&quot;&gt;50&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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: 10pt Times New Roman, Times, Serif; padding-bottom: 3px&quot;&gt;Non-Vested at April 30, 2018&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double&quot;&gt;28,743&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double&quot;&gt;2,225&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: right; padding-bottom: 3px&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&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: 90%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;10&quot; style=&quot;text-align: center&quot;&gt;Three Months Ended April 30, 2017&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;10&quot; style=&quot;text-align: center&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Non-Vested&lt;br /&gt; Shares&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Weighted&lt;br /&gt; Average Grant&lt;br /&gt; Date Fair Value&lt;br /&gt; (000&amp;#x2019;s)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Weighted&lt;br /&gt; Average&amp;#xa0;&amp;#xa0;Remaining&lt;br /&gt; VestingTerm&lt;br /&gt; (in years)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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: 49%&quot;&gt;Non-Vested at January 31, 2017&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;23,350&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;1,386&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td&gt;Granted&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td&gt;Forfeited&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px&quot;&gt;Vested&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;Non-Vested at April 30, 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;23,350&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;1,386&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; padding-bottom: 3px&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:NonvestedRestrictedStockSharesActivityTableTextBlock>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber unitRef="shares" contextRef="c24_AsOf31Jan2017" decimals="INF">29415</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber>
  <rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue unitRef="usd" contextRef="c24_AsOf31Jan2017" decimals="-3">2275000</rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue>
  <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1 contextRef="c55_From1Feb2017To31Jan2018">P2Y</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross unitRef="shares" contextRef="c2_From1Feb2018To30Apr2018" xs:nil="true"/>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue unitRef="usdPershares" contextRef="c2_From1Feb2018To30Apr2018" xs:nil="true"/>
  <us-gaap:StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited unitRef="shares" contextRef="c2_From1Feb2018To30Apr2018" xs:nil="true"/>
  <rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" xs:nil="true"/>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod unitRef="shares" contextRef="c2_From1Feb2018To30Apr2018" decimals="INF">672</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">50000</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber unitRef="shares" contextRef="c0_AsOf30Apr2018" decimals="INF">28743</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber>
  <rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">2225000</rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue>
  <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1 contextRef="c78_From30Apr2018To30Apr2018">P2Y</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber unitRef="shares" contextRef="c79_AsOf30Jan2017" decimals="INF">23350</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber>
  <rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue unitRef="usd" contextRef="c79_AsOf30Jan2017" decimals="-3">1386000</rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue>
  <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1 contextRef="c80_From31Jan2017To31Jan2017">P2Y</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross unitRef="shares" contextRef="c3_From1Feb2017To30Apr2017" xs:nil="true"/>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue unitRef="usdPershares" contextRef="c3_From1Feb2017To30Apr2017" xs:nil="true"/>
  <us-gaap:StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited unitRef="shares" contextRef="c3_From1Feb2017To30Apr2017" xs:nil="true"/>
  <rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" xs:nil="true"/>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod unitRef="shares" contextRef="c3_From1Feb2017To30Apr2017" xs:nil="true"/>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" xs:nil="true"/>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber unitRef="shares" contextRef="c35_AsOf30Apr2017" decimals="INF">23350</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber>
  <rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue unitRef="usd" contextRef="c35_AsOf30Apr2017" decimals="-3">1386000</rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue>
  <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1 contextRef="c3_From1Feb2017To30Apr2017">P2Y</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1>
  <us-gaap:IncomeTaxDisclosureTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 14&lt;i&gt;. 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: 0pt 0; text-indent: 36pt&quot;&gt;The effective tax rate on consolidated pre-tax
income was (35.3) % for the three months ended April 30, 2018 and 29.9% for the three months ended April 30, 2017. The fluctuation
in the rate results primarily from the production tax credits the Company expects to receive associated with its refined coal
segment, lower tax rates as a result of the Tax Cuts and Jobs Act of 2017 (&amp;#x201c;the Tax Act&amp;#x201d;) and expected research and experimentation federal tax credits to be claimed
and earned in fiscal year 2018. The Company records its tax provision/benefit based on an estimated annual effective rate adjusted
for items recorded discretely. The estimated annual effective tax rate includes the impact of the refined coal operation and the
expected federal income tax credits to be earned in fiscal year 2018. Based on current projections the Company estimates that
its annual effective tax rate will result in a tax benefit of approximately 25-30%.&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 Tax Act signed into law on December
22, 2017, reduced the federal corporate income tax rate to 21% effective January 1, 2018. The Tax Act also made numerous other
changes to the U.S. tax code, including, but not limited to, permitting full expensing of qualified property acquired after September
27, 2017, expanding prior limitations of the deductibility of certain executive compensation and eliminating the corporate alternative
minimum tax.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt&quot;&gt;The SEC issued Staff Accounting Bulletin
118 (&amp;#x201c;SAB 118&amp;#x201d;), which provides guidance on accounting for the tax effects of the Tax Act. In recognition of the inherent
complexities associated with accounting for the effects of the Tax Act, SAB 118 provides a measurement period of up to one year
from enactment of the Tax Act for companies to complete the accounting for the tax effects of the Tax Act. Although the Company&amp;#x2019;s
accounting for the tax effects of the Tax Act are not yet complete, at January 31, 2018, the Company made a preliminary estimate
of the effect of the tax rate reduction on the existing deferred tax balances and recorded a tax benefit of approximately $14,362,000
to remeasure the deferred tax liability at the new 21% rate. The Company will continue to refine the calculation as additional analysis is completed, which will include a final determination of the deferred tax balances at January 31, 2018 after the Company&amp;#x2019;s
federal income tax return is filed, and as further guidance is provided by the Internal Revenue Service.&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;Through its refined coal operation, the
Company earns production tax credits pursuant to IRC Section 45. The credits can be used to reduce future income tax liabilities
for up to 20 years.&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 Company files a U.S. federal income
tax return and various state income tax returns. 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, 2013 and prior. A reconciliation of the beginning and ending
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: 80%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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%; text-align: left&quot;&gt;Unrecognized tax benefits, beginning of period&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;2,325&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;2,096&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;809&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&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;#xa0;&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;Unrecognized tax benefits, end of period&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;3,134&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;2,243&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The Company expects to claim research and experimentation credits
in the current year and certain prior years. In connection with this, the Company has increased the amount of unrecognized tax
benefits.&lt;/p&gt;&lt;br/&gt;</us-gaap:IncomeTaxDisclosureTextBlock>
  <us-gaap:EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation unitRef="pure" contextRef="c2_From1Feb2018To30Apr2018" decimals="3">-0.353</us-gaap:EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation>
  <us-gaap:EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation unitRef="pure" contextRef="c3_From1Feb2017To30Apr2017" decimals="3">0.299</us-gaap:EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation>
  <us-gaap:EffectiveIncomeTaxRateReconciliationTaxCredits unitRef="pure" contextRef="c81_From1Feb2018To30Apr2018_MinimumMember" decimals="2">-0.25</us-gaap:EffectiveIncomeTaxRateReconciliationTaxCredits>
  <us-gaap:EffectiveIncomeTaxRateReconciliationTaxCredits unitRef="pure" contextRef="c82_From1Feb2018To30Apr2018_MaximumMember" decimals="2">-0.30</us-gaap:EffectiveIncomeTaxRateReconciliationTaxCredits>
  <us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate unitRef="pure" contextRef="c83_From1Jan2018To1Jan2018" decimals="2">0.21</us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate>
  <us-gaap:DeferredOtherTaxExpenseBenefit unitRef="usd" contextRef="c84_From31Jan2018To31Jan2018" decimals="0">-14362000</us-gaap:DeferredOtherTaxExpenseBenefit>
  <rex:TaxCreditToReduceFutureIncomeTaxLiailibitiesDuration contextRef="c85_From1Feb2018To30Apr2018_RefinedCoalMember">P20Y</rex:TaxCreditToReduceFutureIncomeTaxLiailibitiesDuration>
  <us-gaap:ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock contextRef="c2_From1Feb2018To30Apr2018">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: 80%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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%; text-align: left&quot;&gt;Unrecognized tax benefits, beginning of period&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;2,325&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;2,096&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;809&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&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;#xa0;&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;Unrecognized tax benefits, end of period&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;3,134&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;2,243&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock>
  <us-gaap:UnrecognizedTaxBenefits unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-3">2325000</us-gaap:UnrecognizedTaxBenefits>
  <us-gaap:UnrecognizedTaxBenefits unitRef="usd" contextRef="c24_AsOf31Jan2017" decimals="-3">2096000</us-gaap:UnrecognizedTaxBenefits>
  <us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">809000</us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions>
  <us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">147000</us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions>
  <rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-3">3134000</rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties>
  <rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties unitRef="usd" contextRef="c35_AsOf30Apr2017" decimals="-3">2243000</rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties>
  <us-gaap:CommitmentsAndContingenciesDisclosureTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 15. &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: 0pt 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: 0pt 0; text-indent: 0.5in&quot;&gt;One Earth and NuGen have combined forward
purchase contracts for approximately 23.9 million bushels of corn, the principal raw material for their ethanol plants. They expect
to take delivery of the grain through October 2018.&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;One Earth and NuGen have combined sales
commitments for approximately 43.8 million gallons of ethanol, approximately 113,000 tons of distillers grains and approximately
17.4 million pounds of non-food grade corn oil. They expect to deliver a majority of the ethanol,
distillers grains and non-food grade corn oil through October 2018.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in&quot;&gt;The refined coal entity has various agreements
(site license, operating agreements, etc.) containing payment terms based upon production of refined coal under which the Company
is required to pay various fees. These fees totaled approximately $1.8 million in the first three months of fiscal year 2018&lt;/p&gt;&lt;br/&gt;</us-gaap:CommitmentsAndContingenciesDisclosureTextBlock>
  <rex:QuantityOfBushelsUnderForwardPurchaseContract unitRef="bu" contextRef="c86_AsOf30Apr2018_OneEarthEnergyAndNuGenEnergyMember" decimals="-5">23900000</rex:QuantityOfBushelsUnderForwardPurchaseContract>
  <rex:QuantityOfEthanolUnderSalesCommitment unitRef="gal" contextRef="c86_AsOf30Apr2018_OneEarthEnergyAndNuGenEnergyMember" decimals="-5">43800000</rex:QuantityOfEthanolUnderSalesCommitment>
  <rex:QuantityOfDistillersGrainsUnderSalesCommitment unitRef="t" contextRef="c86_AsOf30Apr2018_OneEarthEnergyAndNuGenEnergyMember" decimals="0">113000</rex:QuantityOfDistillersGrainsUnderSalesCommitment>
  <rex:QuantityOfNonFoodGradeCornOilUnderSalesCommitments unitRef="lb" contextRef="c86_AsOf30Apr2018_OneEarthEnergyAndNuGenEnergyMember" decimals="-5">17400000</rex:QuantityOfNonFoodGradeCornOilUnderSalesCommitments>
  <rex:SupplyCommitmentExpectedPeriodOfDelivery contextRef="c87_From1Feb2018To30Apr2018_OneEarthEnergyAndNuGenEnergyMember">They expect to deliver a majority of the ethanol,distillers grains and non-food grade corn oil through October 2018.</rex:SupplyCommitmentExpectedPeriodOfDelivery>
  <rex:FeesIncurredBySubsidiary unitRef="usd" contextRef="c88_From1Feb2018To30Apr2018_RefinedCoalMember" decimals="-5">1800000</rex:FeesIncurredBySubsidiary>
  <us-gaap:RelatedPartyTransactionsDisclosureTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 16. &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 years
2018 and 2017, One Earth and NuGen purchased approximately $46.1 million and approximately $42.3 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.3 million and $0.9 million at April 30, 2018 and January 31, 2018, respectively.&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 three months of fiscal
year 2018, the Company recognized commission expense of approximately $0.1 million, payable to the minority investor in the refined
coal entity. The Company did not recognize any commission expense during the first three months of fiscal year 2017. The commission
expense is associated with the refined coal acquisition. The Company had accrued liabilities and accounts payable related to the
commission expense of approximately $1.5 million at April 30, 2018 and January 31, 2018.&lt;/p&gt;&lt;br/&gt;</us-gaap:RelatedPartyTransactionsDisclosureTextBlock>
  <us-gaap:CostsAndExpensesRelatedParty unitRef="usd" contextRef="c87_From1Feb2018To30Apr2018_OneEarthEnergyAndNuGenEnergyMember" decimals="1">46.1</us-gaap:CostsAndExpensesRelatedParty>
  <us-gaap:CostsAndExpensesRelatedParty unitRef="usd" contextRef="c89_From1Feb2017To30Apr2017_OneEarthEnergyAndNuGenEnergyMember" decimals="-5">42300000</us-gaap:CostsAndExpensesRelatedParty>
  <us-gaap:AccountsPayableRelatedPartiesCurrent unitRef="usd" contextRef="c0_AsOf30Apr2018" decimals="-5">1300000</us-gaap:AccountsPayableRelatedPartiesCurrent>
  <us-gaap:AccountsPayableRelatedPartiesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2018" decimals="-5">900000</us-gaap:AccountsPayableRelatedPartiesCurrent>
  <us-gaap:RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-5">100000</us-gaap:RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty>
  <us-gaap:AccruedLiabilitiesForCommissionsExpenseAndTaxes unitRef="usd" contextRef="c90_AsOf30Apr2018_RefinedCoalMember" decimals="-5">1500000</us-gaap:AccruedLiabilitiesForCommissionsExpenseAndTaxes>
  <us-gaap:AccruedLiabilitiesForCommissionsExpenseAndTaxes unitRef="usd" contextRef="c91_AsOf31Jan2018_RefinedCoalMember" decimals="-5">1500000</us-gaap:AccruedLiabilitiesForCommissionsExpenseAndTaxes>
  <us-gaap:SegmentReportingDisclosureTextBlock contextRef="c2_From1Feb2018To30Apr2018">&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 17. Segment Reporting&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;In the third quarter of fiscal year 2017,
the Company began reporting the results of its refined coal operations as a new segment as a result of the refined coal acquisition
(see Note 4.) The Company has two segments: ethanol and by-products and refined coal. Historical amounts have been reclassified
to conform to the current year segment reporting presentation. The Company evaluates the performance of each reportable segment
based on net income attributable to REX common shareholders. The following table summarizes segment and other results and assets
(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: 80%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Three Months Ended&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;April 30,&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&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;Net sales and revenue:&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;width: 56%; text-align: left&quot;&gt;Ethanol and by-products&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;120,680&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;113,143&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;Refined coal &lt;sup&gt;1&lt;/sup&gt;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;140&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&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;#xa0;&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 net sales and revenue&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;120,820&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;&lt;sup&gt;1 &lt;/sup&gt;The Company records sales in
the refined coal segment net of the cost of coal as the Company purchases the coal feedstock from the customer to which refined
coal is sold.&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 80%; 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;text-align: left&quot;&gt;Segment gross profit (loss):&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;width: 56%; text-align: left&quot;&gt;Ethanol and by-products&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;13,546&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;12,489&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;Refined coal&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;(2,695&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&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;#xa0;&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 gross profit&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;10,851&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;12,489&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 80%; 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;text-align: left&quot;&gt;Income (loss) before income taxes:&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;width: 56%; text-align: left&quot;&gt;Ethanol and by-products&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;11,009&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;8,923&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;Refined coal&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;(2,859&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;)&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&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;Corporate and other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;(501&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;(921&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;text-align: left; padding-bottom: 3px&quot;&gt;Total income (loss) before income taxes&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;7,649&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;8,002&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 80%; 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&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&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;Benefit (provision) for income taxes:&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;width: 56%; text-align: left&quot;&gt;Ethanol and by-products&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;(1,420&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;)&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;(2,705&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&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;text-align: left&quot;&gt;Refined coal&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;3,999&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&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;Corporate and other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;124&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;315&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&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 benefit (provision) for income taxes&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;2,703&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;(2,390&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;)&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Segment profit (loss):&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;Ethanol and by-products&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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,589&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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,142&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Refined coal&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,271&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&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;Corporate and other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;(364&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;(598&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; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;Net income attributable to REX common shareholders&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;9,496&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;4,544&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;table width=&quot;80%&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 80%; 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; width: 56%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; width: 8%;&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left; width: 2%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right; width: 12%;&quot;&gt;April 30, &lt;br /&gt;
2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; width: 8%;&quot;&gt;&amp;#xa0;&lt;/td&gt;
  &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right; width: 12%;&quot;&gt;January 31, 2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&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%;&quot;&gt;Assets:&lt;/td&gt;&lt;td style=&quot;width: 8%;&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; width: 12%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; width: 12%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; width: 56%;&quot;&gt;Ethanol and by-products&lt;/td&gt;&lt;td style=&quot;width: 8%;&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; width: 12%;&quot;&gt;397,198&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; width: 12%;&quot;&gt;384,997&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&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; width: 56%;&quot;&gt;Refined coal&lt;/td&gt;&lt;td style=&quot;width: 8%;&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; width: 12%;&quot;&gt;10,820&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; width: 12%;&quot;&gt;12,165&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&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; width: 56%;&quot;&gt;Corporate and other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; width: 8%;&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid; width: 12%;&quot;&gt;68,546&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid; width: 12%;&quot;&gt;81,702&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px; width: 1%;&quot;&gt;&amp;#xa0;&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; width: 56%;&quot;&gt;Total assets&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; width: 8%;&quot;&gt;&amp;#xa0;&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; width: 12%;&quot;&gt;476,564&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left; width: 1%;&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right; width: 12%;&quot;&gt;478,864&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;table width=&quot;80%&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 80%; 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; width: 56%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 8%;&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td colspan=&quot;5&quot; style=&quot;text-align: center&quot;&gt;&amp;#xa0;&amp;#xa0;Three Months Ended&lt;br /&gt; April 30,&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&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; width: 56%; &quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; width: 8%; &quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left; width: 1%; &quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right; width: 12%;  width: 12%;&quot;&gt;2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left; width: 1%;  width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; width: 8%;  width: 8%;&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left; width: 1%;  width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right; width: 12%;  width: 12%;&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left; width: 1%; &quot;&gt;&amp;#xa0;&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;Sales of products, ethanol and by-products segment:&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td&gt;Ethanol&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;91,893&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;91,472&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;Dried distillers grains&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;20,083&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Non-food grade corn oil&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;4,980&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&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;Modified distillers grains&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;3,717&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;7&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;9&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&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;120,680&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;113,143&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Sales of products, refined coal segment:&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;Refined coal&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;140&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;</us-gaap:SegmentReportingDisclosureTextBlock>
  <us-gaap:NumberOfReportableSegments unitRef="pure" contextRef="c92_From1Feb2018To31Jan2019" decimals="0">2</us-gaap:NumberOfReportableSegments>
  <us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock contextRef="c2_From1Feb2018To30Apr2018">The following table summarizes segment and other results and assets (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: 80%; font: 10pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Three Months Ended&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;April 30,&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&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;Net sales and revenue:&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;width: 56%; text-align: left&quot;&gt;Ethanol and by-products&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;120,680&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;113,143&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;Refined coal &lt;sup&gt;1&lt;/sup&gt;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;140&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&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;#xa0;&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 net sales and revenue&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;120,820&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;#xa0;&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: 80%; 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;text-align: left&quot;&gt;Segment gross profit (loss):&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;width: 56%; text-align: left&quot;&gt;Ethanol and by-products&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;13,546&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;12,489&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;Refined coal&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;(2,695&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&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;#xa0;&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 gross profit&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;10,851&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;12,489&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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: 80%; 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;text-align: left&quot;&gt;Income (loss) before income taxes:&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;width: 56%; text-align: left&quot;&gt;Ethanol and by-products&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;11,009&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;8,923&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#xa0;&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;Refined coal&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;(2,859&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;)&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&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;Corporate and other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;(501&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;(921&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;text-align: left; padding-bottom: 3px&quot;&gt;Total income (loss) before income taxes&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;7,649&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;8,002&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#xa0;&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: 80%; 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&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&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;Benefit (provision) for income taxes:&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;width: 56%; text-align: left&quot;&gt;Ethanol and by-products&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;(1,420&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;)&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;(2,705&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&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;text-align: left&quot;&gt;Refined coal&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;3,999&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&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;Corporate and other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;124&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;315&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&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 benefit (provision) for income taxes&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;2,703&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;(2,390&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;)&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Segment profit (loss):&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;Ethanol and by-products&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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,589&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&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,142&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Refined coal&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,271&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&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;Corporate and other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;(364&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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;(598&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; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;Net income attributable to REX common shareholders&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;9,496&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;4,544&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;table width=&quot;80%&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 80%; 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; width: 56%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;width: 8%;&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td colspan=&quot;5&quot; style=&quot;text-align: center&quot;&gt;&amp;#xa0;&amp;#xa0;Three Months Ended&lt;br /&gt; April 30,&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&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; width: 56%; &quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; width: 8%; &quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left; width: 1%; &quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right; width: 12%;  width: 12%;&quot;&gt;2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left; width: 1%;  width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; width: 8%;  width: 8%;&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left; width: 1%;  width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right; width: 12%;  width: 12%;&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left; width: 1%; &quot;&gt;&amp;#xa0;&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;Sales of products, ethanol and by-products segment:&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td&gt;Ethanol&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;91,893&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;91,472&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;Dried distillers grains&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;20,083&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Non-food grade corn oil&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;4,980&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&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;Modified distillers grains&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;3,717&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &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;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;7&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;9&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#xa0;&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;#xa0;&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;120,680&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;113,143&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;Sales of products, refined coal segment:&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&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;Refined coal&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;140&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&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;&amp;#x2014;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style=&quot;font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;&lt;sup&gt;1 &lt;/sup&gt;The Company records sales in
the refined coal segment net of the cost of coal as the Company purchases the coal feedstock from the customer to which refined
coal is sold.&lt;/p&gt;</us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock>
  <us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax unitRef="usd" contextRef="c39_From1Feb2018To30Apr2018_EthanolMember" decimals="-3">120680000</us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax>
  <us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax unitRef="usd" contextRef="c93_From1Feb2017To30Apr2017_EthanolMember" decimals="-3">113143000</us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax>
  <us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax id="_RevenueFromContractWithCustomerIncludingAssessedTax-c85_From1Feb2018To30Apr2018_RefinedCoalMember_usd" unitRef="usd" contextRef="c85_From1Feb2018To30Apr2018_RefinedCoalMember" decimals="-3">140000</us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax>
  <us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax id="_RevenueFromContractWithCustomerIncludingAssessedTax-c94_From1Feb2017To30Apr2017_RefinedCoalMember_usd" unitRef="usd" contextRef="c94_From1Feb2017To30Apr2017_RefinedCoalMember" xs:nil="true"/>
  <us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">120820000</us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax>
  <us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">113143000</us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax>
  <us-gaap:GrossProfit unitRef="usd" contextRef="c39_From1Feb2018To30Apr2018_EthanolMember" decimals="-3">13546000</us-gaap:GrossProfit>
  <us-gaap:GrossProfit unitRef="usd" contextRef="c93_From1Feb2017To30Apr2017_EthanolMember" decimals="-3">12489000</us-gaap:GrossProfit>
  <us-gaap:GrossProfit unitRef="usd" contextRef="c85_From1Feb2018To30Apr2018_RefinedCoalMember" decimals="-3">-2695000</us-gaap:GrossProfit>
  <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest unitRef="usd" contextRef="c39_From1Feb2018To30Apr2018_EthanolMember" decimals="-3">11009000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
  <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest unitRef="usd" contextRef="c93_From1Feb2017To30Apr2017_EthanolMember" decimals="-3">8923000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
  <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest unitRef="usd" contextRef="c85_From1Feb2018To30Apr2018_RefinedCoalMember" decimals="-3">-2859000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
  <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest unitRef="usd" contextRef="c95_From1Feb2018To30Apr2018_CorporateAndOtherMember" decimals="-3">-501000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
  <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest unitRef="usd" contextRef="c96_From1Feb2017To30Apr2017_CorporateAndOtherMember" decimals="-3">-921000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
  <us-gaap:IncomeTaxExpenseBenefit unitRef="usd" contextRef="c39_From1Feb2018To30Apr2018_EthanolMember" decimals="-3">1420000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:IncomeTaxExpenseBenefit unitRef="usd" contextRef="c93_From1Feb2017To30Apr2017_EthanolMember" decimals="-3">2705000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:IncomeTaxExpenseBenefit unitRef="usd" contextRef="c85_From1Feb2018To30Apr2018_RefinedCoalMember" decimals="-3">-3999000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:IncomeTaxExpenseBenefit unitRef="usd" contextRef="c95_From1Feb2018To30Apr2018_CorporateAndOtherMember" decimals="-3">-124000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:IncomeTaxExpenseBenefit unitRef="usd" contextRef="c96_From1Feb2017To30Apr2017_CorporateAndOtherMember" decimals="-3">-315000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic unitRef="usd" contextRef="c39_From1Feb2018To30Apr2018_EthanolMember" decimals="-3">8589000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
  <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic unitRef="usd" contextRef="c93_From1Feb2017To30Apr2017_EthanolMember" decimals="-3">5142000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
  <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic unitRef="usd" contextRef="c85_From1Feb2018To30Apr2018_RefinedCoalMember" decimals="-3">1271000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
  <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic unitRef="usd" contextRef="c95_From1Feb2018To30Apr2018_CorporateAndOtherMember" decimals="-3">-364000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
  <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic unitRef="usd" contextRef="c96_From1Feb2017To30Apr2017_CorporateAndOtherMember" decimals="-3">-598000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
  <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">9496000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
  <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">4544000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
  <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax unitRef="usd" contextRef="c39_From1Feb2018To30Apr2018_EthanolMember" decimals="-3">91893000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
  <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax unitRef="usd" contextRef="c93_From1Feb2017To30Apr2017_EthanolMember" decimals="-3">91472000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
  <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax unitRef="usd" contextRef="c97_From1Feb2018To30Apr2018_DriedDistillersGrainsMember" decimals="-3">20083000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
  <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax unitRef="usd" contextRef="c98_From1Feb2017To30Apr2017_DriedDistillersGrainsMember" decimals="-3">15149000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
  <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax unitRef="usd" contextRef="c99_From1Feb2018To30Apr2018_NonFoodGradeCornOilMember" decimals="-3">4980000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
  <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax unitRef="usd" contextRef="c100_From1Feb2017To30Apr2017_NonFoodGradeCornOilMember" decimals="-3">4593000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
  <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax unitRef="usd" contextRef="c101_From1Feb2018To30Apr2018_ModifiedDistillersGrainsMember" decimals="-3">3717000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
  <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax unitRef="usd" contextRef="c102_From1Feb2017To30Apr2017_ModifiedDistillersGrainsMember" decimals="-3">1920000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
  <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax unitRef="usd" contextRef="c103_From1Feb2018To30Apr2018_AllOtherSegmentsMember" decimals="-3">7000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
  <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax unitRef="usd" contextRef="c104_From1Feb2017To30Apr2017_AllOtherSegmentsMember" decimals="-3">9000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
  <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax unitRef="usd" contextRef="c2_From1Feb2018To30Apr2018" decimals="-3">120680000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
  <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax unitRef="usd" contextRef="c3_From1Feb2017To30Apr2017" decimals="-3">113143000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
  <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax unitRef="usd" contextRef="c85_From1Feb2018To30Apr2018_RefinedCoalMember" decimals="-3">140000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
  <us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock contextRef="c105_From1Feb2018To30Apr2018_AssetsMember">&lt;table width=&quot;80%&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 80%; 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; width: 56%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; width: 8%;&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left; width: 2%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right; width: 12%;&quot;&gt;April 30, &lt;br /&gt;
2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; width: 8%;&quot;&gt;&amp;#xa0;&lt;/td&gt;
  &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right; width: 12%;&quot;&gt;January 31, 2018&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&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%;&quot;&gt;Assets:&lt;/td&gt;&lt;td style=&quot;width: 8%;&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; width: 12%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; width: 12%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; width: 56%;&quot;&gt;Ethanol and by-products&lt;/td&gt;&lt;td style=&quot;width: 8%;&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; width: 12%;&quot;&gt;397,198&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; width: 12%;&quot;&gt;384,997&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&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; width: 56%;&quot;&gt;Refined coal&lt;/td&gt;&lt;td style=&quot;width: 8%;&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; width: 12%;&quot;&gt;10,820&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; width: 12%;&quot;&gt;12,165&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&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; width: 56%;&quot;&gt;Corporate and other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; width: 8%;&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid; width: 12%;&quot;&gt;68,546&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid; width: 12%;&quot;&gt;81,702&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px; width: 1%;&quot;&gt;&amp;#xa0;&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; width: 56%;&quot;&gt;Total assets&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; width: 8%;&quot;&gt;&amp;#xa0;&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; width: 12%;&quot;&gt;476,564&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#xa0;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left; width: 1%;&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right; width: 12%;&quot;&gt;478,864&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left; width: 1%;&quot;&gt;&amp;#xa0;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock>
  <us-gaap:Assets unitRef="usd" contextRef="c106_AsOf30Apr2018_EthanolMember" decimals="-3">397198000</us-gaap:Assets>
  <us-gaap:Assets unitRef="usd" contextRef="c107_AsOf31Jan2018_EthanolMember" decimals="-3">384997000</us-gaap:Assets>
  <us-gaap:Assets unitRef="usd" contextRef="c108_AsOf30Apr2018_RefinedCoalMember" decimals="-3">10820000</us-gaap:Assets>
  <us-gaap:Assets unitRef="usd" contextRef="c91_AsOf31Jan2018_RefinedCoalMember" decimals="-3">12165000</us-gaap:Assets>
  <us-gaap:Assets unitRef="usd" contextRef="c109_AsOf30Apr2018_CorporateAndOtherMember" decimals="-3">68546000</us-gaap:Assets>
  <us-gaap:Assets unitRef="usd" contextRef="c110_AsOf31Jan2018_CorporateAndOtherMember" decimals="-3">81702000</us-gaap:Assets>
</xbrl>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.SCH
<SEQUENCE>5
<FILENAME>rex-20180430.xsd
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->
<!-- Created: Mon Jun 04 10:39:36 EDT 2018 -->
<xs:schema elementFormDefault="qualified" xmlns:num="http://www.xbrl.org/dtr/type/numeric" targetNamespace="http://www.rexamerican.com/20180430" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:us-types="http://fasb.org/us-types/2018-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/20180430" xmlns:xbrli="http://www.xbrl.org/2003/instance">
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xlink:type="simple" xlink:href="rex-20180430_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-20180430_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-20180430_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-20180430_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 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 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 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 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/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES" id="rex_r_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES">
        <link:definition>006 - Disclosure - SUMMARY OF SIGNIFICANT 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/NETSALESANDREVENUE" id="rex_r_NETSALESANDREVENUE">
        <link:definition>007 - 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/BUSINESSCOMBINATIONS" id="rex_r_BUSINESSCOMBINATIONS">
        <link:definition>008 - Disclosure - BUSINESS COMBINATIONS</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>009 - 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>010 - 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>011 - 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>012 - 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>013 - 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>014 - 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>015 - 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>016 - 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>017 - 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>018 - 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>019 - 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/RelatedPartyTransactions" id="rex_r_RelatedPartyTransactions">
        <link:definition>020 - 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/SegmentReporting" id="rex_r_SegmentReporting">
        <link:definition>021 - Disclosure - Segment Reporting</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>022 - 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/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables" id="rex_r_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables">
        <link:definition>023 - Disclosure - SUMMARY OF SIGNIFICANT 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/BUSINESSCOMBINATIONSTables" id="rex_r_BUSINESSCOMBINATIONSTables">
        <link:definition>024 - Disclosure - BUSINESS COMBINATIONS (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>025 - 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>026 - 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>027 - 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>028 - 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>029 - 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>030 - 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>031 - 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>032 - 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>033 - 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/SegmentReportingTables" id="rex_r_SegmentReportingTables">
        <link:definition>034 - Disclosure - Segment Reporting (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>035 - 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>
      <link:roleType roleURI="http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails" id="rex_r_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails">
        <link:definition>036 - Disclosure - SUMMARY OF SIGNIFICANT 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>037 - Disclosure - SUMMARY OF SIGNIFICANT 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/BUSINESSCOMBINATIONSDetails" id="rex_r_BUSINESSCOMBINATIONSDetails">
        <link:definition>038 - Disclosure - BUSINESS COMBINATIONS (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/ScheduleofEstimatedFairValuesofAssetsAcquiredatAcquisitionDateTable" id="rex_r_ScheduleofEstimatedFairValuesofAssetsAcquiredatAcquisitionDateTable">
        <link:definition>039 - Disclosure - BUSINESS COMBINATIONS (Details) - Schedule of Estimated Fair Values of Assets Acquired at Acquisition Date</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+iaPeU+5LKszw3x4i+UF9HgtfxZID75VQVVRqTDXuIlR2AqtI+7mc9Sx6WDJRWZuRiPt8TNHMmDB6Awplxc6/DA+r/YB93OwCrQ9RRSODLJnYRYUgvYfGqcW74EW4EUzqkDcqdrZF0YTfJKJkr/C1wQ==] CSR-->
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" id="rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable">
        <link:definition>040 - 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>041 - 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>042 - 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/ScheduleofPropertyandEquipmentTableAlt0" id="rex_r_ScheduleofPropertyandEquipmentTableAlt0">
        <link:definition>042 - Disclosure - PROPERTY AND EQUIPMENT (Details) - Schedule of Property and Equipment Alternate 0</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>043 - 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>044 - 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>045 - 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>046 - 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>047 - 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>048 - 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>049 - 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>050 - 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>051 - 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>052 - 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>053 - 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>054 - 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>055 - 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/RelatedPartyTransactionsDetails" id="rex_r_RelatedPartyTransactionsDetails">
        <link:definition>056 - 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/SegmentReportingDetails" id="rex_r_SegmentReportingDetails">
        <link:definition>057 - Disclosure - Segment Reporting (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/ScheduleOfSegmentResultsAndAssetsTable" id="rex_r_ScheduleOfSegmentResultsAndAssetsTable">
        <link:definition>058 - Disclosure - Segment Reporting (Details) - Schedule Of Segment Results And 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/ScheduleOfSegmentAssetsTable" id="rex_r_ScheduleOfSegmentAssetsTable">
        <link:definition>059 - Disclosure - Segment Reporting (Details) - Schedule Of Segment 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/DocumentAndEntityInformation" id="DocumentAndEntityInformation">
        <link:definition>000 - Document - 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/2018-01-31" schemaLocation="http://xbrl.fasb.org/us-gaap/2018/elts/us-types-2018-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="ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract"/>
  <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="ScheduleOfSegmentResultsAndAssetsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfSegmentResultsAndAssetsAbstract"/>
  <xs:element name="ScheduleOfSegmentAssetsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfSegmentAssetsAbstract"/>
  <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="AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract"/>
  <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="ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract"/>
  <xs:element name="NetSalesAndRevenueAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NetSalesAndRevenueAbstract"/>
  <xs:element name="SegmentGrossProfitLossAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_SegmentGrossProfitLossAbstract"/>
  <xs:element name="IncomeLossBeforeIncomeTaxesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_IncomeLossBeforeIncomeTaxesAbstract"/>
  <xs:element name="BenefitProvisionForIncomeTaxesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_BenefitProvisionForIncomeTaxesAbstract"/>
  <xs:element name="SegmentProfitLossAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_SegmentProfitLossAbstract"/>
  <xs:element name="SalesOfProductsEthanolAndByProductsSegmentAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_SalesOfProductsEthanolAndByProductsSegmentAbstract"/>
  <xs:element name="SalesOfProductsRefinedCoalSegmentAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_SalesOfProductsRefinedCoalSegmentAbstract"/>
  <xs:element name="AssetsAbstract0" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_AssetsAbstract0"/>
  <xs:element name="StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards"/>
  <xs:element name="SharesIssuedRelatedToVestingOfRestrictedStockAwards" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_SharesIssuedRelatedToVestingOfRestrictedStockAwards"/>
  <xs:element name="GainOnDisposalOfRealEstateAndPropertyAndEquipment" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment"/>
  <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="NonCashFinancingActivitiesEquityAwardsAccrued" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_NonCashFinancingActivitiesEquityAwardsAccrued"/>
  <xs:element name="NonCashFinancingActivitiesAccruedCommonStockRepurchase" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_NonCashFinancingActivitiesAccruedCommonStockRepurchase"/>
  <xs:element name="ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock"/>
  <xs:element name="SegmentReportingTablesTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_SegmentReportingTablesTable"/>
  <xs:element name="SegmentReportingTablesLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_SegmentReportingTablesLineItems"/>
  <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="ForwardPurchaseContractsAsset" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_ForwardPurchaseContractsAsset"/>
  <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="ForwardPurchaseContractLiability" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_ForwardPurchaseContractLiability"/>
  <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="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue"/>
  <xs:element name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue"/>
  <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="ConsolidatedCondensedFinancialStatementsDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_ConsolidatedCondensedFinancialStatementsDetailsTable"/>
  <xs:element name="ConsolidatedCondensedFinancialStatementsDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems"/>
  <xs:element name="NumberOfConsolidatedSubsidiaries" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NumberOfConsolidatedSubsidiaries"/>
  <xs:element name="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable"/>
  <xs:element name="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems"/>
  <xs:element name="MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting"/>
  <xs:element name="BUSINESSCOMBINATIONSDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_BUSINESSCOMBINATIONSDetailsTable"/>
  <xs:element name="BUSINESSCOMBINATIONSDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_BUSINESSCOMBINATIONSDetailsLineItems"/>
  <xs:element name="DERIVATIVEFINANCIALINSTRUMENTSDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsTable"/>
  <xs:element name="DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems"/>
  <xs:element name="CommodityFuturesQuantity" type="num:volumeItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_CommodityFuturesQuantity"/>
  <xs:element name="ForwardPurchaseContractsQuantity" type="num:volumeItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_ForwardPurchaseContractsQuantity"/>
  <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="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="IncomeTaxesDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_IncomeTaxesDetailsTable"/>
  <xs:element name="IncomeTaxesDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_IncomeTaxesDetailsLineItems"/>
  <xs:element name="TaxCreditToReduceFutureIncomeTaxLiailibitiesDuration" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_TaxCreditToReduceFutureIncomeTaxLiailibitiesDuration"/>
  <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="QuantityOfBushelsUnderForwardPurchaseContract" type="num:volumeItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfBushelsUnderForwardPurchaseContract"/>
  <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="FeesIncurredBySubsidiary" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_FeesIncurredBySubsidiary"/>
  <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="AccountsReceivableBalanceMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_AccountsReceivableBalanceMember"/>
  <xs:element name="BigRiverMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_BigRiverMember"/>
  <xs:element name="BigRiverResourcesUnitedEnergyLLCMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_BigRiverResourcesUnitedEnergyLLCMember"/>
  <xs:element name="BoycevilleMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_BoycevilleMember"/>
  <xs:element name="BurlingtonMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_BurlingtonMember"/>
  <xs:element name="CornMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_CornMember"/>
  <xs:element name="DiscontinuedOperationMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DiscontinuedOperationMember"/>
  <xs:element name="DriedDistillersGrainsMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DriedDistillersGrainsMember"/>
  <xs:element name="DyersvilleMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DyersvilleMember"/>
  <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="IllinoisMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_IllinoisMember"/>
  <xs:element name="LongBuyMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_LongBuyMember"/>
  <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="OneEarthEnergyMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_OneEarthEnergyMember"/>
  <xs:element name="PatriotMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_PatriotMember"/>
  <xs:element name="ProvisionForIncomeTaxesMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ProvisionForIncomeTaxesMember"/>
  <xs:element name="RefinedCoalMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_RefinedCoalMember"/>
  <xs:element name="RexShareholdersMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_RexShareholdersMember"/>
  <xs:element name="ShortSellMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ShortSellMember"/>
  <xs:element name="StockOptionPlans2015Member" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_StockOptionPlans2015Member"/>
  <xs:element name="TermLoanMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_TermLoanMember"/>
  <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-20180430_cal.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->
<!-- Created: Mon Jun 04 10:39:36 EDT 2018 -->
<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-20180430.xsd#rex_r_ConsolidatedBalanceSheet" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ConsolidatedIncomeStatement" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ConsolidatedCashFlow" roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofComponentsofInventoryTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofPropertyandEquipmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofPropertyandEquipmentTableAlt0" roleURI="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTableAlt0"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofOtherAssetsTable" roleURI="http://www.rexamerican.com/role/ScheduleofOtherAssetsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofaccruedexpensesandothercurrentliabilitiesTable" roleURI="http://www.rexamerican.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofFinancialinformationForEquityMethodInvestmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofFinancialinformationForEquityMethodInvestmentTable"/>
  <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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsCurrent"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_ShortTermInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortTermInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_ShortTermInvestments" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCashCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_RestrictedCashCurrent" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsReceivableNetCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="5" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesReceivable" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="6" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="7" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Assets" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableTradeCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockValue" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GrossProfit"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SalesRevenueNet" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_InterestAndOtherIncome" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="4" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_AllocatedShareBasedCompensationExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="4" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" order="5" weight="-1"/>
<!-- [WMV4][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+iaPeU+5LKszw3x4i+UF9HgtfxZID75VQVVRqTDXuIlR2AqtI+7mc9Sx6WDJRWZuRiPt8TNHMmDB6Awplxc6/DA+r/YB93OwCrQ9RRSODLJnYRYUgvYfGqcW74EW4EUzqS1GMIC3dU9HfF5u7dyIWYg==] CSR-->
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="6" weight="-1"/>
    <loc xlink:type="locator" xlink:label="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment" xlink:href="rex-20180430.xsd#rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment" order="7" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <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="8" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInInventories" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="9" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" order="10" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="11" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="12" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfRestrictedInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_PaymentsToAcquirePropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="2" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquireShortTermInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireShortTermInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_PaymentsToAcquireShortTermInvestments" order="3" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="4" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromContributionsFromAffiliates" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromContributionsFromAffiliates"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_ProceedsFromContributionsFromAffiliates" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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"/>
  </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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryNet"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <loc xlink:type="locator" xlink:label="rex_ForwardPurchaseContractsAsset" xlink:href="rex-20180430.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="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="rex_InvestmentInCooperativeFairValueDisclosure" xlink:href="rex-20180430.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"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable">
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PropertyPlantAndEquipmentNet" xlink:to="us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/ScheduleofPropertyandEquipmentTableAlt0">
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PropertyPlantAndEquipmentNet" xlink:to="us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <loc xlink:type="locator" xlink:label="rex_RealEstateTaxesRefundableNoncurrent" xlink:href="rex-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedUtilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFinancialinformationForEquityMethodInvestmentTable">
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems" order="1" weight="1"/>
  </calculationLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.DEF
<SEQUENCE>7
<FILENAME>rex-20180430_def.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->
<!-- Created: Mon Jun 04 10:39:36 EDT 2018 -->
<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-20180430.xsd#rex_r_ConsolidatedBalanceSheet" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ConsolidatedIncomeStatement" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ShareholdersEquityType2or3" roleURI="http://www.rexamerican.com/role/ShareholdersEquityType2or3"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ConsolidatedCashFlow" roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ConsolidatedCondensedFinancialStatements" roleURI="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatements"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES" roleURI="http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_NETSALESANDREVENUE" roleURI="http://www.rexamerican.com/role/NETSALESANDREVENUE"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_BUSINESSCOMBINATIONS" roleURI="http://www.rexamerican.com/role/BUSINESSCOMBINATIONS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_LEASES" roleURI="http://www.rexamerican.com/role/LEASES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_FAIRVALUE" roleURI="http://www.rexamerican.com/role/FAIRVALUE"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_PROPERTYANDEQUIPMENT" roleURI="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENT"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_OTHERASSETS" roleURI="http://www.rexamerican.com/role/OTHERASSETS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES" roleURI="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_REVOLVINGLINESOFCREDIT" roleURI="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDIT"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_DERIVATIVEFINANCIALINSTRUMENTS" roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_INVESTMENTS" roleURI="http://www.rexamerican.com/role/INVESTMENTS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_EMPLOYEEBENEFITS" roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_IncomeTaxes" roleURI="http://www.rexamerican.com/role/IncomeTaxes"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_CommitmentsandContingencies" roleURI="http://www.rexamerican.com/role/CommitmentsandContingencies"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_RelatedPartyTransactions" roleURI="http://www.rexamerican.com/role/RelatedPartyTransactions"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_SegmentReporting" roleURI="http://www.rexamerican.com/role/SegmentReporting"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_AccountingPoliciesByPolicy" roleURI="http://www.rexamerican.com/role/AccountingPoliciesByPolicy"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables" roleURI="http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_BUSINESSCOMBINATIONSTables" roleURI="http://www.rexamerican.com/role/BUSINESSCOMBINATIONSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_LEASESTables" roleURI="http://www.rexamerican.com/role/LEASESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_FAIRVALUETables" roleURI="http://www.rexamerican.com/role/FAIRVALUETables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_PROPERTYANDEQUIPMENTTables" roleURI="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENTTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_OTHERASSETSTables" roleURI="http://www.rexamerican.com/role/OTHERASSETSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables" roleURI="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_DERIVATIVEFINANCIALINSTRUMENTSTables" roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_INVESTMENTSTables" roleURI="http://www.rexamerican.com/role/INVESTMENTSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_EMPLOYEEBENEFITSTables" roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_IncomeTaxesTables" roleURI="http://www.rexamerican.com/role/IncomeTaxesTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_SegmentReportingTables" roleURI="http://www.rexamerican.com/role/SegmentReportingTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofComponentsofInventoryTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofEstimatedFairValuesofAssetsAcquiredatAcquisitionDateTable" roleURI="http://www.rexamerican.com/role/ScheduleofEstimatedFairValuesofAssetsAcquiredatAcquisitionDateTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofPropertyandEquipmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofOtherAssetsTable" roleURI="http://www.rexamerican.com/role/ScheduleofOtherAssetsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofaccruedexpensesandothercurrentliabilitiesTable" roleURI="http://www.rexamerican.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofFairValuesforDerivativeFinancialInstrumentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofEquityMethodInvestmentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofFinancialinformationForEquityMethodInvestmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofFinancialinformationForEquityMethodInvestmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofNonVestedRestrictedStockAwardActivityTable" roleURI="http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofUnrecognizedTaxBenefitsRollForwardTable" roleURI="http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleOfSegmentResultsAndAssetsTable" roleURI="http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleOfSegmentAssetsTable" roleURI="http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ConsolidatedCondensedFinancialStatementsDetails" roleURI="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails" roleURI="http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_BUSINESSCOMBINATIONSDetails" roleURI="http://www.rexamerican.com/role/BUSINESSCOMBINATIONSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_REVOLVINGLINESOFCREDITDetails" roleURI="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDITDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_DERIVATIVEFINANCIALINSTRUMENTSDetails" roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_INVESTMENTSDetails" roleURI="http://www.rexamerican.com/role/INVESTMENTSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_EMPLOYEEBENEFITSDetails" roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_IncomeTaxesDetails" roleURI="http://www.rexamerican.com/role/IncomeTaxesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_CommitmentsandContingenciesDetails" roleURI="http://www.rexamerican.com/role/CommitmentsandContingenciesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_RelatedPartyTransactionsDetails" roleURI="http://www.rexamerican.com/role/RelatedPartyTransactionsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_SegmentReportingDetails" roleURI="http://www.rexamerican.com/role/SegmentReportingDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_ShortTermInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortTermInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_ShortTermInvestments" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCashCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_RestrictedCashCurrent" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsReceivableNetCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesReceivable" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" 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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_InterestAndOtherIncome" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="9" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="10" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="11" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" order="12" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EarningsPerShareBasicAndDiluted" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareBasicAndDiluted"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EarningsPerShareBasicAndDiluted" order="13" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_ProceedsFromContributionsFromAffiliates" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromContributionsFromAffiliates"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_ProceedsFromContributionsFromAffiliates" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards" xlink:href="rex-20180430.xsd#rex_StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_SharesIssuedRelatedToVestingOfRestrictedStockAwards" xlink:href="rex-20180430.xsd#rex_SharesIssuedRelatedToVestingOfRestrictedStockAwards"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_SharesIssuedRelatedToVestingOfRestrictedStockAwards" order="8" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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/2018/elts/us-gaap-2018-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_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" xlink:href="rex-20180430.xsd#rex_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepreciationDepletionAndAmortization" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment" xlink:href="rex-20180430.xsd#rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" xlink:to="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:href="rex-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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/2018/elts/us-gaap-2018-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_PaymentsToAcquireShortTermInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireShortTermInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_PaymentsToAcquireShortTermInvestments" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfRestrictedInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_PaymentsForProceedsFromOtherInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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-20180430.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_PaymentsForRepurchaseOfCommonStock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromContributionsFromAffiliates" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromContributionsFromAffiliates"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromFinancingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromContributionsFromAffiliates" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" order="9" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" order="10" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:href="rex-20180430.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_NonCashFinancingActivitiesEquityAwardsAccrued" xlink:href="rex-20180430.xsd#rex_NonCashFinancingActivitiesEquityAwardsAccrued"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_NonCashFinancingActivitiesEquityAwardsAccrued" order="12" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NonCashFinancingActivitiesAccruedCommonStockRepurchase" xlink:href="rex-20180430.xsd#rex_NonCashFinancingActivitiesAccruedCommonStockRepurchase"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_NonCashFinancingActivitiesAccruedCommonStockRepurchase" order="13" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract" xlink:href="rex-20180430.xsd#rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract" order="14" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCashCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract" xlink:to="us-gaap_RestrictedCashCurrent" order="1" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatements">
    <loc xlink:type="locator" xlink:label="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xlink:to="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SignificantAccountingPoliciesTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/NETSALESANDREVENUE">
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RevenueFromContractWithCustomerAbstract" xlink:to="us-gaap_RevenueFromContractWithCustomerTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/BUSINESSCOMBINATIONS">
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessCombinationsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessCombinationDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_BusinessCombinationsAbstract" xlink:to="us-gaap_BusinessCombinationDisclosureTextBlock" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesOfLesseeDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeasesOfLesseeDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_LeasesAbstract" xlink:to="us-gaap_LeasesOfLesseeDisclosureTextBlock" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:to="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/RelatedPartyTransactions">
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/SegmentReporting">
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingAbstract" xlink:to="us-gaap_SegmentReportingDisclosureTextBlock" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConsolidationPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConsolidationPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_ConsolidationPolicyTextBlock" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfSalesPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InvestmentPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="9" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="10" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/BUSINESSCOMBINATIONSTables">
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessCombinationsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FiniteLivedAndIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedAndIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_BusinessCombinationsAbstract" xlink:to="us-gaap_FiniteLivedAndIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTableTextBlock" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfOtherAssetsTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherCurrentLiabilitiesTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" 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/2018/elts/us-gaap-2018-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-20180430.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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/SegmentReportingTables">
    <loc xlink:type="locator" xlink:label="rex_SegmentReportingTablesLineItems" xlink:href="rex-20180430.xsd#rex_SegmentReportingTablesLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_SegmentReportingTablesTable" xlink:href="rex-20180430.xsd#rex_SegmentReportingTablesTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_SegmentReportingTablesLineItems" xlink:to="rex_SegmentReportingTablesTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_SegmentReportingTablesTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="us-gaap_AssetsMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_SegmentReportingTablesLineItems" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" order="1" 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-20180430.xsd#rex_ScheduleOfComponentsOfInventoryAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/ScheduleofEstimatedFairValuesofAssetsAcquiredatAcquisitionDateTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract" xlink:href="rex-20180430.xsd#rex_ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquireBusinessesGross" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract" xlink:to="us-gaap_PaymentsToAcquireBusinessesGross" order="2" 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-20180430.xsd#rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.xsd#rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:href="rex-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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="rex_ForwardPurchaseContractsAsset" xlink:href="rex-20180430.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="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_InvestmentInCooperativeFairValueDisclosure" xlink:href="rex-20180430.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="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsFairValueDisclosure" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ForwardPurchaseContractLiability" xlink:href="rex-20180430.xsd#rex_ForwardPurchaseContractLiability"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="rex_ForwardPurchaseContractLiability" order="5" xbrldt:closed="true"/>
<!-- [WMV4][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+iaPeU+5LKszw3x4i+UF9HgtfxZID75VQVVRqTDXuIlR2AqtI+7mc9Sx6WDJRWZuRiPt8TNHMmDB6Awplxc6/DA+r/YB93OwCrQ9RRSODLJnYRYUgvYfGqcW74EW4EUzqsER/qw4fr+SgsNhz4t4syA==] CSR-->
    <loc xlink:type="locator" xlink:label="us-gaap_Liabilities" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Liabilities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="us-gaap_Liabilities" order="6" 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-20180430.xsd#rex_ScheduleOfPropertyAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Land" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Land"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_Land" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingsAndImprovementsGross" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.xsd#rex_ScheduleOfOtherAssetsAbstract"/>
    <loc xlink:type="locator" xlink:label="rex_RealEstateTaxesRefundableNoncurrent" xlink:href="rex-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.xsd#rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedUtilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.xsd#rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:href="rex-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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="rex_ScheduleOfEquityMethodInvestmentsAbstract" xlink:href="rex-20180430.xsd#rex_ScheduleOfEquityMethodInvestmentsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfEquityMethodInvestmentsAbstract" xlink:to="us-gaap_EquityMethodInvestmentOwnershipPercentage" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfEquityMethodInvestmentsAbstract" xlink:to="us-gaap_EquityMethodInvestments" order="1" 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-20180430.xsd#rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" xlink:href="rex-20180430.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="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" xlink:to="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="srt_EquityMethodInvesteeNameDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_EquityMethodInvesteeNameDomain_0" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="srt_EquityMethodInvesteeNameDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_BigRiverMember" xlink:href="rex-20180430.xsd#rex_BigRiverMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="srt_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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_NetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_NetIncomeLoss" 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-20180430.xsd#rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" xlink:href="rex-20180430.xsd#rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue" xlink:href="rex-20180430.xsd#rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested" 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-20180430.xsd#rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefits" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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/ScheduleOfSegmentResultsAndAssetsTable">
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingInformationLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_EthanolMember" xlink:href="rex-20180430.xsd#rex_EthanolMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_EthanolMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_RefinedCoalMember" xlink:href="rex-20180430.xsd#rex_RefinedCoalMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_RefinedCoalMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CorporateAndOtherMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateAndOtherMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="us-gaap_CorporateAndOtherMember" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_DriedDistillersGrainsMember" xlink:href="rex-20180430.xsd#rex_DriedDistillersGrainsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_DriedDistillersGrainsMember" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NonFoodGradeCornOilMember" xlink:href="rex-20180430.xsd#rex_NonFoodGradeCornOilMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_NonFoodGradeCornOilMember" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ModifiedDistillersGrainsMember" xlink:href="rex-20180430.xsd#rex_ModifiedDistillersGrainsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_ModifiedDistillersGrainsMember" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllOtherSegmentsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllOtherSegmentsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="us-gaap_AllOtherSegmentsMember" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GrossProfit" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GrossProfit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_GrossProfit" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" order="6" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable">
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingInformationLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_EthanolMember" xlink:href="rex-20180430.xsd#rex_EthanolMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_EthanolMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_RefinedCoalMember" xlink:href="rex-20180430.xsd#rex_RefinedCoalMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_RefinedCoalMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CorporateAndOtherMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateAndOtherMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="us-gaap_CorporateAndOtherMember" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Assets" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Assets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_Assets" order="1" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails">
    <loc xlink:type="locator" xlink:label="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:href="rex-20180430.xsd#rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:href="rex-20180430.xsd#rex_ConsolidatedCondensedFinancialStatementsDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:to="rex_ConsolidatedCondensedFinancialStatementsDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_OwnershipAxis" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_OwnershipAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:to="srt_OwnershipAxis" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_OwnershipDomain" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_OwnershipDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="srt_OwnershipAxis" xlink:to="srt_OwnershipDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_OwnershipDomain_0" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_OwnershipDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="srt_OwnershipAxis" xlink:to="srt_OwnershipDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="srt_OwnershipDomain" xlink:to="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_EthanolMember" xlink:href="rex-20180430.xsd#rex_EthanolMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_EthanolMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_RefinedCoalMember" xlink:href="rex-20180430.xsd#rex_RefinedCoalMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_RefinedCoalMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NumberOfConsolidatedSubsidiaries" xlink:href="rex-20180430.xsd#rex_NumberOfConsolidatedSubsidiaries"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:to="rex_NumberOfConsolidatedSubsidiaries" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfReportableSegments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NumberOfReportableSegments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:to="us-gaap_NumberOfReportableSegments" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfOperatingSegments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NumberOfOperatingSegments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:to="us-gaap_NumberOfOperatingSegments" order="3" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails">
    <loc xlink:type="locator" xlink:label="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:href="rex-20180430.xsd#rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable" xlink:href="rex-20180430.xsd#rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:to="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConcentrationRiskByTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable" xlink:to="us-gaap_ConcentrationRiskByTypeAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConcentrationRiskTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_ConcentrationRiskByTypeAxis" xlink:to="us-gaap_ConcentrationRiskTypeDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConcentrationRiskTypeDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_ConcentrationRiskByTypeAxis" xlink:to="us-gaap_ConcentrationRiskTypeDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_RangeAxis" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable" xlink:to="srt_RangeAxis" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_RangeMember" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="srt_RangeAxis" xlink:to="srt_RangeMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_RangeMember_0" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="srt_RangeAxis" xlink:to="srt_RangeMember_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable" 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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_PropertyPlantAndEquipmentByTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable" xlink:to="us-gaap_PropertyPlantAndEquipmentByTypeAxis" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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="rex_ProvisionForIncomeTaxesMember" xlink:href="rex-20180430.xsd#rex_ProvisionForIncomeTaxesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementLocationDomain" xlink:to="rex_ProvisionForIncomeTaxesMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfSalesMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingAndBuildingImprovementsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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-20180430.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="srt_MinimumMember" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="srt_RangeMember" xlink:to="srt_MinimumMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_MaximumMember" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="srt_RangeMember" xlink:to="srt_MaximumMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CustomerConcentrationRiskMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ConcentrationRiskTypeDomain" xlink:to="us-gaap_CustomerConcentrationRiskMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesPaid" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxesPaid"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_IncomeTaxesPaid" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromIncomeTaxRefunds" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIncomeTaxRefunds"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_ProceedsFromIncomeTaxRefunds" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefits" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnrecognizedTaxBenefits"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_UnrecognizedTaxBenefits" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentDepreciationMethods" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentDepreciationMethods"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" xlink:href="rex-20180430.xsd#rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:to="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" order="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" order="9" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/BUSINESSCOMBINATIONSDetails">
    <loc xlink:type="locator" xlink:label="rex_BUSINESSCOMBINATIONSDetailsLineItems" xlink:href="rex-20180430.xsd#rex_BUSINESSCOMBINATIONSDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_BUSINESSCOMBINATIONSDetailsTable" xlink:href="rex-20180430.xsd#rex_BUSINESSCOMBINATIONSDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="rex_BUSINESSCOMBINATIONSDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_BUSINESSCOMBINATIONSDetailsTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ChangeInAccountingEstimateByTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ChangeInAccountingEstimateByTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_BUSINESSCOMBINATIONSDetailsTable" xlink:to="us-gaap_ChangeInAccountingEstimateByTypeAxis" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ChangeInAccountingEstimateTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ChangeInAccountingEstimateTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_ChangeInAccountingEstimateByTypeAxis" xlink:to="us-gaap_ChangeInAccountingEstimateTypeDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ChangeInAccountingEstimateTypeDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ChangeInAccountingEstimateTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_ChangeInAccountingEstimateByTypeAxis" xlink:to="us-gaap_ChangeInAccountingEstimateTypeDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_RefinedCoalMember" xlink:href="rex-20180430.xsd#rex_RefinedCoalMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_RefinedCoalMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProFormaMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProFormaMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ChangeInAccountingEstimateTypeDomain" xlink:to="us-gaap_ProFormaMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterestOwnershipPercentageByParent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MinorityInterestOwnershipPercentageByParent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_MinorityInterestOwnershipPercentageByParent" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostsAndExpenses" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostsAndExpenses"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_CostsAndExpenses" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpense" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_NetIncomeLoss" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_BusinessAcquisitionsProFormaRevenue" order="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" order="9" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquireBusinessesGross" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_PaymentsToAcquireBusinessesGross" order="10" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts" order="11" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DebtDisclosureAbstract" xlink:to="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtInstrumentMaturityDate" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentMaturityDate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DebtDisclosureAbstract" xlink:to="us-gaap_DebtInstrumentMaturityDate" order="1" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSDetails">
    <loc xlink:type="locator" xlink:label="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems" xlink:href="rex-20180430.xsd#rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsTable" xlink:href="rex-20180430.xsd#rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems" xlink:to="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TradingActivityByTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TradingActivityByTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsTable" xlink:to="us-gaap_TradingActivityByTypeAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TradingActivityByTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TradingActivityByTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_TradingActivityByTypeAxis" xlink:to="us-gaap_TradingActivityByTypeDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TradingActivityByTypeDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TradingActivityByTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_TradingActivityByTypeAxis" xlink:to="us-gaap_TradingActivityByTypeDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ContractWithCustomerDurationAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerDurationAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsTable" xlink:to="us-gaap_ContractWithCustomerDurationAxis" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ContractWithCustomerDurationDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerDurationDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_ContractWithCustomerDurationAxis" xlink:to="us-gaap_ContractWithCustomerDurationDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ContractWithCustomerDurationDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerDurationDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_ContractWithCustomerDurationAxis" xlink:to="us-gaap_ContractWithCustomerDurationDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_CornMember" xlink:href="rex-20180430.xsd#rex_CornMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_TradingActivityByTypeDomain" xlink:to="rex_CornMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ShortSellMember" xlink:href="rex-20180430.xsd#rex_ShortSellMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ContractWithCustomerDurationDomain" xlink:to="rex_ShortSellMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_CommodityFuturesQuantity" xlink:href="rex-20180430.xsd#rex_CommodityFuturesQuantity"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems" xlink:to="rex_CommodityFuturesQuantity" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ForwardPurchaseContractsQuantity" xlink:href="rex-20180430.xsd#rex_ForwardPurchaseContractsQuantity"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems" xlink:to="rex_ForwardPurchaseContractsQuantity" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtInstrumentCollateralAmount" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentCollateralAmount"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems" xlink:to="us-gaap_DebtInstrumentCollateralAmount" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeLossOnDerivative" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeLossOnDerivative"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems" xlink:to="us-gaap_DerivativeLossOnDerivative" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeGainOnDerivative" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeGainOnDerivative"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems" xlink:to="us-gaap_DerivativeGainOnDerivative" order="5" 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-20180430.xsd#rex_INVESTMENTSDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_INVESTMENTSDetailsTable" xlink:href="rex-20180430.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="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_INVESTMENTSDetailsTable" xlink:to="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="srt_EquityMethodInvesteeNameDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_EquityMethodInvesteeNameDomain_0" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="srt_EquityMethodInvesteeNameDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_BigRiverMember" xlink:href="rex-20180430.xsd#rex_BigRiverMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="srt_EquityMethodInvesteeNameDomain" xlink:to="rex_BigRiverMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsLineItems" xlink:to="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsLineItems" xlink:to="us-gaap_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries" order="2" 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-20180430.xsd#rex_EMPLOYEEBENEFITSDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_EMPLOYEEBENEFITSDetailsTable" xlink:href="rex-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_ShareholdersEquityClassAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareholdersEquityClassAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_EMPLOYEEBENEFITSDetailsTable" xlink:to="us-gaap_ShareholdersEquityClassAxis" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueByShareholdersEquityClassDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByShareholdersEquityClassDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_ShareholdersEquityClassAxis" xlink:to="us-gaap_FairValueByShareholdersEquityClassDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueByShareholdersEquityClassDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByShareholdersEquityClassDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_ShareholdersEquityClassAxis" xlink:to="us-gaap_FairValueByShareholdersEquityClassDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AwardTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_RexShareholdersMember" xlink:href="rex-20180430.xsd#rex_RexShareholdersMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueByShareholdersEquityClassDomain" xlink:to="rex_RexShareholdersMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_StockOptionPlans2015Member" xlink:href="rex-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_EMPLOYEEBENEFITSDetailsLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" order="4" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/IncomeTaxesDetails">
    <loc xlink:type="locator" xlink:label="rex_IncomeTaxesDetailsLineItems" xlink:href="rex-20180430.xsd#rex_IncomeTaxesDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_IncomeTaxesDetailsTable" xlink:href="rex-20180430.xsd#rex_IncomeTaxesDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_IncomeTaxesDetailsLineItems" xlink:to="rex_IncomeTaxesDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_IncomeTaxesDetailsTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_RangeAxis" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_IncomeTaxesDetailsTable" xlink:to="srt_RangeAxis" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_RangeMember" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="srt_RangeAxis" xlink:to="srt_RangeMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_RangeMember_0" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="srt_RangeAxis" xlink:to="srt_RangeMember_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_MinimumMember" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="srt_RangeMember" xlink:to="srt_MinimumMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_MaximumMember" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="srt_RangeMember" xlink:to="srt_MaximumMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_RefinedCoalMember" xlink:href="rex-20180430.xsd#rex_RefinedCoalMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_RefinedCoalMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_IncomeTaxesDetailsLineItems" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_IncomeTaxesDetailsLineItems" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_IncomeTaxesDetailsLineItems" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredOtherTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredOtherTaxExpenseBenefit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_IncomeTaxesDetailsLineItems" xlink:to="us-gaap_DeferredOtherTaxExpenseBenefit" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_TaxCreditToReduceFutureIncomeTaxLiailibitiesDuration" xlink:href="rex-20180430.xsd#rex_TaxCreditToReduceFutureIncomeTaxLiailibitiesDuration"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_IncomeTaxesDetailsLineItems" xlink:to="rex_TaxCreditToReduceFutureIncomeTaxLiailibitiesDuration" order="5" 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-20180430.xsd#rex_CommitmentsandContingenciesDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_CommitmentsandContingenciesDetailsTable" xlink:href="rex-20180430.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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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-20180430.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_RefinedCoalMember" xlink:href="rex-20180430.xsd#rex_RefinedCoalMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="rex_RefinedCoalMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfBushelsUnderForwardPurchaseContract" xlink:href="rex-20180430.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-20180430.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-20180430.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-20180430.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-20180430.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"/>
    <loc xlink:type="locator" xlink:label="rex_FeesIncurredBySubsidiary" xlink:href="rex-20180430.xsd#rex_FeesIncurredBySubsidiary"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CommitmentsandContingenciesDetailsLineItems" xlink:to="rex_FeesIncurredBySubsidiary" order="6" 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-20180430.xsd#rex_RelatedPartyTransactionsDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_RelatedPartyTransactionsDetailsTable" xlink:href="rex-20180430.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="dei_LegalEntityAxis" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_LegalEntityAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_RelatedPartyTransactionsDetailsTable" xlink:to="dei_LegalEntityAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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_StatementBusinessSegmentsAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_RelatedPartyTransactionsDetailsTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_RefinedCoalMember" xlink:href="rex-20180430.xsd#rex_RefinedCoalMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RelatedPartyDomain" xlink:to="rex_RefinedCoalMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_OneEarthEnergyAndNuGenEnergyMember" xlink:href="rex-20180430.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"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_RefinedCoalMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostsAndExpensesRelatedParty" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_RelatedPartyTransactionsDetailsLineItems" xlink:to="us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_RelatedPartyTransactionsDetailsLineItems" xlink:to="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes" order="4" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/SegmentReportingDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfReportableSegments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NumberOfReportableSegments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingAbstract" xlink:to="us-gaap_NumberOfReportableSegments" order="0" 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="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_DocumentInformationLineItems"/>
    <loc xlink:type="locator" xlink:label="dei_EntityRegistrantName" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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-20180430_lab.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->
<!-- Created: Mon Jun 04 10:39:36 EDT 2018 -->
<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#negatedTerseLabel" roleURI="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
  <roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/net-2009-12-16.xsd#netLabel" roleURI="http://www.xbrl.org/2009/role/netLabel"/>
  <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/2018/elts/us-gaap-2018-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_ShortTermInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortTermInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortTermInvestments_lbl" xml:lang="en-US">Short-term investments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortTermInvestments" xlink:to="us-gaap_ShortTermInvestments_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" 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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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, Beginning of Period</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, End of Period</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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_GrossProfit_lbl0" xml:lang="en-US">Segment gross profit (loss):</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="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl0" xml:lang="en-US">Income (loss) 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_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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 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_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</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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/netLabel" 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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetIncomeLoss_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_NetIncomeLoss" xlink:to="us-gaap_NetIncomeLoss_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetIncomeLoss_lbl1" 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_lbl1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted_lbl" xml:lang="en-US">Weighted average shares outstanding &#8211; basic and diluted (in Shares)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" xlink:to="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EarningsPerShareBasicAndDiluted" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareBasicAndDiluted"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EarningsPerShareBasicAndDiluted_lbl" xml:lang="en-US">Basic and 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_EarningsPerShareBasicAndDiluted" xlink:to="us-gaap_EarningsPerShareBasicAndDiluted_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfStockholdersEquityAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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, Beginning of Period (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, End of Period (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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_lbl" xml:lang="en-US">Accrued interest income</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:to="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" 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="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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 (used in) provided by 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_PaymentsForProceedsFromOtherInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_NetCashProvidedByUsedInInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_RestrictedCashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_lbl" xml:lang="en-US">Cash, cash equivalents and restricted cash, beginning of period</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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_lbl0" xml:lang="en-US">Cash, cash equivalents and restricted cash, end of period</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_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" 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_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCashCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RestrictedCashCurrent_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_RestrictedCashCurrent" xlink:to="us-gaap_RestrictedCashCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_lbl" xml:lang="en-US">Condensed Financial Information Disclosure [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xlink:to="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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-20180430.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_InventoryFinishedGoodsNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_InventoryNet" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_RevenueFromContractWithCustomerAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RevenueFromContractWithCustomerAbstract_lbl" xml:lang="en-US">Revenue from Contract with Customer [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueFromContractWithCustomerAbstract" xlink:to="us-gaap_RevenueFromContractWithCustomerAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessCombinationsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BusinessCombinationsAbstract_lbl" xml:lang="en-US">Business Combinations [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationsAbstract" xlink:to="us-gaap_BusinessCombinationsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract" xlink:href="rex-20180430.xsd#rex_ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract_lbl" xml:lang="en-US">Schedule of Estimated Fair Values of Assets Acquired at Acquisition Date [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract" xlink:to="rex_ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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-20180430.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_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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">2023</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_OperatingLeasesFutureMinimumPaymentsDue" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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="rex_ForwardPurchaseContractsAsset" xlink:href="rex-20180430.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 contracts asset (1)</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="rex_InvestmentInCooperativeFairValueDisclosure" xlink:href="rex-20180430.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="us-gaap_AssetsFairValueDisclosure" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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 (3)</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_ForwardPurchaseContractLiability" xlink:href="rex-20180430.xsd#rex_ForwardPurchaseContractLiability"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ForwardPurchaseContractLiability_lbl" xml:lang="en-US">Forward purchase contract liability (4)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ForwardPurchaseContractLiability" xlink:to="rex_ForwardPurchaseContractLiability_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Liabilities" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Liabilities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_Liabilities_lbl" xml:lang="en-US">Total liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_Liabilities_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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 and NAV [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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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_PropertyPlantAndEquipmentNet" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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/2018/elts/us-gaap-2018-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-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_lbl" xml:lang="en-US">Derivative Instruments and Hedging Activities Disclosure [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:to="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract" xlink:href="rex-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract" xlink:href="rex-20180430.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="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_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="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_BigRiverMember" xlink:href="rex-20180430.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_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:href="rex-20180430.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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl" xml:lang="en-US">Non-Vested Shares, Beginning of Period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl0" xml:lang="en-US">Non-Vested Shares, End of Period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl1" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl1"/>
    <loc xlink:type="locator" xlink:label="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" xlink:href="rex-20180430.xsd#rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_lbl" xml:lang="en-US">Weighted Average Grant Date Fair Value,Beginning of Period (in Dollars)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" xlink:to="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_lbl0" xml:lang="en-US">Weighted Average Grant Date Fair Value, End of Period (in Dollars)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" xlink:to="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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-20180430.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/2018/elts/us-gaap-2018-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, beginning of period</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-20180430.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, end of period</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/2018/elts/us-gaap-2018-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="us-gaap_RelatedPartyTransactionsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_SegmentReportingAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SegmentReportingAbstract_lbl" xml:lang="en-US">Segment Reporting [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentReportingAbstract" xlink:to="us-gaap_SegmentReportingAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfSegmentResultsAndAssetsAbstract" xlink:href="rex-20180430.xsd#rex_ScheduleOfSegmentResultsAndAssetsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfSegmentResultsAndAssetsAbstract_lbl" xml:lang="en-US">Schedule Of Segment Results And Assets [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfSegmentResultsAndAssetsAbstract" xlink:to="rex_ScheduleOfSegmentResultsAndAssetsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementBusinessSegmentsAxis_lbl" xml:lang="en-US">Segments [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_StatementBusinessSegmentsAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_EthanolMember" xlink:href="rex-20180430.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_RefinedCoalMember" xlink:href="rex-20180430.xsd#rex_RefinedCoalMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_RefinedCoalMember_lbl" xml:lang="en-US">Refined Coal [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RefinedCoalMember" xlink:to="rex_RefinedCoalMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CorporateAndOtherMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateAndOtherMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CorporateAndOtherMember_lbl" xml:lang="en-US">Corporate and Other [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CorporateAndOtherMember" xlink:to="us-gaap_CorporateAndOtherMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_DriedDistillersGrainsMember" xlink:href="rex-20180430.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-20180430.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-20180430.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="us-gaap_AllOtherSegmentsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllOtherSegmentsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AllOtherSegmentsMember_lbl" xml:lang="en-US">Other Segments [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AllOtherSegmentsMember" xlink:to="us-gaap_AllOtherSegmentsMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AssetsMember_lbl" xml:lang="en-US">Assets [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsMember" xlink:to="us-gaap_AssetsMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfSegmentAssetsAbstract" xlink:href="rex-20180430.xsd#rex_ScheduleOfSegmentAssetsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfSegmentAssetsAbstract_lbl" xml:lang="en-US">Schedule Of Segment Assets [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfSegmentAssetsAbstract" xlink:to="rex_ScheduleOfSegmentAssetsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AssetsAbstract_lbl" xml:lang="en-US">Assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsAbstract" xlink:to="us-gaap_AssetsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_AccountsReceivableNetCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_EquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InterestAndOtherIncome" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_TreasuryStockSharesAcquired" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="us-gaap_ProceedsFromContributionsFromAffiliates" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromContributionsFromAffiliates"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromContributionsFromAffiliates_lbl" xml:lang="en-US">Capital contributions</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromContributionsFromAffiliates" xlink:to="us-gaap_ProceedsFromContributionsFromAffiliates_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProceedsFromContributionsFromAffiliates_lbl0" xml:lang="en-US">Capital contributions from minority investor</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromContributionsFromAffiliates" xlink:to="us-gaap_ProceedsFromContributionsFromAffiliates_lbl0"/>
    <loc xlink:type="locator" xlink:label="rex_StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards" xlink:href="rex-20180430.xsd#rex_StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards_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="rex_StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards" xlink:to="rex_StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_SharesIssuedRelatedToVestingOfRestrictedStockAwards" xlink:href="rex-20180430.xsd#rex_SharesIssuedRelatedToVestingOfRestrictedStockAwards"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_SharesIssuedRelatedToVestingOfRestrictedStockAwards_lbl" xml:lang="en-US">Stock options and related tax effects (in Shares)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SharesIssuedRelatedToVestingOfRestrictedStockAwards" xlink:to="rex_SharesIssuedRelatedToVestingOfRestrictedStockAwards_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromOperatingActivitiesAbstract" xlink:href="rex-20180430.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_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" xlink:href="rex-20180430.xsd#rex_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract_lbl" xml:lang="en-US">Adjustments to reconcile net income to net cash (used in) provided by operating activities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" xlink:to="rex_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepreciationDepletionAndAmortization" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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</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_AllocatedShareBasedCompensationExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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-20180430.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="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:href="rex-20180430.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/2018/elts/us-gaap-2018-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="rex_CashFlowsFromFinancingActivitiesAbstract" xlink:href="rex-20180430.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="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_lbl" xml:lang="en-US">Net (decrease) increase in cash, cash equivalents and restricted cash</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:to="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:href="rex-20180430.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_NonCashFinancingActivitiesEquityAwardsAccrued" xlink:href="rex-20180430.xsd#rex_NonCashFinancingActivitiesEquityAwardsAccrued"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NonCashFinancingActivitiesEquityAwardsAccrued_lbl" xml:lang="en-US">Non cash financing activities &#8211; Stock awards accrued</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NonCashFinancingActivitiesEquityAwardsAccrued" xlink:to="rex_NonCashFinancingActivitiesEquityAwardsAccrued_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NonCashFinancingActivitiesAccruedCommonStockRepurchase" xlink:href="rex-20180430.xsd#rex_NonCashFinancingActivitiesAccruedCommonStockRepurchase"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NonCashFinancingActivitiesAccruedCommonStockRepurchase_lbl" xml:lang="en-US">Non cash financing activities &#8211; Accrued common stock repurchases</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NonCashFinancingActivitiesAccruedCommonStockRepurchase" xlink:to="rex_NonCashFinancingActivitiesAccruedCommonStockRepurchase_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract" xlink:href="rex-20180430.xsd#rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract_lbl" xml:lang="en-US">Reconciliation of total cash, cash equivalents and restricted cash:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract" xlink:to="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValue" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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"/>
    <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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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">Benefit (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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl0" xml:lang="en-US">Benefit (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_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl1" 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_lbl1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_DeferredIncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" 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="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment" xlink:href="rex-20180430.xsd#rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment_lbl" xml:lang="en-US">Gain on disposal of property and equipment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment" xlink:to="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" 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_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_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_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:to="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" 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_PaymentsToAcquirePropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_PaymentsToAcquireShortTermInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireShortTermInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsToAcquireShortTermInvestments_lbl" xml:lang="en-US">Purchase of short-term investment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquireShortTermInvestments" xlink:to="us-gaap_PaymentsToAcquireShortTermInvestments_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock_lbl" xml:lang="en-US">Condensed Financial Information of Parent Company Only Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock" xlink:to="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SignificantAccountingPoliciesTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_RevenueFromContractWithCustomerTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RevenueFromContractWithCustomerTextBlock_lbl" xml:lang="en-US">Revenue from Contract with Customer [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueFromContractWithCustomerTextBlock" xlink:to="us-gaap_RevenueFromContractWithCustomerTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessCombinationDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BusinessCombinationDisclosureTextBlock_lbl" xml:lang="en-US">Business Combination Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationDisclosureTextBlock" xlink:to="us-gaap_BusinessCombinationDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FiniteLivedAndIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedAndIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FiniteLivedAndIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTableTextBlock_lbl" xml:lang="en-US">Finite-Lived and Indefinite-Lived Intangible Assets Acquired as Part of Business Combination [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FiniteLivedAndIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTableTextBlock" xlink:to="us-gaap_FiniteLivedAndIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_lbl" xml:lang="en-US">Inventory</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_lbl" xml:lang="en-US">Property, plant and equipment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquireBusinessesGross" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsToAcquireBusinessesGross_lbl" xml:lang="en-US">Total assets acquired and purchase price</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquireBusinessesGross" xlink:to="us-gaap_PaymentsToAcquireBusinessesGross_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PaymentsToAcquireBusinessesGross_lbl0" xml:lang="en-US">Payments to Acquire Businesses, Gross</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquireBusinessesGross" xlink:to="us-gaap_PaymentsToAcquireBusinessesGross_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesOfLesseeDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeasesOfLesseeDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LeasesOfLesseeDisclosureTextBlock_lbl" xml:lang="en-US">Leases of Lessee Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LeasesOfLesseeDisclosureTextBlock" xlink:to="us-gaap_LeasesOfLesseeDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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 2019</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/2018/elts/us-gaap-2018-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">2020</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/2018/elts/us-gaap-2018-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">2021</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/2018/elts/us-gaap-2018-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">2022</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_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_Land" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Land"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_Land_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_Land" xlink:to="us-gaap_Land_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingsAndImprovementsGross" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress_lbl" xml:lang="en-US"></label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress" xlink:to="us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_EmployeeRelatedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_AccruedUtilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_AccrualForTaxesOtherThanIncomeTaxesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock_lbl" xml:lang="en-US">Derivative Instruments and Hedging Activities Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:to="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_CompensationAndEmployeeBenefitPlansTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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">Weighted Average Vesting Term, Beginning of Period</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_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_lbl0" xml:lang="en-US">Weighted Average Vesting Term, End of Period</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/2018/elts/us-gaap-2018-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">Non-Vested Shares, 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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl" xml:lang="en-US">Weighted Average Grant Date Fair Value, Granted (in Dollars per share)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited_lbl" xml:lang="en-US">Non-Vested Shares, Forfeited</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited" xlink:to="us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue" xlink:href="rex-20180430.xsd#rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue_lbl" xml:lang="en-US">Weighted Average Grant Date Fair Value, Forfeited (in Dollars)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue" xlink:to="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_lbl" xml:lang="en-US">Non-Vested Shares, Vested</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested_lbl" xml:lang="en-US">Weighted Average Grant Date Fair Value, Vested (in Dollars)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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"/>
<!-- [WMV4][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+iaPeU+5LKszw3x4i+UF9HgtfxZID75VQVVRqTDXuIlR2AqtI+7mc9Sx6WDJRWZuRiPt8TNHMmDB6Awplxc6/DA+r/YB93OwCrQ9RRSODLJnYRYUgvYfGqcW74EW4EUzqeYBG5SkIuo2hNWkHtKNA/Q==] CSR-->
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_SegmentReportingDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SegmentReportingDisclosureTextBlock_lbl" xml:lang="en-US">Segment Reporting Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentReportingDisclosureTextBlock" xlink:to="us-gaap_SegmentReportingDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock_lbl" xml:lang="en-US">Schedule of Segment Reporting Information, by Segment [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NetSalesAndRevenueAbstract" xlink:href="rex-20180430.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:</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="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_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_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:to="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_SegmentGrossProfitLossAbstract" xlink:href="rex-20180430.xsd#rex_SegmentGrossProfitLossAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_SegmentGrossProfitLossAbstract_lbl" xml:lang="en-US">Segment gross profit (loss):</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SegmentGrossProfitLossAbstract" xlink:to="rex_SegmentGrossProfitLossAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_IncomeLossBeforeIncomeTaxesAbstract" xlink:href="rex-20180430.xsd#rex_IncomeLossBeforeIncomeTaxesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_IncomeLossBeforeIncomeTaxesAbstract_lbl" xml:lang="en-US">Income (loss) before income taxes:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_IncomeLossBeforeIncomeTaxesAbstract" xlink:to="rex_IncomeLossBeforeIncomeTaxesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_BenefitProvisionForIncomeTaxesAbstract" xlink:href="rex-20180430.xsd#rex_BenefitProvisionForIncomeTaxesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_BenefitProvisionForIncomeTaxesAbstract_lbl" xml:lang="en-US">Benefit (provision) for income taxes:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_BenefitProvisionForIncomeTaxesAbstract" xlink:to="rex_BenefitProvisionForIncomeTaxesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_SegmentProfitLossAbstract" xlink:href="rex-20180430.xsd#rex_SegmentProfitLossAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_SegmentProfitLossAbstract_lbl" xml:lang="en-US">Segment profit (loss):</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SegmentProfitLossAbstract" xlink:to="rex_SegmentProfitLossAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic_lbl" xml:lang="en-US">Segment profit (loss):</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" xlink:to="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_SalesOfProductsEthanolAndByProductsSegmentAbstract" xlink:href="rex-20180430.xsd#rex_SalesOfProductsEthanolAndByProductsSegmentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_SalesOfProductsEthanolAndByProductsSegmentAbstract_lbl" xml:lang="en-US">Sales of products, ethanol and by-products segment:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SalesOfProductsEthanolAndByProductsSegmentAbstract" xlink:to="rex_SalesOfProductsEthanolAndByProductsSegmentAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_lbl" xml:lang="en-US">Sales of products, ethanol and by-products and refined coal segments:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:to="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_SalesOfProductsRefinedCoalSegmentAbstract" xlink:href="rex-20180430.xsd#rex_SalesOfProductsRefinedCoalSegmentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_SalesOfProductsRefinedCoalSegmentAbstract_lbl" xml:lang="en-US">Sales of products, refined coal segment:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SalesOfProductsRefinedCoalSegmentAbstract" xlink:to="rex_SalesOfProductsRefinedCoalSegmentAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_AssetsAbstract0" xlink:href="rex-20180430.xsd#rex_AssetsAbstract0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_AssetsAbstract0_lbl" xml:lang="en-US">Assets:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_AssetsAbstract0" xlink:to="rex_AssetsAbstract0_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="srt_OwnershipAxis" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_OwnershipAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_OwnershipAxis_lbl" xml:lang="en-US">Ownership [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_OwnershipAxis" xlink:to="srt_OwnershipAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember_lbl" xml:lang="en-US">Majority-Owned Subsidiary, Unconsolidated [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember" xlink:to="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember_lbl"/>
    <loc xlink:type="locator" xlink:label="srt_RangeAxis" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_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="srt_RangeAxis" xlink:to="srt_RangeAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="srt_MinimumMember" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_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="srt_MinimumMember" xlink:to="srt_MinimumMember_lbl"/>
    <loc xlink:type="locator" xlink:label="srt_MaximumMember" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_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="srt_MaximumMember" xlink:to="srt_MaximumMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConcentrationRiskByTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ConcentrationRiskByTypeAxis_lbl" xml:lang="en-US">Concentration Risk Type [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ConcentrationRiskByTypeAxis" xlink:to="us-gaap_ConcentrationRiskByTypeAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CustomerConcentrationRiskMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CustomerConcentrationRiskMember_lbl" xml:lang="en-US">Customer Concentration Risk [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CustomerConcentrationRiskMember" xlink:to="us-gaap_CustomerConcentrationRiskMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="rex_ProvisionForIncomeTaxesMember" xlink:href="rex-20180430.xsd#rex_ProvisionForIncomeTaxesMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_ProvisionForIncomeTaxesMember_lbl" xml:lang="en-US">Provision for Income Taxes [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ProvisionForIncomeTaxesMember" xlink:to="rex_ProvisionForIncomeTaxesMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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="rex_FixturesAndEquipmentMember" xlink:href="rex-20180430.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_CostOfSalesMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_ChangeInAccountingEstimateByTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ChangeInAccountingEstimateByTypeAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ChangeInAccountingEstimateByTypeAxis_lbl" xml:lang="en-US">Change in Accounting Estimate by Type [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ChangeInAccountingEstimateByTypeAxis" xlink:to="us-gaap_ChangeInAccountingEstimateByTypeAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProFormaMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProFormaMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProFormaMember_lbl" xml:lang="en-US">Pro Forma [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProFormaMember" xlink:to="us-gaap_ProFormaMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ContractWithCustomerDurationAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerDurationAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ContractWithCustomerDurationAxis_lbl" xml:lang="en-US">Contract with Customer, Duration [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ContractWithCustomerDurationAxis" xlink:to="us-gaap_ContractWithCustomerDurationAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ShortSellMember" xlink:href="rex-20180430.xsd#rex_ShortSellMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_ShortSellMember_lbl" xml:lang="en-US">Short/Sell [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ShortSellMember" xlink:to="rex_ShortSellMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TradingActivityByTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TradingActivityByTypeAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TradingActivityByTypeAxis_lbl" xml:lang="en-US">Trading Activity [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TradingActivityByTypeAxis" xlink:to="us-gaap_TradingActivityByTypeAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CornMember" xlink:href="rex-20180430.xsd#rex_CornMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_CornMember_lbl" xml:lang="en-US">Corn [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CornMember" xlink:to="rex_CornMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AwardTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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_ShareholdersEquityClassAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareholdersEquityClassAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareholdersEquityClassAxis_lbl" xml:lang="en-US">Shareholders&apos; Equity Class [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareholdersEquityClassAxis" xlink:to="us-gaap_ShareholdersEquityClassAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_RexShareholdersMember" xlink:href="rex-20180430.xsd#rex_RexShareholdersMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_RexShareholdersMember_lbl" xml:lang="en-US">Rex Shareholders [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RexShareholdersMember" xlink:to="rex_RexShareholdersMember_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_LegalEntityAxis" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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-20180430.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="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="rex_NumberOfConsolidatedSubsidiaries" xlink:href="rex-20180430.xsd#rex_NumberOfConsolidatedSubsidiaries"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NumberOfConsolidatedSubsidiaries_lbl" xml:lang="en-US">Number of Consolidated Subsidiaries</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NumberOfConsolidatedSubsidiaries" xlink:to="rex_NumberOfConsolidatedSubsidiaries_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfReportableSegments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NumberOfReportableSegments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NumberOfReportableSegments_lbl" xml:lang="en-US">Number of Reportable Segments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NumberOfReportableSegments" xlink:to="us-gaap_NumberOfReportableSegments_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfOperatingSegments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits_lbl" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Tax Credit, Percent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesPaid" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_PropertyPlantAndEquipmentDepreciationMethods" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_lbl" 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_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterestOwnershipPercentageByParent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MinorityInterestOwnershipPercentageByParent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MinorityInterestOwnershipPercentageByParent_lbl" xml:lang="en-US">Noncontrolling Interest, Ownership Percentage by Parent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MinorityInterestOwnershipPercentageByParent" xlink:to="us-gaap_MinorityInterestOwnershipPercentageByParent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostsAndExpenses" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostsAndExpenses"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CostsAndExpenses_lbl" xml:lang="en-US">Costs and Expenses</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostsAndExpenses" xlink:to="us-gaap_CostsAndExpenses_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_lbl" xml:lang="en-US">Business Acquisition, Pro Forma Earnings Per Share, Basic (in Dollars per share)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic" xlink:to="us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_lbl" xml:lang="en-US">Business Acquisition, Pro Forma Earnings Per Share, Diluted (in Dollars per share)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted" xlink:to="us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BusinessAcquisitionsProFormaRevenue_lbl" xml:lang="en-US">Business Acquisition, Pro Forma Revenue</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:to="us-gaap_BusinessAcquisitionsProFormaRevenue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_lbl" xml:lang="en-US">Business Acquisition, Pro Forma Net Income (Loss)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:to="us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts_lbl" xml:lang="en-US">Business Acquisition, Transaction Costs</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts" xlink:to="us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_lbl" xml:lang="en-US">Line of Credit Facility, Maximum Borrowing Capacity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:to="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtInstrumentMaturityDate" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="rex_CommodityFuturesQuantity" xlink:href="rex-20180430.xsd#rex_CommodityFuturesQuantity"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_CommodityFuturesQuantity_lbl" xml:lang="en-US">Commodity Futures, Quantity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CommodityFuturesQuantity" xlink:to="rex_CommodityFuturesQuantity_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ForwardPurchaseContractsQuantity" xlink:href="rex-20180430.xsd#rex_ForwardPurchaseContractsQuantity"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ForwardPurchaseContractsQuantity_lbl" xml:lang="en-US">Forward Purchase Contracts, Quantity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ForwardPurchaseContractsQuantity" xlink:to="rex_ForwardPurchaseContractsQuantity_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtInstrumentCollateralAmount" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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</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_DerivativeLossOnDerivative" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeLossOnDerivative"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DerivativeLossOnDerivative_lbl" xml:lang="en-US">Derivative, Loss on Derivative</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeLossOnDerivative" xlink:to="us-gaap_DerivativeLossOnDerivative_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeGainOnDerivative" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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</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_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees_lbl" xml:lang="en-US">Retained Earnings, Undistributed Earnings from Equity Method Investees</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" xlink:to="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries_lbl" xml:lang="en-US">Amount of Restricted Net Assets for Consolidated and Unconsolidated Subsidiaries</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries" xlink:to="us-gaap_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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 (in Dollars)</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_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation_lbl" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Nondeductible Expense, Depreciation, Percent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_lbl" xml:lang="en-US">Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredOtherTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredOtherTaxExpenseBenefit"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredOtherTaxExpenseBenefit_lbl" xml:lang="en-US">Deferred Other Tax Expense (Benefit) (in Dollars)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredOtherTaxExpenseBenefit" xlink:to="us-gaap_DeferredOtherTaxExpenseBenefit_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_TaxCreditToReduceFutureIncomeTaxLiailibitiesDuration" xlink:href="rex-20180430.xsd#rex_TaxCreditToReduceFutureIncomeTaxLiailibitiesDuration"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_TaxCreditToReduceFutureIncomeTaxLiailibitiesDuration_lbl" xml:lang="en-US">Tax Credit To Reduce Future Income Tax Liailibities Duration</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_TaxCreditToReduceFutureIncomeTaxLiailibitiesDuration" xlink:to="rex_TaxCreditToReduceFutureIncomeTaxLiailibitiesDuration_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfBushelsUnderForwardPurchaseContract" xlink:href="rex-20180430.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="rex_QuantityOfEthanolUnderSalesCommitment" xlink:href="rex-20180430.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-20180430.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-20180430.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-20180430.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="rex_FeesIncurredBySubsidiary" xlink:href="rex-20180430.xsd#rex_FeesIncurredBySubsidiary"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_FeesIncurredBySubsidiary_lbl" xml:lang="en-US">Fees Incurred By Subsidiary</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_FeesIncurredBySubsidiary" xlink:to="rex_FeesIncurredBySubsidiary_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostsAndExpensesRelatedParty" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty_lbl" xml:lang="en-US">Related Party Transaction, Selling, General and Administrative Expenses from Transactions with Related Party</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty" xlink:to="us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes_lbl" xml:lang="en-US">Accrued Liabilities for Commissions, Expense and Taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes" xlink:to="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConsolidationPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConsolidationPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ConsolidationPolicyTextBlock_lbl" xml:lang="en-US">Consolidation, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ConsolidationPolicyTextBlock" xlink:to="us-gaap_ConsolidationPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_SegmentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SegmentDomain_lbl" xml:lang="en-US">Segments [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentDomain" xlink:to="us-gaap_SegmentDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_SegmentReportingTablesTable" xlink:href="rex-20180430.xsd#rex_SegmentReportingTablesTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_SegmentReportingTablesTable_lbl" xml:lang="en-US">Segment Reporting (Tables) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SegmentReportingTablesTable" xlink:to="rex_SegmentReportingTablesTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_SegmentReportingTablesLineItems" xlink:href="rex-20180430.xsd#rex_SegmentReportingTablesLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_SegmentReportingTablesLineItems_lbl" xml:lang="en-US">Segment Reporting (Tables) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SegmentReportingTablesLineItems" xlink:to="rex_SegmentReportingTablesLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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 and NAV [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-20180430.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-20180430.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/2018/elts/us-gaap-2018-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-20180430.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-20180430.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="srt_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_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="srt_EquityMethodInvesteeNameDomain" xlink:to="srt_EquityMethodInvesteeNameDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" xlink:href="rex-20180430.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-20180430.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_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_lbl" xml:lang="en-US">Schedule of Segment Reporting Information, by Segment [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingInformationLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SegmentReportingInformationLineItems_lbl" xml:lang="en-US">Segment Reporting Information [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_SegmentReportingInformationLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="srt_OwnershipDomain" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_OwnershipDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_OwnershipDomain_lbl" xml:lang="en-US">Ownership [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_OwnershipDomain" xlink:to="srt_OwnershipDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:href="rex-20180430.xsd#rex_ConsolidatedCondensedFinancialStatementsDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ConsolidatedCondensedFinancialStatementsDetailsTable_lbl" xml:lang="en-US">Consolidated Condensed Financial Statements (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:to="rex_ConsolidatedCondensedFinancialStatementsDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:href="rex-20180430.xsd#rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems_lbl" xml:lang="en-US">Consolidated Condensed Financial Statements (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:to="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConcentrationRiskTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ConcentrationRiskTypeDomain_lbl" xml:lang="en-US">Concentration Risk Type [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ConcentrationRiskTypeDomain" xlink:to="us-gaap_ConcentrationRiskTypeDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="srt_RangeMember" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_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="srt_RangeMember" xlink:to="srt_RangeMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_PropertyPlantAndEquipmentTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable" xlink:href="rex-20180430.xsd#rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable_lbl" xml:lang="en-US">SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable" xlink:to="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:href="rex-20180430.xsd#rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems_lbl" xml:lang="en-US">SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:to="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ChangeInAccountingEstimateTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ChangeInAccountingEstimateTypeDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ChangeInAccountingEstimateTypeDomain_lbl" xml:lang="en-US">Change in Accounting Estimate, Type [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ChangeInAccountingEstimateTypeDomain" xlink:to="us-gaap_ChangeInAccountingEstimateTypeDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_BUSINESSCOMBINATIONSDetailsTable" xlink:href="rex-20180430.xsd#rex_BUSINESSCOMBINATIONSDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_BUSINESSCOMBINATIONSDetailsTable_lbl" xml:lang="en-US">BUSINESS COMBINATIONS (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_BUSINESSCOMBINATIONSDetailsTable" xlink:to="rex_BUSINESSCOMBINATIONSDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_BUSINESSCOMBINATIONSDetailsLineItems" xlink:href="rex-20180430.xsd#rex_BUSINESSCOMBINATIONSDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_BUSINESSCOMBINATIONSDetailsLineItems_lbl" xml:lang="en-US">BUSINESS COMBINATIONS (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="rex_BUSINESSCOMBINATIONSDetailsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TradingActivityByTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TradingActivityByTypeDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TradingActivityByTypeDomain_lbl" xml:lang="en-US">Trading Activity, by Type [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TradingActivityByTypeDomain" xlink:to="us-gaap_TradingActivityByTypeDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ContractWithCustomerDurationDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerDurationDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ContractWithCustomerDurationDomain_lbl" xml:lang="en-US">Contract with Customer, Duration [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ContractWithCustomerDurationDomain" xlink:to="us-gaap_ContractWithCustomerDurationDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsTable" xlink:href="rex-20180430.xsd#rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsTable_lbl" xml:lang="en-US">DERIVATIVE FINANCIAL INSTRUMENTS (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsTable" xlink:to="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems" xlink:href="rex-20180430.xsd#rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems_lbl" xml:lang="en-US">DERIVATIVE FINANCIAL INSTRUMENTS (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems" xlink:to="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_INVESTMENTSDetailsTable" xlink:href="rex-20180430.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-20180430.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_PlanNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="us-gaap_FairValueByShareholdersEquityClassDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByShareholdersEquityClassDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueByShareholdersEquityClassDomain_lbl" xml:lang="en-US">Fair Value by Shareholders&apos; Equity Class [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueByShareholdersEquityClassDomain" xlink:to="us-gaap_FairValueByShareholdersEquityClassDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="rex_EMPLOYEEBENEFITSDetailsTable" xlink:href="rex-20180430.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-20180430.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_IncomeTaxesDetailsTable" xlink:href="rex-20180430.xsd#rex_IncomeTaxesDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_IncomeTaxesDetailsTable_lbl" xml:lang="en-US">Income Taxes (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_IncomeTaxesDetailsTable" xlink:to="rex_IncomeTaxesDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_IncomeTaxesDetailsLineItems" xlink:href="rex-20180430.xsd#rex_IncomeTaxesDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_IncomeTaxesDetailsLineItems_lbl" xml:lang="en-US">Income Taxes (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_IncomeTaxesDetailsLineItems" xlink:to="rex_IncomeTaxesDetailsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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_CommitmentsandContingenciesDetailsTable" xlink:href="rex-20180430.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-20180430.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/2018/elts/us-gaap-2018-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-20180430.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-20180430.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_ForwardPurchaseContractLiability_lbl0" xml:lang="en-US">Forward purchase contract liability</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ForwardPurchaseContractLiability" xlink:to="rex_ForwardPurchaseContractLiability_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment_lbl0" xml:lang="en-US">The net gain (loss) resulting from sales and other disposals of real estate. Also includes, The difference between the sale price or salvage price and the book value of a property, plant, and equipment asset that was sold or retired during the reporting period. This element refers to the gain (loss).</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment" xlink:to="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment_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_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_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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue_lbl0" xml:lang="en-US">Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than 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="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue" xlink:to="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_lbl1" xml:lang="en-US">The Weighted Average Grant Date Fair Value of shares in share based compensation arrangement</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" xlink:to="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_lbl1"/>
    <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"/>
    <loc xlink:type="locator" xlink:label="rex_AccountsReceivableBalanceMember" xlink:href="rex-20180430.xsd#rex_AccountsReceivableBalanceMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_AccountsReceivableBalanceMember_lbl" xml:lang="en-US">Accounts Receivable Balance [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_AccountsReceivableBalanceMember" xlink:to="rex_AccountsReceivableBalanceMember_lbl"/>
    <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"/>
    <loc xlink:type="locator" xlink:label="rex_BigRiverResourcesUnitedEnergyLLCMember" xlink:href="rex-20180430.xsd#rex_BigRiverResourcesUnitedEnergyLLCMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_BigRiverResourcesUnitedEnergyLLCMember_lbl" xml:lang="en-US">Big River Resources United Energy LLC [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_BigRiverResourcesUnitedEnergyLLCMember" xlink:to="rex_BigRiverResourcesUnitedEnergyLLCMember_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_BigRiverResourcesUnitedEnergyLLCMember_lbl0" xml:lang="en-US">Big River Resources United Energy LLC</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_BigRiverResourcesUnitedEnergyLLCMember" xlink:to="rex_BigRiverResourcesUnitedEnergyLLCMember_lbl0"/>
    <loc xlink:type="locator" xlink:label="rex_BoycevilleMember" xlink:href="rex-20180430.xsd#rex_BoycevilleMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_BoycevilleMember_lbl" xml:lang="en-US">Boyceville [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_BoycevilleMember" xlink:to="rex_BoycevilleMember_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_BoycevilleMember_lbl0" xml:lang="en-US">Boyceville [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_BoycevilleMember" xlink:to="rex_BoycevilleMember_lbl0"/>
    <loc xlink:type="locator" xlink:label="rex_BurlingtonMember" xlink:href="rex-20180430.xsd#rex_BurlingtonMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_BurlingtonMember_lbl" xml:lang="en-US">Burlington [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_BurlingtonMember" xlink:to="rex_BurlingtonMember_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_BurlingtonMember_lbl0" xml:lang="en-US">Burlington Member</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_BurlingtonMember" xlink:to="rex_BurlingtonMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_CornMember_lbl0" xml:lang="en-US">Corn [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CornMember" xlink:to="rex_CornMember_lbl0"/>
    <loc xlink:type="locator" xlink:label="rex_DiscontinuedOperationMember" xlink:href="rex-20180430.xsd#rex_DiscontinuedOperationMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_DiscontinuedOperationMember_lbl" xml:lang="en-US">Discontinued Operation [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DiscontinuedOperationMember" xlink:to="rex_DiscontinuedOperationMember_lbl"/>
    <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"/>
    <loc xlink:type="locator" xlink:label="rex_DyersvilleMember" xlink:href="rex-20180430.xsd#rex_DyersvilleMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_DyersvilleMember_lbl" xml:lang="en-US">Dyersville [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DyersvilleMember" xlink:to="rex_DyersvilleMember_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_DyersvilleMember_lbl0" xml:lang="en-US">Dyersville.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DyersvilleMember" xlink:to="rex_DyersvilleMember_lbl0"/>
    <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"/>
    <loc xlink:type="locator" xlink:label="rex_IllinoisMember" xlink:href="rex-20180430.xsd#rex_IllinoisMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_IllinoisMember_lbl" xml:lang="en-US">Illinois [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_IllinoisMember" xlink:to="rex_IllinoisMember_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_IllinoisMember_lbl0" xml:lang="en-US">Illinois.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_IllinoisMember" xlink:to="rex_IllinoisMember_lbl0"/>
    <loc xlink:type="locator" xlink:label="rex_LongBuyMember" xlink:href="rex-20180430.xsd#rex_LongBuyMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_LongBuyMember_lbl" xml:lang="en-US">Long Buy [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_LongBuyMember" xlink:to="rex_LongBuyMember_lbl"/>
    <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-20180430.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"/>
    <loc xlink:type="locator" xlink:label="rex_OneEarthEnergyMember" xlink:href="rex-20180430.xsd#rex_OneEarthEnergyMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_OneEarthEnergyMember_lbl" xml:lang="en-US">One Earth Energy [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OneEarthEnergyMember" xlink:to="rex_OneEarthEnergyMember_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_OneEarthEnergyMember_lbl0" xml:lang="en-US">One Earth Energy [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OneEarthEnergyMember" xlink:to="rex_OneEarthEnergyMember_lbl0"/>
    <loc xlink:type="locator" xlink:label="rex_PatriotMember" xlink:href="rex-20180430.xsd#rex_PatriotMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" 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/label" xlink:label="rex_ProvisionForIncomeTaxesMember_lbl0" xml:lang="en-US">Provision For Income Taxes [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ProvisionForIncomeTaxesMember" xlink:to="rex_ProvisionForIncomeTaxesMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_RefinedCoalMember_lbl0" xml:lang="en-US">Refined Coal [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RefinedCoalMember" xlink:to="rex_RefinedCoalMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_RexShareholdersMember_lbl0" xml:lang="en-US">Rex Shareholders [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RexShareholdersMember" xlink:to="rex_RexShareholdersMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ShortSellMember_lbl0" xml:lang="en-US">Short Sell [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ShortSellMember" xlink:to="rex_ShortSellMember_lbl0"/>
    <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_TermLoanMember" xlink:href="rex-20180430.xsd#rex_TermLoanMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_TermLoanMember_lbl" xml:lang="en-US">Term Loan [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_TermLoanMember" xlink:to="rex_TermLoanMember_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_TermLoanMember_lbl0" xml:lang="en-US">Term Loan [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_TermLoanMember" xlink:to="rex_TermLoanMember_lbl0"/>
    <loc xlink:type="locator" xlink:label="rex_DocumentAndEntityInformationAbstract" xlink:href="rex-20180430.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="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_lbl2" xml:lang="en-US">ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" xlink:to="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_lbl2"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment_lbl1" xml:lang="en-US">GainOnDisposalOfRealEstateAndPropertyAndEquipment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment" xlink:to="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsToAcquireShortTermInvestments_lbl0" xml:lang="en-US">Payments to Acquire Short-term Investments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquireShortTermInvestments" xlink:to="us-gaap_PaymentsToAcquireShortTermInvestments_lbl0"/>
    <loc xlink:type="locator" xlink:label="dei_CurrentFiscalYearEndDate" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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_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_lbl1" 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_lbl1"/>
    <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_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_lbl0" xml:lang="en-US">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Inventory</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_lbl0" xml:lang="en-US">Increase (Decrease) in Other Operating 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_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"/>
    <loc xlink:type="locator" xlink:label="dei_TradingSymbol" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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_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_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_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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic_lbl0" xml:lang="en-US">Net Income (Loss) from Continuing Operations Available to Common Shareholders, Basic</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" xlink:to="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl1" 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_lbl1"/>
    <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"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentPeriodEndDate" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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"/>
    <loc xlink:type="locator" xlink:label="dei_EntityPublicFloat" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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_DocumentFiscalYearFocus" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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_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_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_EntityCurrentReportingStatus" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentType" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalPeriodFocus" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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_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_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_DeferredIncomeTaxExpenseBenefit_lbl0" xml:lang="en-US">Deferred Income Tax Expense (Benefit)</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_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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_Assets_lbl1" xml:lang="en-US">Assets [Standard Label]</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_lbl1"/>
    <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"/>
    <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_EntityCommonStockSharesOutstanding" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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"/>
    <loc xlink:type="locator" xlink:label="dei_AmendmentDescription" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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"/>
    <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_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"/>
    <loc xlink:type="locator" xlink:label="dei_EntityVoluntaryFilers" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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"/>
    <loc xlink:type="locator" xlink:label="dei_EntityWellKnownSeasonedIssuer" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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"/>
    <loc xlink:type="locator" xlink:label="dei_EntityRegistrantName" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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_IncreaseDecreaseInInventories_lbl0" xml:lang="en-US">Increase (Decrease) in 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_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_lbl0" xml:lang="en-US">Revenue from Contract with Customer, Including Assessed Tax</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:to="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_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"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCentralIndexKey" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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_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_RestrictedCashAndCashEquivalentsAtCarryingValue_lbl1" xml:lang="en-US">Restricted Cash and Cash Equivalents, Current</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_lbl1"/>
    <loc xlink:type="locator" xlink:label="dei_AmendmentFlag" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_lbl0" xml:lang="en-US">Increase (Decrease) in Prepaid Expense and Other Assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:to="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_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_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_IncreaseDecreaseInAccruedInterestReceivableNet_lbl0" xml:lang="en-US">Increase (Decrease) in Accrued Interest Receivable, Net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:to="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_lbl0"/>
    <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="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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"/>
  </labelLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.PRE
<SEQUENCE>9
<FILENAME>rex-20180430_pre.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->
<!-- Created: Mon Jun 04 10:39:36 EDT 2018 -->
<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-20180430.xsd#rex_r_ConsolidatedBalanceSheet" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ConsolidatedIncomeStatement" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ShareholdersEquityType2or3" roleURI="http://www.rexamerican.com/role/ShareholdersEquityType2or3"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ConsolidatedCashFlow" roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ConsolidatedCondensedFinancialStatements" roleURI="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatements"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES" roleURI="http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_NETSALESANDREVENUE" roleURI="http://www.rexamerican.com/role/NETSALESANDREVENUE"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_BUSINESSCOMBINATIONS" roleURI="http://www.rexamerican.com/role/BUSINESSCOMBINATIONS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_LEASES" roleURI="http://www.rexamerican.com/role/LEASES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_FAIRVALUE" roleURI="http://www.rexamerican.com/role/FAIRVALUE"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_PROPERTYANDEQUIPMENT" roleURI="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENT"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_OTHERASSETS" roleURI="http://www.rexamerican.com/role/OTHERASSETS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES" roleURI="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_REVOLVINGLINESOFCREDIT" roleURI="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDIT"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_DERIVATIVEFINANCIALINSTRUMENTS" roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_INVESTMENTS" roleURI="http://www.rexamerican.com/role/INVESTMENTS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_EMPLOYEEBENEFITS" roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_IncomeTaxes" roleURI="http://www.rexamerican.com/role/IncomeTaxes"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_CommitmentsandContingencies" roleURI="http://www.rexamerican.com/role/CommitmentsandContingencies"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_RelatedPartyTransactions" roleURI="http://www.rexamerican.com/role/RelatedPartyTransactions"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_SegmentReporting" roleURI="http://www.rexamerican.com/role/SegmentReporting"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_AccountingPoliciesByPolicy" roleURI="http://www.rexamerican.com/role/AccountingPoliciesByPolicy"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables" roleURI="http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_BUSINESSCOMBINATIONSTables" roleURI="http://www.rexamerican.com/role/BUSINESSCOMBINATIONSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_LEASESTables" roleURI="http://www.rexamerican.com/role/LEASESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_FAIRVALUETables" roleURI="http://www.rexamerican.com/role/FAIRVALUETables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_PROPERTYANDEQUIPMENTTables" roleURI="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENTTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_OTHERASSETSTables" roleURI="http://www.rexamerican.com/role/OTHERASSETSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables" roleURI="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_DERIVATIVEFINANCIALINSTRUMENTSTables" roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_INVESTMENTSTables" roleURI="http://www.rexamerican.com/role/INVESTMENTSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_EMPLOYEEBENEFITSTables" roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_IncomeTaxesTables" roleURI="http://www.rexamerican.com/role/IncomeTaxesTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_SegmentReportingTables" roleURI="http://www.rexamerican.com/role/SegmentReportingTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofComponentsofInventoryTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofEstimatedFairValuesofAssetsAcquiredatAcquisitionDateTable" roleURI="http://www.rexamerican.com/role/ScheduleofEstimatedFairValuesofAssetsAcquiredatAcquisitionDateTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofPropertyandEquipmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofOtherAssetsTable" roleURI="http://www.rexamerican.com/role/ScheduleofOtherAssetsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofaccruedexpensesandothercurrentliabilitiesTable" roleURI="http://www.rexamerican.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofFairValuesforDerivativeFinancialInstrumentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofEquityMethodInvestmentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofFinancialinformationForEquityMethodInvestmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofFinancialinformationForEquityMethodInvestmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofNonVestedRestrictedStockAwardActivityTable" roleURI="http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleofUnrecognizedTaxBenefitsRollForwardTable" roleURI="http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleOfSegmentResultsAndAssetsTable" roleURI="http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ScheduleOfSegmentAssetsTable" roleURI="http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_ConsolidatedCondensedFinancialStatementsDetails" roleURI="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails" roleURI="http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_BUSINESSCOMBINATIONSDetails" roleURI="http://www.rexamerican.com/role/BUSINESSCOMBINATIONSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_REVOLVINGLINESOFCREDITDetails" roleURI="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDITDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_DERIVATIVEFINANCIALINSTRUMENTSDetails" roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_INVESTMENTSDetails" roleURI="http://www.rexamerican.com/role/INVESTMENTSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_EMPLOYEEBENEFITSDetails" roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_IncomeTaxesDetails" roleURI="http://www.rexamerican.com/role/IncomeTaxesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_CommitmentsandContingenciesDetails" roleURI="http://www.rexamerican.com/role/CommitmentsandContingenciesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_RelatedPartyTransactionsDetails" roleURI="http://www.rexamerican.com/role/RelatedPartyTransactionsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.xsd#rex_r_SegmentReportingDetails" roleURI="http://www.rexamerican.com/role/SegmentReportingDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20180430.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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementOfFinancialPositionAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_ShortTermInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortTermInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_ShortTermInvestments" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCashCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_RestrictedCashCurrent" order="2.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/2018/elts/us-gaap-2018-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="3.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/2018/elts/us-gaap-2018-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="4.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/2018/elts/us-gaap-2018-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="5.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/2018/elts/us-gaap-2018-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="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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" 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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_InterestAndOtherIncome" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="5.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/2018/elts/us-gaap-2018-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="6.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/2018/elts/us-gaap-2018-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="7.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/2018/elts/us-gaap-2018-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="8.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/2018/elts/us-gaap-2018-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="9.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/2018/elts/us-gaap-2018-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="10.0" preferredLabel="http://www.xbrl.org/2009/role/netLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" order="11.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EarningsPerShareBasicAndDiluted" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareBasicAndDiluted"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EarningsPerShareBasicAndDiluted" order="12.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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementOfStockholdersEquityAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_ProceedsFromContributionsFromAffiliates" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromContributionsFromAffiliates"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_ProceedsFromContributionsFromAffiliates" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards" xlink:href="rex-20180430.xsd#rex_StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="SharesIssuedRelatedToVestingOfRestrictedStockAwards" xlink:href="rex-20180430.xsd#rex_SharesIssuedRelatedToVestingOfRestrictedStockAwards"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="SharesIssuedRelatedToVestingOfRestrictedStockAwards" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="8.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/2018/elts/us-gaap-2018-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="9.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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementOfCashFlowsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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/2018/elts/us-gaap-2018-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/label"/>
    <loc xlink:type="locator" xlink:label="AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" xlink:href="rex-20180430.xsd#rex_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="1.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" order="2.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_DeferredIncomeTaxExpenseBenefit" order="3.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="GainOnDisposalOfRealEstateAndPropertyAndEquipment" xlink:href="rex-20180430.xsd#rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract" xlink:to="GainOnDisposalOfRealEstateAndPropertyAndEquipment" order="5.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="ChangesInAssetsAndLiabilitiesAbstract" xlink:href="rex-20180430.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/2018/elts/us-gaap-2018-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/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInInventories" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" order="2.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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-20180430.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/2018/elts/us-gaap-2018-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_PaymentsToAcquireShortTermInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireShortTermInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_PaymentsToAcquireShortTermInvestments" 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/2018/elts/us-gaap-2018-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_PaymentsForProceedsFromOtherInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="3.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/2018/elts/us-gaap-2018-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-20180430.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_PaymentsForRepurchaseOfCommonStock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="0.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromContributionsFromAffiliates" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromContributionsFromAffiliates"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromFinancingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromContributionsFromAffiliates" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" order="8.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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" order="9.0" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_0" order="10.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <loc xlink:type="locator" xlink:label="NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:href="rex-20180430.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="NonCashFinancingActivitiesEquityAwardsAccrued" xlink:href="rex-20180430.xsd#rex_NonCashFinancingActivitiesEquityAwardsAccrued"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="NonCashFinancingActivitiesEquityAwardsAccrued" order="12.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="NonCashFinancingActivitiesAccruedCommonStockRepurchase" xlink:href="rex-20180430.xsd#rex_NonCashFinancingActivitiesAccruedCommonStockRepurchase"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="NonCashFinancingActivitiesAccruedCommonStockRepurchase" order="13.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract" xlink:href="rex-20180430.xsd#rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract" order="14.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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCashCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract" xlink:to="us-gaap_RestrictedCashCurrent" order="1.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="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xlink:to="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SignificantAccountingPoliciesTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/NETSALESANDREVENUE">
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RevenueFromContractWithCustomerAbstract" xlink:to="us-gaap_RevenueFromContractWithCustomerTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/BUSINESSCOMBINATIONS">
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessCombinationsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessCombinationDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_BusinessCombinationsAbstract" xlink:to="us-gaap_BusinessCombinationDisclosureTextBlock" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesOfLesseeDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeasesOfLesseeDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LeasesAbstract" xlink:to="us-gaap_LeasesOfLesseeDisclosureTextBlock" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:to="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/RelatedPartyTransactions">
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/SegmentReporting">
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingAbstract" xlink:to="us-gaap_SegmentReportingDisclosureTextBlock" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConsolidationPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConsolidationPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_ConsolidationPolicyTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="1.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/2018/elts/us-gaap-2018-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="2.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/2018/elts/us-gaap-2018-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="3.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/2018/elts/us-gaap-2018-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="4.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/2018/elts/us-gaap-2018-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="5.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/2018/elts/us-gaap-2018-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="6.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/2018/elts/us-gaap-2018-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="7.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/2018/elts/us-gaap-2018-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="8.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/2018/elts/us-gaap-2018-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="9.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/2018/elts/us-gaap-2018-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="10.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/BUSINESSCOMBINATIONSTables">
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessCombinationsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FiniteLivedAndIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedAndIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_BusinessCombinationsAbstract" xlink:to="us-gaap_FiniteLivedAndIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTableTextBlock" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfOtherAssetsTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherCurrentLiabilitiesTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" 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/2018/elts/us-gaap-2018-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-20180430.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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/SegmentReportingTables">
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingAbstract"/>
    <loc xlink:type="locator" xlink:label="SegmentReportingTablesTable" xlink:href="rex-20180430.xsd#rex_SegmentReportingTablesTable"/>
    <loc xlink:type="locator" xlink:label="SegmentReportingTablesLineItems" xlink:href="rex-20180430.xsd#rex_SegmentReportingTablesLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingAbstract" xlink:to="SegmentReportingTablesTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SegmentReportingTablesTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_AssetsMember" order="1.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SegmentReportingTablesTable" xlink:to="SegmentReportingTablesLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SegmentReportingTablesLineItems" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfComponentsOfInventoryAbstract" xlink:href="rex-20180430.xsd#rex_ScheduleOfComponentsOfInventoryAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/ScheduleofEstimatedFairValuesofAssetsAcquiredatAcquisitionDateTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract" xlink:href="rex-20180430.xsd#rex_ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquireBusinessesGross" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract" xlink:to="us-gaap_PaymentsToAcquireBusinessesGross" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:href="rex-20180430.xsd#rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.xsd#rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract"/>
    <loc xlink:type="locator" xlink:label="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:href="rex-20180430.xsd#rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
    <loc xlink:type="locator" xlink:label="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:href="rex-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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="ForwardPurchaseContractsAsset" xlink:href="rex-20180430.xsd#rex_ForwardPurchaseContractsAsset"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="ForwardPurchaseContractsAsset" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="InvestmentInCooperativeFairValueDisclosure" xlink:href="rex-20180430.xsd#rex_InvestmentInCooperativeFairValueDisclosure"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="InvestmentInCooperativeFairValueDisclosure" order="1.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/2018/elts/us-gaap-2018-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="2.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
<!-- [WMV4][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+iaPeU+5LKszw3x4i+UF9HgtfxZID75VQVVRqTDXuIlR2AqtI+7mc9Sx6WDJRWZuRiPt8TNHMmDB6Awplxc6/DA+r/YB93OwCrQ9RRSODLJnYRYUgvYfGqcW74EW4EUzqnntjhDYBqyNIctUBPl3CQg==] CSR-->
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="ForwardPurchaseContractLiability" xlink:href="rex-20180430.xsd#rex_ForwardPurchaseContractLiability"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="ForwardPurchaseContractLiability" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Liabilities" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Liabilities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="us-gaap_Liabilities" order="5.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-20180430.xsd#rex_ScheduleOfPropertyAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Land" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Land"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_Land" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Land_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Land"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingsAndImprovementsGross" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_BuildingsAndImprovementsGross_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BuildingsAndImprovementsGross"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MachineryAndEquipmentGross" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_MachineryAndEquipmentGross_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MachineryAndEquipmentGross"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConstructionInProgressGross" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_ConstructionInProgressGross_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConstructionInProgressGross"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofOtherAssetsTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfOtherAssetsAbstract" xlink:href="rex-20180430.xsd#rex_ScheduleOfOtherAssetsAbstract"/>
    <loc xlink:type="locator" xlink:label="RealEstateTaxesRefundableNoncurrent" xlink:href="rex-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.xsd#rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedUtilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.xsd#rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract"/>
    <loc xlink:type="locator" xlink:label="DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:href="rex-20180430.xsd#rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
    <loc xlink:type="locator" xlink:label="DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:href="rex-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.xsd#rex_ScheduleOfEquityMethodInvestmentsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfEquityMethodInvestmentsAbstract" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfEquityMethodInvestmentsAbstract" xlink:to="us-gaap_EquityMethodInvestments" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFinancialinformationForEquityMethodInvestmentTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract" xlink:href="rex-20180430.xsd#rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract"/>
    <loc xlink:type="locator" xlink:label="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" xlink:href="rex-20180430.xsd#rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable"/>
    <loc xlink:type="locator" xlink:label="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:href="rex-20180430.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="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" xlink:to="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="srt_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="srt_EquityMethodInvesteeNameDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="BigRiverMember" xlink:href="rex-20180430.xsd#rex_BigRiverMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_NetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_NetIncomeLoss" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:href="rex-20180430.xsd#rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <loc xlink:type="locator" xlink:label="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" xlink:href="rex-20180430.xsd#rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" 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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue" xlink:href="rex-20180430.xsd#rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_0" order="9.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <loc xlink:type="locator" xlink:label="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_0" xlink:href="rex-20180430.xsd#rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_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/2018/elts/us-gaap-2018-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-20180430.xsd#rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefits" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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/ScheduleOfSegmentResultsAndAssetsTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfSegmentResultsAndAssetsAbstract" xlink:href="rex-20180430.xsd#rex_ScheduleOfSegmentResultsAndAssetsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingInformationLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfSegmentResultsAndAssetsAbstract" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="EthanolMember" xlink:href="rex-20180430.xsd#rex_EthanolMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="EthanolMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="RefinedCoalMember" xlink:href="rex-20180430.xsd#rex_RefinedCoalMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="RefinedCoalMember" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CorporateAndOtherMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateAndOtherMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_CorporateAndOtherMember" order="3.0"/>
    <loc xlink:type="locator" xlink:label="DriedDistillersGrainsMember" xlink:href="rex-20180430.xsd#rex_DriedDistillersGrainsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="DriedDistillersGrainsMember" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="NonFoodGradeCornOilMember" xlink:href="rex-20180430.xsd#rex_NonFoodGradeCornOilMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="NonFoodGradeCornOilMember" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="ModifiedDistillersGrainsMember" xlink:href="rex-20180430.xsd#rex_ModifiedDistillersGrainsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="ModifiedDistillersGrainsMember" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllOtherSegmentsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllOtherSegmentsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_AllOtherSegmentsMember" order="7.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="us-gaap_SegmentReportingInformationLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GrossProfit" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GrossProfit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_GrossProfit" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="3.0" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfSegmentAssetsAbstract" xlink:href="rex-20180430.xsd#rex_ScheduleOfSegmentAssetsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingInformationLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfSegmentAssetsAbstract" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="EthanolMember" xlink:href="rex-20180430.xsd#rex_EthanolMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="EthanolMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="RefinedCoalMember" xlink:href="rex-20180430.xsd#rex_RefinedCoalMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="RefinedCoalMember" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CorporateAndOtherMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateAndOtherMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_CorporateAndOtherMember" order="3.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="us-gaap_SegmentReportingInformationLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Assets" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Assets"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_Assets" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails">
    <loc xlink:type="locator" xlink:label="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:href="rex-20180430.xsd#rex_ConsolidatedCondensedFinancialStatementsDetailsTable"/>
    <loc xlink:type="locator" xlink:label="ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:href="rex-20180430.xsd#rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xlink:to="ConsolidatedCondensedFinancialStatementsDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="EthanolMember" xlink:href="rex-20180430.xsd#rex_EthanolMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="EthanolMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="RefinedCoalMember" xlink:href="rex-20180430.xsd#rex_RefinedCoalMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="RefinedCoalMember" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="srt_OwnershipAxis" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_OwnershipAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:to="srt_OwnershipAxis" order="2.0"/>
    <loc xlink:type="locator" xlink:label="srt_OwnershipDomain" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_OwnershipDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_OwnershipAxis" xlink:to="srt_OwnershipDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_OwnershipAxis" xlink:to="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember" order="1.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:to="ConsolidatedCondensedFinancialStatementsDetailsLineItems" order="3.0"/>
    <loc xlink:type="locator" xlink:label="NumberOfConsolidatedSubsidiaries" xlink:href="rex-20180430.xsd#rex_NumberOfConsolidatedSubsidiaries"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:to="NumberOfConsolidatedSubsidiaries" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfReportableSegments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NumberOfReportableSegments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:to="us-gaap_NumberOfReportableSegments" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfOperatingSegments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NumberOfOperatingSegments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:to="us-gaap_NumberOfOperatingSegments" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable" xlink:href="rex-20180430.xsd#rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable"/>
    <loc xlink:type="locator" xlink:label="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:href="rex-20180430.xsd#rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConcentrationRiskByTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable" xlink:to="us-gaap_ConcentrationRiskByTypeAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConcentrationRiskTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ConcentrationRiskByTypeAxis" xlink:to="us-gaap_ConcentrationRiskTypeDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CustomerConcentrationRiskMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ConcentrationRiskByTypeAxis" xlink:to="us-gaap_CustomerConcentrationRiskMember" order="1.0"/>
    <loc xlink:type="locator" xlink:label="srt_RangeAxis" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable" xlink:to="srt_RangeAxis" order="2.0"/>
    <loc xlink:type="locator" xlink:label="srt_RangeMember" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_RangeAxis" xlink:to="srt_RangeMember" order="0.0"/>
    <loc xlink:type="locator" xlink:label="srt_MinimumMember" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_RangeAxis" xlink:to="srt_MinimumMember" order="1.0"/>
    <loc xlink:type="locator" xlink:label="srt_MaximumMember" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_RangeAxis" xlink:to="srt_MaximumMember" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable" 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/2018/elts/us-gaap-2018-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="ProvisionForIncomeTaxesMember" xlink:href="rex-20180430.xsd#rex_ProvisionForIncomeTaxesMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementLocationAxis" xlink:to="ProvisionForIncomeTaxesMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfSalesMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable" xlink:to="us-gaap_PropertyPlantAndEquipmentByTypeAxis" order="4.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable" xlink:to="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" order="5.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesPaid" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxesPaid"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_IncomeTaxesPaid" order="1.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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIncomeTaxRefunds"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_ProceedsFromIncomeTaxRefunds" order="2.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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnrecognizedTaxBenefits"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_UnrecognizedTaxBenefits" order="3.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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentDepreciationMethods"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" 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-20180430.xsd#rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:to="MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/BUSINESSCOMBINATIONSDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessCombinationsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationsAbstract"/>
    <loc xlink:type="locator" xlink:label="BUSINESSCOMBINATIONSDetailsTable" xlink:href="rex-20180430.xsd#rex_BUSINESSCOMBINATIONSDetailsTable"/>
    <loc xlink:type="locator" xlink:label="BUSINESSCOMBINATIONSDetailsLineItems" xlink:href="rex-20180430.xsd#rex_BUSINESSCOMBINATIONSDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_BusinessCombinationsAbstract" xlink:to="BUSINESSCOMBINATIONSDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="BUSINESSCOMBINATIONSDetailsTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="RefinedCoalMember" xlink:href="rex-20180430.xsd#rex_RefinedCoalMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="RefinedCoalMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ChangeInAccountingEstimateByTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ChangeInAccountingEstimateByTypeAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="BUSINESSCOMBINATIONSDetailsTable" xlink:to="us-gaap_ChangeInAccountingEstimateByTypeAxis" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ChangeInAccountingEstimateTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ChangeInAccountingEstimateTypeDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ChangeInAccountingEstimateByTypeAxis" xlink:to="us-gaap_ChangeInAccountingEstimateTypeDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProFormaMember" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProFormaMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ChangeInAccountingEstimateByTypeAxis" xlink:to="us-gaap_ProFormaMember" order="1.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="BUSINESSCOMBINATIONSDetailsTable" xlink:to="BUSINESSCOMBINATIONSDetailsLineItems" order="3.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterestOwnershipPercentageByParent" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MinorityInterestOwnershipPercentageByParent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_MinorityInterestOwnershipPercentageByParent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostsAndExpenses" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostsAndExpenses"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_CostsAndExpenses" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpense" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_NetIncomeLoss" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_BusinessAcquisitionsProFormaRevenue" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquireBusinessesGross" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_PaymentsToAcquireBusinessesGross" order="9.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="BUSINESSCOMBINATIONSDetailsLineItems" xlink:to="us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts" order="10.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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DebtDisclosureAbstract" xlink:to="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtInstrumentMaturityDate" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentMaturityDate"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DebtDisclosureAbstract" xlink:to="us-gaap_DebtInstrumentMaturityDate" 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_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="DERIVATIVEFINANCIALINSTRUMENTSDetailsTable" xlink:href="rex-20180430.xsd#rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsTable"/>
    <loc xlink:type="locator" xlink:label="DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems" xlink:href="rex-20180430.xsd#rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:to="DERIVATIVEFINANCIALINSTRUMENTSDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TradingActivityByTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TradingActivityByTypeAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DERIVATIVEFINANCIALINSTRUMENTSDetailsTable" xlink:to="us-gaap_TradingActivityByTypeAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TradingActivityByTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TradingActivityByTypeDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_TradingActivityByTypeAxis" xlink:to="us-gaap_TradingActivityByTypeDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="CornMember" xlink:href="rex-20180430.xsd#rex_CornMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_TradingActivityByTypeAxis" xlink:to="CornMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ContractWithCustomerDurationAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerDurationAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DERIVATIVEFINANCIALINSTRUMENTSDetailsTable" xlink:to="us-gaap_ContractWithCustomerDurationAxis" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ContractWithCustomerDurationDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerDurationDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ContractWithCustomerDurationAxis" xlink:to="us-gaap_ContractWithCustomerDurationDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="ShortSellMember" xlink:href="rex-20180430.xsd#rex_ShortSellMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ContractWithCustomerDurationAxis" xlink:to="ShortSellMember" 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="DERIVATIVEFINANCIALINSTRUMENTSDetailsTable" xlink:to="DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems" order="3.0"/>
    <loc xlink:type="locator" xlink:label="CommodityFuturesQuantity" xlink:href="rex-20180430.xsd#rex_CommodityFuturesQuantity"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems" xlink:to="CommodityFuturesQuantity" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="ForwardPurchaseContractsQuantity" xlink:href="rex-20180430.xsd#rex_ForwardPurchaseContractsQuantity"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems" xlink:to="ForwardPurchaseContractsQuantity" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentCollateralAmount"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems" xlink:to="us-gaap_DebtInstrumentCollateralAmount" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeLossOnDerivative" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeLossOnDerivative"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems" xlink:to="us-gaap_DerivativeLossOnDerivative" order="3.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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeGainOnDerivative"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems" xlink:to="us-gaap_DerivativeGainOnDerivative" order="4.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-20180430.xsd#rex_INVESTMENTSDetailsTable"/>
    <loc xlink:type="locator" xlink:label="INVESTMENTSDetailsLineItems" xlink:href="rex-20180430.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="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsTable" xlink:to="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="srt_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="srt_EquityMethodInvesteeNameDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="BigRiverMember" xlink:href="rex-20180430.xsd#rex_BigRiverMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_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="INVESTMENTSDetailsTable" xlink:to="INVESTMENTSDetailsLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsLineItems" xlink:to="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsLineItems" xlink:to="us-gaap_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="EMPLOYEEBENEFITSDetailsTable" xlink:href="rex-20180430.xsd#rex_EMPLOYEEBENEFITSDetailsTable"/>
    <loc xlink:type="locator" xlink:label="EMPLOYEEBENEFITSDetailsLineItems" xlink:href="rex-20180430.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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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-20180430.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_ShareholdersEquityClassAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareholdersEquityClassAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="EMPLOYEEBENEFITSDetailsTable" xlink:to="us-gaap_ShareholdersEquityClassAxis" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueByShareholdersEquityClassDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByShareholdersEquityClassDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareholdersEquityClassAxis" xlink:to="us-gaap_FairValueByShareholdersEquityClassDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="RexShareholdersMember" xlink:href="rex-20180430.xsd#rex_RexShareholdersMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareholdersEquityClassAxis" xlink:to="RexShareholdersMember" 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/2018/elts/us-gaap-2018-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="3.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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="4.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="EMPLOYEEBENEFITSDetailsLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" order="3.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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="IncomeTaxesDetailsTable" xlink:href="rex-20180430.xsd#rex_IncomeTaxesDetailsTable"/>
    <loc xlink:type="locator" xlink:label="IncomeTaxesDetailsLineItems" xlink:href="rex-20180430.xsd#rex_IncomeTaxesDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="IncomeTaxesDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="IncomeTaxesDetailsTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="RefinedCoalMember" xlink:href="rex-20180430.xsd#rex_RefinedCoalMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="RefinedCoalMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="srt_RangeAxis" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="IncomeTaxesDetailsTable" xlink:to="srt_RangeAxis" order="2.0"/>
    <loc xlink:type="locator" xlink:label="srt_RangeMember" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_RangeAxis" xlink:to="srt_RangeMember" order="0.0"/>
    <loc xlink:type="locator" xlink:label="srt_MinimumMember" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_RangeAxis" xlink:to="srt_MinimumMember" order="1.0"/>
    <loc xlink:type="locator" xlink:label="srt_MaximumMember" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_RangeAxis" xlink:to="srt_MaximumMember" order="2.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="IncomeTaxesDetailsTable" xlink:to="IncomeTaxesDetailsLineItems" order="3.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="IncomeTaxesDetailsLineItems" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="IncomeTaxesDetailsLineItems" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="IncomeTaxesDetailsLineItems" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredOtherTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredOtherTaxExpenseBenefit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="IncomeTaxesDetailsLineItems" xlink:to="us-gaap_DeferredOtherTaxExpenseBenefit" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="TaxCreditToReduceFutureIncomeTaxLiailibitiesDuration" xlink:href="rex-20180430.xsd#rex_TaxCreditToReduceFutureIncomeTaxLiailibitiesDuration"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="IncomeTaxesDetailsLineItems" xlink:to="TaxCreditToReduceFutureIncomeTaxLiailibitiesDuration" order="4.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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="CommitmentsandContingenciesDetailsTable" xlink:href="rex-20180430.xsd#rex_CommitmentsandContingenciesDetailsTable"/>
    <loc xlink:type="locator" xlink:label="CommitmentsandContingenciesDetailsLineItems" xlink:href="rex-20180430.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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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-20180430.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="RefinedCoalMember" xlink:href="rex-20180430.xsd#rex_RefinedCoalMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_LegalEntityAxis" xlink:to="RefinedCoalMember" 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="CommitmentsandContingenciesDetailsTable" xlink:to="CommitmentsandContingenciesDetailsLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="QuantityOfBushelsUnderForwardPurchaseContract" xlink:href="rex-20180430.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-20180430.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-20180430.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-20180430.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-20180430.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"/>
    <loc xlink:type="locator" xlink:label="FeesIncurredBySubsidiary" xlink:href="rex-20180430.xsd#rex_FeesIncurredBySubsidiary"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CommitmentsandContingenciesDetailsLineItems" xlink:to="FeesIncurredBySubsidiary" order="5.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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract"/>
    <loc xlink:type="locator" xlink:label="RelatedPartyTransactionsDetailsTable" xlink:href="rex-20180430.xsd#rex_RelatedPartyTransactionsDetailsTable"/>
    <loc xlink:type="locator" xlink:label="RelatedPartyTransactionsDetailsLineItems" xlink:href="rex-20180430.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="dei_LegalEntityAxis" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_LegalEntityAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RelatedPartyTransactionsDetailsTable" xlink:to="dei_LegalEntityAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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-20180430.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_StatementBusinessSegmentsAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RelatedPartyTransactionsDetailsTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="RefinedCoalMember" xlink:href="rex-20180430.xsd#rex_RefinedCoalMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="RefinedCoalMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="3.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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="RefinedCoalMember_0" xlink:href="rex-20180430.xsd#rex_RefinedCoalMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="RefinedCoalMember_0" 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="4.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostsAndExpensesRelatedParty" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-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/2018/elts/us-gaap-2018-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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RelatedPartyTransactionsDetailsLineItems" xlink:to="us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RelatedPartyTransactionsDetailsLineItems" xlink:to="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/SegmentReportingDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfReportableSegments" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NumberOfReportableSegments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingAbstract" xlink:to="us-gaap_NumberOfReportableSegments" order="0.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-20180430.xsd#rex_DocumentAndEntityInformationAbstract"/>
    <loc xlink:type="locator" xlink:label="dei_EntityRegistrantName" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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="https://xbrl.sec.gov/dei/2018/dei-2018-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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6759129600">
<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, 2018</div></th>
<th class="th"><div>Jun. 01, 2018</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,433,744<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,  2018<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">2018<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 12<br> -Subsection b-2<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) (5) Smaller Reporting Accelerated Filer, (6) Smaller Reporting Emerging Growth Company Filer (7) Non-accelerated Emerging Growth Company Filer or (8) Accelerated Emerging Growth Company 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>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher SEC<br> -Name Regulation 12B<br> -Number 240<br> -Section 12<br> -Subsection b-2<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_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 12<br> -Subsection b-2<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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6759599136">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>CONSOLIDATED BALANCE SHEETS - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Apr. 30, 2018</div></th>
<th class="th"><div>Jan. 31, 2018</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">$ 64,246<span></span>
</td>
<td class="nump">$ 190,988<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_ShortTermInvestments', window );">Short-term investments</a></td>
<td class="nump">111,495<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_RestrictedCashCurrent', window );">Restricted cash</a></td>
<td class="nump">896<span></span>
</td>
<td class="nump">354<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_AccountsReceivableNetCurrent', window );">Accounts receivable</a></td>
<td class="nump">21,263<span></span>
</td>
<td class="nump">12,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_InventoryNet', window );">Inventory</a></td>
<td class="nump">26,088<span></span>
</td>
<td class="nump">20,755<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_IncomeTaxesReceivable', window );">Refundable income taxes</a></td>
<td class="nump">7,861<span></span>
</td>
<td class="nump">6,612<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_PrepaidExpenseAndOtherAssetsCurrent', window );">Prepaid expenses and other</a></td>
<td class="nump">8,056<span></span>
</td>
<td class="nump">7,412<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">239,905<span></span>
</td>
<td class="nump">239,034<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">193,969<span></span>
</td>
<td class="nump">197,827<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">7,444<span></span>
</td>
<td class="nump">7,454<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">35,246<span></span>
</td>
<td class="nump">34,549<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">476,564<span></span>
</td>
<td class="nump">478,864<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,803<span></span>
</td>
<td class="nump">8,149<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">10,956<span></span>
</td>
<td class="nump">13,716<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">19,759<span></span>
</td>
<td class="nump">21,865<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">19,435<span></span>
</td>
<td class="nump">21,706<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">4,039<span></span>
</td>
<td class="nump">3,367<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">23,474<span></span>
</td>
<td class="nump">25,073<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">146,981<span></span>
</td>
<td class="nump">146,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_RetainedEarningsAccumulatedDeficit', window );">Retained earnings</a></td>
<td class="nump">557,409<span></span>
</td>
<td class="nump">547,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_TreasuryStockValue', window );">Treasury stock</a></td>
<td class="num">(322,758)<span></span>
</td>
<td class="num">(313,643)<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">381,931<span></span>
</td>
<td class="nump">381,492<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">51,400<span></span>
</td>
<td class="nump">50,434<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">433,331<span></span>
</td>
<td class="nump">431,926<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">$ 476,564<span></span>
</td>
<td class="nump">$ 478,864<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://fasb.org/us-gaap/role/ref/legacyRef<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 2: http://fasb.org/us-gaap/role/ref/legacyRef<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_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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=109196051&amp;loc=SL49130549-203045<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8736-108599<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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://fasb.org/us-gaap/role/ref/legacyRef<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 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&amp;loc=d3e3044-108585<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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_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://fasb.org/us-gaap/role/ref/legacyRef<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 2: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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=109237563&amp;loc=d3e33749-111570<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 25<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8813-108599<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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 4: http://fasb.org/us-gaap/role/ref/legacyRef<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 5: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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 2: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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_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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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 2: http://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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://fasb.org/us-gaap/role/ref/legacyRef<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 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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_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_RestrictedCashCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 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.</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/2009/role/commonPracticeRef<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/2009/role/commonPracticeRef<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><br>Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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_RestrictedCashCurrent</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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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_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_ShortTermInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 investments including trading securities, available-for-sale securities, held-to-maturity securities, and short-term investments classified as other and current.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<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(4))<br> -URI http://asc.fasb.org/extlink&amp;oid=6876686&amp;loc=d3e534808-122878<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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(6))<br> -URI http://asc.fasb.org/extlink&amp;oid=6876686&amp;loc=d3e534808-122878<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=6876686&amp;loc=d3e534808-122878<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<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)(1)(g))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879938&amp;loc=d3e572229-122910<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<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))<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_ShortTermInvestments</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_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://fasb.org/us-gaap/role/ref/legacyRef<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 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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 4: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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://fasb.org/us-gaap/role/ref/legacyRef<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=108774443&amp;loc=SL4568740-111683<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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=108774443&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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6759684464">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>CONSOLIDATED 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, 2018</div></th>
<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_SalesRevenueNet', window );">Net sales and revenue</a></td>
<td class="nump">$ 120,820<span></span>
</td>
<td class="nump">$ 113,143<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">109,969<span></span>
</td>
<td class="nump">100,654<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">10,851<span></span>
</td>
<td class="nump">12,489<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">(4,553)<span></span>
</td>
<td class="num">(5,402)<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">697<span></span>
</td>
<td class="nump">700<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_InterestAndOtherIncome', window );">Interest and other income</a></td>
<td class="nump">654<span></span>
</td>
<td class="nump">215<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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest', window );">Income before income taxes</a></td>
<td class="nump">7,649<span></span>
</td>
<td class="nump">8,002<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_IncomeTaxExpenseBenefit', window );">Benefit (provision) for income taxes</a></td>
<td class="nump">2,703<span></span>
</td>
<td class="num">(2,390)<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_ProfitLoss', window );">Net income</a></td>
<td class="nump">10,352<span></span>
</td>
<td class="nump">5,612<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_NetIncomeLossAttributableToNoncontrollingInterest', window );">Net income attributable to noncontrolling interests</a></td>
<td class="num">(856)<span></span>
</td>
<td class="num">(1,068)<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_NetIncomeLoss', window );">Net income attributable to REX common shareholders</a></td>
<td class="nump">$ 9,496<span></span>
</td>
<td class="nump">$ 4,544<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_WeightedAverageNumberOfShareOutstandingBasicAndDiluted', window );">Weighted average shares outstanding &#8211; basic and diluted (in Shares)</a></td>
<td class="nump">6,571<span></span>
</td>
<td class="nump">6,593<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_EarningsPerShareBasicAndDiluted', window );">Basic and diluted net income per share attributable to REX common shareholders (in Dollars per share)</a></td>
<td class="nump">$ 1.45<span></span>
</td>
<td class="nump">$ 0.69<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://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<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=115205541&amp;loc=SL114868664-224227<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_EarningsPerShareBasicAndDiluted">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 or loss for the period per each share in instances when basic and diluted earnings per share are the same amount and reported as a single line item on the face of the financial statements.  Basic earnings per share is the amount of net income or loss for the period per each share of common stock or unit outstanding during the reporting period.  Diluted earnings per share includes the amount of net income or 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/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 7<br> -URI http://asc.fasb.org/extlink&amp;oid=109260490&amp;loc=d3e1337-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_EarningsPerShareBasicAndDiluted</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_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://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<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=115205541&amp;loc=SL114868664-224227<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<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=115205541&amp;loc=SL114868664-224227<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(8))<br> -URI http://asc.fasb.org/extlink&amp;oid=114873790&amp;loc=SL114874131-224263<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 11<br> -URI http://asc.fasb.org/extlink&amp;oid=109234566&amp;loc=d3e22694-107794<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(15))<br> -URI http://asc.fasb.org/extlink&amp;oid=114873765&amp;loc=SL114874048-224260<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://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<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=115205541&amp;loc=SL114868664-224227<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(10))<br> -URI http://asc.fasb.org/extlink&amp;oid=114873790&amp;loc=SL114874131-224263<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&amp;loc=d3e3602-108585<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(13)(f))<br> -URI http://asc.fasb.org/extlink&amp;oid=114873765&amp;loc=SL114874048-224260<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (g)<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8736-108599<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<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=109237563&amp;loc=d3e33749-111570<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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (h)<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8736-108599<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<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 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 20<br> -Section 45<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=109238882&amp;loc=d3e38679-109324<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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1A<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=114867106&amp;loc=SL7669619-108580<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(22))<br> -URI http://asc.fasb.org/extlink&amp;oid=114873765&amp;loc=SL114874048-224260<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=114867106&amp;loc=SL7669625-108580<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(18))<br> -URI http://asc.fasb.org/extlink&amp;oid=114873790&amp;loc=SL114874131-224263<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<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=115205541&amp;loc=SL114868664-224227<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&amp;loc=d3e3602-108585<br><br>Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=114867106&amp;loc=SL7669625-108580<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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=109239629&amp;loc=SL4573702-111684<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1A<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=114867106&amp;loc=SL7669619-108580<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1A<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=114867106&amp;loc=SL7669619-108580<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (a)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=109239629&amp;loc=SL4573702-111684<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=114867106&amp;loc=SL7669625-108580<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<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=109239629&amp;loc=SL4573702-111684<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8736-108599<br><br>Reference 6: http://www.xbrl.org/2003/role/exampleRef<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 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=109223946&amp;loc=d3e3000-108585<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<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=108774443&amp;loc=SL4569616-111683<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8933-108599<br><br>Reference 10: http://www.xbrl.org/2003/role/exampleRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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>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_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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<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=115205541&amp;loc=SL114868664-224227<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_WeightedAverageNumberOfShareOutstandingBasicAndDiluted">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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>Average number of shares or units issued and outstanding that are used in calculating basic and diluted earnings per share (EPS).</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_WeightedAverageNumberOfShareOutstandingBasicAndDiluted</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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6759244864">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>CONSOLIDATED 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, Beginning of Period 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, Beginning of Period (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="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">4,544<span></span>
</td>
<td class="nump">1,068<span></span>
</td>
<td class="nump">5,612<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_StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards', window );">Stock based compensation expense</a></td>
<td class="text"> <span></span>
</td>
<td class="nump">$ 6<span></span>
</td>
<td class="nump">23<span></span>
</td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
<td class="nump">29<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_SharesIssuedRelatedToVestingOfRestrictedStockAwards', window );">Stock options and related tax effects (in Shares)</a></td>
<td class="text"> <span></span>
</td>
<td class="text"> <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, End of Period 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, End of Period (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>
<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, Beginning of Period at Jan. 31, 2018</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (313,643)<span></span>
</td>
<td class="nump">146,923<span></span>
</td>
<td class="nump">547,913<span></span>
</td>
<td class="nump">50,434<span></span>
</td>
<td class="nump">431,926<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, Beginning of Period (in Shares) at Jan. 31, 2018</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,287<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">9,496<span></span>
</td>
<td class="nump">856<span></span>
</td>
<td class="nump">10,352<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_TreasuryStockValueAcquiredCostMethod', window );">Treasury stock acquired</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">$ (9,128)<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">(9,128)<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_TreasuryStockSharesAcquired', window );">Treasury stock acquired (in Shares)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">126<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_ProceedsFromContributionsFromAffiliates', window );">Capital contributions</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="nump">110<span></span>
</td>
<td class="nump">110<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_StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards', window );">Stock based compensation expense</a></td>
<td class="text"> <span></span>
</td>
<td class="nump">$ 13<span></span>
</td>
<td class="nump">58<span></span>
</td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
<td class="nump">71<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_SharesIssuedRelatedToVestingOfRestrictedStockAwards', window );">Stock options and related tax effects (in Shares)</a></td>
<td class="text"> <span></span>
</td>
<td class="text"> <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, End of Period at Apr. 30, 2018</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (322,758)<span></span>
</td>
<td class="nump">$ 146,981<span></span>
</td>
<td class="nump">$ 557,409<span></span>
</td>
<td class="nump">$ 51,400<span></span>
</td>
<td class="nump">$ 433,331<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, End of Period (in Shares) at Apr. 30, 2018</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,413<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_rex_SharesIssuedRelatedToVestingOfRestrictedStockAwards">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_SharesIssuedRelatedToVestingOfRestrictedStockAwards</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: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_rex_StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_StockBasedCompensationExpenseFromVestingOfRestrictedStockAwards</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_ProceedsFromContributionsFromAffiliates">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 an entity that is affiliated with the entity by means of direct or indirect ownership.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 14<br> -URI http://asc.fasb.org/extlink&amp;oid=109223946&amp;loc=d3e3255-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_ProceedsFromContributionsFromAffiliates</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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1A<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=114867106&amp;loc=SL7669619-108580<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (a)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=109239629&amp;loc=SL4573702-111684<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=114867106&amp;loc=SL7669625-108580<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<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=109239629&amp;loc=SL4573702-111684<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8736-108599<br><br>Reference 6: http://www.xbrl.org/2003/role/exampleRef<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 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=109223946&amp;loc=d3e3000-108585<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<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=108774443&amp;loc=SL4569616-111683<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8933-108599<br><br>Reference 10: http://www.xbrl.org/2003/role/exampleRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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_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://fasb.org/us-gaap/role/ref/legacyRef<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=108774443&amp;loc=SL4568740-111683<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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=108774443&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://fasb.org/us-gaap/role/ref/legacyRef<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=109259400&amp;loc=d3e21463-112644<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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_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://fasb.org/us-gaap/role/ref/legacyRef<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=109259400&amp;loc=d3e21463-112644<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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>
</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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6759401712">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>CONSOLIDATED 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, 2018</div></th>
<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_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">$ 10,352<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_rex_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract', window );"><strong>Adjustments to reconcile net income to net cash (used in) provided by 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</a></td>
<td class="nump">5,920<span></span>
</td>
<td class="nump">4,934<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">(697)<span></span>
</td>
<td class="num">(700)<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_IncreaseDecreaseInAccruedInterestReceivableNet', window );">Accrued interest income</a></td>
<td class="num">(341)<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_DeferredIncomeTaxExpenseBenefit', window );">Deferred income tax</a></td>
<td class="num">(2,271)<span></span>
</td>
<td class="nump">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_AllocatedShareBasedCompensationExpense', window );">Stock based compensation expense</a></td>
<td class="nump">71<span></span>
</td>
<td class="nump">196<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_GainOnDisposalOfRealEstateAndPropertyAndEquipment', window );">Gain on disposal of property and equipment</a></td>
<td class="num">(8)<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_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="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_IncreaseDecreaseInAccountsReceivable', window );">Accounts receivable</a></td>
<td class="num">(8,350)<span></span>
</td>
<td class="nump">2,705<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_IncreaseDecreaseInInventories', window );">Inventories</a></td>
<td class="num">(5,333)<span></span>
</td>
<td class="num">(3,370)<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_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets', window );">Other assets</a></td>
<td class="num">(1,894)<span></span>
</td>
<td class="num">(30)<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_IncreaseDecreaseInAccountsPayableTrade', window );">Accounts payable, trade</a></td>
<td class="nump">1,011<span></span>
</td>
<td class="num">(1,308)<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_IncreaseDecreaseInOtherOperatingLiabilities', window );">Other liabilities</a></td>
<td class="num">(1,980)<span></span>
</td>
<td class="nump">723<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_NetCashProvidedByUsedInOperatingActivities', window );">Net cash (used in) provided by operating activities</a></td>
<td class="num">(3,520)<span></span>
</td>
<td class="nump">8,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_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="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_PaymentsToAcquirePropertyPlantAndEquipment', window );">Capital expenditures</a></td>
<td class="num">(3,061)<span></span>
</td>
<td class="num">(5,905)<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_PaymentsToAcquireShortTermInvestments', window );">Purchase of short-term investment</a></td>
<td class="num">(111,154)<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_ProceedsFromSaleOfRestrictedInvestments', window );">Restricted investments and deposits</a></td>
<td class="nump">5<span></span>
</td>
<td class="nump">51<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">(114,204)<span></span>
</td>
<td class="num">(5,848)<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_PaymentsForRepurchaseOfCommonStock', window );">Treasury stock acquired</a></td>
<td class="num">(8,586)<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_ProceedsFromContributionsFromAffiliates', window );">Capital contributions from minority investor</a></td>
<td class="nump">110<span></span>
</td>
<td class="text">&#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_NetCashProvidedByUsedInFinancingActivities', window );">Net cash used in financing activities</a></td>
<td class="num">(8,476)<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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect', window );">Net (decrease) increase in cash, cash equivalents and restricted cash</a></td>
<td class="num">(126,200)<span></span>
</td>
<td class="nump">2,917<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_RestrictedCashAndCashEquivalentsAtCarryingValue', window );">Cash, cash equivalents and restricted cash, beginning of period</a></td>
<td class="nump">191,342<span></span>
</td>
<td class="nump">188,706<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 );">Cash, cash equivalents and restricted cash, end of period</a></td>
<td class="nump">65,142<span></span>
</td>
<td class="nump">191,623<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">142<span></span>
</td>
<td class="nump">1,284<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_NonCashFinancingActivitiesEquityAwardsAccrued', window );">Non cash financing activities &#8211; Stock awards accrued</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">167<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_NonCashFinancingActivitiesAccruedCommonStockRepurchase', window );">Non cash financing activities &#8211; Accrued common stock repurchases</a></td>
<td class="nump">542<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_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract', window );"><strong>Reconciliation of total cash, cash equivalents and restricted cash:</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">64,246<span></span>
</td>
<td class="nump">191,493<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_RestrictedCashCurrent', window );">Restricted cash</a></td>
<td class="nump">$ 896<span></span>
</td>
<td class="nump">$ 130<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_AdjustmentsToReconcileNetIncomeToNetCashUsedInProvidedByOperatingActivitiesAbstract</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_GainOnDisposalOfRealEstateAndPropertyAndEquipment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 gain (loss) resulting from sales and other disposals of real estate. Also includes, The difference between the sale price or salvage price and the book value of a property, plant, and equipment asset that was sold or retired during the reporting period. This element refers to the gain (loss).</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_GainOnDisposalOfRealEstateAndPropertyAndEquipment</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_rex_NonCashFinancingActivitiesAccruedCommonStockRepurchase">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_NonCashFinancingActivitiesAccruedCommonStockRepurchase</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_NonCashFinancingActivitiesEquityAwardsAccrued">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_NonCashFinancingActivitiesEquityAwardsAccrued</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_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_rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract</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_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://fasb.org/us-gaap/role/ref/legacyRef<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=109197908&amp;loc=d3e5047-113901<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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=115993241&amp;loc=d3e301413-122809<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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=109197908&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://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&amp;loc=d3e3044-108585<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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, and cash and cash equivalents restricted to withdrawal or usage; excluding effect from exchange rate change. 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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&amp;loc=d3e3521-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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect</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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&amp;loc=d3e3602-108585<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8736-108599<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&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_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://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<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=115205541&amp;loc=SL114868664-224227<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(10))<br> -URI http://asc.fasb.org/extlink&amp;oid=114873790&amp;loc=SL114874131-224263<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&amp;loc=d3e3602-108585<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(13)(f))<br> -URI http://asc.fasb.org/extlink&amp;oid=114873765&amp;loc=SL114874048-224260<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (g)<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8736-108599<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<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=109237563&amp;loc=d3e33749-111570<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://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&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://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&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_IncreaseDecreaseInAccruedInterestReceivableNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 amount due from borrowers for interest payments.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&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_IncreaseDecreaseInAccruedInterestReceivableNet</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://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&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_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://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&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_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 prepaid expenses, and 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://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&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_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets</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/disclosureRef<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=109223946&amp;loc=d3e3521-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/disclosureRef<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=109223946&amp;loc=d3e3521-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://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&amp;loc=d3e3536-108585<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&amp;loc=d3e3521-108585<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&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_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/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 3<br> -Subparagraph (SX 210.12-04(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=26873400&amp;loc=d3e24072-122690<br><br>Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef<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=109223946&amp;loc=d3e3213-108585<br><br>Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef<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=109223946&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_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://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&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://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&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_PaymentsToAcquireShortTermInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 for securities or other assets acquired, which qualify for treatment as an investing activity and are to be liquidated, if necessary, within the current operating cycle. Includes cash flows from securities classified as trading securities that were acquired for reasons other than sale in the short-term.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&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_PaymentsToAcquireShortTermInvestments</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_ProceedsFromContributionsFromAffiliates">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 an entity that is affiliated with the entity by means of direct or indirect ownership.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 14<br> -URI http://asc.fasb.org/extlink&amp;oid=109223946&amp;loc=d3e3255-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_ProceedsFromContributionsFromAffiliates</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://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1A<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=114867106&amp;loc=SL7669619-108580<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (a)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=109239629&amp;loc=SL4573702-111684<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=114867106&amp;loc=SL7669625-108580<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<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=109239629&amp;loc=SL4573702-111684<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8736-108599<br><br>Reference 6: http://www.xbrl.org/2003/role/exampleRef<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 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=109223946&amp;loc=d3e3000-108585<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<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=108774443&amp;loc=SL4569616-111683<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8933-108599<br><br>Reference 10: http://www.xbrl.org/2003/role/exampleRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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_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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&amp;loc=d3e3044-108585<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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_RestrictedCashCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 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.</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/2009/role/commonPracticeRef<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/2009/role/commonPracticeRef<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><br>Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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_RestrictedCashCurrent</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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6750379344">
<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, 2018</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_srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract', window );"><strong>Condensed Financial Information 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_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock', window );">Condensed Financial Information of Parent Company Only Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 99pt 0pt 0"><b>Note 1. <i>Consolidated Condensed Financial Statements</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">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, 2018 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, 2018 (fiscal year 2017). 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, 2018. 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: 0pt 0; text-indent: 0.5in">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 consolidates
the results of its four majority owned subsidiaries. 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 as One Earth has a fiscal
year end of December 31.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">Nature of Operations &#x2013; In the third
quarter of fiscal year 2017, the Company began reporting the results of its refined coal operation as a new segment as a result
of the August 10, 2017 acquisition of an entity that operates a refined coal facility (see Note 4). Prior to the acquisition, the
Company had one reportable segment, ethanol. Beginning with the third quarter of fiscal year 2017, the Company has two reportable
segments: i) ethanol and by-products and ii) refined coal. Within the ethanol and by-products segment, the Company has equity investments
in three ethanol limited liability companies, two of which are majority ownership interests. Within the refined coal segment, the
Company has a majority equity interest in one refined coal limited liability company.</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_srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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;">srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>srt_</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_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 condensed financial information, including the financial position, cash flows, and the results of operations of the registrant (parent company) as of the same dates or for the same periods for which audited consolidated financial statements are being presented. Alternatively, the details of this disclosure can be reported by the specific parent company taxonomy elements, indicating the appropriate date and period contexts in an instance document.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 11<br> -URI http://asc.fasb.org/extlink&amp;oid=108774443&amp;loc=d3e5283-111683<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 235<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.9-06)<br> -URI http://asc.fasb.org/extlink&amp;oid=6882215&amp;loc=d3e537971-122884<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_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock</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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6650275472">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2018</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: 0pt 0"><b>Note 2. <i>Accounting Policies</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">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 2017 Annual Report on Form 10-K and the adoption of new accounting standards described at the end of this footnote. 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: 0pt 0">Revenue Recognition</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">For ethanol and by-products segment sales,
the Company recognizes sales of ethanol, distillers grains and non-food grade corn oil when obligations under the terms of the
respective contracts with customers are satisfied. This occurs with the transfer of control of products, generally upon shipment
from the ethanol plant or upon loading of the rail car used to transport the products. For refined coal segment sales, the Company
recognizes sales of refined coal when obligations under the term of the contract with its customer are satisfied. This occurs when
title and control of the product transfers to its customer, generally upon the coal leaving the refined coal plant. Refined coal
sales are recorded net of the cost of coal as the Company purchases the coal feedstock from the customer to which refined coal
is sold (after processing).</p><br/><p style="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0">Cost of Sales</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">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: 0pt 0; text-indent: 0in">Selling, General and Administrative Expenses</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in"><font style="font-family: Times New Roman, Times, Serif">The
Company includes non-production related costs such as professional fees, selling charges and certain payroll in selling, general
and administrative expenses.</font></p><br/><p style="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0">Financial Instruments</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">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;
(&#x201c;ASC 815&#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.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">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: 0pt 0">Income Taxes</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">The Company applies an effective tax rate
to interim periods that is consistent with the Company&#x2019;s estimated annual effective tax rate as adjusted for discrete items
impacting the interim periods. The Company&#x2019;s estimated annual effective tax rate includes the impact of its refined coal
operation and the expected federal income tax credits to be earned, beginning August 10, 2017, the date of the refined coal acquisition
(see Note 4). Based on current projections, the Company has estimated that its annual effective tax rate for fiscal year 2018 will
be a tax benefit of approximately 25-30%. 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 nor received refunds of income taxes during the three months ended April 30, 2018 and 2017.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">As of April 30, 2018 and January 31, 2018,
total unrecognized tax benefits were approximately $2.8 million and $2.0 million, respectively. Accrued penalties and interest
were approximately $0.4 million and $0.4 million at April 30, 2018 and January 31, 2018, respectively. If the Company were to prevail
on all unrecognized tax benefits recorded, the provision for income taxes would be reduced by approximately $2.8 million. 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: 0pt 0"><b>Inventories</b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">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 by-products and refined coal. 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, 2018 and January 31, 2018. 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">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">April 30, <br />
    2018</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br />
    2018</td><td style="padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 56%; text-align: left">Ethanol and other finished goods</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">8,985</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">8,402</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Work in process</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">2,917</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">2,824</td><td style="text-align: left">&#xa0;</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">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">14,186</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">9,529</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">26,088</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">20,755</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td></tr>
</table><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Property and Equipment </b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt"><b></b>Property and
equipment is recorded at cost or the fair value on the date of acquisition (for property and equipment acquired in a business combination).
Depreciation is computed using the straight-line method. Estimated useful lives are 5 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: 0pt 0; text-align: left; 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 2018 or 2017. 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: 0pt 0; text-align: left; 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: 0pt 0"><b>Investments </b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 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 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: 0pt 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: 0pt 0; text-indent: 36pt">Short-term investments are considered held
to maturity, and, therefore are carried at amortized historical cost.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Comprehensive Income</b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; 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: 0pt 0"><b>Accounting Changes and Recently Issued Accounting Standards
</b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">Effective February
1, 2018, the Company adopted 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. See Note 3 for a further discussion of adopting this amended guidance.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">Effective February
1, 2018, the Company prospectively adopted Accounting Standards Update &#x201c;ASU&#x201d; 2016-15 &#x201c;<i>Statement of Cash Flows
(Topic 230), Classification of Certain Cash Receipts and Cash Payments</i>&#x201d;. This standard provides guidance on eight specific
cash flow issues. The cash flow issues covered by this ASU are: 1) debt prepayment or debt extinguishment costs; 2) settlement
of zero-coupon debt instruments or other debt instruments with coupon interest rates that are insignificant in relation to the
effective interest rate of the borrowing; 3) contingent consideration payments made after a business combination; 4) proceeds from
the settlement of insurance claims; 5) proceeds from the settlement of corporate-owned life insurance policies, including bank-owned
life insurance policies; 6) distributions received from equity method investees; 7) beneficial interests in securitization transactions;
and 8) separately identifiable cash flows and application of the predominance principle for distributions received from equity
method investees in the Statement of Cash Flows. The adoption of this standard did not affect the consolidated condensed financial
statements and related disclosures.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">Effective February
1, 2018, the Company adopted ASU 2016-18 &#x201c;<i>Statement of Cash Flows (Topic 230), Restricted Cash&#x201d;. </i>
This standard requires that the statements of cash flows explain the changes in the combined total of restricted and
unrestricted cash balances. Amounts generally described as restricted cash will be combined with unrestricted cash and cash
equivalents when reconciling the beginning and end of period balances on the statements of cash flows. The Company adopted
this standard retrospectively. Therefore, the beginning and end of period balances of cash and cash equivalents as of January
31 and April 30, 2017 were increased by $130,000 to reflect the respective restricted cash amounts.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">In February 2016, the
FASB issued ASU 2016-02 &#x201c;Leases&#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 the effect 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-of-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 5).</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://fasb.org/us-gaap/role/ref/legacyRef<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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6750385952">
<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, 2018</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_RevenueFromContractWithCustomerAbstract', window );"><strong>Revenue from Contract with Customer [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_RevenueFromContractWithCustomerTextBlock', window );">Revenue from Contract with Customer [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 3. <i>Net Sales and Revenue</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">On February 1, 2018,
the Company adopted the amended guidance in ASC Topic 606, &#x201c;<i>Revenue from Contracts with Customers</i>&#x201d;, and all
related amendments and applied it to all contracts utilizing the modified retrospective method. There were no adjustments to the
Consolidated Condensed Balance Sheet as of February 1, 2018 as a result of the adoption of this accounting guidance. Therefore,
comparative information has not been restated and continues to be reported under the accounting standards in effect for those periods.
Furthermore, there was no impact related to the adoption of this accounting guidance on the Consolidated Condensed Statements of
Operations or Balance Sheets for the three months ended April 30, 2018. The Company expects the impact of adopting this accounting
guidance to be immaterial on an ongoing basis.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">The Company
recognizes sales of products when obligations under the terms of the respective contracts with customers are satisfied. This
occurs with the transfer of control of products, generally upon shipment from the ethanol plant or upon loading of the rail
car used to transport the products. Revenue is measured as the amount of consideration expected to be received in exchange
for transferring goods. Sales, value add and other taxes the Company collects concurrent with revenue producing activities
are excluded from net sales and revenue.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">The majority of the
Company&#x2019;s sales have payment terms ranging from 5 to 10 days after transfer of control. The Company has determined that sales
contracts do not generally include a significant financing component. The Company has not historically, and does not intend to,
enter into sales contracts in which payment is due from a customer prior to transferring product to the customer. Thus, the Company
does not record unearned revenue.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">The Company elected,
pursuant to the new accounting guidance, to recognize the cost for shipping and handling activities that occur after the customer
obtains control of the promised goods as fulfillment activities and not when performance obligations are met. The Company has also
elected, pursuant to the new accounting guidance, to exclude sales and other taxes from net sales and revenue.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">See Note 17 for disaggregation
of net sales and revenue by operating segment and by product.</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_RevenueFromContractWithCustomerAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_RevenueFromContractWithCustomerAbstract</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_RevenueFromContractWithCustomerTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 of revenue from contract with customer to transfer good or service and to transfer nonfinancial asset. Includes, but is not limited to, disaggregation of revenue, credit loss recognized from contract with customer, judgment and change in judgment related to contract with customer, and asset recognized from cost incurred to obtain or fulfill contract with customer. Excludes insurance and lease contracts.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -URI http://asc.fasb.org/topic&amp;trid=49130388<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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_RevenueFromContractWithCustomerTextBlock</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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6906194240">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>BUSINESS COMBINATIONS<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2018</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_BusinessCombinationsAbstract', window );"><strong>Business Combinations [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_BusinessCombinationDisclosureTextBlock', window );">Business Combination Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 4. <i>Business Combinations</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt"><b><i></i></b>On August
10, 2017, the Company, through a 95.35% owned subsidiary, purchased the entire ownership interest of an entity that owns a refined
coal facility. The Company began operating its refined coal facility immediately after the acquisition. The Company expects that
the revenues from the sale of refined coal produced in the facility will be subsidized by federal production tax credits through
November 2021, subject to meeting qualified emissions reductions as governed by Section 45 of the Internal Revenue Code.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The impact on the combined results of operations
of the Company and the refined coal entity, on a pro forma basis, as though the companies had been combined as of the beginning
of fiscal year 2017, is as follows:</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Cost of sales would have increased by approximately
$692,000 for the quarter ended April 30, 2017. This pro forma increase is a result of increased depreciation expense as if the
refined coal entity was consolidated during the quarter ended April 30, 2017. Selling,
general and administrative expenses would have increased by approximately $2,510,000 for the quarter ended April 30, 2017. These
pro forma adjustments are a result of transaction costs occurring (on a pro forma basis) during the first quarter of fiscal year
2017. The provision for income taxes would have decreased by approximately $1,217,000 for the quarter ended April 30, 2017. Net
income attributable to REX common shareholders would have decreased by approximately $1,893,000 for the quarter ended April 30,
2017. Basic and diluted net income per share attributable to REX common shareholders would have decreased by approximately $0.29
per share for the quarter ended April 30, 2017.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The results of the Company&#x2019;s refined
coal operations (approximately $0.6 million of net sales and revenue and approximately $6.9 million of net income attributable
to REX common shareholders, including the income tax benefit of estimated Section 45 credits to be earned) have been included in
the consolidated financial statements subsequent to the acquisition date and are included in the Company&#x2019;s refined coal segment.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The purchase price was $12,049,000, which
was paid in cash. The acquisition was recorded by allocating the total purchase price to the assets acquired, based on their estimated
fair values at the acquisition date. The purchase price allocation is based on the final fair value assessment results of a valuation
analysis. The income approach was used to determine the fair values of assets acquired. The following table summarizes the estimated
fair values of the assets acquired at the acquisition date (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 75%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 86%; text-indent: -10pt; padding-left: 10pt">Inventory</td><td style="width: 2%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">49</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Property, plant and equipment</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">12,000</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total assets acquired and purchase price</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">12,049</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td></tr>
</table><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">Transaction costs totaled
approximately $2.5 million during fiscal year 2017. The Company does not expect transaction costs from this acquisition to be significant
for fiscal year 2018 and beyond.</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_BusinessCombinationDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 a business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities. The disclosure may include leverage buyout transactions (as applicable).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -URI http://asc.fasb.org/topic&amp;trid=2303972<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_BusinessCombinationDisclosureTextBlock</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_BusinessCombinationsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_BusinessCombinationsAbstract</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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6750441008">
<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, 2018</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_LeasesOfLesseeDisclosureTextBlock', window );">Leases of Lessee Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 5. <i>Leases</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">At April 30, 2018, 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: 50%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="text-align: left; padding-bottom: 1px; border-bottom: Black 1px solid">Years Ended January 31,</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: right; padding-bottom: 1px; border-bottom: Black 1px solid">Minimum<br />Rentals</td><td style="padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 83%; text-indent: -10pt; padding-left: 10pt; text-align: left">Remainder of 2019</td><td style="width: 10%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 5%; text-align: right">5,712</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">2020</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">6,151</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">2021</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">4,261</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">2022</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">3,629</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">2023</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">2,064</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt; text-align: left">Thereafter</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">4,569</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt; text-align: left">Total</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">26,386</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</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_LeasesOfLesseeDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 lessee entity's leasing arrangements including, but not limited to, all of the following: (a.) The basis on which contingent rental payments are determined, (b.) The existence and terms of renewal or purchase options and escalation clauses, (c.) Restrictions imposed by lease agreements, such as those concerning dividends, additional debt, and further leasing.</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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 842<br> -SubTopic 20<br> -URI http://asc.fasb.org/subtopic&amp;trid=77888251<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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_LeasesOfLesseeDisclosureTextBlock</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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6637203840">
<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, 2018</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: 0pt 0"><b>Note 6. <i>Fair Value</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><font style="color: black">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 </font>accounting principles generally accepted in the United States of America<font style="color: black">. 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.</font></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 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: 0pt 0; text-align: left; 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.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 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, 2018 are summarized below (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px; text-align: left">&#xa0;</td>
    <td colspan="2" style="color: black; border-bottom: Black 1px solid; text-align: left">Level 1</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px; text-align: left">&#xa0;</td>
    <td colspan="2" style="color: black; border-bottom: Black 1px solid; text-align: left">Level 2</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px; text-align: left">&#xa0;</td>
    <td colspan="2" style="color: black; border-bottom: Black 1px solid; text-align: left">Level 3</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px; text-align: left">&#xa0;</td>
    <td colspan="2" style="color: black; border-bottom: Black 1px solid; text-align: left">Fair Value</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td>
    <td colspan="2" style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td>
    <td colspan="2" style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td>
    <td colspan="2" style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td>
    <td colspan="2" style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 40%; color: black; text-align: left; text-indent: -10pt; padding-left: 10pt">Forward purchase contract asset (1)</td><td style="width: 3%; color: black">&#xa0;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">&#x2014;</td><td style="width: 1%; color: black; text-align: left">&#xa0;</td><td style="width: 3%; color: black">&#xa0;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">378</td><td style="width: 1%; color: black; text-align: left">&#xa0;</td><td style="width: 3%; color: black">&#xa0;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">&#x2014;</td><td style="width: 1%; color: black; text-align: left">&#xa0;</td><td style="width: 3%; color: black">&#xa0;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">378</td><td style="width: 1%; color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Investment in cooperative (2)</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">333</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">333</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total assets</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">378</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">333</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">711</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="color: Black; text-indent: -10pt; padding-left: 10pt">&#xa0;</td><td style="color: Black">&#xa0;</td>
    <td style="color: Black; text-align: left">&#xa0;</td><td style="color: Black; text-align: right">&#xa0;</td><td style="color: Black; text-align: left">&#xa0;</td><td style="color: Black">&#xa0;</td>
    <td style="color: Black; text-align: left">&#xa0;</td><td style="color: Black; text-align: right">&#xa0;</td><td style="color: Black; text-align: left">&#xa0;</td><td style="color: Black">&#xa0;</td>
    <td style="color: Black; text-align: left">&#xa0;</td><td style="color: Black; text-align: right">&#xa0;</td><td style="color: Black; text-align: left">&#xa0;</td><td style="color: Black">&#xa0;</td>
    <td style="color: Black; text-align: left">&#xa0;</td><td style="color: Black; text-align: right">&#xa0;</td><td style="color: Black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; text-indent: -10pt; padding-left: 10pt">Commodity futures (3)</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">&#x2014;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">592</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">&#x2014;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">592</td><td style="color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Forward purchase contract liability (4)</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">436</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">436</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total liabilities</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">1,028</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">1,028</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td></tr>
</table><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Financial assets and liabilities measured
at fair value on a recurring basis at January 31, 2018 are summarized below (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="color: black; border-bottom: Black 1px solid">Level 1</td><td style="padding-bottom: 1px; color: black">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="color: black; border-bottom: Black 1px solid">Level 2</td><td style="padding-bottom: 1px; color: black">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="color: black; border-bottom: Black 1px solid">Level 3</td><td style="padding-bottom: 1px; color: black">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="color: black; text-align: left; border-bottom: Black 1px solid">Fair Value</td><td style="padding-bottom: 1px; color: black">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td style="color: black">&#xa0;</td>
    <td colspan="2" style="color: black">&#xa0;</td><td style="color: black">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td colspan="2" style="color: black">&#xa0;</td><td style="color: black">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td colspan="2" style="color: black">&#xa0;</td><td style="color: black">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td colspan="2" style="color: black; text-align: center">&#xa0;</td><td style="color: black">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 40%; color: black; text-align: left; text-indent: -10pt; padding-left: 10pt">Forward purchase contracts asset (1)</td><td style="width: 3%; color: black">&#xa0;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">&#x2014;</td><td style="width: 1%; color: black; text-align: left">&#xa0;</td><td style="width: 3%; color: black">&#xa0;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">72</td><td style="width: 1%; color: black; text-align: left">&#xa0;</td><td style="width: 3%; color: black">&#xa0;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">&#x2014;</td><td style="width: 1%; color: black; text-align: left">&#xa0;</td><td style="width: 3%; color: black">&#xa0;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">72</td><td style="width: 1%; color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Investment in cooperative (2)</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">333</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">333</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total assets</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">72</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">333</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">405</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-indent: -10pt; padding-left: 10pt">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: right">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: right">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: right">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: right">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; text-indent: -10pt; padding-left: 10pt">Commodity futures (3)</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">&#x2014;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">87</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">&#x2014;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">87</td><td style="color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Forward purchase contract liability (4)</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">34</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">34</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total liabilities</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">121</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">121</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td></tr>
</table><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(1) The forward purchase contract asset is
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: 0pt 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: 0pt 0; text-indent: 36pt">(3) Commodity futures are 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: 0pt 0; text-indent: 36pt">(4) 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: 0pt 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: 0pt 0; text-indent: 36pt">There were no assets measured at fair value
on a non-recurring basis at April 30, 2018 or January 31, 2018. As discussed in Note 4, the Company estimated the fair values of
refined coal assets acquired using the income approach. This estimated fair value is a level 3 measurement.</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://fasb.org/us-gaap/role/ref/legacyRef<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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6636407520">
<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, 2018</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: 0pt 0"><b>Note 7. <i>Property and Equipment</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt"><b></b>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: 75%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><font style="font: 10pt Times New Roman, Times, Serif">April 30, </font><br /><font style="font: 10pt Times New Roman, Times, Serif"><font style="text-decoration:underline">
    </font>2018</font></td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"><font style="font: 10pt Times New Roman, Times, Serif">January 31,</font><br /> <font style="font: 10pt Times New Roman, Times, Serif">2018</font></td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left; text-indent: -10pt; padding-left: 10pt">Land and improvements</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">21,095</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">21,074</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">Buildings and improvements</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">23,277</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">23,272</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">Machinery, equipment and fixtures</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">289,633</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">288,832</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Construction in progress</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">4,378</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">3,155</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-indent: -10pt; padding-left: 10pt">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">338,383</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">336,333</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Less: accumulated depreciation</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">(144,414</td><td style="padding-bottom: 1px; text-align: left">)</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">(138,506</td><td style="padding-bottom: 1px; text-align: left">)</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">193,969</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">197,827</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</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://fasb.org/us-gaap/role/ref/legacyRef<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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6917997792">
<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, 2018</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: 0pt 0"><b>Note 8. <i>Other Assets</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; 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: 75%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><font style="font: 10pt Times New Roman, Times, Serif">April
    30,</font><br /><font style="font: 10pt Times New Roman, Times, Serif"> 2018</font></td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"><font style="font: 10pt Times New Roman, Times, Serif">January
    31,</font><br /> <font style="font: 10pt Times New Roman, Times, Serif">2018</font></td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left; text-indent: -10pt; padding-left: 10pt">Real estate taxes refundable</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">6,721</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">6,719</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-indent: -10pt; padding-left: 10pt">Deposits</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">5</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Other</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">723</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">730</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">7,444</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">7,454</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td></tr>
</table><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6634221632">
<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, 2018</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: 0pt 0"><b>Note 9. <i>Accrued Expenses and Other Current Liabilities</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">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: 75%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><font style="font: 10pt Times New Roman, Times, Serif">April 30, </font><br /><font style="font: 10pt Times New Roman, Times, Serif"><font style="text-decoration:underline">
    </font>2018</font></td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"><font style="font: 10pt Times New Roman, Times, Serif">January 31,</font><br /> <font style="font: 10pt Times New Roman, Times, Serif">2018</font></td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left; text-indent: -10pt; padding-left: 10pt">Accrued payroll and related items</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">1,822</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">5,108</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">Accrued utility charges</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">2,202</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">2,639</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">Accrued real estate taxes</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">2,846</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">2,678</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">Accrued income taxes</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">68</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">61</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Other</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">4,018</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">3,230</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">10,956</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">13,716</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6750380144">
<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, 2018</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: 0pt 0"><b>Note 10. <i>Revolving Lines of Credit</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">Effective April 1,
2016, One Earth and NuGen Energy, LLC (&#x201c;NuGen&#x201d;) each entered into $10.0 million revolving loan facilities that  mature June 1, 2019. Neither One Earth nor NuGen had outstanding borrowings on the revolving loans during the three months
ended April 30, 2018 and 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_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://fasb.org/us-gaap/role/ref/legacyRef<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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6650275472">
<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, 2018</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_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract', window );"><strong>Derivative Instruments and Hedging Activities 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_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock', window );">Derivative Instruments and Hedging Activities Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 11. <i>Derivative Financial Instruments</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; 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: 0pt 0; text-align: left; text-indent: 36pt">The following table
provides information about the fair values of the Company&#x2019;s derivative financial instruments (that are not accounted for
under the &#x201c;normal purchases and normal sales&#x201d; scope exemption of ASC 815) 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: 100%; font: 10pt Times New Roman, Times, Serif;">
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#xa0;</td><td>&#xa0;</td>
    <td colspan="6" style="text-align: center">Asset Derivatives<br /> Fair Value</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="6" style="text-align: center">Liability Derivatives <br /> Fair Value</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify">&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><font style="font: 10pt Times New Roman, Times, Serif">April
    30,</font><br /><font style="font: 10pt Times New Roman, Times, Serif"> <font style="text-decoration:underline"> </font>2018</font></td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><font style="font: 10pt Times New Roman, Times, Serif">January
    31,</font><br /><font style="font: 10pt Times New Roman, Times, Serif"> <font style="text-decoration:underline"> </font>2018</font></td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><font style="font: 10pt Times New Roman, Times, Serif">April
    30,</font><br /><font style="font: 10pt Times New Roman, Times, Serif"> <font style="text-decoration:underline"> </font>2018</font></td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><font style="font: 10pt Times New Roman, Times, Serif">January
    31,</font><br /><font style="font: 10pt Times New Roman, Times, Serif"> <font style="text-decoration:underline"> </font>2018</font></td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify">&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 52%; text-align: justify; text-indent: -10pt; padding-left: 10pt">Commodity futures (1)</td><td style="width: 2%">&#xa0;</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">&#xa0;</td><td style="width: 2%">&#xa0;</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">&#xa0;</td><td style="width: 2%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">592</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 2%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">87</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: justify; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Forward purchase contracts (2)</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">378</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">72</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">436</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">34</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: justify; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">378</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">72</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">1,028</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">121</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td></tr>
</table><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; text-align: justify">(1) Commodity futures are included
in accrued expenses and other current liabilities. These contracts are short/sell positions for approximately 6.2 million and 2.5
million bushels of corn at April 30, 2018 and January 31, 2018, respectively.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; 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 22.6 million and 11.7 million bushels
of corn at April 30, 2018 and January 31, 2018, respectively.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">As of April 30, 2018,
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, 2018, 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, 2018, the Company was required to maintain collateral in
the amount of approximately $896,000 to secure the Company&#x2019;s derivative position.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">See Note 6 which contains fair value information
related to derivative financial instruments.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Losses on the Company&#x2019;s derivative
financial instruments of approximately $565,000 for the first quarter of fiscal year 2018 were included in cost of sales on the
Consolidated Condensed Statements of Operations. Gains on the Company&#x2019;s derivative financial instruments of approximately
$124,000 for the first quarter of fiscal year 2017 were included in cost of sales on the Consolidated Condensed Statements of
Operations. Gains on the Company&#x2019;s derivative financial instruments of approximately $44,000 for the first quarter of fiscal
year 2018 were included in net sales and revenue 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_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract</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_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 derivative instruments and hedging activities including, but not limited to, risk management strategies, non-hedging derivative instruments, assets, liabilities, revenue and expenses, and methodologies and assumptions used in determining the amounts.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -URI http://asc.fasb.org/topic&amp;trid=2229140<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_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock</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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6750359920">
<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, 2018</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: 0pt 0"><b>Note 12. <i>Investments</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table summarizes the Company&#x2019;s
equity method investment at April 30, 2018 and January 31, 2018 (dollars in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 95%; 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">&#xa0;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">Ownership Percentage</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">Carrying Amount<br /> April 30, 2018</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">Carrying Amount<br /> January 31, 2018</td><td style="padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="width: 31%; text-align: left">Big River</td><td style="width: 12%">&#xa0;</td>
    <td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 15%; text-align: right">10.3</td><td style="width: 1%; text-align: left">%</td><td style="width: 4%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">35,246</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 4%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">34,549</td><td style="width: 5%; text-align: left">&#xa0;</td></tr>
</table><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Undistributed earnings of the Company&#x2019;s
equity method investee totaled approximately $15.2 million and $14.5 million at April 30, 2018 and January 31, 2018, respectively.
The Company did not receive dividends from its equity method investee in the first quarter of fiscal years 2018 or 2017.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 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: 50%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="6" style="text-align: center">Three Months Ended<br /> April 30,</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2018</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 60%; text-align: left">Net sales and revenue</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 15%; text-align: right">191,943</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 15%; text-align: right">192,500</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Gross profit</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">13,691</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">8,181</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Income from continuing operations</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">6,765</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">7,206</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Net income</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">6,765</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">7,206</td><td style="text-align: left">&#xa0;</td></tr>
</table><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 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,
2018 and January 31, 2018 are approximately $214.1 million and $202.6 million, 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_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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6634221632">
<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, 2018</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: 0pt 0"><b>Note 13. <i>Employee Benefits</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">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. Since plan inception, the Company has only granted restricted stock awards. 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, 2018, 511,174 shares remain available for issuance under the Plan. As a
component of their compensation, restricted stock has been granted to directors at the closing market price of REX common stock
on the predetermined grant date. In addition one third of executives&#x2019; incentive compensation is payable by an award of restricted
stock based on the then closing market price of REX common stock on the predetermined grant date.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">At April 30, and January
31, 2018, unrecognized compensation cost related to nonvested restricted stock was approximately $162,000 and $233,000, respectively.
The following tables summarize non-vested restricted stock award activity for the three months ended April 30, 2018 and 2017:</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 90%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif">&#xa0;</td>
    <td colspan="10" style="font: 10pt Times New Roman, Times, Serif; text-align: center">Three Months Ended April 30, 2018</td><td style="font: 10pt Times New Roman, Times, Serif">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif">&#xa0;</td>
    <td colspan="10" style="font: 10pt Times New Roman, Times, Serif; text-align: center">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="font: 10pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid">Non-Vested<br /> Shares</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="font: 10pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid">Weighted<br /> Average&#xa0;&#xa0;Grant<br /> Date Fair Value<br /> (000&#x2019;s)</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="font: 10pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid">Weighted<br /> Average Remaining<br /> VestingTerm<br /> (in years)</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 49%; font: 10pt Times New Roman, Times, Serif">Non-Vested at January 31, 2018</td><td style="width: 3%; font: 10pt Times New Roman, Times, Serif">&#xa0;</td>
    <td style="width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="width: 12%; font: 10pt Times New Roman, Times, Serif; text-align: right">29,415</td><td style="width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="width: 3%; font: 10pt Times New Roman, Times, Serif">&#xa0;</td>
    <td style="width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 12%; font: 10pt Times New Roman, Times, Serif; text-align: right">2,275</td><td style="width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="width: 3%; font: 10pt Times New Roman, Times, Serif">&#xa0;</td>
    <td style="width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="width: 12%; font: 10pt Times New Roman, Times, Serif; text-align: right">2</td><td style="width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font: 10pt Times New Roman, Times, Serif">Granted</td><td style="font: 10pt Times New Roman, Times, Serif">&#xa0;</td>
    <td style="font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: right">&#x2014;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif">&#xa0;</td>
    <td style="font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: right">&#x2014;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font: 10pt Times New Roman, Times, Serif">Forfeited</td><td style="font: 10pt Times New Roman, Times, Serif">&#xa0;</td>
    <td style="font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: right">&#x2014;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif">&#xa0;</td>
    <td style="font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: right">&#x2014;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">Vested</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&#xa0;</td>
    <td style="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid">672</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&#xa0;</td>
    <td style="font: 10pt Times New Roman, Times, Serif; text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid">50</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; padding-bottom: 1px">&#xa0;</td><td style="text-align: right; padding-bottom: 1px">&#xa0;</td><td style="text-align: left; padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 3px">Non-Vested at April 30, 2018</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 3px">&#xa0;</td>
    <td style="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double">28,743</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 3px">&#xa0;</td>
    <td style="font: 10pt Times New Roman, Times, Serif; text-align: left; border-bottom: Black 3px double">$</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double">2,225</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 3px">&#xa0;</td>
    <td style="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: right; padding-bottom: 3px">2</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&#xa0;</td></tr>
</table><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 90%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="10" style="text-align: center">Three Months Ended April 30, 2017</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="10" style="text-align: center">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Non-Vested<br /> Shares</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Weighted<br /> Average Grant<br /> Date Fair Value<br /> (000&#x2019;s)</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Weighted<br /> Average&#xa0;&#xa0;Remaining<br /> VestingTerm<br /> (in years)</td><td style="padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 49%">Non-Vested at January 31, 2017</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 12%; text-align: right">23,350</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">1,386</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 12%; text-align: right">2</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td>Granted</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>Forfeited</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px">Vested</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; padding-bottom: 1px">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; padding-bottom: 1px">&#xa0;</td><td style="text-align: right; padding-bottom: 1px">&#xa0;</td><td style="text-align: left; padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px">Non-Vested at April 30, 2017</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; padding-bottom: 3px">&#xa0;</td><td style="text-align: right; border-bottom: Black 3px double">23,350</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 3px double">&#xa0;</td><td style="text-align: right; border-bottom: Black 3px double">1,386</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; padding-bottom: 3px">&#xa0;</td><td style="text-align: right; padding-bottom: 3px">2</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</td></tr>
</table><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">The above tables include
24,711 and 18,541 non-vested shares at April 30, 2018 and 2017, respectively, which are included in the number of weighted average
shares outstanding used to determine basic and diluted earnings per share attributable to REX common shareholders. Such shares
are treated, for accounting purposes, as being fully vested at the grant date as they were granted to recipients who were retirement
eligible at the time of grant.</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_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://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -URI http://asc.fasb.org/topic&amp;trid=2228938<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 715<br> -URI http://asc.fasb.org/topic&amp;trid=2235017<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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6641709808">
<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, 2018</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: 0pt 0"><b>Note 14<i>. Income Taxes</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The effective tax rate on consolidated pre-tax
income was (35.3) % for the three months ended April 30, 2018 and 29.9% for the three months ended April 30, 2017. The fluctuation
in the rate results primarily from the production tax credits the Company expects to receive associated with its refined coal
segment, lower tax rates as a result of the Tax Cuts and Jobs Act of 2017 (&#x201c;the Tax Act&#x201d;) and expected research and experimentation federal tax credits to be claimed
and earned in fiscal year 2018. The Company records its tax provision/benefit based on an estimated annual effective rate adjusted
for items recorded discretely. The estimated annual effective tax rate includes the impact of the refined coal operation and the
expected federal income tax credits to be earned in fiscal year 2018. Based on current projections the Company estimates that
its annual effective tax rate will result in a tax benefit of approximately 25-30%.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Tax Act signed into law on December
22, 2017, reduced the federal corporate income tax rate to 21% effective January 1, 2018. The Tax Act also made numerous other
changes to the U.S. tax code, including, but not limited to, permitting full expensing of qualified property acquired after September
27, 2017, expanding prior limitations of the deductibility of certain executive compensation and eliminating the corporate alternative
minimum tax.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">The SEC issued Staff Accounting Bulletin
118 (&#x201c;SAB 118&#x201d;), which provides guidance on accounting for the tax effects of the Tax Act. In recognition of the inherent
complexities associated with accounting for the effects of the Tax Act, SAB 118 provides a measurement period of up to one year
from enactment of the Tax Act for companies to complete the accounting for the tax effects of the Tax Act. Although the Company&#x2019;s
accounting for the tax effects of the Tax Act are not yet complete, at January 31, 2018, the Company made a preliminary estimate
of the effect of the tax rate reduction on the existing deferred tax balances and recorded a tax benefit of approximately $14,362,000
to remeasure the deferred tax liability at the new 21% rate. The Company will continue to refine the calculation as additional analysis is completed, which will include a final determination of the deferred tax balances at January 31, 2018 after the Company&#x2019;s
federal income tax return is filed, and as further guidance is provided by the Internal Revenue Service.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Through its refined coal operation, the
Company earns production tax credits pursuant to IRC Section 45. The credits can be used to reduce future income tax liabilities
for up to 20 years.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company files a U.S. federal income
tax return and various state income tax returns. 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, 2013 and prior. A reconciliation of the beginning and ending
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: 80%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="6" style="text-align: center">Three Months Ended<br /> April 30,</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2018</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 56%; text-align: left">Unrecognized tax benefits, beginning of period</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">2,325</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">2,096</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Changes for prior years&#x2019; tax positions</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">809</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">147</td><td style="text-align: left">&#xa0;</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">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Unrecognized tax benefits, end of period</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">3,134</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">2,243</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</td></tr>
</table><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company expects to claim research and experimentation credits
in the current year and certain prior years. In connection with this, the Company has increased the amount of unrecognized tax
benefits.</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_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://fasb.org/us-gaap/role/ref/legacyRef<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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6637975408">
<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, 2018</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: 0pt 0"><b>Note 15. <i>Commitments and Contingencies</i></b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 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: 0pt 0; text-indent: 0.5in">One Earth and NuGen have combined forward
purchase contracts for approximately 23.9 million bushels of corn, the principal raw material for their ethanol plants. They expect
to take delivery of the grain through October 2018.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">One Earth and NuGen have combined sales
commitments for approximately 43.8 million gallons of ethanol, approximately 113,000 tons of distillers grains and approximately
17.4 million pounds of non-food grade corn oil. They expect to deliver a majority of the ethanol,
distillers grains and non-food grade corn oil through October 2018.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">The refined coal entity has various agreements
(site license, operating agreements, etc.) containing payment terms based upon production of refined coal under which the Company
is required to pay various fees. These fees totaled approximately $1.8 million in the first three months of fiscal year 2018</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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6634562720">
<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, 2018</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 16. <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 years
2018 and 2017, One Earth and NuGen purchased approximately $46.1 million and approximately $42.3 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.3 million and $0.9 million at April 30, 2018 and January 31, 2018, respectively.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">During the first three months of fiscal
year 2018, the Company recognized commission expense of approximately $0.1 million, payable to the minority investor in the refined
coal entity. The Company did not recognize any commission expense during the first three months of fiscal year 2017. The commission
expense is associated with the refined coal acquisition. The Company had accrued liabilities and accounts payable related to the
commission expense of approximately $1.5 million at April 30, 2018 and January 31, 2018.</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://fasb.org/us-gaap/role/ref/legacyRef<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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6918018080">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Segment Reporting<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2018</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_SegmentReportingAbstract', window );"><strong>Segment Reporting [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_SegmentReportingDisclosureTextBlock', window );">Segment Reporting Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 17. Segment Reporting</b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In the third quarter of fiscal year 2017,
the Company began reporting the results of its refined coal operations as a new segment as a result of the refined coal acquisition
(see Note 4.) The Company has two segments: ethanol and by-products and refined coal. Historical amounts have been reclassified
to conform to the current year segment reporting presentation. The Company evaluates the performance of each reportable segment
based on net income attributable to REX common shareholders. The following table summarizes segment and other results and assets
(amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="6" style="text-align: center">Three Months Ended</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="6" style="text-align: center">April 30,</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">2018</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Net sales and revenue:</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 56%; text-align: left">Ethanol and by-products</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">120,680</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 8%">&#xa0;</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">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Refined coal <sup>1</sup></td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">140</td><td style="text-align: left; padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total net sales and revenue</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">120,820</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</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">&#xa0;</td></tr>
</table><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><sup>1 </sup>The Company records sales in
the refined coal segment net of the cost of coal as the Company purchases the coal feedstock from the customer to which refined
coal is sold.</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Segment gross profit (loss):</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 56%; text-align: left">Ethanol and by-products</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">13,546</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">12,489</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Refined coal</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">(2,695</td><td style="text-align: left; padding-bottom: 1px">)</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total gross profit</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">10,851</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">12,489</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
</table><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Income (loss) before income taxes:</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 56%; text-align: left">Ethanol and by-products</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">11,009</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">8,923</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Refined coal</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">(2,859</td><td style="text-align: left">)</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">(501</td><td style="text-align: left; padding-bottom: 1px">)</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">(921</td><td style="text-align: left; padding-bottom: 1px">)</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Total income (loss) before income taxes</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">7,649</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">8,002</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</td></tr>
</table><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#xa0;</td><td>&#xa0;</td>
    <td colspan="6" style="text-align: center">Three Months Ended <br /> April 30,</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">2018</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Benefit (provision) for income taxes:</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 56%; text-align: left">Ethanol and by-products</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">(1,420</td><td style="width: 1%; text-align: left">)</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">(2,705</td><td style="width: 1%; text-align: left">)</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Refined coal</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">3,999</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">124</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">315</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Total benefit (provision) for income taxes</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">2,703</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(2,390</td><td style="padding-bottom: 3px; text-align: left">)</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Segment profit (loss):</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Ethanol and by-products</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">8,589</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">5,142</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Refined coal</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">1,271</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">(364</td><td style="text-align: left; padding-bottom: 1px">)</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">(598</td><td style="text-align: left; padding-bottom: 1px">)</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Net income attributable to REX common shareholders</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">9,496</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</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">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
</table><br/><table width="80%" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px; width: 56%;">&#xa0;</td><td style="padding-bottom: 1px; width: 8%;">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left; width: 2%;">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right; width: 12%;">April 30, <br />
2018</td><td style="padding-bottom: 1px; text-align: left; width: 1%;">&#xa0;</td><td style="padding-bottom: 1px; width: 8%;">&#xa0;</td>
  <td style="border-bottom: Black 1px solid; text-align: left; width: 1%;">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right; width: 12%;">January 31, 2018</td><td style="padding-bottom: 1px; text-align: left; width: 1%;">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 56%;">Assets:</td><td style="width: 8%;">&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right; width: 12%;">&#xa0;</td><td style="text-align: left; width: 1%;">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left; width: 1%;">&#xa0;</td><td style="text-align: right; width: 12%;">&#xa0;</td><td style="text-align: left; width: 1%;">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; width: 56%;">Ethanol and by-products</td><td style="width: 8%;">&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right; width: 12%;">397,198</td><td style="text-align: left; width: 1%;">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left; width: 1%;">$</td><td style="text-align: right; width: 12%;">384,997</td><td style="text-align: left; width: 1%;">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; width: 56%;">Refined coal</td><td style="width: 8%;">&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right; width: 12%;">10,820</td><td style="text-align: left; width: 1%;">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left; width: 1%;">&#xa0;</td><td style="text-align: right; width: 12%;">12,165</td><td style="text-align: left; width: 1%;">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; width: 56%;">Corporate and other</td><td style="padding-bottom: 1px; width: 8%;">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid; width: 12%;">68,546</td><td style="text-align: left; padding-bottom: 1px; width: 1%;">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid; width: 1%;">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid; width: 12%;">81,702</td><td style="text-align: left; padding-bottom: 1px; width: 1%;">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px; width: 56%;">Total assets</td><td style="padding-bottom: 3px; width: 8%;">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right; width: 12%;">476,564</td><td style="padding-bottom: 3px; text-align: left; width: 1%;">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left; width: 1%;">$</td><td style="border-bottom: Black 3px double; text-align: right; width: 12%;">478,864</td><td style="padding-bottom: 3px; text-align: left; width: 1%;">&#xa0;</td></tr>
</table><br/><table width="80%" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom; ">
    <td style="text-align: center; width: 56%;">&#xa0;</td><td style="width: 8%;">&#xa0;</td>
    <td style="text-align: left; width: 1%;">&#xa0;</td><td colspan="5" style="text-align: center">&#xa0;&#xa0;Three Months Ended<br /> April 30,</td><td style="text-align: left; width: 1%;">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px; width: 56%; ">&#xa0;</td><td style="padding-bottom: 1px; width: 8%; ">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left; width: 1%; ">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right; width: 12%;  width: 12%;">2018</td><td style="padding-bottom: 1px; text-align: left; width: 1%;  width: 1%;">&#xa0;</td><td style="padding-bottom: 1px; width: 8%;  width: 8%;">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left; width: 1%;  width: 1%;">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right; width: 12%;  width: 12%;">2017</td><td style="padding-bottom: 1px; text-align: left; width: 1%; ">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Sales of products, ethanol and by-products segment:</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td>Ethanol</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">91,893</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">91,472</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Dried distillers grains</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">20,083</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">15,149</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Non-food grade corn oil</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">4,980</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">4,593</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Modified distillers grains</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">3,717</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">1,920</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px">Other</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">7</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">9</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</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">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">120,680</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">113,143</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Sales of products, refined coal segment:</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Refined coal</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">140</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">&#x2014;</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</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_SegmentReportingAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_SegmentReportingAbstract</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_SegmentReportingDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 reporting segments including data and tables. Reportable segments include those that meet any of the following quantitative thresholds a) it's reported revenue, including sales to external customers and intersegment sales or transfers is 10 percent or more of the combined revenue, internal and external, of all operating segments b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -URI http://asc.fasb.org/topic&amp;trid=2134510<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_SegmentReportingDisclosureTextBlock</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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6747379792">
<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, 2018</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_ConsolidationPolicyTextBlock', window );">Consolidation, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">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 2017 Annual Report on Form 10-K and the adoption of new accounting standards described at the end of this footnote. 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><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_RevenueRecognitionPolicyTextBlock', window );">Revenue Recognition, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0">Revenue Recognition</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">For ethanol and by-products segment sales,
the Company recognizes sales of ethanol, distillers grains and non-food grade corn oil when obligations under the terms of the
respective contracts with customers are satisfied. This occurs with the transfer of control of products, generally upon shipment
from the ethanol plant or upon loading of the rail car used to transport the products. For refined coal segment sales, the Company
recognizes sales of refined coal when obligations under the term of the contract with its customer are satisfied. This occurs when
title and control of the product transfers to its customer, generally upon the coal leaving the refined coal plant. Refined coal
sales are recorded net of the cost of coal as the Company purchases the coal feedstock from the customer to which refined coal
is sold (after processing).</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_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: 0pt 0">Cost of Sales</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">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="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_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: 0pt 0; text-indent: 0in">Selling, General and Administrative Expenses</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in"><font style="font-family: Times New Roman, Times, Serif">The
Company includes non-production related costs such as professional fees, selling charges and certain payroll in selling, general
and administrative expenses.</font></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_FairValueOfFinancialInstrumentsPolicy', window );">Fair Value of Financial Instruments, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0">Financial Instruments</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">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;
(&#x201c;ASC 815&#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.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">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="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_IncomeTaxPolicyTextBlock', window );">Income Tax, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0">Income Taxes</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">The Company applies an effective tax rate
to interim periods that is consistent with the Company&#x2019;s estimated annual effective tax rate as adjusted for discrete items
impacting the interim periods. The Company&#x2019;s estimated annual effective tax rate includes the impact of its refined coal
operation and the expected federal income tax credits to be earned, beginning August 10, 2017, the date of the refined coal acquisition
(see Note 4). Based on current projections, the Company has estimated that its annual effective tax rate for fiscal year 2018 will
be a tax benefit of approximately 25-30%. 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 nor received refunds of income taxes during the three months ended April 30, 2018 and 2017.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">As of April 30, 2018 and January 31, 2018,
total unrecognized tax benefits were approximately $2.8 million and $2.0 million, respectively. Accrued penalties and interest
were approximately $0.4 million and $0.4 million at April 30, 2018 and January 31, 2018, respectively. If the Company were to prevail
on all unrecognized tax benefits recorded, the provision for income taxes would be reduced by approximately $2.8 million. 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="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_InventoryPolicyTextBlock', window );">Inventory, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Inventories</b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in">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 by-products and refined coal. 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, 2018 and January 31, 2018. 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">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">April 30, <br />
    2018</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br />
    2018</td><td style="padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 56%; text-align: left">Ethanol and other finished goods</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">8,985</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">8,402</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Work in process</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">2,917</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">2,824</td><td style="text-align: left">&#xa0;</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">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">14,186</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">9,529</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">26,088</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">20,755</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td></tr>
</table><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_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: 0pt 0"><b>Property and Equipment </b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt"><b></b>Property and
equipment is recorded at cost or the fair value on the date of acquisition (for property and equipment acquired in a business combination).
Depreciation is computed using the straight-line method. Estimated useful lives are 5 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: 0pt 0; text-align: left; 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 2018 or 2017. 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: 0pt 0; text-align: left; 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="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_InvestmentPolicyTextBlock', window );">Investment, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Investments </b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 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 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: 0pt 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: 0pt 0; text-indent: 36pt">Short-term investments are considered held
to maturity, and, therefore are carried at amortized historical cost.</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_ComprehensiveIncomePolicyPolicyTextBlock', window );">Comprehensive Income, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Comprehensive Income</b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; 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="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_NewAccountingPronouncementsPolicyPolicyTextBlock', window );">New Accounting Pronouncements, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Accounting Changes and Recently Issued Accounting Standards
</b></p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">Effective February
1, 2018, the Company adopted 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. See Note 3 for a further discussion of adopting this amended guidance.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">Effective February
1, 2018, the Company prospectively adopted Accounting Standards Update &#x201c;ASU&#x201d; 2016-15 &#x201c;<i>Statement of Cash Flows
(Topic 230), Classification of Certain Cash Receipts and Cash Payments</i>&#x201d;. This standard provides guidance on eight specific
cash flow issues. The cash flow issues covered by this ASU are: 1) debt prepayment or debt extinguishment costs; 2) settlement
of zero-coupon debt instruments or other debt instruments with coupon interest rates that are insignificant in relation to the
effective interest rate of the borrowing; 3) contingent consideration payments made after a business combination; 4) proceeds from
the settlement of insurance claims; 5) proceeds from the settlement of corporate-owned life insurance policies, including bank-owned
life insurance policies; 6) distributions received from equity method investees; 7) beneficial interests in securitization transactions;
and 8) separately identifiable cash flows and application of the predominance principle for distributions received from equity
method investees in the Statement of Cash Flows. The adoption of this standard did not affect the consolidated condensed financial
statements and related disclosures.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">Effective February
1, 2018, the Company adopted ASU 2016-18 &#x201c;<i>Statement of Cash Flows (Topic 230), Restricted Cash&#x201d;. </i>
This standard requires that the statements of cash flows explain the changes in the combined total of restricted and
unrestricted cash balances. Amounts generally described as restricted cash will be combined with unrestricted cash and cash
equivalents when reconciling the beginning and end of period balances on the statements of cash flows. The Company adopted
this standard retrospectively. Therefore, the beginning and end of period balances of cash and cash equivalents as of January
31 and April 30, 2017 were increased by $130,000 to reflect the respective restricted cash amounts.</p><br/><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">In February 2016, the
FASB issued ASU 2016-02 &#x201c;Leases&#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 the effect 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-of-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 5).</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_ConsolidationPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting.  The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.3A-02)<br> -URI http://asc.fasb.org/extlink&amp;oid=27015204&amp;loc=d3e355033-122828<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section S99<br> -Paragraph 3<br> -Subparagraph (SX 210.3A-03)<br> -URI http://asc.fasb.org/extlink&amp;oid=27015204&amp;loc=d3e355100-122828<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=109239629&amp;loc=d3e5614-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_ConsolidationPolicyTextBlock</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://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<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=115205541&amp;loc=SL114868664-224227<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef<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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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=109250915&amp;loc=d3e13279-108611<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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_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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 20<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32847-109319<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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 5: http://fasb.org/us-gaap/role/ref/legacyRef<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 6: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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://fasb.org/us-gaap/role/ref/legacyRef<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 2: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 270<br> -SubTopic 10<br> -Section 45<br> -Paragraph 6<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=109236672&amp;loc=d3e543-108305<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<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 6: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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://fasb.org/us-gaap/role/ref/legacyRef<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 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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 4: http://fasb.org/us-gaap/role/ref/legacyRef<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 5: http://fasb.org/us-gaap/role/ref/legacyRef<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=114001798&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_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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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_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://fasb.org/us-gaap/role/ref/otherTransitionRef<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://fasb.org/us-gaap/role/ref/otherTransitionRef<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><br>Reference 3: http://fasb.org/us-gaap/role/ref/otherTransitionRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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_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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6917974672">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2018</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">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">April 30, <br />
    2018</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br />
    2018</td><td style="padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 56%; text-align: left">Ethanol and other finished goods</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">8,985</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">8,402</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Work in process</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">2,917</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">2,824</td><td style="text-align: left">&#xa0;</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">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">14,186</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">9,529</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">26,088</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">20,755</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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 4: http://fasb.org/us-gaap/role/ref/legacyRef<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_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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6750311184">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>BUSINESS COMBINATIONS (Tables)<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2018</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_BusinessCombinationsAbstract', window );"><strong>Business Combinations [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_FiniteLivedAndIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTableTextBlock', window );">Finite-Lived and Indefinite-Lived Intangible Assets Acquired as Part of Business Combination [Table Text Block]</a></td>
<td class="text">The following table summarizes the estimated fair values of the assets acquired at the acquisition date (amounts in thousands):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 75%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 86%; text-indent: -10pt; padding-left: 10pt">Inventory</td><td style="width: 2%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">49</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Property, plant and equipment</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">12,000</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total assets acquired and purchase price</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">12,049</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</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_BusinessCombinationsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_BusinessCombinationsAbstract</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_FiniteLivedAndIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 finite-lived and indefinite-lived intangible assets acquired as part of a business combination.</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_FiniteLivedAndIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTableTextBlock</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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6750457488">
<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, 2018</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, 2018, 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: 50%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="text-align: left; padding-bottom: 1px; border-bottom: Black 1px solid">Years Ended January 31,</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: right; padding-bottom: 1px; border-bottom: Black 1px solid">Minimum<br />Rentals</td><td style="padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 83%; text-indent: -10pt; padding-left: 10pt; text-align: left">Remainder of 2019</td><td style="width: 10%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 5%; text-align: right">5,712</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">2020</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">6,151</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">2021</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">4,261</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">2022</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">3,629</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">2023</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">2,064</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt; text-align: left">Thereafter</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">4,569</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt; text-align: left">Total</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">26,386</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</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://fasb.org/us-gaap/role/ref/legacyRef<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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6634675264">
<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, 2018</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, 2018 are summarized below (amounts in thousands):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px; text-align: left">&#xa0;</td>
    <td colspan="2" style="color: black; border-bottom: Black 1px solid; text-align: left">Level 1</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px; text-align: left">&#xa0;</td>
    <td colspan="2" style="color: black; border-bottom: Black 1px solid; text-align: left">Level 2</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px; text-align: left">&#xa0;</td>
    <td colspan="2" style="color: black; border-bottom: Black 1px solid; text-align: left">Level 3</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px; text-align: left">&#xa0;</td>
    <td colspan="2" style="color: black; border-bottom: Black 1px solid; text-align: left">Fair Value</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td>
    <td colspan="2" style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td>
    <td colspan="2" style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td>
    <td colspan="2" style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td>
    <td colspan="2" style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 40%; color: black; text-align: left; text-indent: -10pt; padding-left: 10pt">Forward purchase contract asset (1)</td><td style="width: 3%; color: black">&#xa0;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">&#x2014;</td><td style="width: 1%; color: black; text-align: left">&#xa0;</td><td style="width: 3%; color: black">&#xa0;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">378</td><td style="width: 1%; color: black; text-align: left">&#xa0;</td><td style="width: 3%; color: black">&#xa0;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">&#x2014;</td><td style="width: 1%; color: black; text-align: left">&#xa0;</td><td style="width: 3%; color: black">&#xa0;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">378</td><td style="width: 1%; color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Investment in cooperative (2)</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">333</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">333</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total assets</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">378</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">333</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">711</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="color: Black; text-indent: -10pt; padding-left: 10pt">&#xa0;</td><td style="color: Black">&#xa0;</td>
    <td style="color: Black; text-align: left">&#xa0;</td><td style="color: Black; text-align: right">&#xa0;</td><td style="color: Black; text-align: left">&#xa0;</td><td style="color: Black">&#xa0;</td>
    <td style="color: Black; text-align: left">&#xa0;</td><td style="color: Black; text-align: right">&#xa0;</td><td style="color: Black; text-align: left">&#xa0;</td><td style="color: Black">&#xa0;</td>
    <td style="color: Black; text-align: left">&#xa0;</td><td style="color: Black; text-align: right">&#xa0;</td><td style="color: Black; text-align: left">&#xa0;</td><td style="color: Black">&#xa0;</td>
    <td style="color: Black; text-align: left">&#xa0;</td><td style="color: Black; text-align: right">&#xa0;</td><td style="color: Black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; text-indent: -10pt; padding-left: 10pt">Commodity futures (3)</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">&#x2014;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">592</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">&#x2014;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">592</td><td style="color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Forward purchase contract liability (4)</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">436</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">436</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total liabilities</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">1,028</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">1,028</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td></tr>
</table><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="color: black; border-bottom: Black 1px solid">Level 1</td><td style="padding-bottom: 1px; color: black">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="color: black; border-bottom: Black 1px solid">Level 2</td><td style="padding-bottom: 1px; color: black">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="color: black; border-bottom: Black 1px solid">Level 3</td><td style="padding-bottom: 1px; color: black">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="color: black; text-align: left; border-bottom: Black 1px solid">Fair Value</td><td style="padding-bottom: 1px; color: black">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td style="color: black">&#xa0;</td>
    <td colspan="2" style="color: black">&#xa0;</td><td style="color: black">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td colspan="2" style="color: black">&#xa0;</td><td style="color: black">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td colspan="2" style="color: black">&#xa0;</td><td style="color: black">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td colspan="2" style="color: black; text-align: center">&#xa0;</td><td style="color: black">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 40%; color: black; text-align: left; text-indent: -10pt; padding-left: 10pt">Forward purchase contracts asset (1)</td><td style="width: 3%; color: black">&#xa0;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">&#x2014;</td><td style="width: 1%; color: black; text-align: left">&#xa0;</td><td style="width: 3%; color: black">&#xa0;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">72</td><td style="width: 1%; color: black; text-align: left">&#xa0;</td><td style="width: 3%; color: black">&#xa0;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">&#x2014;</td><td style="width: 1%; color: black; text-align: left">&#xa0;</td><td style="width: 3%; color: black">&#xa0;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">72</td><td style="width: 1%; color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Investment in cooperative (2)</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">333</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">333</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total assets</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">72</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">333</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">405</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-indent: -10pt; padding-left: 10pt">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: right">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: right">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: right">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">&#xa0;</td><td style="color: black; text-align: right">&#xa0;</td><td style="color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; text-indent: -10pt; padding-left: 10pt">Commodity futures (3)</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">&#x2014;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">87</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">&#x2014;</td><td style="color: black; text-align: left">&#xa0;</td><td style="color: black">&#xa0;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">87</td><td style="color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="color: black; text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Forward purchase contract liability (4)</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">34</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">34</td><td style="padding-bottom: 1px; color: black; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total liabilities</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">121</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">&#x2014;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td><td style="color: black; padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">121</td><td style="padding-bottom: 3px; color: black; text-align: left">&#xa0;</td></tr>
</table><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(1) The forward purchase contract asset is
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: 0pt 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: 0pt 0; text-indent: 36pt">(3) Commodity futures are 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: 0pt 0; text-indent: 36pt">(4) The forward purchase contract liability
is included in &#x201c;Accrued expenses and other current liabilities&#x201d; 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://fasb.org/us-gaap/role/ref/legacyRef<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=99377789&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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6919452384">
<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, 2018</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 thousands):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 75%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><font style="font: 10pt Times New Roman, Times, Serif">April 30, </font><br /><font style="font: 10pt Times New Roman, Times, Serif"><font style="text-decoration:underline">
    </font>2018</font></td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"><font style="font: 10pt Times New Roman, Times, Serif">January 31,</font><br /> <font style="font: 10pt Times New Roman, Times, Serif">2018</font></td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left; text-indent: -10pt; padding-left: 10pt">Land and improvements</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">21,095</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">21,074</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">Buildings and improvements</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">23,277</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">23,272</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">Machinery, equipment and fixtures</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">289,633</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">288,832</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Construction in progress</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">4,378</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">3,155</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-indent: -10pt; padding-left: 10pt">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">338,383</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">336,333</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Less: accumulated depreciation</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">(144,414</td><td style="padding-bottom: 1px; text-align: left">)</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">(138,506</td><td style="padding-bottom: 1px; text-align: left">)</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">193,969</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">197,827</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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_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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6694167712">
<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, 2018</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: 75%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><font style="font: 10pt Times New Roman, Times, Serif">April
    30,</font><br /><font style="font: 10pt Times New Roman, Times, Serif"> 2018</font></td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"><font style="font: 10pt Times New Roman, Times, Serif">January
    31,</font><br /> <font style="font: 10pt Times New Roman, Times, Serif">2018</font></td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left; text-indent: -10pt; padding-left: 10pt">Real estate taxes refundable</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">6,721</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">6,719</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-indent: -10pt; padding-left: 10pt">Deposits</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">5</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Other</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">723</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">730</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">7,444</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">7,454</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6747327152">
<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, 2018</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: 75%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><font style="font: 10pt Times New Roman, Times, Serif">April 30, </font><br /><font style="font: 10pt Times New Roman, Times, Serif"><font style="text-decoration:underline">
    </font>2018</font></td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"><font style="font: 10pt Times New Roman, Times, Serif">January 31,</font><br /> <font style="font: 10pt Times New Roman, Times, Serif">2018</font></td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left; text-indent: -10pt; padding-left: 10pt">Accrued payroll and related items</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">1,822</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">5,108</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">Accrued utility charges</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">2,202</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">2,639</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">Accrued real estate taxes</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">2,846</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">2,678</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 10pt">Accrued income taxes</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">68</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">61</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Other</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">4,018</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">3,230</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">10,956</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">13,716</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6641435392">
<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">12 Months Ended</th>
</tr>
<tr><th class="th"><div>Jan. 31, 2018</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_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract', window );"><strong>Derivative Instruments and Hedging Activities 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_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 (that are not accounted for under the &#x201c;normal purchases and normal sales&#x201d; scope exemption of ASC 815) 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: 100%; font: 10pt Times New Roman, Times, Serif;">
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#xa0;</td><td>&#xa0;</td>
    <td colspan="6" style="text-align: center">Asset Derivatives<br /> Fair Value</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="6" style="text-align: center">Liability Derivatives <br /> Fair Value</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify">&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><font style="font: 10pt Times New Roman, Times, Serif">April
    30,</font><br /><font style="font: 10pt Times New Roman, Times, Serif"> <font style="text-decoration:underline"> </font>2018</font></td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><font style="font: 10pt Times New Roman, Times, Serif">January
    31,</font><br /><font style="font: 10pt Times New Roman, Times, Serif"> <font style="text-decoration:underline"> </font>2018</font></td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><font style="font: 10pt Times New Roman, Times, Serif">April
    30,</font><br /><font style="font: 10pt Times New Roman, Times, Serif"> <font style="text-decoration:underline"> </font>2018</font></td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid"><font style="font: 10pt Times New Roman, Times, Serif">January
    31,</font><br /><font style="font: 10pt Times New Roman, Times, Serif"> <font style="text-decoration:underline"> </font>2018</font></td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify">&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 52%; text-align: justify; text-indent: -10pt; padding-left: 10pt">Commodity futures (1)</td><td style="width: 2%">&#xa0;</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">&#xa0;</td><td style="width: 2%">&#xa0;</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">&#xa0;</td><td style="width: 2%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">592</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 2%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">87</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: justify; padding-bottom: 1px; text-indent: -10pt; padding-left: 10pt">Forward purchase contracts (2)</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">378</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">72</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">436</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">34</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: justify; padding-bottom: 3px; text-indent: -10pt; padding-left: 10pt">Total</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">378</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">72</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">1,028</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">121</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td></tr>
</table><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; text-align: justify">(1) Commodity futures are included
in accrued expenses and other current liabilities. These contracts are short/sell positions for approximately 6.2 million and 2.5
million bushels of corn at April 30, 2018 and January 31, 2018, respectively.</p><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; 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 22.6 million and 11.7 million bushels
of corn at April 30, 2018 and January 31, 2018, 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_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract</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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6747350864">
<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, 2018</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 Company&#x2019;s equity method investment at April 30, 2018 and January 31, 2018 (dollars in thousands):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 95%; 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">&#xa0;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">Ownership Percentage</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">Carrying Amount<br /> April 30, 2018</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">Carrying Amount<br /> January 31, 2018</td><td style="padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="width: 31%; text-align: left">Big River</td><td style="width: 12%">&#xa0;</td>
    <td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 15%; text-align: right">10.3</td><td style="width: 1%; text-align: left">%</td><td style="width: 4%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">35,246</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 4%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">34,549</td><td style="width: 5%; text-align: left">&#xa0;</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: 50%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="6" style="text-align: center">Three Months Ended<br /> April 30,</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2018</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: center">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 60%; text-align: left">Net sales and revenue</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 15%; text-align: right">191,943</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 15%; text-align: right">192,500</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Gross profit</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">13,691</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">8,181</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Income from continuing operations</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">6,765</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">7,206</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Net income</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">6,765</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">7,206</td><td style="text-align: left">&#xa0;</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://fasb.org/us-gaap/role/ref/legacyRef<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=114001798&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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6760394256">
<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, 2018</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 tables summarize non-vested restricted stock award activity for the three months ended April 30, 2018 and 2017:<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 90%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif">&#xa0;</td>
    <td colspan="10" style="font: 10pt Times New Roman, Times, Serif; text-align: center">Three Months Ended April 30, 2018</td><td style="font: 10pt Times New Roman, Times, Serif">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif">&#xa0;</td>
    <td colspan="10" style="font: 10pt Times New Roman, Times, Serif; text-align: center">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="font: 10pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid">Non-Vested<br /> Shares</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="font: 10pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid">Weighted<br /> Average&#xa0;&#xa0;Grant<br /> Date Fair Value<br /> (000&#x2019;s)</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="font: 10pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid">Weighted<br /> Average Remaining<br /> VestingTerm<br /> (in years)</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 49%; font: 10pt Times New Roman, Times, Serif">Non-Vested at January 31, 2018</td><td style="width: 3%; font: 10pt Times New Roman, Times, Serif">&#xa0;</td>
    <td style="width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="width: 12%; font: 10pt Times New Roman, Times, Serif; text-align: right">29,415</td><td style="width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="width: 3%; font: 10pt Times New Roman, Times, Serif">&#xa0;</td>
    <td style="width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 12%; font: 10pt Times New Roman, Times, Serif; text-align: right">2,275</td><td style="width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="width: 3%; font: 10pt Times New Roman, Times, Serif">&#xa0;</td>
    <td style="width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="width: 12%; font: 10pt Times New Roman, Times, Serif; text-align: right">2</td><td style="width: 1%; font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font: 10pt Times New Roman, Times, Serif">Granted</td><td style="font: 10pt Times New Roman, Times, Serif">&#xa0;</td>
    <td style="font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: right">&#x2014;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif">&#xa0;</td>
    <td style="font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: right">&#x2014;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font: 10pt Times New Roman, Times, Serif">Forfeited</td><td style="font: 10pt Times New Roman, Times, Serif">&#xa0;</td>
    <td style="font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: right">&#x2014;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif">&#xa0;</td>
    <td style="font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: right">&#x2014;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">Vested</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&#xa0;</td>
    <td style="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid">672</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 1px">&#xa0;</td>
    <td style="font: 10pt Times New Roman, Times, Serif; text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 1px solid">50</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; padding-bottom: 1px">&#xa0;</td><td style="text-align: right; padding-bottom: 1px">&#xa0;</td><td style="text-align: left; padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 3px">Non-Vested at April 30, 2018</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 3px">&#xa0;</td>
    <td style="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double">28,743</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 3px">&#xa0;</td>
    <td style="font: 10pt Times New Roman, Times, Serif; text-align: left; border-bottom: Black 3px double">$</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: right; border-bottom: Black 3px double">2,225</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; padding-bottom: 3px">&#xa0;</td>
    <td style="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&#xa0;</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: right; padding-bottom: 3px">2</td><td style="font: 10pt Times New Roman, Times, Serif; text-align: left; padding-bottom: 3px">&#xa0;</td></tr>
</table><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 90%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="10" style="text-align: center">Three Months Ended April 30, 2017</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="10" style="text-align: center">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Non-Vested<br /> Shares</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Weighted<br /> Average Grant<br /> Date Fair Value<br /> (000&#x2019;s)</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Weighted<br /> Average&#xa0;&#xa0;Remaining<br /> VestingTerm<br /> (in years)</td><td style="padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 49%">Non-Vested at January 31, 2017</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 12%; text-align: right">23,350</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">1,386</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 3%">&#xa0;</td>
    <td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 12%; text-align: right">2</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td>Granted</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>Forfeited</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px">Vested</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; padding-bottom: 1px">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; padding-bottom: 1px">&#xa0;</td><td style="text-align: right; padding-bottom: 1px">&#xa0;</td><td style="text-align: left; padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px">Non-Vested at April 30, 2017</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; padding-bottom: 3px">&#xa0;</td><td style="text-align: right; border-bottom: Black 3px double">23,350</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 3px double">&#xa0;</td><td style="text-align: right; border-bottom: Black 3px double">1,386</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; padding-bottom: 3px">&#xa0;</td><td style="text-align: right; padding-bottom: 3px">2</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</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://fasb.org/us-gaap/role/ref/legacyRef<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=109197908&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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6651068256">
<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, 2018</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: 80%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="6" style="text-align: center">Three Months Ended<br /> April 30,</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2018</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 56%; text-align: left">Unrecognized tax benefits, beginning of period</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">2,325</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">2,096</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Changes for prior years&#x2019; tax positions</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">809</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">147</td><td style="text-align: left">&#xa0;</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">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Unrecognized tax benefits, end of period</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">3,134</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">2,243</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</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://fasb.org/us-gaap/role/ref/legacyRef<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=109238393&amp;loc=d3e36027-109320<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6632335024">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Segment Reporting (Tables)<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th"><div>Apr. 30, 2018</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_SegmentReportingTablesLineItems', window );"><strong>Segment Reporting (Tables) [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_ScheduleOfSegmentReportingInformationBySegmentTextBlock', window );">Schedule of Segment Reporting Information, by Segment [Table Text Block]</a></td>
<td class="text">The following table summarizes segment and other results and assets (amounts in thousands):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="6" style="text-align: center">Three Months Ended</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="6" style="text-align: center">April 30,</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">2018</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Net sales and revenue:</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 56%; text-align: left">Ethanol and by-products</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">120,680</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 8%">&#xa0;</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">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Refined coal <sup>1</sup></td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">140</td><td style="text-align: left; padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total net sales and revenue</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">120,820</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</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">&#xa0;</td></tr>
</table><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Segment gross profit (loss):</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 56%; text-align: left">Ethanol and by-products</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">13,546</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">12,489</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Refined coal</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">(2,695</td><td style="text-align: left; padding-bottom: 1px">)</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">&#x2014;</td><td style="text-align: left; padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total gross profit</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">10,851</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">12,489</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
</table><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Income (loss) before income taxes:</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 56%; text-align: left">Ethanol and by-products</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">11,009</td><td style="width: 1%; text-align: left">&#xa0;</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">8,923</td><td style="width: 1%; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Refined coal</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">(2,859</td><td style="text-align: left">)</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">(501</td><td style="text-align: left; padding-bottom: 1px">)</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">(921</td><td style="text-align: left; padding-bottom: 1px">)</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Total income (loss) before income taxes</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">7,649</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">8,002</td><td style="text-align: left; padding-bottom: 3px">&#xa0;</td></tr>
</table><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#xa0;</td><td>&#xa0;</td>
    <td colspan="6" style="text-align: center">Three Months Ended <br /> April 30,</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">2018</td><td style="padding-bottom: 1px">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Benefit (provision) for income taxes:</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td><td>&#xa0;</td>
    <td colspan="2" style="text-align: right">&#xa0;</td><td>&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 56%; text-align: left">Ethanol and by-products</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">(1,420</td><td style="width: 1%; text-align: left">)</td><td style="width: 8%">&#xa0;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">(2,705</td><td style="width: 1%; text-align: left">)</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Refined coal</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">3,999</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">124</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">315</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Total benefit (provision) for income taxes</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">2,703</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(2,390</td><td style="padding-bottom: 3px; text-align: left">)</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Segment profit (loss):</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Ethanol and by-products</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">8,589</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">5,142</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Refined coal</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">1,271</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#x2014;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">(364</td><td style="text-align: left; padding-bottom: 1px">)</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid">(598</td><td style="text-align: left; padding-bottom: 1px">)</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Net income attributable to REX common shareholders</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">9,496</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</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">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
</table><table width="80%" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom; ">
    <td style="text-align: center; width: 56%;">&#xa0;</td><td style="width: 8%;">&#xa0;</td>
    <td style="text-align: left; width: 1%;">&#xa0;</td><td colspan="5" style="text-align: center">&#xa0;&#xa0;Three Months Ended<br /> April 30,</td><td style="text-align: left; width: 1%;">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px; width: 56%; ">&#xa0;</td><td style="padding-bottom: 1px; width: 8%; ">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left; width: 1%; ">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right; width: 12%;  width: 12%;">2018</td><td style="padding-bottom: 1px; text-align: left; width: 1%;  width: 1%;">&#xa0;</td><td style="padding-bottom: 1px; width: 8%;  width: 8%;">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left; width: 1%;  width: 1%;">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right; width: 12%;  width: 12%;">2017</td><td style="padding-bottom: 1px; text-align: left; width: 1%; ">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Sales of products, ethanol and by-products segment:</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td>Ethanol</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">91,893</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right">91,472</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Dried distillers grains</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">20,083</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">15,149</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Non-food grade corn oil</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">4,980</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">4,593</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Modified distillers grains</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">3,717</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">1,920</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px">Other</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">7</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right">9</td><td style="padding-bottom: 1px; text-align: left">&#xa0;</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">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">120,680</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">113,143</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Sales of products, refined coal segment:</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right">&#xa0;</td><td style="text-align: left">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Refined coal</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">140</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">&#x2014;</td><td style="padding-bottom: 3px; text-align: left">&#xa0;</td></tr>
</table><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><sup>1 </sup>The Company records sales in
the refined coal segment net of the cost of coal as the Company purchases the coal feedstock from the customer to which refined
coal is sold.</p><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_StatementBusinessSegmentsAxis=us-gaap_AssetsMember', window );">Assets [Member]</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_rex_SegmentReportingTablesLineItems', window );"><strong>Segment Reporting (Tables) [Line Items]</strong></a></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_ScheduleOfSegmentReportingInformationBySegmentTextBlock', window );">Schedule of Segment Reporting Information, by Segment [Table Text Block]</a></td>
<td class="text"><table width="80%" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px; width: 56%;">&#xa0;</td><td style="padding-bottom: 1px; width: 8%;">&#xa0;</td>
    <td style="border-bottom: Black 1px solid; text-align: left; width: 2%;">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right; width: 12%;">April 30, <br />
2018</td><td style="padding-bottom: 1px; text-align: left; width: 1%;">&#xa0;</td><td style="padding-bottom: 1px; width: 8%;">&#xa0;</td>
  <td style="border-bottom: Black 1px solid; text-align: left; width: 1%;">&#xa0;</td><td style="border-bottom: Black 1px solid; text-align: right; width: 12%;">January 31, 2018</td><td style="padding-bottom: 1px; text-align: left; width: 1%;">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 56%;">Assets:</td><td style="width: 8%;">&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right; width: 12%;">&#xa0;</td><td style="text-align: left; width: 1%;">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left; width: 1%;">&#xa0;</td><td style="text-align: right; width: 12%;">&#xa0;</td><td style="text-align: left; width: 1%;">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; width: 56%;">Ethanol and by-products</td><td style="width: 8%;">&#xa0;</td>
    <td style="text-align: left">$</td><td style="text-align: right; width: 12%;">397,198</td><td style="text-align: left; width: 1%;">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left; width: 1%;">$</td><td style="text-align: right; width: 12%;">384,997</td><td style="text-align: left; width: 1%;">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; width: 56%;">Refined coal</td><td style="width: 8%;">&#xa0;</td>
    <td style="text-align: left">&#xa0;</td><td style="text-align: right; width: 12%;">10,820</td><td style="text-align: left; width: 1%;">&#xa0;</td><td>&#xa0;</td>
    <td style="text-align: left; width: 1%;">&#xa0;</td><td style="text-align: right; width: 12%;">12,165</td><td style="text-align: left; width: 1%;">&#xa0;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; width: 56%;">Corporate and other</td><td style="padding-bottom: 1px; width: 8%;">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid; width: 12%;">68,546</td><td style="text-align: left; padding-bottom: 1px; width: 1%;">&#xa0;</td><td style="padding-bottom: 1px">&#xa0;</td>
    <td style="text-align: left; border-bottom: Black 1px solid; width: 1%;">&#xa0;</td><td style="text-align: right; border-bottom: Black 1px solid; width: 12%;">81,702</td><td style="text-align: left; padding-bottom: 1px; width: 1%;">&#xa0;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px; width: 56%;">Total assets</td><td style="padding-bottom: 3px; width: 8%;">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right; width: 12%;">476,564</td><td style="padding-bottom: 3px; text-align: left; width: 1%;">&#xa0;</td><td style="padding-bottom: 3px">&#xa0;</td>
    <td style="border-bottom: Black 3px double; text-align: left; width: 1%;">$</td><td style="border-bottom: Black 3px double; text-align: right; width: 12%;">478,864</td><td style="padding-bottom: 3px; text-align: left; width: 1%;">&#xa0;</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_SegmentReportingTablesLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_SegmentReportingTablesLineItems</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_ScheduleOfSegmentReportingInformationBySegmentTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 profit or loss and total assets for each reportable segment. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8736-108599<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 25<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8813-108599<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 350<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=108376223&amp;loc=d3e13816-109267<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 21<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8721-108599<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8906-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_ScheduleOfSegmentReportingInformationBySegmentTextBlock</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_StatementBusinessSegmentsAxis=us-gaap_AssetsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_StatementBusinessSegmentsAxis=us-gaap_AssetsMember</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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6760182976">
<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="2">3 Months Ended</th>
<th class="th" colspan="2">12 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Apr. 30, 2018</div></th>
<th class="th"><div>Oct. 31, 2017</div></th>
<th class="th"><div>Jan. 31, 2019</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_ConsolidatedCondensedFinancialStatementsDetailsLineItems', window );"><strong>Consolidated Condensed Financial Statements (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>
<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_NumberOfConsolidatedSubsidiaries', window );">Number of Consolidated Subsidiaries</a></td>
<td class="nump">4<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_NumberOfReportableSegments', window );">Number of Reportable Segments</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">2<span></span>
</td>
<td class="nump">2<span></span>
</td>
<td class="nump">1<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_StatementBusinessSegmentsAxis=rex_EthanolMember', window );">Ethanol [Member]</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>
</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_ConsolidatedCondensedFinancialStatementsDetailsLineItems', window );"><strong>Consolidated Condensed Financial Statements (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>
<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">3<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="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_StatementBusinessSegmentsAxis=rex_EthanolMember', window );">Ethanol [Member] | Majority-Owned Subsidiary, Unconsolidated [Member]</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>
</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_ConsolidatedCondensedFinancialStatementsDetailsLineItems', window );"><strong>Consolidated Condensed Financial Statements (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>
<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_NumberOfOperatingSegments', window );">Number of Operating Segments</a></td>
<td class="nump">2<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="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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember', window );">Refined Coal [Member] | Majority-Owned Subsidiary, Unconsolidated [Member]</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>
</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_ConsolidatedCondensedFinancialStatementsDetailsLineItems', window );"><strong>Consolidated Condensed Financial Statements (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>
<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>
<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_rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_ConsolidatedCondensedFinancialStatementsDetailsLineItems</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_NumberOfConsolidatedSubsidiaries">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_NumberOfConsolidatedSubsidiaries</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_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>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NumberOfReportableSegments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.</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_NumberOfReportableSegments</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>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementBusinessSegmentsAxis=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_StatementBusinessSegmentsAxis=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_srt_OwnershipAxis=us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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;">srt_OwnershipAxis=us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember</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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember</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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6761117072">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) - USD ($)<br></strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">12 Months Ended</th>
<th class="th" colspan="1"></th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th"><div>Apr. 30, 2018</div></th>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Jan. 31, 2019</div></th>
<th class="th"><div>Jan. 31, 2017</div></th>
<th class="th"><div>Feb. 01, 2018</div></th>
<th class="th"><div>Jan. 31, 2018</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_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems', window );"><strong>SUMMARY OF SIGNIFICANT 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>
<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>
<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_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>
<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,800,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 2,096,000<span></span>
</td>
<td class="nump">$ 2,000,000<span></span>
</td>
<td class="nump">$ 2,325,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_PropertyPlantAndEquipmentDepreciationMethods', window );">Property, Plant and Equipment, Depreciation Methods</a></td>
<td class="text">Depreciation is computed using the straight-line method.<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>
<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_CashAndCashEquivalentsPeriodIncreaseDecrease', window );">Cash and Cash Equivalents, Period Increase (Decrease)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 130,000<span></span>
</td>
<td class="text">&#160;<span></span>
</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="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=rex_ProvisionForIncomeTaxesMember', window );">Provision for Income Taxes [Member]</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="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_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems', window );"><strong>SUMMARY OF SIGNIFICANT 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>
<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_UnrecognizedTaxBenefits', window );">Unrecognized Tax Benefits</a></td>
<td class="nump">$ 2,800,000<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>
<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_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>
<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_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems', window );"><strong>SUMMARY OF SIGNIFICANT 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>
<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_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>
<td class="text">&#160;<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_srt_RangeAxis=srt_MinimumMember', window );">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>
<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_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems', window );"><strong>SUMMARY OF SIGNIFICANT 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>
<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_EffectiveIncomeTaxRateReconciliationTaxCredits', window );">Effective Income Tax Rate Reconciliation, Tax Credit, Percent</a></td>
<td class="num">(25.00%)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">25.00%<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="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_srt_RangeAxis=srt_MinimumMember', window );">Minimum [Member] | Building and Building Improvements [Member]</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="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_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems', window );"><strong>SUMMARY OF SIGNIFICANT 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>
<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">5<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>
<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_srt_RangeAxis=srt_MinimumMember', window );">Minimum [Member] | Fixtures And Equipment [Member]</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="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_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems', window );"><strong>SUMMARY OF SIGNIFICANT 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>
<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">2<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>
<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_srt_RangeAxis=srt_MaximumMember', window );">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>
<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_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems', window );"><strong>SUMMARY OF SIGNIFICANT 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>
<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_EffectiveIncomeTaxRateReconciliationTaxCredits', window );">Effective Income Tax Rate Reconciliation, Tax Credit, Percent</a></td>
<td class="num">(30.00%)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">30.00%<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="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_srt_RangeAxis=srt_MaximumMember', window );">Maximum [Member] | Building and Building Improvements [Member]</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="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_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems', window );"><strong>SUMMARY OF SIGNIFICANT 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>
<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>
<td class="text">&#160;<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_srt_RangeAxis=srt_MaximumMember', window );">Maximum [Member] | Fixtures And Equipment [Member]</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="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_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems', window );"><strong>SUMMARY OF SIGNIFICANT 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>
<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">20 years<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>
<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_ConcentrationRiskByTypeAxis=us-gaap_CustomerConcentrationRiskMember', window );">Customer Concentration Risk [Member]</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="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_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems', window );"><strong>SUMMARY OF SIGNIFICANT 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>
<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_IncomeTaxExaminationPenaltiesAndInterestAccrued', window );">Income Tax Examination, Penalties and Interest Accrued</a></td>
<td class="nump">$ 400,000<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>
<td class="nump">$ 400,000<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<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_rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems</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_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>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_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_EffectiveIncomeTaxRateReconciliationTaxCredits">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to tax credits. Including, but not limited to, research credit, foreign tax credit, investment tax credit, and other tax credits.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<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)<br> -URI http://asc.fasb.org/extlink&amp;oid=34349781&amp;loc=d3e330036-122817<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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_EffectiveIncomeTaxRateReconciliationTaxCredits</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_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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&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://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&amp;loc=d3e3536-108585<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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_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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 10B<br> -URI http://asc.fasb.org/extlink&amp;oid=84176650&amp;loc=SL37586934-109318<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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_IncomeStatementLocationAxis=rex_ProvisionForIncomeTaxesMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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=rex_ProvisionForIncomeTaxesMember</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_srt_RangeAxis=srt_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;">srt_RangeAxis=srt_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_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_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>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_srt_RangeAxis=srt_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;">srt_RangeAxis=srt_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_ConcentrationRiskByTypeAxis=us-gaap_CustomerConcentrationRiskMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_ConcentrationRiskByTypeAxis=us-gaap_CustomerConcentrationRiskMember</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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6748591664">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) - Schedule of Components of Inventory - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Apr. 30, 2018</div></th>
<th class="th"><div>Jan. 31, 2018</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">$ 8,985<span></span>
</td>
<td class="nump">$ 8,402<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,917<span></span>
</td>
<td class="nump">2,824<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,186<span></span>
</td>
<td class="nump">9,529<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">$ 26,088<span></span>
</td>
<td class="nump">$ 20,755<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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6761022256">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>BUSINESS COMBINATIONS (Details) - USD ($)<br></strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="1">12 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th"><div>Apr. 30, 2018</div></th>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Jan. 31, 2018</div></th>
<th class="th"><div>Aug. 10, 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_BUSINESSCOMBINATIONSDetailsLineItems', window );"><strong>BUSINESS COMBINATIONS (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>
<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_SellingGeneralAndAdministrativeExpense', window );">Selling, General and Administrative Expense</a></td>
<td class="nump">$ 4,553,000<span></span>
</td>
<td class="nump">$ 5,402,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_IncomeTaxExpenseBenefit', window );">Income Tax Expense (Benefit)</a></td>
<td class="num">(2,703,000)<span></span>
</td>
<td class="nump">2,390,000<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_NetIncomeLoss', window );">Net Income (Loss) Attributable to Parent</a></td>
<td class="nump">9,496,000<span></span>
</td>
<td class="nump">$ 4,544,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_BusinessAcquisitionProFormaEarningsPerShareBasic', window );">Business Acquisition, Pro Forma Earnings Per Share, Basic (in Dollars per share)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 0.29<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_BusinessAcquisitionProFormaEarningsPerShareDiluted', window );">Business Acquisition, Pro Forma Earnings Per Share, Diluted (in Dollars per share)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 0.29<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_BusinessAcquisitionsProFormaRevenue', window );">Business Acquisition, Pro Forma Revenue</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 600,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_BusinessAcquisitionsProFormaNetIncomeLoss', window );">Business Acquisition, Pro Forma Net Income (Loss)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">6,900,000<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_PaymentsToAcquireBusinessesGross', window );">Payments to Acquire Businesses, Gross</a></td>
<td class="nump">12,049,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">12,049,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_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts', window );">Business Acquisition, Transaction Costs</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 2,500,000<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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember', window );">Refined Coal [Member]</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>
</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_BUSINESSCOMBINATIONSDetailsLineItems', window );"><strong>BUSINESS COMBINATIONS (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>
<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_MinorityInterestOwnershipPercentageByParent', window );">Noncontrolling Interest, Ownership Percentage by Parent</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">95.35%<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_IncomeTaxExpenseBenefit', window );">Income Tax Expense (Benefit)</a></td>
<td class="num">$ (3,999,000)<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="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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember', window );">Refined Coal [Member] | Pro Forma [Member]</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>
</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_BUSINESSCOMBINATIONSDetailsLineItems', window );"><strong>BUSINESS COMBINATIONS (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>
<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_CostsAndExpenses', window );">Costs and Expenses</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 692,000<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_SellingGeneralAndAdministrativeExpense', window );">Selling, General and Administrative Expense</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">2,510,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_IncomeTaxExpenseBenefit', window );">Income Tax Expense (Benefit)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">1,217,000<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_NetIncomeLoss', window );">Net Income (Loss) Attributable to Parent</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 1,893,000<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_BUSINESSCOMBINATIONSDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_BUSINESSCOMBINATIONSDetailsLineItems</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_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 direct costs of the business combination including legal, accounting, and other costs incurred to consummate the business acquisition.</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_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts</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_BusinessAcquisitionProFormaEarningsPerShareBasic">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 pro forma basic net income per share for a period as if the business combination or combinations had been completed at the beginning of a 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/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (h)(3)<br> -URI http://asc.fasb.org/extlink&amp;oid=79982066&amp;loc=d3e1392-128463<br><br>Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (h)(2)<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_BusinessAcquisitionProFormaEarningsPerShareBasic</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_BusinessAcquisitionProFormaEarningsPerShareDiluted">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 pro forma diluted net income per share for a period as if the business combination or combinations had been completed at the beginning of a 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/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (h)(3)<br> -URI http://asc.fasb.org/extlink&amp;oid=79982066&amp;loc=d3e1392-128463<br><br>Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (h)(2)<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_BusinessAcquisitionProFormaEarningsPerShareDiluted</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_BusinessAcquisitionsProFormaNetIncomeLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 pro forma net Income or Loss for the period as if the business combination or combinations had been completed at the beginning of a 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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (h)(3)<br> -URI http://asc.fasb.org/extlink&amp;oid=79982066&amp;loc=d3e1392-128463<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (h)(2)<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_BusinessAcquisitionsProFormaNetIncomeLoss</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_BusinessAcquisitionsProFormaRevenue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of 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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (h)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=79982066&amp;loc=d3e1392-128463<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (h)(3)<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_BusinessAcquisitionsProFormaRevenue</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_CostsAndExpenses">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 costs of sales and operating expenses for the period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03)<br> -URI http://asc.fasb.org/extlink&amp;oid=115205541&amp;loc=SL114868664-224227<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_CostsAndExpenses</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_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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (h)<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8736-108599<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<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 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 20<br> -Section 45<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=109238882&amp;loc=d3e38679-109324<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_MinorityInterestOwnershipPercentageByParent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 parent entity's interest in net assets of the subsidiary, expressed as a percentage.</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_MinorityInterestOwnershipPercentageByParent</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_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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1A<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=114867106&amp;loc=SL7669619-108580<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(22))<br> -URI http://asc.fasb.org/extlink&amp;oid=114873765&amp;loc=SL114874048-224260<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=114867106&amp;loc=SL7669625-108580<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(18))<br> -URI http://asc.fasb.org/extlink&amp;oid=114873790&amp;loc=SL114874131-224263<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<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=115205541&amp;loc=SL114868664-224227<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&amp;loc=d3e3602-108585<br><br>Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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_PaymentsToAcquireBusinessesGross">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 business during the period. The cash portion only of the acquisition price.</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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 30<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=35744584&amp;loc=d3e6927-128479<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 13<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=109223946&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_PaymentsToAcquireBusinessesGross</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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<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=115205541&amp;loc=SL114868664-224227<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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember</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_ChangeInAccountingEstimateByTypeAxis=us-gaap_ProFormaMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_ChangeInAccountingEstimateByTypeAxis=us-gaap_ProFormaMember</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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6750453232">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>BUSINESS COMBINATIONS (Details) - Schedule of Estimated Fair Values of Assets Acquired at Acquisition Date - USD ($)<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
<th class="th" colspan="1">12 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Apr. 30, 2018</div></th>
<th class="th"><div>Jan. 31, 2018</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_ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract', window );"><strong>Schedule of Estimated Fair Values of Assets Acquired at Acquisition Date [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_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory', window );">Inventory</a></td>
<td class="nump">$ 49,000<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_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment', window );">Property, plant and equipment</a></td>
<td class="nump">12,000,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_PaymentsToAcquireBusinessesGross', window );">Total assets acquired and purchase price</a></td>
<td class="nump">$ 12,049,000<span></span>
</td>
<td class="nump">$ 12,049,000<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_ScheduleOfEstimatedFairValuesOfAssetsAcquiredAtAcquisitionDateAbstract</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_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 inventory recognized as of the acquisition date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=84161108&amp;loc=d3e4845-128472<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 10<br> -Section 55<br> -Paragraph 37<br> -URI http://asc.fasb.org/extlink&amp;oid=108330185&amp;loc=d3e2207-128464<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_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory</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_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 property, plant, and equipment recognized as of the acquisition date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 10<br> -Section 55<br> -Paragraph 37<br> -URI http://asc.fasb.org/extlink&amp;oid=108330185&amp;loc=d3e2207-128464<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=84161108&amp;loc=d3e4845-128472<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_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment</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_PaymentsToAcquireBusinessesGross">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 business during the period. The cash portion only of the acquisition price.</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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 30<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=35744584&amp;loc=d3e6927-128479<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 13<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=109223946&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_PaymentsToAcquireBusinessesGross</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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6640740864">
<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, 2018 </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 2019</a></td>
<td class="nump">$ 5,712<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 );">2020</a></td>
<td class="nump">6,151<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 );">2021</a></td>
<td class="nump">4,261<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 );">2022</a></td>
<td class="nump">3,629<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 );">2023</a></td>
<td class="nump">2,064<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">4,569<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">$ 26,386<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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_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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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_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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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_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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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_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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6760762144">
<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, 2018</div></th>
<th class="th"><div>Jan. 31, 2018</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 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 contracts asset (1)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">$ 378<span></span>
</td>
<td class="nump">$ 72<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>[2]</sup></td>
<td class="nump">333<span></span>
</td>
<td class="nump">333<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">711<span></span>
</td>
<td class="nump">405<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 (3)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[3]</sup></td>
<td class="nump">592<span></span>
</td>
<td class="nump">87<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_ForwardPurchaseContractLiability', window );">Forward purchase contract liability (4)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[4]</sup></td>
<td class="nump">436<span></span>
</td>
<td class="nump">34<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_Liabilities', window );">Total liabilities</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">1,028<span></span>
</td>
<td class="nump">121<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="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 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 contracts asset (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_InvestmentInCooperativeFairValueDisclosure', window );">Investment in cooperative (2)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="text"> <span></span>
</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_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue', window );">Commodity futures (3)</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="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_ForwardPurchaseContractLiability', window );">Forward purchase contract liability (4)</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="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 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 contracts asset (1)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">378<span></span>
</td>
<td class="nump">72<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>[2]</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">378<span></span>
</td>
<td class="nump">72<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 (3)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[3]</sup></td>
<td class="nump">592<span></span>
</td>
<td class="nump">87<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_ForwardPurchaseContractLiability', window );">Forward purchase contract liability (4)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[4]</sup></td>
<td class="nump">436<span></span>
</td>
<td class="nump">34<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_Liabilities', window );">Total liabilities</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">1,028<span></span>
</td>
<td class="nump">121<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 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 contracts asset (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_InvestmentInCooperativeFairValueDisclosure', window );">Investment in cooperative (2)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="nump">333<span></span>
</td>
<td class="nump">333<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">333<span></span>
</td>
<td class="nump">333<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 (3)</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_ForwardPurchaseContractLiability', window );">Forward purchase contract liability (4)</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">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">[2]</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">[3]</td>
<td style="vertical-align: top;" valign="top">Commodity futures are included in "Accrued expenses and other current liabilities" 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_ForwardPurchaseContractLiability">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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</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_ForwardPurchaseContractLiability</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>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_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://fasb.org/us-gaap/role/ref/legacyRef<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=99377789&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://fasb.org/us-gaap/role/ref/legacyRef<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=109980867&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_Liabilities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<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-26)<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_Liabilities</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_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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6651860208">
<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, 2018</div></th>
<th class="th"><div>Jan. 31, 2018</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_Land', window );">Land and improvements</a></td>
<td class="nump">$ 21,095<span></span>
</td>
<td class="nump">$ 21,074<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,277<span></span>
</td>
<td class="nump">23,272<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">289,633<span></span>
</td>
<td class="nump">288,832<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">4,378<span></span>
</td>
<td class="nump">3,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_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress', window );"></a></td>
<td class="nump">338,383<span></span>
</td>
<td class="nump">336,333<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">(144,414)<span></span>
</td>
<td class="num">(138,506)<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">$ 193,969<span></span>
</td>
<td class="nump">$ 197,827<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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_Land">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 depletion of real estate held for productive use, excluding 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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6812-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_Land</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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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_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://fasb.org/us-gaap/role/ref/legacyRef<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 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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_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_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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>Period end amount of construction work in progress in public utility.</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_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress</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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6917964576">
<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, 2018</div></th>
<th class="th"><div>Jan. 31, 2018</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">$ 6,721<span></span>
</td>
<td class="nump">$ 6,719<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="text">&#160;<span></span>
</td>
<td class="nump">5<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">723<span></span>
</td>
<td class="nump">730<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">$ 7,444<span></span>
</td>
<td class="nump">$ 7,454<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6750309952">
<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, 2018</div></th>
<th class="th"><div>Jan. 31, 2018</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_EmployeeRelatedLiabilitiesCurrent', window );">Accrued payroll and related items</a></td>
<td class="nump">$ 1,822<span></span>
</td>
<td class="nump">$ 5,108<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_AccruedUtilitiesCurrent', window );">Accrued utility charges</a></td>
<td class="nump">2,202<span></span>
</td>
<td class="nump">2,639<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,846<span></span>
</td>
<td class="nump">2,678<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">68<span></span>
</td>
<td class="nump">61<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">4,018<span></span>
</td>
<td class="nump">3,230<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">$ 10,956<span></span>
</td>
<td class="nump">$ 13,716<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://fasb.org/us-gaap/role/ref/legacyRef<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 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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 4: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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_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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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 4: http://fasb.org/us-gaap/role/ref/legacyRef<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_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://fasb.org/us-gaap/role/ref/legacyRef<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 2: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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_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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6750436880">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>REVOLVING LINES OF CREDIT (Details)<br> $ in Millions</strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th">
<div>Apr. 30, 2018 </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_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_LineOfCreditFacilityMaximumBorrowingCapacity', window );">Line of Credit Facility, Maximum Borrowing Capacity</a></td>
<td class="nump">$ 10.0<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_DebtInstrumentMaturityDate', window );">Debt Instrument, Maturity Date</a></td>
<td class="text">Jun.  01,  2019<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_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/disclosureRef<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><br>Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 820<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (bbb)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=99377789&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_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_LineOfCreditFacilityMaximumBorrowingCapacity">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<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(b),22(b))<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_LineOfCreditFacilityMaximumBorrowingCapacity</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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6651050640">
<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="1">3 Months Ended</th>
<th class="th" colspan="1">12 Months Ended</th>
</tr>
<tr>
<th class="th">
<div>Apr. 30, 2018 </div>
<div>USD ($) </div>
<div>bu</div>
</th>
<th class="th">
<div>Jan. 31, 2018 </div>
<div>USD ($) </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_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems', window );"><strong>DERIVATIVE FINANCIAL INSTRUMENTS (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_DebtInstrumentCollateralAmount', window );">Debt Instrument, Collateral Amount</a></td>
<td class="nump">$ 896,000<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_DerivativeLossOnDerivative', window );">Derivative, Loss on Derivative</a></td>
<td class="nump">565,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_DerivativeGainOnDerivative', window );">Derivative, Gain on Derivative</a></td>
<td class="nump">$ 44,000<span></span>
</td>
<td class="nump">$ 124,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_TradingActivityByTypeAxis=rex_CornMember', window );">Corn [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_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems', window );"><strong>DERIVATIVE FINANCIAL INSTRUMENTS (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_ForwardPurchaseContractsQuantity', window );">Forward Purchase Contracts, Quantity | bu</a></td>
<td class="nump">22.6<span></span>
</td>
<td class="nump">11.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_TradingActivityByTypeAxis=rex_CornMember', window );">Corn [Member] | Short/Sell [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_rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems', window );"><strong>DERIVATIVE FINANCIAL INSTRUMENTS (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_CommodityFuturesQuantity', window );">Commodity Futures, Quantity | bu</a></td>
<td class="nump">6.2<span></span>
</td>
<td class="nump">2.5<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_CommodityFuturesQuantity">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_CommodityFuturesQuantity</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_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems</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_ForwardPurchaseContractsQuantity">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_ForwardPurchaseContractsQuantity</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://fasb.org/us-gaap/role/ref/legacyRef<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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4A<br> -Subparagraph (b)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=109980867&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_DerivativeLossOnDerivative">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 decrease 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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4A<br> -Subparagraph (b)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=109980867&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_DerivativeLossOnDerivative</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_TradingActivityByTypeAxis=rex_CornMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_TradingActivityByTypeAxis=rex_CornMember</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_ContractWithCustomerDurationAxis=rex_ShortSellMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_ContractWithCustomerDurationAxis=rex_ShortSellMember</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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6648783808">
<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, 2018</div></th>
<th class="th"><div>Jan. 31, 2018</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">$ 378<span></span>
</td>
<td class="nump">$ 72<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">1,028<span></span>
</td>
<td class="nump">121<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="text"> <span></span>
</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_DerivativeLiabilities', window );">Liability Derivatives, Fair Value</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">592<span></span>
</td>
<td class="nump">87<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="nump">378<span></span>
</td>
<td class="nump">72<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">$ 436<span></span>
</td>
<td class="nump">$ 34<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 accrued expenses and other current liabilities. These contracts are short/sell positions for approximately 6.2 million and 2.5 million bushels of corn at April 30, 2018 and January 31, 2018, 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 22.6 million and 11.7 million bushels of corn at April 30, 2018 and January 31, 2018, 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://fasb.org/us-gaap/role/ref/legacyRef<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=99393222&amp;loc=SL20226008-175313<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=109250915&amp;loc=d3e13433-108611<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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://fasb.org/us-gaap/role/ref/legacyRef<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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=109250915&amp;loc=d3e13433-108611<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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=99393222&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_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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6748347888">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>INVESTMENTS (Details) - USD ($)<br></strong></div></th>
<th class="th"><div>Apr. 30, 2018</div></th>
<th class="th"><div>Jan. 31, 2018</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>
</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_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries', window );">Amount of Restricted Net Assets for Consolidated and Unconsolidated Subsidiaries</a></td>
<td class="nump">$ 214.1<span></span>
</td>
<td class="nump">$ 202,600,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_srt_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_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>
</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_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees', window );">Retained Earnings, Undistributed Earnings from Equity Method Investees</a></td>
<td class="nump">$ 15.2<span></span>
</td>
<td class="nump">$ 14,500,000<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_us-gaap_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 restricted net assets of consolidated and unconsolidated subsidiaries as of the end of the most recently completed fiscal year.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<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.(e)(3)(ii))<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_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries</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_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 consolidated retained earnings that represent undistributed (not yet received) earnings from 50% or less owned persons accounted for by the equity method (equity method investees).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=6462270&amp;loc=d3e57205-112772<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_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees</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_srt_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;">srt_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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6651326896">
<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, 2018</div></th>
<th class="th"><div>Jan. 31, 2018</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_ScheduleOfEquityMethodInvestmentsAbstract', window );"><strong>Schedule of Equity Method Investments [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_EquityMethodInvestmentOwnershipPercentage', window );">Big River</a></td>
<td class="nump">10.30%<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_EquityMethodInvestments', window );">Big River</a></td>
<td class="nump">$ 35,246<span></span>
</td>
<td class="nump">$ 34,549<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfEquityMethodInvestmentsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_ScheduleOfEquityMethodInvestmentsAbstract</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_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://fasb.org/us-gaap/role/ref/legacyRef<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=114001798&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://fasb.org/us-gaap/role/ref/legacyRef<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=109237563&amp;loc=d3e33749-111570<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 25<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8813-108599<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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>
</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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6752207792">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>INVESTMENTS (Details) - Schedule of Financial information For Equity Method Investment - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Apr. 30, 2018</div></th>
<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_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="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</a></td>
<td class="nump">$ 9,496<span></span>
</td>
<td class="nump">$ 4,544<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_srt_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_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="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_EquityMethodInvestmentSummarizedFinancialInformationRevenue', window );">Net sales and revenue</a></td>
<td class="nump">191,943<span></span>
</td>
<td class="nump">192,500<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_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss', window );">Gross profit</a></td>
<td class="nump">13,691<span></span>
</td>
<td class="nump">8,181<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_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems', window );">Income from continuing operations</a></td>
<td class="nump">6,765<span></span>
</td>
<td class="nump">7,206<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</a></td>
<td class="nump">$ 6,765<span></span>
</td>
<td class="nump">$ 7,206<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://fasb.org/us-gaap/role/ref/legacyRef<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=109222650&amp;loc=SL51721683-107760<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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=114001798&amp;loc=d3e33918-111571<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<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=114001798&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_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://fasb.org/us-gaap/role/ref/legacyRef<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=109222650&amp;loc=SL51721683-107760<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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=114001798&amp;loc=d3e33918-111571<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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=114001798&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_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_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://fasb.org/us-gaap/role/ref/legacyRef<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=114001798&amp;loc=d3e33918-111571<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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=109222650&amp;loc=SL51721683-107760<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_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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1A<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=114867106&amp;loc=SL7669619-108580<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(22))<br> -URI http://asc.fasb.org/extlink&amp;oid=114873765&amp;loc=SL114874048-224260<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=114867106&amp;loc=SL7669625-108580<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(18))<br> -URI http://asc.fasb.org/extlink&amp;oid=114873790&amp;loc=SL114874131-224263<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<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=115205541&amp;loc=SL114868664-224227<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<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=109223946&amp;loc=d3e3602-108585<br><br>Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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_srt_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;">srt_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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6759344272">
<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, 2018</div></th>
<th class="th"><div>Jan. 31, 2018</div></th>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</div></th>
<th class="th"><div>Jan. 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_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>
<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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber', window );">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number</a></td>
<td class="nump">28,743<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">23,350<span></span>
</td>
<td class="nump">29,415<span></span>
</td>
<td class="nump">23,350<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_ShareholdersEquityClassAxis=rex_RexShareholdersMember', window );">Rex Shareholders [Member]</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="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>
<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_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized', window );">Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized (in Dollars)</a></td>
<td class="nump">$ 162,000<span></span>
</td>
<td class="nump">$ 233,000<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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber', window );">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number</a></td>
<td class="nump">24,711<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">18,541<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_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>
<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_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>
<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_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>
<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_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant', window );">Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant</a></td>
<td class="nump">511,174<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_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://fasb.org/us-gaap/role/ref/legacyRef<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=109197908&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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding 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://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (c)(2)(i)-(ii)<br> -URI http://asc.fasb.org/extlink&amp;oid=109197908&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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber</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_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://fasb.org/us-gaap/role/ref/legacyRef<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=109197908&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://fasb.org/us-gaap/role/ref/legacyRef<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=109197908&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_ShareholdersEquityClassAxis=rex_RexShareholdersMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_ShareholdersEquityClassAxis=rex_RexShareholdersMember</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_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>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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6759339392">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>EMPLOYEE BENEFITS (Details) - Schedule of Non-Vested Restricted Stock Award Activity - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="1"></th>
<th class="th" colspan="1"></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, 2018</div></th>
<th class="th"><div>Jan. 31, 2017</div></th>
<th class="th"><div>Apr. 30, 2018</div></th>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Jan. 31, 2018</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>
<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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber', window );">Non-Vested Shares, Beginning of Period</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">23,350<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">29,415<span></span>
</td>
<td class="nump">29,415<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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue', window );">Weighted Average Grant Date Fair Value,Beginning of Period (in Dollars)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 1,386<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 2,275<span></span>
</td>
<td class="nump">$ 2,275<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 );">Weighted Average Vesting Term, Beginning of Period</a></td>
<td class="text">2 years<span></span>
</td>
<td class="text">2 years<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">2 years<span></span>
</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 );">Non-Vested Shares, Granted</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text"> <span></span>
</td>
<td class="text"> <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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue', window );">Weighted Average Grant Date Fair Value, Granted (in Dollars per share)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text"> <span></span>
</td>
<td class="text"> <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_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited', window );">Non-Vested Shares, Forfeited</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text"> <span></span>
</td>
<td class="text"> <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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue', window );">Weighted Average Grant Date Fair Value, Forfeited (in Dollars)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text"> <span></span>
</td>
<td class="text"> <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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod', window );">Non-Vested Shares, Vested</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">672<span></span>
</td>
<td class="text"> <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_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested', window );">Weighted Average Grant Date Fair Value, Vested (in Dollars)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 50<span></span>
</td>
<td class="text"> <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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber', window );">Non-Vested Shares, End of Period</a></td>
<td class="nump">28,743<span></span>
</td>
<td class="nump">29,415<span></span>
</td>
<td class="nump">28,743<span></span>
</td>
<td class="nump">23,350<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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue', window );">Weighted Average Grant Date Fair Value, End of Period (in Dollars)</a></td>
<td class="nump">$ 2,225<span></span>
</td>
<td class="nump">$ 2,275<span></span>
</td>
<td class="nump">$ 2,225<span></span>
</td>
<td class="nump">$ 1,386<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_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1', window );">Weighted Average Vesting Term, End of Period</a></td>
<td class="text">2 years<span></span>
</td>
<td class="text">2 years<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">2 years<span></span>
</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_rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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>Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period Weighted Average Grant Date 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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue</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>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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 shares in share based compensation arrangement</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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue</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>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_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://fasb.org/us-gaap/role/ref/legacyRef<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=109197908&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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (c)(2)(iii)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=109197908&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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue</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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding 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://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (c)(2)(i)-(ii)<br> -URI http://asc.fasb.org/extlink&amp;oid=109197908&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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber</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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 number of equity-based payment instruments, excluding stock (or unit) options, that vested 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://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (c)(2)(iii)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=109197908&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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod</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_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_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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>Intrinsic value of equity-based compensation awards vested. Excludes stock and unit options.</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_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested</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_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 related to Restricted Stock Award forfeited 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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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(28))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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=109259400&amp;loc=d3e21463-112644<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<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_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited</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>63
<FILENAME>R54.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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6759329296">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Income Taxes (Details) - USD ($)<br></strong></div></th>
<th class="th" colspan="1"></th>
<th class="th" colspan="1"></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>Jan. 31, 2018</div></th>
<th class="th"><div>Jan. 01, 2018</div></th>
<th class="th"><div>Apr. 30, 2018</div></th>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Jan. 31, 2019</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_IncomeTaxesDetailsLineItems', window );"><strong>Income Taxes (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>
<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_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation', window );">Effective Income Tax Rate Reconciliation, Nondeductible Expense, Depreciation, Percent</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(35.30%)<span></span>
</td>
<td class="nump">29.90%<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_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate', window );">Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">21.00%<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_DeferredOtherTaxExpenseBenefit', window );">Deferred Other Tax Expense (Benefit) (in Dollars)</a></td>
<td class="num">$ (14,362,000)<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="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_srt_RangeAxis=srt_MinimumMember', window );">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>
<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_IncomeTaxesDetailsLineItems', window );"><strong>Income Taxes (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>
<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_EffectiveIncomeTaxRateReconciliationTaxCredits', window );">Effective Income Tax Rate Reconciliation, Tax Credit, Percent</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(25.00%)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">25.00%<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_srt_RangeAxis=srt_MaximumMember', window );">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>
<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_IncomeTaxesDetailsLineItems', window );"><strong>Income Taxes (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>
<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_EffectiveIncomeTaxRateReconciliationTaxCredits', window );">Effective Income Tax Rate Reconciliation, Tax Credit, Percent</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(30.00%)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">30.00%<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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember', window );">Refined Coal [Member]</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="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_IncomeTaxesDetailsLineItems', window );"><strong>Income Taxes (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>
<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_TaxCreditToReduceFutureIncomeTaxLiailibitiesDuration', window );">Tax Credit To Reduce Future Income Tax Liailibities Duration</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</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_IncomeTaxesDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_IncomeTaxesDetailsLineItems</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_TaxCreditToReduceFutureIncomeTaxLiailibitiesDuration">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_TaxCreditToReduceFutureIncomeTaxLiailibitiesDuration</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: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_DeferredOtherTaxExpenseBenefit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 deferred income tax expense (benefit) pertaining to income (loss) from continuing operations. For example, but not limited to, acquisition-date income tax benefits or expenses recognized from changes in the acquirer's valuation allowance for its previously existing deferred tax assets resulting from a business combination and adjustments to beginning-of-year balance of a valuation allowance because of a change in circumstance causing a change in judgment about the realizability of the related deferred tax asset in future periods.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<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 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -Subparagraph (g)<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32639-109319<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -Subparagraph (h)<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32639-109319<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<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_DeferredOtherTaxExpenseBenefit</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_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 domestic federal statutory tax rate applicable to pretax income (loss).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<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)<br> -URI http://asc.fasb.org/extlink&amp;oid=34349781&amp;loc=d3e330036-122817<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate</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_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to depreciation.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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)<br> -URI http://asc.fasb.org/extlink&amp;oid=34349781&amp;loc=d3e330036-122817<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation</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_EffectiveIncomeTaxRateReconciliationTaxCredits">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to tax credits. Including, but not limited to, research credit, foreign tax credit, investment tax credit, and other tax credits.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<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)<br> -URI http://asc.fasb.org/extlink&amp;oid=34349781&amp;loc=d3e330036-122817<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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_EffectiveIncomeTaxRateReconciliationTaxCredits</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_srt_RangeAxis=srt_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;">srt_RangeAxis=srt_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_srt_RangeAxis=srt_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;">srt_RangeAxis=srt_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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember</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>64
<FILENAME>R55.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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6650248928">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Income Taxes (Details) - Schedule of Unrecognized Tax Benefits Roll Forward - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Apr. 30, 2018</div></th>
<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_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract', window );"><strong>Schedule of Unrecognized Tax Benefits Roll Forward [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_UnrecognizedTaxBenefits', window );">Unrecognized tax benefits, beginning of period</a></td>
<td class="nump">$ 2,325<span></span>
</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">809<span></span>
</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, end of period</a></td>
<td class="nump">$ 3,134<span></span>
</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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 10B<br> -URI http://asc.fasb.org/extlink&amp;oid=84176650&amp;loc=SL37586934-109318<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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>65
<FILENAME>R56.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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6651902672">
<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, $ in Millions</strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
</tr>
<tr><th class="th">
<div>Apr. 30, 2018 </div>
<div>USD ($) </div>
<div>T </div>
<div>lb </div>
<div>bu </div>
<div>gal</div>
</th></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>
</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>
</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">23.9<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">43.8<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">113,000<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">17.4<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 a majority of the ethanol,distillers grains and non-food grade corn oil through October 2018.<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_RefinedCoalMember', window );">Refined Coal [Member]</a></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_CommitmentsandContingenciesDetailsLineItems', window );"><strong>Commitments and Contingencies (Details) [Line Items]</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_FeesIncurredBySubsidiary', window );">Fees Incurred By Subsidiary | $</a></td>
<td class="nump">$ 1.8<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_FeesIncurredBySubsidiary">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_FeesIncurredBySubsidiary</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_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>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_LegalEntityAxis=rex_RefinedCoalMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_RefinedCoalMember</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>66
<FILENAME>R57.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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6759330352">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Related-Party Transactions (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, 2018</div></th>
<th class="th"><div>Apr. 30, 2017</div></th>
<th class="th"><div>Jan. 31, 2018</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,300,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 900,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_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty', window );">Related Party Transaction, Selling, General and Administrative Expenses from Transactions with Related Party</a></td>
<td class="nump">100,000<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_RelatedPartyTransactionsByRelatedPartyAxis=rex_RefinedCoalMember', window );">Refined Coal [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_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_AccruedLiabilitiesForCommissionsExpenseAndTaxes', window );">Accrued Liabilities for Commissions, Expense and Taxes</a></td>
<td class="nump">1,500,000<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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember', window );">Refined Coal [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_AccruedLiabilitiesForCommissionsExpenseAndTaxes', window );">Accrued Liabilities for Commissions, Expense and Taxes</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 1,500,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_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>
<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_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_CostsAndExpensesRelatedParty', window );">Costs and Expenses, Related Party</a></td>
<td class="nump">$ 46.1<span></span>
</td>
<td class="nump">$ 42,300,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_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://fasb.org/us-gaap/role/ref/legacyRef<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 2: http://fasb.org/us-gaap/role/ref/legacyRef<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 3: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<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_AccruedLiabilitiesForCommissionsExpenseAndTaxes">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 amount for commissions, taxes and other expenses that were incurred but unpaid 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://fasb.org/us-gaap/role/ref/legacyRef<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.15)<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_AccruedLiabilitiesForCommissionsExpenseAndTaxes</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://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<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=115205541&amp;loc=SL114868664-224227<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_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 selling, general and administrative expenses resulting from transactions, excluding transactions that are eliminated in consolidated or combined financial statements, with related party.</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_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty</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_RefinedCoalMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_RefinedCoalMember</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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember</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_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>67
<FILENAME>R58.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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6749471664">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Segment Reporting (Details)<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
<th class="th" colspan="2">12 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Oct. 31, 2017</div></th>
<th class="th"><div>Jan. 31, 2019</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_SegmentReportingAbstract', window );"><strong>Segment Reporting [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 " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NumberOfReportableSegments', window );">Number of Reportable Segments</a></td>
<td class="nump">2<span></span>
</td>
<td class="nump">2<span></span>
</td>
<td class="nump">1<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_NumberOfReportableSegments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.</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_NumberOfReportableSegments</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>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SegmentReportingAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_SegmentReportingAbstract</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>68
<FILENAME>R59.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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6760970720">
<tr>
<th class="tl" colspan="2" rowspan="2"><div style="width: 200px;"><strong>Segment Reporting (Details) - Schedule Of Segment Results And Assets - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Apr. 30, 2018</div></th>
<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_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [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_RevenueFromContractWithCustomerIncludingAssessedTax', window );">Net sales and revenue:</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">$ 120,820<span></span>
</td>
<td class="nump">$ 113,143<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_GrossProfit', window );">Segment gross profit (loss):</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">10,851<span></span>
</td>
<td class="nump">12,489<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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest', window );">Income (loss) before income taxes:</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">7,649<span></span>
</td>
<td class="nump">8,002<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 );">Benefit (provision) for income taxes:</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">2,703<span></span>
</td>
<td class="num">(2,390)<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_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic', window );">Segment profit (loss):</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">9,496<span></span>
</td>
<td class="nump">4,544<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_RevenueFromContractWithCustomerExcludingAssessedTax', window );">Sales of products, ethanol and by-products and refined coal segments:</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">120,680<span></span>
</td>
<td class="nump">113,143<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_StatementBusinessSegmentsAxis=rex_EthanolMember', window );">Ethanol [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_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [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_RevenueFromContractWithCustomerIncludingAssessedTax', window );">Net sales and revenue:</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">120,680<span></span>
</td>
<td class="nump">113,143<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_GrossProfit', window );">Segment gross profit (loss):</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">13,546<span></span>
</td>
<td class="nump">12,489<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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest', window );">Income (loss) before income taxes:</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">11,009<span></span>
</td>
<td class="nump">8,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_IncomeTaxExpenseBenefit', window );">Benefit (provision) for income taxes:</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="num">(1,420)<span></span>
</td>
<td class="num">(2,705)<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_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic', window );">Segment profit (loss):</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">8,589<span></span>
</td>
<td class="nump">5,142<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_RevenueFromContractWithCustomerExcludingAssessedTax', window );">Sales of products, ethanol and by-products and refined coal segments:</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">91,893<span></span>
</td>
<td class="nump">91,472<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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember', window );">Refined Coal [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_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [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_RevenueFromContractWithCustomerIncludingAssessedTax', window );">Net sales and revenue:</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">140<span></span>
</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_GrossProfit', window );">Segment gross profit (loss):</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="num">(2,695)<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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest', window );">Income (loss) before income taxes:</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="num">(2,859)<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_IncomeTaxExpenseBenefit', window );">Benefit (provision) for income taxes:</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">3,999<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_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic', window );">Segment profit (loss):</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">1,271<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_RevenueFromContractWithCustomerExcludingAssessedTax', window );">Sales of products, ethanol and by-products and refined coal segments:</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">140<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_StatementBusinessSegmentsAxis=us-gaap_CorporateAndOtherMember', window );">Corporate and Other [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_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest', window );">Income (loss) before income taxes:</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="num">(501)<span></span>
</td>
<td class="num">(921)<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 );">Benefit (provision) for income taxes:</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">124<span></span>
</td>
<td class="nump">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_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic', window );">Segment profit (loss):</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="num">(364)<span></span>
</td>
<td class="num">(598)<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_StatementBusinessSegmentsAxis=rex_DriedDistillersGrainsMember', window );">Dried Distillers Grains [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_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [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_RevenueFromContractWithCustomerExcludingAssessedTax', window );">Sales of products, ethanol and by-products and refined coal segments:</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">20,083<span></span>
</td>
<td class="nump">15,149<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_StatementBusinessSegmentsAxis=rex_NonFoodGradeCornOilMember', window );">Non-Food Grade Corn Oil [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_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [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_RevenueFromContractWithCustomerExcludingAssessedTax', window );">Sales of products, ethanol and by-products and refined coal segments:</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">4,980<span></span>
</td>
<td class="nump">4,593<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_StatementBusinessSegmentsAxis=rex_ModifiedDistillersGrainsMember', window );">Modified Distillers Grains [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_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [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_RevenueFromContractWithCustomerExcludingAssessedTax', window );">Sales of products, ethanol and by-products and refined coal segments:</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">3,717<span></span>
</td>
<td class="nump">1,920<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_StatementBusinessSegmentsAxis=us-gaap_AllOtherSegmentsMember', window );">Other Segments [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_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [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_RevenueFromContractWithCustomerExcludingAssessedTax', window );">Sales of products, ethanol and by-products and refined coal segments:</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">$ 7<span></span>
</td>
<td class="nump">$ 9<span></span>
</td>
</tr>
<tr><td colspan="3"></td></tr>
<tr><td colspan="3"><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">The Company records sales in the refined coal segment net of the cost of coal as the Company purchases the coal feedstock from the customer to which refined coal is sold.</td>
</tr></table></td></tr>
</table>
<div style="display: none;">
<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://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<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=115205541&amp;loc=SL114868664-224227<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://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<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=115205541&amp;loc=SL114868664-224227<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(8))<br> -URI http://asc.fasb.org/extlink&amp;oid=114873790&amp;loc=SL114874131-224263<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 11<br> -URI http://asc.fasb.org/extlink&amp;oid=109234566&amp;loc=d3e22694-107794<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(15))<br> -URI http://asc.fasb.org/extlink&amp;oid=114873765&amp;loc=SL114874048-224260<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_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/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (h)<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8736-108599<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<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 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 20<br> -Section 45<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=109238882&amp;loc=d3e38679-109324<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_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) from continuing operations available to common shareholders.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<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://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 11<br> -URI http://asc.fasb.org/extlink&amp;oid=109260490&amp;loc=d3e1377-109256<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 60B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=109260490&amp;loc=SL5780133-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_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic</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_RevenueFromContractWithCustomerExcludingAssessedTax">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=109196051&amp;loc=SL49130543-203045<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=109196051&amp;loc=SL49130539-203045<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 5<br> -URI http://asc.fasb.org/extlink&amp;oid=109196051&amp;loc=SL49130545-203045<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_RevenueFromContractWithCustomerExcludingAssessedTax</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_RevenueFromContractWithCustomerIncludingAssessedTax">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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, including tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value-added and excise.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=109196051&amp;loc=SL49130539-203045<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 5<br> -URI http://asc.fasb.org/extlink&amp;oid=109196051&amp;loc=SL49130545-203045<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=109196051&amp;loc=SL49130543-203045<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_RevenueFromContractWithCustomerIncludingAssessedTax</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_SegmentReportingInformationLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_SegmentReportingInformationLineItems</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_StatementBusinessSegmentsAxis=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_StatementBusinessSegmentsAxis=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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember</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_StatementBusinessSegmentsAxis=us-gaap_CorporateAndOtherMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_StatementBusinessSegmentsAxis=us-gaap_CorporateAndOtherMember</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_StatementBusinessSegmentsAxis=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_StatementBusinessSegmentsAxis=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_StatementBusinessSegmentsAxis=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_StatementBusinessSegmentsAxis=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_StatementBusinessSegmentsAxis=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_StatementBusinessSegmentsAxis=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_StatementBusinessSegmentsAxis=us-gaap_AllOtherSegmentsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_StatementBusinessSegmentsAxis=us-gaap_AllOtherSegmentsMember</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>69
<FILENAME>R60.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.8.0.1</span><table class="report" border="0" cellspacing="2" id="idp6749175296">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Segment Reporting (Details) - Schedule Of Segment Assets - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Apr. 30, 2018</div></th>
<th class="th"><div>Jan. 31, 2018</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_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [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_Assets', window );">Assets</a></td>
<td class="nump">$ 476,564<span></span>
</td>
<td class="nump">$ 478,864<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_StatementBusinessSegmentsAxis=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_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [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_Assets', window );">Assets</a></td>
<td class="nump">397,198<span></span>
</td>
<td class="nump">384,997<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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember', window );">Refined Coal [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_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [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_Assets', window );">Assets</a></td>
<td class="nump">10,820<span></span>
</td>
<td class="nump">12,165<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_StatementBusinessSegmentsAxis=us-gaap_CorporateAndOtherMember', window );">Corporate and Other [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_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [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_Assets', window );">Assets</a></td>
<td class="nump">$ 68,546<span></span>
</td>
<td class="nump">$ 81,702<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_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://fasb.org/us-gaap/role/ref/legacyRef<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><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=115929826&amp;loc=d3e8736-108599<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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_SegmentReportingInformationLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_SegmentReportingInformationLineItems</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_StatementBusinessSegmentsAxis=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_StatementBusinessSegmentsAxis=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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_StatementBusinessSegmentsAxis=rex_RefinedCoalMember</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_StatementBusinessSegmentsAxis=us-gaap_CorporateAndOtherMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_StatementBusinessSegmentsAxis=us-gaap_CorporateAndOtherMember</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>70
<FILENAME>Financial_Report.xlsx
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
begin 644 Financial_Report.xlsx
M4$L#!!0    ( (ILQ$P?(\\#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,$%     @ BFS$3&;S"V""    L0   !    !D;V-0<F]P
M<R]A<' N>&UL38Y-"\(P$$3_2NG=;BGB06) L$?!D_>0;FP@R8;-"OGYIH(?
MMWF\81AU8\K(XK%T-8943OTJDH\ Q:X831F:3LTXXFBD(3^ G/,6+V2?$9/
M-(X'P"J8%EQV^3O8:W7..7AKQ%/25V^9"CGIYFHQ*/B76_..7+8\#?NW_+""
MWTG] E!+ P04    " "*;,1,M*>+6N\    K @  $0   &1O8U!R;W!S+V-O
M<F4N>&ULS9+!3L,P#(9?!>7>NEEA0E&7"X@32$A, G&+'&^+:-HH,6KW]K1A
MZX3@ 3C&_O/YL^0&@\(^TG/L T5VE*Y&WW9)8=B( W-0  D/Y$TJIT0W-7=]
M](:G9]Q#,/AA]@2KJEJ#)S;6L($96(2%*'1C46$DPWT\X2TN^/ 9VPRS"-22
MIXX3R%*"T//$<!S;!BZ &<84??HND%V(N?HG-G= G))C<DMJ&(9RJ'-NVD'"
MV]/C2UZW<%UBTR%-OY)3? RT$>?)K_7=_?9!Z%4E;XMJ75376U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\BJ4635*+)J%%DUBJP:15:-(JM&D56CR#H]H:S#,6]-W?V6
MY,7:U>=\-ORUY^8=4$L! A0#%     @ BFS$3!\CSP/     $P(   L
M         ( !     %]R96QS+RYR96QS4$L! A0#%     @ BFS$3&;S"V""
M    L0   !               ( !Z0   &1O8U!R;W!S+V%P<"YX;6Q02P$"
M% ,4    " "*;,1,M*>+6N\    K @  $0              @ &9 0  9&]C
M4')O<',O8V]R92YX;6Q02P$"% ,4    " "*;,1,F5R<(Q &  "<)P  $P
M            @ &W @  >&PO=&AE;64O=&AE;64Q+GAM;%!+ 0(4 Q0    (
M (ILQ$S63]]=>0(  -\(   8              "  ?@(  !X;"]W;W)K<VAE
M971S+W-H965T,2YX;6Q02P$"% ,4    " "*;,1,=<:0B?H#  !N$@  &
M            @ &G"P  >&PO=V]R:W-H965T<R]S:&5E=#(N>&UL4$L! A0#
M%     @ BFS$3&PK&[CN @  RPH  !@              ( !UP\  'AL+W=O
M<FMS:&5E=',O<VAE970S+GAM;%!+ 0(4 Q0    ( (ILQ$P"@#+[S ,  %01
M   8              "  ?L2  !X;"]W;W)K<VAE971S+W-H965T-"YX;6Q0
M2P$"% ,4    " "*;,1,L]0(@3\$   1%   &               @ ']%@
M>&PO=V]R:W-H965T<R]S:&5E=#4N>&UL4$L! A0#%     @ BFS$3+DI2B6V
M 0  T@,  !@              ( !<AL  'AL+W=O<FMS:&5E=',O<VAE970V
M+GAM;%!+ 0(4 Q0    ( (ILQ$R//V)[M@$  -(#   8              "
M 5X=  !X;"]W;W)K<VAE971S+W-H965T-RYX;6Q02P$"% ,4    " "*;,1,
MB)-(JK8!  #2 P  &               @ %*'P  >&PO=V]R:W-H965T<R]S
M:&5E=#@N>&UL4$L! A0#%     @ BFS$3&B#:'ZW 0  T@,  !@
M     ( !-B$  'AL+W=O<FMS:&5E=',O<VAE970Y+GAM;%!+ 0(4 Q0    (
M (ILQ$Q:%?<QM0$  -(#   9              "  2,C  !X;"]W;W)K<VAE
M971S+W-H965T,3 N>&UL4$L! A0#%     @ BFS$3'&+UG6V 0  T@,  !D
M             ( !#R4  'AL+W=O<FMS:&5E=',O<VAE970Q,2YX;6Q02P$"
M% ,4    " "*;,1,V7@TH[8!  #2 P  &0              @ '\)@  >&PO
M=V]R:W-H965T<R]S:&5E=#$R+GAM;%!+ 0(4 Q0    ( (ILQ$SUPAGFM@$
M -(#   9              "  >DH  !X;"]W;W)K<VAE971S+W-H965T,3,N
M>&UL4$L! A0#%     @ BFS$3)5S;I6S 0  T@,  !D              ( !
MUBH  'AL+W=O<FMS:&5E=',O<VAE970Q-"YX;6Q02P$"% ,4    " "*;,1,
M%DGKS[8!  #2 P  &0              @ ' +   >&PO=V]R:W-H965T<R]S
M:&5E=#$U+GAM;%!+ 0(4 Q0    ( (ILQ$S)UM6)M@$  -(#   9
M      "  :TN  !X;"]W;W)K<VAE971S+W-H965T,38N>&UL4$L! A0#%
M  @ BFS$3.-.XM:W 0  T@,  !D              ( !FC   'AL+W=O<FMS
M:&5E=',O<VAE970Q-RYX;6Q02P$"% ,4    " "*;,1,@F21.;4!  #2 P
M&0              @ &(,@  >&PO=V]R:W-H965T<R]S:&5E=#$X+GAM;%!+
M 0(4 Q0    ( (ILQ$S^+'# MP$  -(#   9              "  70T  !X
M;"]W;W)K<VAE971S+W-H965T,3DN>&UL4$L! A0#%     @ BFS$3"N1(8.V
M 0  T@,  !D              ( !8C8  'AL+W=O<FMS:&5E=',O<VAE970R
M,"YX;6Q02P$"% ,4    " "*;,1,45X]W+8!  #2 P  &0
M@ %/.   >&PO=V]R:W-H965T<R]S:&5E=#(Q+GAM;%!+ 0(4 Q0    ( (IL
MQ$QMN\@EMP$  -(#   9              "  3PZ  !X;"]W;W)K<VAE971S
M+W-H965T,C(N>&UL4$L! A0#%     @ BFS$3$%M8&@_ @  U <  !D
M         ( !*CP  'AL+W=O<FMS:&5E=',O<VAE970R,RYX;6Q02P$"% ,4
M    " "*;,1,?((LU[<!  #2 P  &0              @ &@/@  >&PO=V]R
M:W-H965T<R]S:&5E=#(T+GAM;%!+ 0(4 Q0    ( (ILQ$S9V$INLP$  -(#
M   9              "  8Y   !X;"]W;W)K<VAE971S+W-H965T,C4N>&UL
M4$L! A0#%     @ BFS$3%+J#?>S 0  T@,  !D              ( !>$(
M 'AL+W=O<FMS:&5E=',O<VAE970R-BYX;6Q02P$"% ,4    " "*;,1,-KY]
MYK,!  #2 P  &0              @ %B1   >&PO=V]R:W-H965T<R]S:&5E
M=#(W+GAM;%!+ 0(4 Q0    ( (ILQ$Q_TI@UMP$  -(#   9
M  "  4Q&  !X;"]W;W)K<VAE971S+W-H965T,C@N>&UL4$L! A0#%     @
MBFS$3*6F]IFX 0  T@,  !D              ( !.D@  'AL+W=O<FMS:&5E
M=',O<VAE970R.2YX;6Q02P$"% ,4    " "*;,1,F2>THK8!  #2 P  &0
M            @ $I2@  >&PO=V]R:W-H965T<R]S:&5E=#,P+GAM;%!+ 0(4
M Q0    ( (ILQ$QNA0=(N0$  -4#   9              "  19,  !X;"]W
M;W)K<VAE971S+W-H965T,S$N>&UL4$L! A0#%     @ BFS$3!@/7!_" 0
M-P0  !D              ( !!DX  'AL+W=O<FMS:&5E=',O<VAE970S,BYX
M;6Q02P$"% ,4    " "*;,1,%Q2<!+<!  #2 P  &0              @ '_
M3P  >&PO=V]R:W-H965T<R]S:&5E=#,S+GAM;%!+ 0(4 Q0    ( (ILQ$S&
M8X4AMP$  -(#   9              "  >U1  !X;"]W;W)K<VAE971S+W-H
M965T,S0N>&UL4$L! A0#%     @ BFS$3'8T-*?4 0  N00  !D
M     ( !VU,  'AL+W=O<FMS:&5E=',O<VAE970S-2YX;6Q02P$"% ,4
M" "*;,1,;BAOR&\"  "&"   &0              @ 'F50  >&PO=V]R:W-H
M965T<R]S:&5E=#,V+GAM;%!+ 0(4 Q0    ( (ILQ$S0*;4)AP,  !D1   9
M              "  8Q8  !X;"]W;W)K<VAE971S+W-H965T,S<N>&UL4$L!
M A0#%     @ BFS$3+IV".K\ 0  =04  !D              ( !2EP  'AL
M+W=O<FMS:&5E=',O<VAE970S."YX;6Q02P$"% ,4    " "*;,1,L6-.>2$#
M  ".#   &0              @ %]7@  >&PO=V]R:W-H965T<R]S:&5E=#,Y
M+GAM;%!+ 0(4 Q0    ( (ILQ$S)86["  (  $@%   9              "
M =5A  !X;"]W;W)K<VAE971S+W-H965T-# N>&UL4$L! A0#%     @ BFS$
M3(][2H+^ 0  PP4  !D              ( !#&0  'AL+W=O<FMS:&5E=',O
M<VAE970T,2YX;6Q02P$"% ,4    " "*;,1,T+\7N_(#   Q%0  &0
M        @ %!9@  >&PO=V]R:W-H965T<R]S:&5E=#0R+GAM;%!+ 0(4 Q0
M   ( (ILQ$SKD^QN/P(   4'   9              "  6IJ  !X;"]W;W)K
M<VAE971S+W-H965T-#,N>&UL4$L! A0#%     @ BFS$3 )HFW/R 0  2 4
M !D              ( !X&P  'AL+W=O<FMS:&5E=',O<VAE970T-"YX;6Q0
M2P$"% ,4    " "*;,1,$4?H_R4"  "&!@  &0              @ $);P
M>&PO=V]R:W-H965T<R]S:&5E=#0U+GAM;%!+ 0(4 Q0    ( (ILQ$QH0""#
MR@$  #@$   9              "  65Q  !X;"]W;W)K<VAE971S+W-H965T
M-#8N>&UL4$L! A0#%     @ BFS$3*=7=2=4 @  9P<  !D
M ( !9G,  'AL+W=O<FMS:&5E=',O<VAE970T-RYX;6Q02P$"% ,4    " "*
M;,1,:K3>39@"  #!"0  &0              @ 'Q=0  >&PO=V]R:W-H965T
M<R]S:&5E=#0X+GAM;%!+ 0(4 Q0    ( (ILQ$SRFGW4WP$  .L$   9
M          "  <!X  !X;"]W;W)K<VAE971S+W-H965T-#DN>&UL4$L! A0#
M%     @ BFS$3,P[T'O  0  .00  !D              ( !UGH  'AL+W=O
M<FMS:&5E=',O<VAE970U,"YX;6Q02P$"% ,4    " "*;,1,./<4.$X"   8
M!P  &0              @ '-?   >&PO=V]R:W-H965T<R]S:&5E=#4Q+GAM
M;%!+ 0(4 Q0    ( (ILQ$S HJL<60(  !4(   9              "  5)_
M  !X;"]W;W)K<VAE971S+W-H965T-3(N>&UL4$L! A0#%     @ BFS$3(IR
M=A?8 @  / P  !D              ( !XH$  'AL+W=O<FMS:&5E=',O<VAE
M970U,RYX;6Q02P$"% ,4    " "*;,1,5"X0E5L"  "I"   &0
M    @ 'QA   >&PO=V]R:W-H965T<R]S:&5E=#4T+GAM;%!+ 0(4 Q0    (
M (ILQ$RF"V;O"P(  '@%   9              "  8.'  !X;"]W;W)K<VAE
M971S+W-H965T-34N>&UL4$L! A0#%     @ BFS$3-$*6<\P @  GP8  !D
M             ( !Q8D  'AL+W=O<FMS:&5E=',O<VAE970U-BYX;6Q02P$"
M% ,4    " "*;,1,UU(RH6@"   ;"   &0              @ $LC   >&PO
M=V]R:W-H965T<R]S:&5E=#4W+GAM;%!+ 0(4 Q0    ( (ILQ$P3L5KT\P$
M /P$   9              "  <N.  !X;"]W;W)K<VAE971S+W-H965T-3@N
M>&UL4$L! A0#%     @ BFS$3"/_CJA?!   PQ4  !D              ( !
M]9   'AL+W=O<FMS:&5E=',O<VAE970U.2YX;6Q02P$"% ,4    " "*;,1,
M;M8Y B\"   .!P  &0              @ &+E0  >&PO=V]R:W-H965T<R]S
M:&5E=#8P+GAM;%!+ 0(4 Q0    ( (ILQ$ROM<!-TTP  .A  0 4
M      "  ?&7  !X;"]S:&%R9613=')I;F=S+GAM;%!+ 0(4 Q0    ( (IL
MQ$RJ<#[E20(  %D+   -              "  ?;D  !X;"]S='EL97,N>&UL
M4$L! A0#%     @ BFS$3,EWNW.+!   XR8   \              ( !:N<
M 'AL+W=O<FMB;V]K+GAM;%!+ 0(4 Q0    ( (ILQ$R4&.1R% (  %DD   :
M              "  2+L  !X;"]?<F5L<R]W;W)K8F]O:RYX;6PN<F5L<U!+
M 0(4 Q0    ( (ILQ$QDQYS1Y0$  .(C   3              "  6[N  !;
H0V]N=&5N=%]4>7!E<UTN>&UL4$L%!@    !% $4 U1(  (3P      $!

end
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>71
<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>72
<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>74
<FILENAME>FilingSummary.xml
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<XML>
<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.8.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>111</ContextCount>
  <ElementCount>220</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>36</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000 - Document - 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-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>001 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedBalanceSheet</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>002 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedIncomeStatement</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>003 - Statement - CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ShareholdersEquityType2or3</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>004 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedCashFlow</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="rex-20180430.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-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>006 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>007 - 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>8</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>008 - Disclosure - BUSINESS COMBINATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/BUSINESSCOMBINATIONS</Role>
      <ShortName>BUSINESS COMBINATIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>009 - Disclosure - LEASES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/LEASES</Role>
      <ShortName>LEASES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>010 - Disclosure - FAIR VALUE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/FAIRVALUE</Role>
      <ShortName>FAIR VALUE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>011 - 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>12</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>012 - Disclosure - OTHER ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/OTHERASSETS</Role>
      <ShortName>OTHER ASSETS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>013 - 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>14</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>014 - 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>15</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>015 - 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>16</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>016 - Disclosure - INVESTMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/INVESTMENTS</Role>
      <ShortName>INVESTMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>017 - Disclosure - EMPLOYEE BENEFITS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/EMPLOYEEBENEFITS</Role>
      <ShortName>EMPLOYEE BENEFITS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>018 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>019 - 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>20</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>020 - 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>21</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>021 - Disclosure - Segment Reporting</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/SegmentReporting</Role>
      <ShortName>Segment Reporting</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>022 - 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>23</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>023 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>024 - Disclosure - BUSINESS COMBINATIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/BUSINESSCOMBINATIONSTables</Role>
      <ShortName>BUSINESS COMBINATIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/BUSINESSCOMBINATIONS</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>025 - 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>26</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>026 - 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>27</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>027 - 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>28</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>028 - 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>29</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>029 - 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>30</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>030 - 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>31</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>031 - 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>32</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>032 - 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>33</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>033 - 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>34</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>034 - Disclosure - Segment Reporting (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/SegmentReportingTables</Role>
      <ShortName>Segment Reporting (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/SegmentReporting</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>035 - 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>36</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>036 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>037 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) - Schedule of Components of Inventory</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) - Schedule of Components of Inventory</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>038 - Disclosure - BUSINESS COMBINATIONS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/BUSINESSCOMBINATIONSDetails</Role>
      <ShortName>BUSINESS COMBINATIONS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/BUSINESSCOMBINATIONSTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>039 - Disclosure - BUSINESS COMBINATIONS (Details) - Schedule of Estimated Fair Values of Assets Acquired at Acquisition Date</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofEstimatedFairValuesofAssetsAcquiredatAcquisitionDateTable</Role>
      <ShortName>BUSINESS COMBINATIONS (Details) - Schedule of Estimated Fair Values of Assets Acquired at Acquisition Date</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/BUSINESSCOMBINATIONSTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>040 - 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>41</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>041 - 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>42</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>042 - 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>43</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>043 - 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>44</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>044 - 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>45</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>045 - 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>46</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>046 - 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>47</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>047 - 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>48</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>048 - 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>49</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>049 - 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>50</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>050 - 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>51</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>051 - 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>52</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>052 - 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>53</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>053 - 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>54</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>054 - 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>55</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>055 - 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>56</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>056 - 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>57</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>057 - Disclosure - Segment Reporting (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/SegmentReportingDetails</Role>
      <ShortName>Segment Reporting (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/SegmentReportingTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>058 - Disclosure - Segment Reporting (Details) - Schedule Of Segment Results And Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable</Role>
      <ShortName>Segment Reporting (Details) - Schedule Of Segment Results And Assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/SegmentReportingTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="rex-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>059 - Disclosure - Segment Reporting (Details) - Schedule Of Segment Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable</Role>
      <ShortName>Segment Reporting (Details) - Schedule Of Segment Assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/SegmentReportingTables</ParentRole>
      <Position>60</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-20180430.xml</File>
    <File>rex-20180430.xsd</File>
    <File>rex-20180430_cal.xml</File>
    <File>rex-20180430_def.xml</File>
    <File>rex-20180430_lab.xml</File>
    <File>rex-20180430_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/srt/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/invest/2013-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
</XML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>ZIP
<SEQUENCE>76
<FILENAME>0000930413-18-001960-xbrl.zip
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
begin 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
MQA)LH\W/"7!17F%W.(5AU9A_&AGD;W>*J/#?E*'MQT+K:77<W[NV )CSXRE*
M:V,!N  $SST 'BYE =<]%@!K;C@E/B\+IGD0"M46:!%-SEX3Z)N&_1D8GN98
MX]+'S]3H5@ZM8LMC ;H:FXNBTVSF&#N8Z)"""W3')6+G8> 'AH.7C##C7$ND
M+Z(@P2N3\L4CE$5X;T-S8KM&B2?+*(/LF+VQ,R5P)!"_9S0V \2"A=F8V(8(
M!<^/UZ-ML0!$ NL'UFWQ--P8^*8'#^6U;]CAS0[;'^>N')4$ZQ]XTZ!& +^"
ML75T\'C\%90$^5C-=6%<52%]#BM=1":!_"-;4E\R:+P7GXZJ4<D0$1E^M</W
MR*34PY0>:5YS;HYWKATB#+SC!.+G*<+P+X[;/ZV_0":%G/6]?#QL--H(.9U;
MMYC9SP%W?M1^.8$%1%*8&;N<G\?]!&S[5\?]ZJR X;L.L'3?#\LJ$3)B7C5^
MO]"O1"F5 V/9O^S!-GY9(^X@6CYNGTQ,!3(IYM\QFIATV/,)=X)^(\*J5XW<
MHPVU$IP4=?:#9G[H6*ARD,^.W1_/O0:?%/SW)V>R_,[@IU=XQ'O#!_A?_P]0
M2P$"% ,4    " "*;,1,?CVG*3J6  #FZ < $               @ $
M<F5X+3(P,3@P-#,P+GAM;%!+ 0(4 Q0    ( (ILQ$P\GLP46!0  'K=   0
M              "  6B6  !R97@M,C Q.# T,S N>'-D4$L! A0#%     @
MBFS$3)GIBL5%#0  **$  !0              ( ![JH  ')E>"TR,#$X,#0S
M,%]C86PN>&UL4$L! A0#%     @ BFS$3)6FBU\D.   ]%4# !0
M     ( !9;@  ')E>"TR,#$X,#0S,%]D968N>&UL4$L! A0#%     @ BFS$
M3!L%\N)\7   @XH$ !0              ( !N_   ')E>"TR,#$X,#0S,%]L
M86(N>&UL4$L! A0#%     @ BFS$3+2=\_GZ.   \V\# !0
M ( !:4T! ')E>"TR,#$X,#0S,%]P<F4N>&UL4$L%!@     &  8 A $  )6&
$ 0    $!

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