[{"data":1,"prerenderedAt":196},["ShallowReactive",2],{"/sr/run":3,"/sr/run-surround":185},{"id":4,"title":5,"body":6,"description":151,"extension":152,"meta":153,"navigation":171,"path":181,"seo":182,"stem":183,"__hash__":184},"content/sr/run.md","Simple R Extension Dictionary: run",{"type":7,"value":8,"toc":140},"minimark",[9],[10,11,15,16,15,26,56,60,63,135],"div",{"className":12,"id":14},[13],"dict_entry","run","\n  ",[17,18,20,21,15],"h3",{"id":19},"srrun","\n    ",[22,23,25],"a",{"href":24},"#run","sr:run",[27,28,32],"h4",{"id":29,"className":30},"srrun-r-statement-srrun-r-statement-repeatable",[31],"section-heading",[22,33,20,37,20,47,15],{"className":34,"href":36},[35],"section-anchor","#----srrun-r-statement----srrun-r-statement-repeatable--",[38,39,42,43],"span",{"className":40},[41],"prim_example","sr:run ",[44,45,46],"i",{},"r-statement",[38,48,42,50,52,53],{"className":49},[41],[44,51,46],{}," ",[44,54,55],{},"repeatable",[57,58,59],"p",{},"Runs the given R statements in the current session.\nTo make multi-line R code easier to run, this command will take multiple strings,\neach of which will be interpreted as a separate line of R code. This requires\nputting the command in parentheses.",[57,61,62],{},"For instance:",[64,65,66],"pre",{},[67,68,69,70,75,78,79,84,78,86,90,78,92,96,78,98,102,78,104,108,78,110,114,78,116,120,78,122,126,78,128,132,134],"code",{},"(",[38,71,25],{"className":72},[73,74],"token","variable",[76,77],"br",{},"  ",[38,80,83],{"className":81},[73,82],"string","\"domain \u003C- seq(-3.14, 3.14, 0.01)\"",[76,85],{},[38,87,89],{"className":88},[73,82],"\"range \u003C- sin(domain)\"",[76,91],{},[38,93,95],{"className":94},[73,82],"\"png('my_file.png')\"",[76,97],{},[38,99,101],{"className":100},[73,82],"\"plot(domain, range, \"",[76,103],{},[38,105,107],{"className":106},[73,82],"\"     pch = 20,\"",[76,109],{},[38,111,113],{"className":112},[73,82],"\"     main = 'y = sin(x)',\"",[76,115],{},[38,117,119],{"className":118},[73,82],"\"     xlab = 'x',\"",[76,121],{},[38,123,125],{"className":124},[73,82],"\"     ylab = 'y')\"",[76,127],{},[38,129,131],{"className":130},[73,82],"\"dev.off()\"",[76,133],{},")",[57,136,137,139],{},[67,138,25],{}," will wait for the statements to finish before continuing.\nIf you have long-running R code, NetLogo may freeze for a bit while it runs.",{"title":141,"searchDepth":142,"depth":143,"links":144},"",5,3,[145],{"id":19,"depth":143,"text":146,"children":147},"\n    sr:run\n  ",[148],{"id":29,"depth":149,"text":150},4,"\n    sr:run r-statement\n    sr:run r-statement repeatable\n  ","Documentation for the run primitive.","md",{"source":154,"metadataOutputPath":155,"projectConfig":156,"language":164,"inheritFrom":172,"output":171,"version":157,"layout":173,"dictionaryDisplayName":174,"dictionaryHomeDirectory":175,"indexFileURI":176,"currentItemId":14,"currentItemLabel":25,"primRoot":177,"icon":178,"extensionName":179,"assetsRoot":159},"../../external/extensions/sr/sr/run.md","content/sr/run.metadata.yaml",{"version":157,"projectRoot":158,"scanRoot":159,"outputRoot":160,"defaults":161,"engine":167,"partials":168,"dedupeIdenticalDiskWrites":171},"7.0.4",".","/home/runner/work/Helio/Helio/external/extensions/sr","content",{"inheritFrom":162,"language":164,"output":165,"extension":152,"title":166,"version":157},[163],0,"en",false,"NetLogo User Manual","mustache",{"directoryPaths":169,"extensions":170},[158],[167,152],true,[163],"catalog","Simple R Extension Dictionary","/sr.html","/_index/extensions/sr.txt","sr","logos:r-lang",{"shortName":177,"fullName":180},"Simple R","/sr/run",{"title":5,"description":151},"sr/run","McRvj4fwUXUqSHZVeBZyocH7UqV9zC5nplAcNsCvEvY",[186,191],{"title":187,"path":188,"stem":189,"description":190,"children":-1},"Simple R Extension Dictionary: r-home","/sr/r-home","sr/r-home","Documentation for the r-home primitive.",{"title":192,"path":193,"stem":194,"description":195,"children":-1},"Simple R Extension Dictionary: runresult","/sr/runresult","sr/runresult","Documentation for the runresult primitive.",1777657782783]