"use strict";
(() => {
var exports = {};
exports.id = 3982;
exports.ids = [3982,2438,7206];
exports.modules = {

/***/ 88884:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({"src":"/_next/static/media/cocalc-r-jupyter.db6dbe97.png","height":1013,"width":1866,"blurDataURL":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAFVBMVEX+/f339/ju6+rx8PHj4+7T3ujr6/E2jsH9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJElEQVQImQ3GsQEAMAjDMDsB/j+51SSa1t1ikoh4OwOgN/fzAAWzAEsBciiKAAAAAElFTkSuQmCC"});

/***/ }),

/***/ 549549:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({"src":"/_next/static/media/r-logo.97124d3e.svg","height":561,"width":724});

/***/ }),

/***/ 606828:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// EXPORTS
__webpack_require__.d(__webpack_exports__, {
  "default": () => (/* binding */ R),
  "getServerSideProps": () => (/* binding */ getServerSideProps)
});

// EXTERNAL MODULE: external "react/jsx-runtime"
var jsx_runtime_ = __webpack_require__(920997);
// EXTERNAL MODULE: external "antd"
var external_antd_ = __webpack_require__(545725);
// EXTERNAL MODULE: ./components/landing/footer.tsx + 1 modules
var footer = __webpack_require__(920691);
// EXTERNAL MODULE: ./components/landing/header.tsx + 2 modules
var header = __webpack_require__(113680);
// EXTERNAL MODULE: ./components/landing/content.tsx
var content = __webpack_require__(113684);
// EXTERNAL MODULE: ./lib/with-customize.ts
var with_customize = __webpack_require__(422638);
// EXTERNAL MODULE: ./lib/customize.ts
var lib_customize = __webpack_require__(481617);
// EXTERNAL MODULE: ./components/landing/sign-in.tsx
var sign_in = __webpack_require__(39646);
// EXTERNAL MODULE: ./components/landing/info.tsx
var info = __webpack_require__(59737);
// EXTERNAL MODULE: ./components/landing/pitch.tsx
var pitch = __webpack_require__(252181);
// EXTERNAL MODULE: ./components/landing/head.tsx
var head = __webpack_require__(422004);
// EXTERNAL MODULE: ./components/landing/snapshots.tsx + 1 modules
var snapshots = __webpack_require__(607746);
// EXTERNAL MODULE: ./components/landing/publishing.tsx + 1 modules
var publishing = __webpack_require__(521681);
// EXTERNAL MODULE: ./components/misc/A.tsx
var A = __webpack_require__(617637);
// EXTERNAL MODULE: ./components/landing/latex.tsx
var latex = __webpack_require__(992756);
// EXTERNAL MODULE: ../frontend/dist/components/icon.js
var icon = __webpack_require__(807772);
// EXTERNAL MODULE: ./components/landing/code.tsx
var code = __webpack_require__(683068);
// EXTERNAL MODULE: ./components/landing/contact.tsx
var contact = __webpack_require__(745743);
// EXTERNAL MODULE: ./components/landing/collaboration.tsx
var collaboration = __webpack_require__(31143);
// EXTERNAL MODULE: ./public/features/r-logo.svg
var r_logo = __webpack_require__(549549);
// EXTERNAL MODULE: ./public/features/cocalc-r-jupyter.png
var cocalc_r_jupyter = __webpack_require__(88884);
;// CONCATENATED MODULE: ./public/features/cocalc-r-latex.png
/* harmony default export */ const cocalc_r_latex = ({"src":"/_next/static/media/cocalc-r-latex.66b0e006.png","height":1060,"width":1666,"blurDataURL":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAElBMVEX8/Pz29vbv8PDq7O3b5urB1ec7sdPtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJUlEQVQImSXGAQoAIAzDwCad//+yTAMHyThnsJH83iyFQFKwthcFtAA7//7DqwAAAABJRU5ErkJggg=="});
;// CONCATENATED MODULE: ./public/features/cocalc-rmd-demo-R-python3-plotting.png
/* harmony default export */ const cocalc_rmd_demo_R_python3_plotting = ({"src":"/_next/static/media/cocalc-rmd-demo-R-python3-plotting.3c31ab4f.png","height":1214,"width":2547,"blurDataURL":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAD1BMVEX7+/rv7/H19fXk5OXc4OOh5JO6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIElEQVQImRXGsQEAMAgDIBL9/+ZWJiS7k0a4EK1iNL4HA78AKl3NEVsAAAAASUVORK5CYII="});
;// CONCATENATED MODULE: ./public/features/cocalc-rcode.png
/* harmony default export */ const cocalc_rcode = ({"src":"/_next/static/media/cocalc-rcode.ffba6513.png","height":652,"width":977,"blurDataURL":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAIVBMVEX9/f3j5uj19fbI2ufd4OLw7+/i4uK51+Lq6+2iwdzN49G91bC+AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAKklEQVQImRXGxw0AIBADsJSr7D8w8LGMOe1xG5okvQtJQZIQEFVM4Od5AQ88AIiVFxYsAAAAAElFTkSuQmCC"});
;// CONCATENATED MODULE: ./public/features/cocalc-r-side-chat.png
/* harmony default export */ const cocalc_r_side_chat = ({"src":"/_next/static/media/cocalc-r-side-chat.fe7f3bc0.png","height":802,"width":1627,"blurDataURL":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAG1BMVEXCwsK9vb3HyMm63vSm1fTM2eD//vzl5OOvyNjLSbAqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJElEQVQImRXEsREAMAgDsbcNJPtPzKFCCIR/brurkIBOMII3swRhAEfjzhyGAAAAAElFTkSuQmCC"});
;// CONCATENATED MODULE: ./public/features/cocalc-r-environment.png
/* harmony default export */ const cocalc_r_environment = ({"src":"/_next/static/media/cocalc-r-environment.7087a2bf.png","height":1247,"width":1594,"blurDataURL":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAADFBMVEX+/v73+Pjy8/Pg6+5UKjHgAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJElEQVQImT2IMQ4AMBCCBP//58YbigOG2CptgBzoP7h802mZPAZ5ADL19eTlAAAAAElFTkSuQmCC"});
;// CONCATENATED MODULE: ./public/features/cocalc-r-jupyter-collaborate.png
/* harmony default export */ const cocalc_r_jupyter_collaborate = ({"src":"/_next/static/media/cocalc-r-jupyter-collaborate.b3d61555.png","height":967,"width":1835,"blurDataURL":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAADFBMVEWqqqq5uruxsbGfn57F3asYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAH0lEQVQImR3GsQkAAAjAsLb+/7PoEAgpMSAUenloXRYCJAAaTNxIOAAAAABJRU5ErkJggg=="});
;// CONCATENATED MODULE: ./pages/features/r-statistical-software.tsx



























const component = "R";
const title = `Run ${component} Online`;
function R({ customize  }) {
    return /*#__PURE__*/ (0,jsx_runtime_.jsxs)(lib_customize/* Customize */.l, {
        value: customize,
        children: [
            /*#__PURE__*/ jsx_runtime_.jsx(head/* default */.Z, {
                title: "R Statistical Software"
            }),
            /*#__PURE__*/ (0,jsx_runtime_.jsxs)(external_antd_.Layout, {
                children: [
                    /*#__PURE__*/ jsx_runtime_.jsx(header/* default */.Z, {
                        page: "features",
                        subPage: "r-statistical-software"
                    }),
                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)(external_antd_.Layout.Content, {
                        children: [
                            /*#__PURE__*/ jsx_runtime_.jsx("div", {
                                style: {
                                    backgroundColor: "#c7d9f5"
                                },
                                children: /*#__PURE__*/ jsx_runtime_.jsx(content/* default */.Z, {
                                    startup: component,
                                    logo: r_logo/* default */.Z,
                                    title: title,
                                    subtitle: /*#__PURE__*/ (0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
                                        children: [
                                            "Run ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                href: "https://www.r-project.org/",
                                                children: "R code"
                                            }),
                                            ",",
                                            " ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                href: "#a-jupyternotebook",
                                                children: "R in Jupyter notebooks"
                                            }),
                                            ", RMarkdown, or even",
                                            " ",
                                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)(A/* default */.Z, {
                                                href: "#a-latex",
                                                children: [
                                                    "Knitr/Rnw ",
                                                    /*#__PURE__*/ jsx_runtime_.jsx(latex/* default */.Z, {})
                                                ]
                                            }),
                                            " ",
                                            "in a full, remote online R environment."
                                        ]
                                    }),
                                    subtitleBelow: true,
                                    image: cocalc_r_jupyter/* default */.Z,
                                    alt: "Use of R in Jupyter"
                                })
                            }),
                            /*#__PURE__*/ jsx_runtime_.jsx(pitch/* default */.Z, {
                                col1: /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                                    children: [
                                        /*#__PURE__*/ (0,jsx_runtime_.jsxs)("h3", {
                                            children: [
                                                /*#__PURE__*/ jsx_runtime_.jsx(icon.Icon, {
                                                    name: "cocalc-ring",
                                                    style: {
                                                        marginRight: "10px"
                                                    }
                                                }),
                                                "CoCalc makes working with R easy"
                                            ]
                                        }),
                                        /*#__PURE__*/ (0,jsx_runtime_.jsxs)("p", {
                                            children: [
                                                "CoCalc handles all the tedious details for you, regardless of whether you want to work on the",
                                                " ",
                                                /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                    href: "/features/terminal",
                                                    children: "command line"
                                                }),
                                                ", run",
                                                " ",
                                                /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                    href: "#a-jupyternotebook",
                                                    children: "Jupyter Notebooks"
                                                }),
                                                ", create RMarkdown files, or use",
                                                " ",
                                                /*#__PURE__*/ (0,jsx_runtime_.jsxs)(A/* default */.Z, {
                                                    href: "#a-latex",
                                                    children: [
                                                        "Knitr in ",
                                                        /*#__PURE__*/ jsx_runtime_.jsx(latex/* default */.Z, {}),
                                                        " documents"
                                                    ]
                                                }),
                                                "."
                                            ]
                                        }),
                                        /*#__PURE__*/ (0,jsx_runtime_.jsxs)("p", {
                                            children: [
                                                "This page is about ways to use R in the",
                                                " ",
                                                /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                    href: "../",
                                                    children: "CoCalc platform"
                                                }),
                                                "."
                                            ]
                                        })
                                    ]
                                }),
                                col2: /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                                    children: [
                                        /*#__PURE__*/ (0,jsx_runtime_.jsxs)("h3", {
                                            children: [
                                                /*#__PURE__*/ jsx_runtime_.jsx(icon.Icon, {
                                                    name: "lightbulb",
                                                    style: {
                                                        marginRight: "10px"
                                                    }
                                                }),
                                                " Zero setup"
                                            ]
                                        }),
                                        /*#__PURE__*/ (0,jsx_runtime_.jsxs)("ul", {
                                            children: [
                                                /*#__PURE__*/ (0,jsx_runtime_.jsxs)("li", {
                                                    children: [
                                                        "No need for you to download and install",
                                                        " ",
                                                        /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                            href: "https://www.r-project.org/",
                                                            children: "R"
                                                        }),
                                                        "."
                                                    ]
                                                }),
                                                /*#__PURE__*/ (0,jsx_runtime_.jsxs)("li", {
                                                    children: [
                                                        "CoCalc already",
                                                        " ",
                                                        /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                            href: "/software/r",
                                                            children: "provides many packages"
                                                        }),
                                                        " for you."
                                                    ]
                                                }),
                                                /*#__PURE__*/ (0,jsx_runtime_.jsxs)("li", {
                                                    children: [
                                                        "The ",
                                                        /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                            href: "/features/latex-editor",
                                                            children: "LaTeX editor"
                                                        }),
                                                        " is already integrated with R."
                                                    ]
                                                }),
                                                /*#__PURE__*/ jsx_runtime_.jsx("li", {
                                                    children: "You no longer have to maintain everything on your own."
                                                })
                                            ]
                                        }),
                                        /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                                            children: [
                                                "Start working by creating or",
                                                " ",
                                                /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                    href: "https://doc.cocalc.com/howto/upload.html",
                                                    children: "uploading R files"
                                                }),
                                                ", RMarkdown documents, or",
                                                " ",
                                                /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                    href: "/features/jupyter-notebook",
                                                    children: "Jupyter notebooks"
                                                }),
                                                "."
                                            ]
                                        })
                                    ]
                                })
                            }),
                            /*#__PURE__*/ jsx_runtime_.jsx(sign_in/* default */.Z, {
                                startup: component
                            }),
                            /*#__PURE__*/ jsx_runtime_.jsx(info/* default.Heading */.Z.Heading, {
                                description: /*#__PURE__*/ (0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
                                    children: [
                                        "There are many ways to use ",
                                        component,
                                        " online via CoCalc."
                                    ]
                                }),
                                children: "Feature Overview"
                            }),
                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)(info/* default */.Z, {
                                title: "R in Jupyter Notebooks",
                                icon: "ipynb",
                                image: cocalc_r_jupyter/* default */.Z,
                                anchor: "a-jupyternotebook",
                                alt: "Using R via the Jupyter notebook",
                                children: [
                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("p", {
                                        children: [
                                            "CoCalc offers a",
                                            " ",
                                            /*#__PURE__*/ jsx_runtime_.jsx("strong", {
                                                children: /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                    href: "/features/jupyter-notebook",
                                                    children: "complete rewrite"
                                                })
                                            }),
                                            " ",
                                            "of the classical",
                                            " ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                href: "http://jupyter.org/",
                                                children: "Jupyter notebook"
                                            }),
                                            " interface. It is",
                                            " ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                href: "http://doc.cocalc.com/jupyter.html",
                                                children: "tightly integrated into CoCalc"
                                            }),
                                            " ",
                                            "and adds real-time collaboration, TimeTravel history and more."
                                        ]
                                    }),
                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("p", {
                                        children: [
                                            "There is also support in CoCalc for easily using R with the",
                                            " ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                href: "https://doc.cocalc.com/jupyter.html#classical-versus-cocalc",
                                                children: "classical Jupyter notebook and JupyterLab."
                                            })
                                        ]
                                    })
                                ]
                            }),
                            /*#__PURE__*/ jsx_runtime_.jsx(collaboration/* default */.Z, {
                                image: cocalc_r_jupyter_collaborate
                            }),
                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)(info/* default */.Z, {
                                title: /*#__PURE__*/ (0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
                                    children: [
                                        "Extensive ",
                                        /*#__PURE__*/ jsx_runtime_.jsx(latex/* default */.Z, {}),
                                        " support for R"
                                    ]
                                }),
                                icon: "tex",
                                image: cocalc_r_latex,
                                anchor: "a-latex",
                                alt: "Using Knitr in CoCalc to create an R-enhanced LaTeX document.",
                                children: [
                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("p", {
                                        children: [
                                            "The fully integrated",
                                            " ",
                                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)(A/* default */.Z, {
                                                href: "/features/latex-editor",
                                                children: [
                                                    "CoCalc ",
                                                    /*#__PURE__*/ jsx_runtime_.jsx(latex/* default */.Z, {}),
                                                    " editor"
                                                ]
                                            }),
                                            " ",
                                            "covers all your basic needs for working with ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(code/* default */.Z, {
                                                children: ".tex"
                                            }),
                                            ",",
                                            " ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(code/* default */.Z, {
                                                children: ".Rnw"
                                            }),
                                            " and ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(code/* default */.Z, {
                                                children: ".Rtex"
                                            }),
                                            " files. The document is synchronized with your collaborators in realtime and everyone sees the same compiled PDF. In particular, this ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(latex/* default */.Z, {}),
                                            " editor"
                                        ]
                                    }),
                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("ul", {
                                        children: [
                                            /*#__PURE__*/ jsx_runtime_.jsx("li", {
                                                children: "Manages the entire compilation pipeline for you,"
                                            }),
                                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("li", {
                                                children: [
                                                    "Automatically processes",
                                                    " ",
                                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("strong", {
                                                        children: [
                                                            /*#__PURE__*/ jsx_runtime_.jsx(code/* default */.Z, {
                                                                children: ".Rnw"
                                                            }),
                                                            " and ",
                                                            /*#__PURE__*/ jsx_runtime_.jsx(code/* default */.Z, {
                                                                children: ".Rtex"
                                                            }),
                                                            " files"
                                                        ]
                                                    }),
                                                    " ",
                                                    "using",
                                                    " ",
                                                    /*#__PURE__*/ jsx_runtime_.jsx("strong", {
                                                        children: /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                            href: "https://yihui.name/knitr/",
                                                            children: "Knitr"
                                                        })
                                                    }),
                                                    ","
                                                ]
                                            }),
                                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("li", {
                                                children: [
                                                    "Supports",
                                                    " ",
                                                    /*#__PURE__*/ jsx_runtime_.jsx("strong", {
                                                        children: /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                            href: "https://doc.cocalc.com/latex-features.html#forward-inverse-search",
                                                            children: "forward and inverse search"
                                                        })
                                                    }),
                                                    " ",
                                                    "to help you navigating in your document,"
                                                ]
                                            }),
                                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("li", {
                                                children: [
                                                    "Captures and shows you",
                                                    " ",
                                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("strong", {
                                                        children: [
                                                            "where each ",
                                                            /*#__PURE__*/ jsx_runtime_.jsx(latex/* default */.Z, {}),
                                                            " or R error happened"
                                                        ]
                                                    }),
                                                    ","
                                                ]
                                            }),
                                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("li", {
                                                children: [
                                                    "and you can use",
                                                    /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                        href: "https://doc.cocalc.com/time-travel.html",
                                                        children: "TimeTravel"
                                                    }),
                                                    "to go back in time to see your latest edits and",
                                                    " ",
                                                    /*#__PURE__*/ jsx_runtime_.jsx("strong", {
                                                        children: "easily recover from a recent mistake"
                                                    }),
                                                    "."
                                                ]
                                            })
                                        ]
                                    }),
                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("p", {
                                        children: [
                                            "This means you can move",
                                            " ",
                                            /*#__PURE__*/ jsx_runtime_.jsx("strong", {
                                                children: "your entire workflow online to CoCalc"
                                            }),
                                            ":"
                                        ]
                                    }),
                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("ol", {
                                        children: [
                                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("li", {
                                                children: [
                                                    /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                        href: "https://doc.cocalc.com/howto/upload.html",
                                                        children: "Upload"
                                                    }),
                                                    " or fetch your datasets,"
                                                ]
                                            }),
                                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("li", {
                                                children: [
                                                    "Use ",
                                                    /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                        href: "#a-jupyternotebook",
                                                        children: "Jupyter Notebooks"
                                                    }),
                                                    " to explore the data and test your hypothesis,"
                                                ]
                                            }),
                                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("li", {
                                                children: [
                                                    /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                        href: "#a-chat",
                                                        children: "Discuss"
                                                    }),
                                                    " and",
                                                    " ",
                                                    /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                        href: "#a-collaboration",
                                                        children: "collaborate"
                                                    }),
                                                    " with your research team,"
                                                ]
                                            }),
                                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("li", {
                                                children: [
                                                    "Write your research paper in an ",
                                                    /*#__PURE__*/ jsx_runtime_.jsx(code/* default */.Z, {
                                                        children: ".Rtex"
                                                    }),
                                                    " or",
                                                    " ",
                                                    /*#__PURE__*/ jsx_runtime_.jsx(code/* default */.Z, {
                                                        children: ".Rnw"
                                                    }),
                                                    " document,"
                                                ]
                                            }),
                                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("li", {
                                                children: [
                                                    /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                        href: "#a-publishing",
                                                        children: "Publish"
                                                    }),
                                                    " your datasets, your research code, and the PDF of your paper online, all hosted on CoCalc.",
                                                    " "
                                                ]
                                            })
                                        ]
                                    })
                                ]
                            }),
                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)(info/* default */.Z, {
                                title: "RMarkdown support",
                                icon: "markdown",
                                image: cocalc_rmd_demo_R_python3_plotting,
                                anchor: "a-rmarkdown",
                                alt: "An Rmarkdown document with a plot",
                                children: [
                                    /*#__PURE__*/ jsx_runtime_.jsx("p", {
                                        children: /*#__PURE__*/ (0,jsx_runtime_.jsxs)("strong", {
                                            children: [
                                                "You can edit",
                                                " ",
                                                /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                    href: "https://rmarkdown.rstudio.com/",
                                                    children: "RMarkdown files"
                                                }),
                                                " in CoCalc's code editor."
                                            ]
                                        })
                                    }),
                                    /*#__PURE__*/ jsx_runtime_.jsx("p", {
                                        children: "The source file is processed according to the YAML-frontmatter configuration and the view of the generated file is automatically updated in an HTML or PDF panel."
                                    }),
                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("p", {
                                        children: [
                                            /*#__PURE__*/ jsx_runtime_.jsx("strong", {
                                                children: "Syntax highlighting"
                                            }),
                                            " for markdown and embedded programming code\u2014according to their language\u2014makes it easy to visually understand the source file."
                                        ]
                                    }),
                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("p", {
                                        children: [
                                            /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                href: "https://doc.cocalc.com/project-library.html",
                                                children: "CoCalc's library"
                                            }),
                                            " ",
                                            "features selected example files to get started quickly: e.g. HTML reports, article templates and a beamer presentation."
                                        ]
                                    })
                                ]
                            }),
                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)(info/* default */.Z, {
                                title: "Code formatting",
                                icon: "network-wired",
                                video: [
                                    "features/cocalc-jupyter-r-format-cell.webm",
                                    "features/cocalc-jupyter-r-format-cell.mp4", 
                                ],
                                anchor: "a-codeformatting",
                                alt: "Video showing formatting of R in a Jupyter notebook",
                                children: [
                                    /*#__PURE__*/ jsx_runtime_.jsx("p", {
                                        children: /*#__PURE__*/ jsx_runtime_.jsx("strong", {
                                            children: "CoCalc is able to format your R code."
                                        })
                                    }),
                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("p", {
                                        children: [
                                            "By simply clicking one button,",
                                            " ",
                                            /*#__PURE__*/ jsx_runtime_.jsx("strong", {
                                                children: "your R source code is formatted in a clean and consistent way"
                                            }),
                                            " ",
                                            "using the",
                                            " ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                href: "https://github.com/yihui/formatR#readme",
                                                children: "formatR package"
                                            }),
                                            "."
                                        ]
                                    }),
                                    /*#__PURE__*/ jsx_runtime_.jsx("p", {
                                        children: "This reduces cognitive load reading source code, brings everyone in the team on the same page, and reduces misunderstandings."
                                    }),
                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("p", {
                                        children: [
                                            "R code formatting works with",
                                            " ",
                                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("strong", {
                                                children: [
                                                    "pure ",
                                                    /*#__PURE__*/ jsx_runtime_.jsx("code", {
                                                        children: ".r"
                                                    }),
                                                    " files"
                                                ]
                                            }),
                                            " ",
                                            "and",
                                            " ",
                                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("strong", {
                                                children: [
                                                    /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                        href: "#a-jupyternotebook",
                                                        children: "Jupyter Notebooks"
                                                    }),
                                                    " running an R kernel"
                                                ]
                                            }),
                                            ".",
                                            " "
                                        ]
                                    })
                                ]
                            }),
                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)(info/* default */.Z, {
                                title: "Command line support",
                                icon: "terminal",
                                image: cocalc_rcode,
                                anchor: "a-commandline",
                                alt: "Using R from a command line terminal",
                                children: [
                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("p", {
                                        children: [
                                            "All your existing R scripts run on the command line right in CoCalc.",
                                            " ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                href: "https://doc.cocalc.com/terminal.html",
                                                children: "Open a Terminal"
                                            }),
                                            " ",
                                            "and you find yourself in a familiar Linux shell with a local filesystem for your data files, access to",
                                            " ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                href: "https://www.git-scm.com",
                                                children: "Git"
                                            }),
                                            " and",
                                            " ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                href: "/software/executables",
                                                children: "a large number of commands..."
                                            }),
                                            " ",
                                            /*#__PURE__*/ jsx_runtime_.jsx("strong", {
                                                children: "Feel at home and run your analysis as usual!"
                                            })
                                        ]
                                    }),
                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("p", {
                                        children: [
                                            "Terminals can be used ",
                                            /*#__PURE__*/ jsx_runtime_.jsx("em", {
                                                children: "by multiple users at once"
                                            }),
                                            ". This means you can work with your collaborators in the same session at the same time. Everyone sees the same output, and via",
                                            " ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                href: "https://doc.cocalc.com/chat.html",
                                                children: "side chat"
                                            }),
                                            " next to the terminal, the whole team can coordinate."
                                        ]
                                    }),
                                    /*#__PURE__*/ jsx_runtime_.jsx("p", {
                                        children: "Beyond that, you can simultaneously work with several terminal sessions. This gives you the ability to run your code concurrently."
                                    }),
                                    /*#__PURE__*/ jsx_runtime_.jsx("p", {
                                        children: "For long-running programs, you can even close your browser and check on the result later."
                                    })
                                ]
                            }),
                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)(info/* default */.Z, {
                                title: "Chatrooms and side chat",
                                icon: "comment",
                                image: cocalc_r_side_chat,
                                anchor: "a-chat",
                                alt: "Chatting about an R Jupyter notebook",
                                children: [
                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("p", {
                                        children: [
                                            "Collaboration is a first class citizen on CoCalc. A",
                                            " ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                href: "https://doc.cocalc.com/chat.html",
                                                children: "side-by-side chat"
                                            }),
                                            " ",
                                            "next to your R code, ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(latex/* default */.Z, {}),
                                            " files and notebooks makes it easy to discuss content with your colleagues or students. You can also create dedicated chatrooms."
                                        ]
                                    }),
                                    /*#__PURE__*/ jsx_runtime_.jsx("p", {
                                        children: "Avatars show who is currently working on a file."
                                    }),
                                    /*#__PURE__*/ jsx_runtime_.jsx("p", {
                                        children: "Collaborators who are not online will be notified about new messages the next time they sign in."
                                    }),
                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("p", {
                                        children: [
                                            /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                href: "https://doc.cocalc.com/chat.html",
                                                children: "Chat"
                                            }),
                                            " also supports markdown formatting and ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(latex/* default */.Z, {}),
                                            " formulas."
                                        ]
                                    })
                                ]
                            }),
                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)(info/* default */.Z, {
                                title: "Managed R Environment",
                                icon: "server",
                                image: cocalc_r_environment,
                                anchor: "a-environment",
                                alt: "Exploring the stack of installed R packages in a Jupyter notebook",
                                children: [
                                    /*#__PURE__*/ jsx_runtime_.jsx("p", {
                                        children: "CoCalc makes sure that the computational environment for R is regularly updated and ready to work with. Our goal is enabling you to get started with your analysis without any overhead."
                                    }),
                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("p", {
                                        children: [
                                            "Look at our ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                href: "/software/r",
                                                children: "list of available packages"
                                            }),
                                            " ",
                                            "in more detail. If something is missing, please tell us about it (",
                                            /*#__PURE__*/ jsx_runtime_.jsx(contact/* default */.Z, {
                                                lower: true
                                            }),
                                            ") so we can install that package globally."
                                        ]
                                    })
                                ]
                            }),
                            /*#__PURE__*/ jsx_runtime_.jsx(publishing/* default */.Z, {}),
                            /*#__PURE__*/ jsx_runtime_.jsx(snapshots/* default */.Z, {}),
                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)(info/* default */.Z, {
                                title: "TimeTravel",
                                icon: "history",
                                video: [
                                    "features/cocalc-timetravel-r-jupyter-3x.webm",
                                    "features/cocalc-timetravel-r-jupyter-3x.mp4", 
                                ],
                                anchor: "a-timetravel",
                                alt: "Video showing the time travel slider in an R Jupyter notebook",
                                children: [
                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("p", {
                                        children: [
                                            "The",
                                            " ",
                                            /*#__PURE__*/ jsx_runtime_.jsx("strong", {
                                                children: /*#__PURE__*/ jsx_runtime_.jsx(A/* default */.Z, {
                                                    href: "https://doc.cocalc.com/time-travel.html",
                                                    children: "TimeTravel feature"
                                                })
                                            }),
                                            " ",
                                            "is specific to the CoCalc platform. It records all your changes in editable files like R source code, Jupyter notebook and ",
                                            /*#__PURE__*/ jsx_runtime_.jsx(latex/* default */.Z, {}),
                                            "documents in fine detail. You can go back and forth in time across thousands of changes to recover your previous edits."
                                        ]
                                    }),
                                    /*#__PURE__*/ jsx_runtime_.jsx("p", {
                                        children: "This allows you to easily recover any part of any version of your file by copying and pasting. You can also see exactly what changed from one version to the next."
                                    }),
                                    /*#__PURE__*/ jsx_runtime_.jsx("p", {
                                        children: "You can visualize the entire process of creating a Jupyter notebook from the start. This lets you discover how you arrived at a particular solution and see what you (or your student) attempted before the final solution."
                                    })
                                ]
                            }),
                            /*#__PURE__*/ jsx_runtime_.jsx(sign_in/* default */.Z, {
                                startup: component
                            })
                        ]
                    }),
                    /*#__PURE__*/ jsx_runtime_.jsx(footer/* default */.Z, {})
                ]
            })
        ]
    });
};
async function getServerSideProps(context) {
    return await (0,with_customize/* default */.Z)({
        context
    });
}


