(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2461],{5405:function(t,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/software/r",function(){return r(2950)}])},2950:function(t,e,r){"use strict";r.r(e),r.d(e,{__N_SSP:function(){return m},default:function(){return v}});var n=r(85893),i=r(14670),o=r(97183),a=r(20691),l=r(22004),s=r(13680),c=r(77595),u=r(31767),f=r(57021),h=r(17637),d=r(81617),y=r(96835),p=r(88884);function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function j(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o=[],a=!0,l=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(o.push(n.value),!e||o.length!==e);a=!0);}catch(s){l=!0,i=s}finally{try{a||null==r.return||r.return()}finally{if(l)throw i}}return o}}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return x(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var m=!0;function v(t){var e=t.customize,r=t.spec,x=t.inventory,m=t.components,v=t.execInfo;return(0,n.jsxs)(d.l,{value:e,children:[(0,n.jsx)(l.Z,{title:"R Packages in CoCalc"}),(0,n.jsx)(s.Z,{page:"software",subPage:"r"}),(0,n.jsxs)(o.Z.Content,{style:{backgroundColor:"white"},children:[(0,n.jsxs)("div",{style:y.STYLE_PAGE,children:[(0,n.jsx)("h1",{style:{textAlign:"center",fontSize:"32pt",color:"#444"},children:"Installed R Statistical Software Packages"}),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{style:{width:"50%",float:"right",padding:"0 0 15px 15px"},children:(0,n.jsx)(c.Z,{src:p.Z,alt:"Using R in a Jupyter notebook"})}),(0,n.jsxs)("p",{children:["This table lists all R packages that are"," ",(0,n.jsx)("b",{children:"immediately available by default in every CoCalc project"}),", along with their version numbers. If something is missing, you can"," ",(0,n.jsx)(h.Z,{href:"https://doc.cocalc.com/howto/install-r-package.html",children:"install it yourself"}),", or request that we install them."]})]}),(0,n.jsx)(i.Z,{style:{margin:"15px 0"},message:"Learn More",description:(0,n.jsxs)("span",{style:{fontSize:"10pt"},children:["Learn more about"," ",(0,n.jsx)("strong",{children:(0,n.jsx)(h.Z,{href:"/features/r-statistical-software",children:"R functionality in CoCalc"})}),"."]}),type:"info",showIcon:!0}),(0,n.jsx)("h2",{children:"R Statistical Software Environments"}),(0,n.jsx)("ul",{children:function(){var t=[],e=!0,i=!1,o=void 0;try{for(var a,l=Object.entries(r)[Symbol.iterator]();!(e=(a=l.next()).done);e=!0){var s=j(a.value,2),c=s[0],u=s[1];t.push((0,n.jsxs)("div",{children:[(0,n.jsxs)("b",{children:[(0,n.jsx)(h.Z,{href:u.url,children:u.name}),":"]})," ",u.doc]},c))}}catch(f){i=!0,o=f}finally{try{e||null==l.return||l.return()}finally{if(i)throw o}}return t}()}),(0,n.jsx)(u.ZP,{info:v,showHeader:!1}),(0,n.jsx)(f.Z,{spec:r,inventory:x,components:m,libWidthPct:60})]}),(0,n.jsx)(a.Z,{})]})]})}}},function(t){t.O(0,[5386,3662,1271,3113,6747,6994,715,3899,1024,4849,9805,5507,7961,1107,9097,7473,9774,2888,179],(function(){return e=5405,t(t.s=e);var e}));var e=t.O();_N_E=e}]);