Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to run sparse PCA on some economic data. There appear to be several R functions available including elasticnet and PMA but I wanted to check if anyone had something coded up directly in MMA they might be willing share?

Thanks, Peter

share|improve this question
Did you give RLink a try? Its meant for such purpose where you can mix and use existing R code/library on the fly from your Mathematica code. – PlatoManiac Jan 25 '14 at 12:32
@PlatoManiac Thanks, yes intend to use RLink if no MMA code available. Wanted to check if MMA version available so I might have more control over algo and diagnostics. – pjc42 Jan 25 '14 at 19:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.