I understand that non-Chasidic (Ashkenaz) haredim follow the Mishnah Berurah when it comes to Orach Chayim part of Shulchan Aruch. But Mishnah Berurah is only for Orach Chayim. What they do with other parts of S"A (Yoreh De'ah, Even Ha-Ezer, Chosen Mishpat) do they just follow Rema or later commentaries printed in standard S"A? 

I mean, Chabad Chasidim have S"A Baal HaTanya which contains Yoreh De'ah and Chosen Mishpat.

I can recapitulate my question: do Litvaks/Yeshivish learn Mishnah Berurah and then Shulchan Aruch with commentaries for other parts of halacha?


Question: Interacting with openCPU
Answer: Here is a complete example webpage I mocked up to use OpenCPU to demo a particular analysis using a R package I wrote (MARSS).  I was monkeying with providing easy access to particular analyses--a live user guide so to speak.  Caveat, my example relies heavily on JavaScript and I've no experience with JavaScript beyond this example; so the coding is clunky but it works for my purposes.  Copy and paste the html into a file and open in a browser and it should work.



&lt;!DOCTYPE html&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
&lt;style&gt;
html, body
{
background: #6699FF;
text-align: center;
font-family : "Lucida Sans Unicode", "Lucida Grande", sans-serif;
font-size:14px;
}
#container
{
background: #FFF;
border: 0px #222 solid;
margin: 0 auto;
text-align: left;
width: 10.25in;
padding: 5px;
overflow: auto;
}
#container form
{
margin: 0 auto;
}
label
{
float: left;
width: 50px;
}
.leftCol
{
float: left;
width: 3in;
}
.rightCol
{
float: left;
width: 7in;
}
.references
{
font-size: x-small;
text-indent: 20px;
}
&lt;/style&gt;
&lt;base target="_blank" /&gt;
&lt;title&gt;Count-based population viability analysis (PVA) using corrupted data&lt;/title&gt; 
&lt;script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"&gt;       &lt;/script&gt;
&lt;script&gt;
baseurl="http://public.opencpu.org"          
// This is done on load since we need the function on the server to deal with the file upload
function saveRFunction(){
//Run this bit of code and store the R function to run on OpenCPU
var baseurl = "http://public.opencpu.org";
var url = "http://public.opencpu.org/R/pub/base/identity/save";
// #txtRCommands is the id of the text box in the javascript
var rFunction = $("#RFunction").val();
// this bit sends the the RFunction in the hidden text area
$.post(url,{ x: rFunction },  
function (data) { 
var funloc = $.parseJSON(data).object;
funloc = "http://public.opencpu.org/R/tmp/"+funloc;
//set the action for the form
document.getElementById('FunctionLocation').value = funloc;                  
} );              
setTimeout(function() {
// Wait 2 seconds because of Chrome before loading default form
var frm = document.getElementById("inputForm2");
subm2(frm,'/svg');
}, 1000); 
};
//function for first submit button; subm and subm2 same except the id
function subm(f,ftype){
document.getElementById("inputForm").action=document.getElementById('FunctionLocation').value+ftype;
f.submit();
}
function subm2(f,ftype){
document.getElementById("inputForm2").action=document.getElementById('FunctionLocation').value+ftype;
f.submit();
}
&lt;/script&gt;

