[ARTICLE] 6
[CIK] 0000355747
[NAME] SMITH BARNEY INVESTMENT FUNDS, INC.
[SERIES]
   [NUMBER] 4
   [NAME] CONTRARIAN PORTFOLIO.  CLASS Z
<TABLE>
<S>                             <C>
[PERIOD-TYPE]                   YEAR
[FISCAL-YEAR-END]                          DEC-31-1998
[PERIOD-END]                               DEC-31-1998
[INVESTMENTS-AT-COST]                      472,712,294
[INVESTMENTS-AT-VALUE]                     543,170,332
[RECEIVABLES]                                2,121,966
[ASSETS-OTHER]                              59,216,806
[OTHER-ITEMS-ASSETS]                                 0
[TOTAL-ASSETS]                             604,509,104
[PAYABLE-FOR-SECURITIES]                     2,778,825
[SENIOR-LONG-TERM-DEBT]                              0
[OTHER-ITEMS-LIABILITIES]                   77,100,992
[TOTAL-LIABILITIES]                         79,879,817
[SENIOR-EQUITY]                                      0
[PAID-IN-CAPITAL-COMMON]                   439,238,533
[SHARES-COMMON-STOCK]                                0
[SHARES-COMMON-PRIOR]                        2,076,500
[ACCUMULATED-NII-CURRENT]                      105,339
[OVERDISTRIBUTION-NII]                               0
[ACCUMULATED-NET-GAINS]                     14,827,377
[OVERDISTRIBUTION-GAINS]                             0
[ACCUM-APPREC-OR-DEPREC]                    70,458,038
[NET-ASSETS]                               524,629,287
[DIVIDEND-INCOME]                           10,406,506
[INTEREST-INCOME]                            2,998,753
[OTHER-INCOME]                                       0
[EXPENSES-NET]                              13,373,710
[NET-INVESTMENT-INCOME]                         31,549
[REALIZED-GAINS-CURRENT]                    23,711,092
[APPREC-INCREASE-CURRENT]                   40,630,163
[NET-CHANGE-FROM-OPS]                      (16,887,522)
[EQUALIZATION]                                       0
[DISTRIBUTIONS-OF-INCOME]                            0
[DISTRIBUTIONS-OF-GAINS]                       666,843
[DISTRIBUTIONS-OTHER]                                0
[NUMBER-OF-SHARES-SOLD]                        265,807
[NUMBER-OF-SHARES-REDEEMED]                  2,389,658
[SHARES-REINVESTED]                             47,351
[NET-CHANGE-IN-ASSETS]                    (436,002,536)
[ACCUMULATED-NII-PRIOR]                         33,246
[ACCUMULATED-GAINS-PRIOR]                   12,803,757
[OVERDISTRIB-NII-PRIOR]                              0
[OVERDIST-NET-GAINS-PRIOR]                           0
[GROSS-ADVISORY-FEES]                        6,552,382
[INTEREST-EXPENSE]                                   0
[GROSS-EXPENSE]                             13,373,710
[AVERAGE-NET-ASSETS]                                 0
[PER-SHARE-NAV-BEGIN]                            00.00
[PER-SHARE-NII]                                  00.00
[PER-SHARE-GAIN-APPREC]                          00.00
[PER-SHARE-DIVIDEND]                             00.00
[PER-SHARE-DISTRIBUTIONS]                        00.00
[RETURNS-OF-CAPITAL]                                 0
[PER-SHARE-NAV-END]                              00.00
[EXPENSE-RATIO]                                  00.00
[AVG-DEBT-OUTSTANDING]                               0
[AVG-DEBT-PER-SHARE]                                 0
</TABLE>