source from clipboard
?clipboard in R has a whole section on this. Please do follow the posting guide and do your homework before posting.
On Sat, 12 Nov 2011, Adrian Dusa wrote:
Dear All,
Apologies for noob questions, under Linux (and Windows) I extensively used:
source("clipboard")
in order to paste commands without cluttering the R session.
Under Mac this has to be somehow different, because I get:
source("clipboard")
Error in file(file, "r", encoding = encoding) : cannot open the connection In addition: Warning message: In file(file, "r", encoding = encoding) : clipboard cannot be opened or contains no text I assume this is general Mac behavior, but if it's related to my locale then I will provide the relevant info. Thanks in advance for any hint, Adrian PS: I do of course use Cmd+C under Mac to copy commands in the clipboard -- Adrian Dusa Romanian Social Data Archive 1, Schitu Magureanu Bd. 050025 Bucharest sector 5 Romania Tel.:+40 21 3126618 \ ? ? ? ?+40 21 3120210 / int.101 Fax: +40 21 3158391
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595