/***/ }),

/***/ 545725:
/***/ ((module) => {

module.exports = require("antd");

/***/ }),

/***/ 770640:
/***/ ((module) => {

module.exports = require("cookies");

/***/ }),

/***/ 65680:
/***/ ((module) => {

module.exports = require("lru-cache");

/***/ }),

/***/ 492796:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/head-manager-context.js");

/***/ }),

/***/ 294957:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/head.js");

/***/ }),

/***/ 703539:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/i18n/detect-domain-locale.js");

/***/ }),

/***/ 734014:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/i18n/normalize-locale-path.js");

/***/ }),

/***/ 450744:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/image-config-context.js");

/***/ }),

/***/ 435843:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/image-config.js");

/***/ }),

/***/ 278524:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/is-plain-object.js");

/***/ }),

/***/ 878020:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/mitt.js");

/***/ }),

/***/ 664406:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/page-path/denormalize-page-path.js");

/***/ }),

/***/ 424964:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/router-context.js");

/***/ }),

/***/ 623938:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/router/utils/format-url.js");

/***/ }),

/***/ 329565:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/router/utils/get-asset-path-from-route.js");

/***/ }),

/***/ 264365:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/router/utils/get-middleware-regex.js");

/***/ }),

/***/ 901428:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/router/utils/is-dynamic.js");

