From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1 with LMTPS id iBbSEQkYiV5xTwAAk0OIDg (envelope-from ) for ; Sat, 04 Apr 2020 23:28:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yA5vLQcYiV4XPwAAbx9fmQ (envelope-from ) for ; Sat, 04 Apr 2020 23:28:07 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A93AA941403 for ; Sat, 4 Apr 2020 23:28:05 +0000 (UTC) Received: from localhost ([::1]:42968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKsCq-0002Yw-GL for larch@yhetil.org; Sat, 04 Apr 2020 19:28:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44503) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKsCV-0002XI-3F for emacs-orgmode@gnu.org; Sat, 04 Apr 2020 19:27:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jKsCU-0003Dl-2E for emacs-orgmode@gnu.org; Sat, 04 Apr 2020 19:27:42 -0400 Received: from mail-oi1-x235.google.com ([2607:f8b0:4864:20::235]:36615) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jKsCT-0003DK-Tg for emacs-orgmode@gnu.org; Sat, 04 Apr 2020 19:27:42 -0400 Received: by mail-oi1-x235.google.com with SMTP id k18so9800102oib.3 for ; Sat, 04 Apr 2020 16:27:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=3O2gtgT71Hp0LZjIrT3MqsLAB9CYOL0FMkGTpval9LM=; b=eT30jw4ZpI/s8dI5Pa7gAyreHFvvA2ablBMKeketfrrbjDWcqa8QbjjWNXY8PmU6AZ 6zEh7ub7HmZ9pXOz5oCGOV7hBLRl3KfHTc7pkry4HG8Peu0aXp8f4SPz1EpxHiMDRvvG aAFyHQVEUbvSm8XDBzmFX6QQZvCOj7uBnpL4wRaqjtzAVR8VMQVrovarCj2v7nHlwpei EJ9VZGGbOfysryA7nvRyMC8lmAqhfLeEZJDSWrJBDPSN1YVU+kZkHAtQ3ECImRsFjYVw 2f17Dcw6ed7RIusekTIWgesP6bLpo8K//wbqh23pEYLEOimCoB0lfaWYawnw2RBlVe7x sQ1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3O2gtgT71Hp0LZjIrT3MqsLAB9CYOL0FMkGTpval9LM=; b=L4ORhJjxD8SSZyVXoG90u/jeL6/RRGOhJ3Zl6an146n+Lg5vA8v9eM6gSJgVkViZZA Q1nI7jXlDyYxUDrZRckfYnrjKbVrMF7oa6pDlWSjw1j65TU02TV5BW06TF6AMjBCpTiN Mg+KhPaM4t8/XO42S8UNWZFYNQoWpah7cwn6L88lxb1GrMvPkm/3dHt75FqWPcPKEebu EyrXxRsk6w5l7si5Bq9SlgDjC2EjqTAER6Pcdw33NC248Q6ah1qtRArB5lcsGHW1Du+D ne3j9/BwXQgV0Zq9ZsM/4MD2jLXitZ2Elsi8KQJnZey2hJ7BJkZtJZjiv8WKgcCzg4Ph vjEg== X-Gm-Message-State: AGi0PubVWr+gq5OuPsvys0t0OszyEd0VWY64+xUQBc8Kw/1d3JjaZDcH vFXyeSir3nxvHhHBxv9Llc/fEeY495S7Ypz5miTa87uD X-Google-Smtp-Source: APiQypIrGcBYM7KjKfz56/ug6IIxezCU9nbEYfytbeRpjZKjzcITdHXdOnsT1yuPV/B7cDuv4upDTbw2oBjRm9n13lE= X-Received: by 2002:aca:4a08:: with SMTP id x8mr8290502oia.158.1586042860741; Sat, 04 Apr 2020 16:27:40 -0700 (PDT) MIME-Version: 1.0 From: Matt Price Date: Sat, 4 Apr 2020 19:27:30 -0400 Message-ID: Subject: R session and plotting in x11 window To: Org Mode Content-Type: multipart/alternative; boundary="0000000000005026be05a27f6175" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::235 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=default; t=1586042886; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=3O2gtgT71Hp0LZjIrT3MqsLAB9CYOL0FMkGTpval9LM=; b=p7UV9myBwFZuqBVkFXOEHVwcrek3YpSuMjOJpBVebVbE/wWUTlJVM5gFM2gMs0scQzsnwG e8KsBF/2ljdGIY/XFTpyhWZlQoSkfO4lSumdJjNoCtZ1lUnFhiEp8lRvQmCtJ+gsN08Llj I/fdgxhr85iW3+cBG4+RUrriyaxitzs= ARC-Seal: i=1; s=default; d=yhetil.org; t=1586042886; a=rsa-sha256; cv=none; b=GkUQ5SDk0Pzvd7xVIv/yzA4K31ix+uZzasr2AyzS1Rwc2Ysr90tBrbR7St62Y6JYHoUzJU xdTIvHRl8Efzt38OM9cGyHq2bRUTCsvkW0ZEUs5YokwpRMgq3mItJCcz9FI2J8oOoRnPF8 RyAKtoDvaWgvVaTXLtzpsHFk9QyCcQo= ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=eT30jw4Z; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scanner: scn0 X-Spam-Score: -1.71 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=eT30jw4Z; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [-1.71 / 13.00]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; FREEMAIL_FROM(0.00)[gmail.com]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.00), country: US(-0.01), ip: 209.51.188.17(0.00)]; ARC_SIGNED(0.00)[i=1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[moptop99@gmail.com,emacs-orgmode-bounces@gnu.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[emacs-orgmode@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: jbW+UiOHKzqd --0000000000005026be05a27f6175 Content-Type: text/plain; charset="UTF-8" Does anyone know much about the difference between an R session opened by typing M-x R, and the R session opened by org-babel? I'm just learning R and my usual method for learning a language is to keep a kind of notebook in org with code snippets they I can execute and iterate on rapidly as I learn. This works great in R when I'm just doing math. When I am working on plots, it would be nice to have them open up quickly either in emacs or in the standard x11 window that R session opened switch M-x R opens up. I know I can set the src block headers to produ e a file, but when I'm just iterating rapidly I often switch back and forth between a data output and a graphical output, and typing/erasing those headers is clunky and slow. It would be easier to just paste the plot command into the console and have it pop open the window... But that doesn't seem to work. Anyone know if I can tweak something to make that possible? Thank you! Matt --0000000000005026be05a27f6175 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Does anyone know much about the difference between an R s= ession opened by typing M-x R, and the R session opened by org-babel?

I'm just learning R and my usua= l method for learning a language is to keep a kind of notebook in org with = code snippets they I can execute and iterate on rapidly as I learn. This wo= rks great in R when I'm just doing math.=C2=A0 When I am working on plo= ts, it would be nice to have them open up quickly either in emacs or in the= standard x11 window that R session opened switch M-x R opens up.=C2=A0=C2= =A0

I know I can set the= src block headers to produ e a file, but when I'm just iterating rapid= ly I often switch back and forth between a data output and a graphical outp= ut, and typing/erasing those headers is clunky and slow. It would be easier= to just paste the plot command into the console and have it pop open the w= indow... But that doesn't seem to work. Anyone know if I can tweak some= thing to make that possible?

Thank you!

Matt
--0000000000005026be05a27f6175--