> On Mar 13, 2016, at 11:58 AM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote: > > That function is installed by RStudio... it is not part of R. You should report this bug to RStudio.I'm not sure that is the case. From the command line of the Mac GUI R.app, there is a `View` function. It brings up an X11 window that displays a dataframe in a spreadsheet format and allows you to a highlight a cell. If you choose "Copy" from the Edit menu of that window you will not succeed in getting that value to paste elsewhere. It's not a function I've ever found useful (as is the case with the `edit` function) and quite frankly I would not be sorry to see that facility abandoned. RStudio has a window that does display data objects and selection of values and copying to the Clipboard does succeed. -- David.> -- > Sent from my phone. Please excuse my brevity. > > On March 13, 2016 11:10:22 AM PDT, Ronen Cohen <ronencozen at gmail.com> wrote: >> I am using the View command within R-Studio on Win10. >> >> On Sun, Mar 13, 2016 at 8:07 PM, Jeff Newmiller >> <jdnewmil at dcn.davis.ca.us> >> wrote: >> >>> Your step 1 is opaque... which command did you use, and were you >> using any >>> GUI (R itself is command line based), and what operating system are >> you >>> using? >>> >>> There is a Posting Guide mentioned at the bottom of every message on >> this >>> list that can help you communicate clearly on the list. >>> -- >>> Sent from my phone. Please excuse my brevity. >>> >>> On March 13, 2016 6:31:31 AM PDT, Ronen Cohen <ronencozen at gmail.com> >>> wrote: >>>> >>>> Can't paste a value to the filter text box, using paste from by >>>> right-clicking the mouse and selecting paste from the context menu. >>>> >>>> How to reproduce: >>>> 1. view any data-frame >>>> 2. from the results copy any token >>>> 3. select filter mode >>>> 4. right click the mouse and select paste -- nothing happen, you >> need to >>>> switch to the keyboard CTRL+V in order to paste. >>>> >>>> [[alternative HTML version deleted]] >>>> >>>> ------------------------------ >>>> >>>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >>>> https://stat.ethz.ch/mailman/listinfo/r-help >>>> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >>>> and provide commented, minimal, self-contained, reproducible code. >>>> >>>> > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.David Winsemius Alameda, CA, USA
That is a different implementation of the View function than the one that is active inside RStudio. -- Sent from my phone. Please excuse my brevity. On March 13, 2016 12:37:42 PM PDT, David Winsemius <dwinsemius at comcast.net> wrote:> >> On Mar 13, 2016, at 11:58 AM, Jeff Newmiller ><jdnewmil at dcn.davis.ca.us> wrote: >> >> That function is installed by RStudio... it is not part of R. You >should report this bug to RStudio. > >I'm not sure that is the case. From the command line of the Mac GUI >R.app, there is a `View` function. It brings up an X11 window that >displays a dataframe in a spreadsheet format and allows you to a >highlight a cell. If you choose "Copy" from the Edit menu of that >window you will not succeed in getting that value to paste elsewhere. >It's not a function I've ever found useful (as is the case with the >`edit` function) and quite frankly I would not be sorry to see that >facility abandoned. > >RStudio has a window that does display data objects and selection of >values and copying to the Clipboard does succeed. > >-- >David. > >> -- >> Sent from my phone. Please excuse my brevity. >> >> On March 13, 2016 11:10:22 AM PDT, Ronen Cohen <ronencozen at gmail.com> >wrote: >>> I am using the View command within R-Studio on Win10. >>> >>> On Sun, Mar 13, 2016 at 8:07 PM, Jeff Newmiller >>> <jdnewmil at dcn.davis.ca.us> >>> wrote: >>> >>>> Your step 1 is opaque... which command did you use, and were you >>> using any >>>> GUI (R itself is command line based), and what operating system are >>> you >>>> using? >>>> >>>> There is a Posting Guide mentioned at the bottom of every message >on >>> this >>>> list that can help you communicate clearly on the list. >>>> -- >>>> Sent from my phone. Please excuse my brevity. >>>> >>>> On March 13, 2016 6:31:31 AM PDT, Ronen Cohen ><ronencozen at gmail.com> >>>> wrote: >>>>> >>>>> Can't paste a value to the filter text box, using paste from by >>>>> right-clicking the mouse and selecting paste from the context >menu. >>>>> >>>>> How to reproduce: >>>>> 1. view any data-frame >>>>> 2. from the results copy any token >>>>> 3. select filter mode >>>>> 4. right click the mouse and select paste -- nothing happen, you >>> need to >>>>> switch to the keyboard CTRL+V in order to paste. >>>>> >>>>> [[alternative HTML version deleted]] >>>>> >>>>> ------------------------------ >>>>> >>>>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >>>>> https://stat.ethz.ch/mailman/listinfo/r-help >>>>> PLEASE do read the posting guide >>> http://www.R-project.org/posting-guide.html >>>>> and provide commented, minimal, self-contained, reproducible code. >>>>> >>>>> >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > >David Winsemius >Alameda, CA, USA[[alternative HTML version deleted]]
On 13/03/2016 7:10 PM, Jeff Newmiller wrote:> That is a different implementation of the View function than the one that is active inside RStudio. >There's a lot of confusion here. View() in RStudio appears to run an RStudio-specific function, and in the version I'm running, cut and paste seems to work fine. If the OP is up to date in RStudio and has a problem with that, they should follow your advice, and complain to RStudio. On the other hand, edit() in RStudio runs the hideous X11 version. X11 has such a messed up idea of cut and paste I don't know why anyone would expect it to work with another system, such as the host MacOS. I wouldn't be surprised if View() used to run something like edit(). So the OP and David should update their RStudio. Duncan Murdoch