[R] pipe Apple
Don MacQueen
macq at llnl.gov
Thu Mar 29 22:43:28 CEST 2007
This expression,
read.table(pipe("pbpaste"))
does work for me on an OS X 10.4.9 system.
And it was working 2 years ago on a 10.3.8 system (an older R, obviously).
I would look to how R was installed, what version of R, that kind of thing.
Use the sessionInfo() command to provide that information.
(the posting guide asks for information about the R version, without
which it is more difficult to help)
What does the R expression
capabilities()
return?
Also, if what she's copying and pasting from is Excel, the gdata
package has a function read.xls() function which can read data
directly from Excel.
-Don
At 12:39 PM -0500 3/29/07, A. Beaujean wrote:
>Hi,
>
>I have a student trying to run R on an Apple (OS 10.3.9). She tried to
>cut-and-paste the data via the code:
>data<-read.table(pipe("pbpaste"))
>
>But she keeps getting the error message:
>'error in pipe("pbpaste"): pipe connections are not available on this
>system'
>
>I do not know much about using an Apple. Has anyone run into this before?
>Does anyone have any ideas for how to fix the problem?
>
>Thanks!
>
>Alex
>
>--
>***************
>A. Alexander Beaujean, Ph.D., LSSP
>Licensed Psychologist (Provisional, TX)
>http://myprofile.cos.com/abeaujean
>http://www.baylor.edu/soe/faculty/index.php?id=38476
>
>
>"General impressions are never to be trusted. Unfortunately when they are of
>long standing they become fixed rules of life, and assume a prescriptive
>right not to be questioned. Consequently those who are not accustomed to
>original inquiry entertain a hatred and a horror of statistics. They cannot
>endure the idea of submitting their sacred impressions to cold-blooded
>verification. But it is the triumph of scientific men to rise superior to
>such superstitions, to devise tests by which the value of beliefs may be
>ascertained, and to feel sufficiently masters of themselves to discard
>contemptuously whatever may be found untrue." --Sir Francis Galton, FRS
>
> [[alternative HTML version deleted]]
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>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.
--
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
More information about the R-help
mailing list