/***/ }),

/***/ 491292:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/router/utils/parse-relative-url.js");

/***/ }),

/***/ 980979:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/router/utils/querystring.js");

/***/ }),

/***/ 836052:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/router/utils/resolve-rewrites.js");

/***/ }),

/***/ 584226:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/router/utils/route-matcher.js");

/***/ }),

/***/ 95052:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/router/utils/route-regex.js");

/***/ }),

/***/ 359232:
/***/ ((module) => {

module.exports = require("next/dist/shared/lib/utils.js");

/***/ }),

/***/ 40968:
/***/ ((module) => {

module.exports = require("next/head");

/***/ }),

/***/ 371853:
/***/ ((module) => {

module.exports = require("next/router");

/***/ }),

/***/ 616689:
/***/ ((module) => {

module.exports = require("react");

/***/ }),

/***/ 566405:
/***/ ((module) => {

module.exports = require("react-dom");

/***/ }),

/***/ 920997:
/***/ ((module) => {

module.exports = require("react/jsx-runtime");

/***/ }),

/***/ 439491:
/***/ ((module) => {

module.exports = require("assert");

/***/ }),

/***/ 714300:
/***/ ((module) => {

module.exports = require("buffer");

/***/ }),

/***/ 706113:
/***/ ((module) => {

module.exports = require("crypto");

/***/ }),

