{"id":2331,"date":"2023-07-22T18:04:40","date_gmt":"2023-07-22T18:04:40","guid":{"rendered":"https:\/\/statorials.org\/it\/r-commento-su-piu-righe\/"},"modified":"2023-07-22T18:04:40","modified_gmt":"2023-07-22T18:04:40","slug":"r-commento-su-piu-righe","status":"publish","type":"post","link":"https:\/\/statorials.org\/it\/r-commento-su-piu-righe\/","title":{"rendered":"Come creare un commento su pi\u00f9 righe in r (con esempi)"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">Il modo pi\u00f9 semplice per creare un commento su pi\u00f9 righe in RStudio \u00e8 evidenziare il testo e premere <strong>Ctrl<\/strong> + <strong>Maiusc<\/strong> + <strong>C.<\/strong><\/span><\/p>\n<p> <span style=\"color: #000000;\">Puoi eliminare il commento altrettanto facilmente evidenziando nuovamente il testo e premendo <strong>Ctrl<\/strong> + <strong>Maiusc<\/strong> + <strong>C.<\/strong><\/span><\/p>\n<p> <span style=\"color: #000000;\">L&#8217;esempio seguente mostra come eseguire questa operazione nella pratica.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>Esempio: creare un commento su pi\u00f9 righe in R<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">Supponiamo di avere il seguente script in RStudio:<\/span> <\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-21178 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/commentaire1.png\" alt=\"\" width=\"660\" height=\"573\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">Le prime cinque righe dello script descrivono semplicemente cosa fa il resto dello script. Vogliamo quindi trasformare queste righe in commenti.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Per trasformare le prime cinque righe in un commento su pi\u00f9 righe, possiamo evidenziare ciascuna delle prime cinque righe e premere <strong>Ctrl<\/strong> + <strong>Maiusc<\/strong> + <strong>C<\/strong> :<\/span> <\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-21179\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/commentaire2.png\" alt=\"commento su pi\u00f9 righe in R\" width=\"669\" height=\"545\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">Da notare che il simbolo <strong>#<\/strong> \u00e8 stato posizionato davanti a ciascuna riga, a indicare che l&#8217;intera riga \u00e8 un commento.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Possiamo rimuovere il commento altrettanto facilmente dalle prime cinque righe evidenziando ciascuna riga e premendo nuovamente <strong>Ctrl<\/strong> + <strong>Maiusc<\/strong> + <strong>C<\/strong> :<\/span> <\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-21180 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/commentaire3.png\" alt=\"\" width=\"664\" height=\"573\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">Da notare che il simbolo <strong>#<\/strong> \u00e8 stato rimosso da ciascuna delle prime cinque righe, indicando che ogni riga non \u00e8 pi\u00f9 un commento.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Tieni presente che puoi premere <strong>comando<\/strong> + <strong>Maiusc<\/strong> + <strong>C<\/strong> per eseguire esattamente la stessa azione in OS-X.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>Risorse addizionali<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">I seguenti tutorial spiegano come eseguire altre operazioni comuni in R:<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/it\/ambiente-chiaro-in-r\/\" target=\"_blank\" rel=\"noopener\">Come cancellare l&#8217;ambiente in R<\/a><br \/> <a href=\"https:\/\/statorials.org\/it\/importare-csv-in-r\/\" target=\"_blank\" rel=\"noopener\">Come importare file CSV in R<\/a><br \/> <a href=\"https:\/\/statorials.org\/it\/esporta-il-frame-di-dati-in-csv-in-r\/\" target=\"_blank\" rel=\"noopener\">Come esportare un dataframe in un file CSV in R<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Il modo pi\u00f9 semplice per creare un commento su pi\u00f9 righe in RStudio \u00e8 evidenziare il testo e premere Ctrl + Maiusc + C. Puoi eliminare il commento altrettanto facilmente evidenziando nuovamente il testo e premendo Ctrl + Maiusc + C. L&#8217;esempio seguente mostra come eseguire questa operazione nella pratica. Esempio: creare un commento su [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Come creare un commento su pi\u00f9 righe in R (con esempi) - Statorials<\/title>\n<meta name=\"description\" content=\"Questo tutorial spiega come creare un commento su pi\u00f9 righe in R, con un esempio.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/it\/r-commento-su-piu-righe\/\" \/>\n<meta property=\"og:locale\" content=\"it_IT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Come creare un commento su pi\u00f9 righe in R (con esempi) - Statorials\" \/>\n<meta property=\"og:description\" content=\"Questo tutorial spiega come creare un commento su pi\u00f9 righe in R, con un esempio.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/it\/r-commento-su-piu-righe\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-22T18:04:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/commentaire1.png\" \/>\n<meta name=\"author\" content=\"Benjamin anderson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Benjamin anderson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/it\/r-commento-su-piu-righe\/\",\"url\":\"https:\/\/statorials.org\/it\/r-commento-su-piu-righe\/\",\"name\":\"Come creare un commento su pi\u00f9 righe in R (con esempi) - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/it\/#website\"},\"datePublished\":\"2023-07-22T18:04:40+00:00\",\"dateModified\":\"2023-07-22T18:04:40+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/it\/#\/schema\/person\/0896f191fb9fb019f2cd8623112cb3ae\"},\"description\":\"Questo tutorial spiega come creare un commento su pi\u00f9 righe in R, con un esempio.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/it\/r-commento-su-piu-righe\/#breadcrumb\"},\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/it\/r-commento-su-piu-righe\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/it\/r-commento-su-piu-righe\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Casa\",\"item\":\"https:\/\/statorials.org\/it\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Come creare un commento su pi\u00f9 righe in r (con esempi)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/it\/#website\",\"url\":\"https:\/\/statorials.org\/it\/\",\"name\":\"Statorials\",\"description\":\"La tua guida all&#039;alfabetizzazione statistica!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/it\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"it-IT\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/it\/#\/schema\/person\/0896f191fb9fb019f2cd8623112cb3ae\",\"name\":\"Benjamin anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\/\/statorials.org\/it\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/it\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/it\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"Benjamin anderson\"},\"description\":\"Ciao, sono Benjamin, un professore di statistica in pensione diventato insegnante dedicato di Statorials. Con una vasta esperienza e competenza nel campo della statistica, sono ansioso di condividere le mie conoscenze per potenziare gli studenti attraverso Statorials. Scopri di pi\u00f9\",\"sameAs\":[\"https:\/\/statorials.org\/it\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Come creare un commento su pi\u00f9 righe in R (con esempi) - Statorials","description":"Questo tutorial spiega come creare un commento su pi\u00f9 righe in R, con un esempio.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/statorials.org\/it\/r-commento-su-piu-righe\/","og_locale":"it_IT","og_type":"article","og_title":"Come creare un commento su pi\u00f9 righe in R (con esempi) - Statorials","og_description":"Questo tutorial spiega come creare un commento su pi\u00f9 righe in R, con un esempio.","og_url":"https:\/\/statorials.org\/it\/r-commento-su-piu-righe\/","og_site_name":"Statorials","article_published_time":"2023-07-22T18:04:40+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/commentaire1.png"}],"author":"Benjamin anderson","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Benjamin anderson","Est. reading time":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/it\/r-commento-su-piu-righe\/","url":"https:\/\/statorials.org\/it\/r-commento-su-piu-righe\/","name":"Come creare un commento su pi\u00f9 righe in R (con esempi) - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/it\/#website"},"datePublished":"2023-07-22T18:04:40+00:00","dateModified":"2023-07-22T18:04:40+00:00","author":{"@id":"https:\/\/statorials.org\/it\/#\/schema\/person\/0896f191fb9fb019f2cd8623112cb3ae"},"description":"Questo tutorial spiega come creare un commento su pi\u00f9 righe in R, con un esempio.","breadcrumb":{"@id":"https:\/\/statorials.org\/it\/r-commento-su-piu-righe\/#breadcrumb"},"inLanguage":"it-IT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/it\/r-commento-su-piu-righe\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/it\/r-commento-su-piu-righe\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Casa","item":"https:\/\/statorials.org\/it\/"},{"@type":"ListItem","position":2,"name":"Come creare un commento su pi\u00f9 righe in r (con esempi)"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/it\/#website","url":"https:\/\/statorials.org\/it\/","name":"Statorials","description":"La tua guida all&#039;alfabetizzazione statistica!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/it\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"it-IT"},{"@type":"Person","@id":"https:\/\/statorials.org\/it\/#\/schema\/person\/0896f191fb9fb019f2cd8623112cb3ae","name":"Benjamin anderson","image":{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/statorials.org\/it\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/it\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/it\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"Benjamin anderson"},"description":"Ciao, sono Benjamin, un professore di statistica in pensione diventato insegnante dedicato di Statorials. Con una vasta esperienza e competenza nel campo della statistica, sono ansioso di condividere le mie conoscenze per potenziare gli studenti attraverso Statorials. Scopri di pi\u00f9","sameAs":["https:\/\/statorials.org\/it"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/it\/wp-json\/wp\/v2\/posts\/2331"}],"collection":[{"href":"https:\/\/statorials.org\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/it\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/it\/wp-json\/wp\/v2\/comments?post=2331"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/it\/wp-json\/wp\/v2\/posts\/2331\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/it\/wp-json\/wp\/v2\/media?parent=2331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/it\/wp-json\/wp\/v2\/categories?post=2331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/it\/wp-json\/wp\/v2\/tags?post=2331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}