&lt;/head&gt;
&lt;body onload="saveRFunction()"&gt;
&lt;div id="container"&gt;
&lt;h2&gt;MARSS Case Study 1: Count-based PVA for data with observation error&lt;/h2&gt;
This web tool fits a count-based PVA model (sensu Dennis et al. 1991) from a univariate (one site) time series of abundance data with observation error (Holmes 2001, 2004).  The result is an estimated long-term rate of population growth (&amp;lambda;), process variance estimate (&amp;sigma;&lt;sup&gt;2&lt;/sup&gt;) and non-process or observation error variance.  Extinction risk metrics sensu Dennis et al. (1991) along with an uncertainty plot sensu Ellner and Holmes (2008) are shown.
&lt;/br&gt;&lt;/br&gt;
&lt;div class="leftCol"&gt;
&lt;form enctype="multipart/form-data" action="" method="POST" target="test" id="inputForm"&gt;
&lt;fieldset&gt;
&lt;legend&gt;&lt;b&gt;Upload a Dataset&lt;/b&gt;&lt;/legend&gt;
&lt;i&gt;Comma-delimited. 1st col time, 2nd col counts.  Missing counts NA.&lt;/i&gt;&lt;/br&gt;
File: &lt;input name="!file:file" type="file" /&gt; &lt;!-- param name has to be file --&gt;
Header: &lt;select name="header"&gt;&lt;option value=TRUE&gt; TRUE &lt;/option&gt; &lt;option value=FALSE&gt; FALSE &lt;/option&gt; &lt;/select&gt; &lt;/br /&gt;
&lt;input name="!width" type="hidden" value=7 /&gt; &lt;!-- in inches --&gt;
&lt;input name="!height" type="hidden" value=6 /&gt; &lt;!-- in inches --&gt;
&lt;INPUT type="button" name="Submit" value="Run Analysis" onclick="subm(this.form,'/svg');"&gt; &lt;!-- svg so Firefox doesn't cache --&gt;
&lt;INPUT type="button" name="Submit" value="Get PDF of Plot" onclick="subm(this.form,'/pdf');"&gt;           &lt;/fieldset&gt;
&lt;/form&gt;
&lt;form action="" method="POST" target="test" id="inputForm2"&gt;
&lt;fieldset&gt;
&lt;legend&gt;&lt;b&gt;Select an Example Dataset&lt;/b&gt;&lt;/legend&gt;
Dataset: 
&lt;select name="dataname"&gt;
&lt;option value='"wilddogs"' selected &gt;African Wilddogs&lt;/option&gt;
&lt;option value='"prairiechicken"'&gt;Prairie Chickens&lt;/option&gt;
&lt;option value='"grouse"'&gt;Sage Grouse&lt;/option&gt;
&lt;option value='"graywhales"'&gt;Gray Whales&lt;/option&gt;
&lt;/select&gt;&lt;/br /&gt;
&lt;input name="!width" type="hidden" value=7 /&gt; &lt;!-- in inches --&gt;
&lt;input name="!height" type="hidden" value=6 /&gt; &lt;!-- in inches --&gt;
&lt;INPUT type="button" name="Submit" value="Run Analysis" onclick="subm2(this.form,'/svg');"&gt;
&lt;INPUT type="button" name="Submit" value="Get PDF of Plot" onclick="subm2(this.form,'/pdf');"&gt;
&lt;/fieldset&gt;
&lt;/form&gt;
&lt;fieldset class="references"&gt;
&lt;legend&gt;&lt;b&gt;References&lt;/b&gt;&lt;/legend&gt;
&lt;p&gt;Dennis, Brian, Patricia L. Munholland, and J. Michael Scott. "Estimation of growth and extinction parameters for endangered species." Ecological monographs 61.2 (1991): 115-143.&lt;/p&gt;
&lt;p&gt;Holmes, E. E. 2001. Estimating risks in declining populations with poor data. Proceedings of the National Academy of Science 98: 5072-5077.&lt;/p&gt;
&lt;/fieldset&gt;
&lt;fieldset class="references"&gt;
&lt;legend&gt;&lt;b&gt;R Code&lt;/b&gt;&lt;/legend&gt;
&lt;!-- if you do not want to see the R code, use this &lt;textarea hidden="hidden" id="RFunction" style="display:none;"&gt; --&gt;
&lt;textarea id="RFunction" readonly="readonly" cols="27" rows="18" style="border:0px;margin:0px"&gt;
function(file=NULL, header=TRUE,  dataname="wilddogs" ){

library(MARSS)

if(is.null(file)){
dat=get(dataname)
}else{
dat=read.csv(file, header=header)
dat=as.matrix(dat)
}

CSEGriskfigure(dat, silent=TRUE)
}
&lt;/textarea&gt; 
&lt;/fieldset&gt;
&lt;input type="hidden" value="not set" id="FunctionLocation" /&gt; &lt;!-- this is where the function is stored --&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;!-- This iframe holds the output image. --&gt;
&lt;iframe style='width: 7in; height: 6in; border: 0px solid #000000; padding: 10px;' name='test' id="image_iframe" class="rightCol"&gt;&lt;/iframe&gt;      
&lt;/div&gt; 
&lt;!-- This is an onload script, but Chrome is not loading the whole page before running the onload script.  Time out used above for this problem. --&gt;
&lt;/body&gt;
&lt;/html&gt;