/***/ 809523:
/***/ ((module) => {

module.exports = require("dns");

/***/ }),

/***/ 582361:
/***/ ((module) => {

module.exports = require("events");

/***/ }),

/***/ 657147:
/***/ ((module) => {

module.exports = require("fs");

/***/ }),

/***/ 241808:
/***/ ((module) => {

module.exports = require("net");

/***/ }),

/***/ 822037:
/***/ ((module) => {

module.exports = require("os");

/***/ }),

/***/ 371017:
/***/ ((module) => {

module.exports = require("path");

/***/ }),

/***/ 677282:
/***/ ((module) => {

module.exports = require("process");

/***/ }),

/***/ 285477:
/***/ ((module) => {

module.exports = require("punycode");

/***/ }),

/***/ 12781:
/***/ ((module) => {

module.exports = require("stream");

/***/ }),

/***/ 371576:
/***/ ((module) => {

module.exports = require("string_decoder");

/***/ }),

/***/ 924404:
/***/ ((module) => {

module.exports = require("tls");

/***/ }),

/***/ 76224:
/***/ ((module) => {

module.exports = require("tty");

/***/ }),

/***/ 257310:
/***/ ((module) => {

module.exports = require("url");

/***/ }),

/***/ 473837:
/***/ ((module) => {

module.exports = require("util");

/***/ })

};
;

// load runtime
var __webpack_require__ = require("../../webpack-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
var __webpack_exports__ = __webpack_require__.X(0, [549,6918,3429,1746,9505,1748,3734,2208,5654,5887,9715,2448,1107,9521,5114,722,3624,9924,5379,2240,3684,9737,2181,7746,9999,1143], () => (__webpack_exec__(606828)));
module.exports = __webpack_exports__;

})();