Displaying 20 results from an estimated 1000 matches similar to: "problems with clipboard"
2009 Jan 29
1
Importing data from clipboard on Mac OSX
Hello R-Help,
I noticed that there is a thread about importing data from the clipboard
that is very poorly answered in the forum. One user suggests giving up, the
other gives a solution that echoes the clipboard, but that's exactly the
same as just ctrl-p. As I am asked this question at least once a week in my
very small home institution, I'm sure many people want to know. If you could
2006 Aug 26
2
Importing data from clipboard on Mac OSX
Dear R users,
I am trying to get data from the clipboard into R on MacOSX. I tried
the following, but got an error message:
read.delim("clipboard")
Error in file(file, "r") : unable to open connection
In addition: Warning message:
unable to contact X11 display
Obviously, I'm not running R using X11. I'm wondering, can I import
data from the clipboard on MacosX?
2005 Feb 16
7
Easy cut & paste from Excel to R?
Hi!
Is it possible to easily cut & paste data from an
Excel spreadsheet to
an R edit( ) grid or to variable?
It seems that R cannot handle the cell delimiters
Excel hands over.
Regards,
Werner
2024 Feb 17
1
certain pipe() use cases not working in r-devel
I've now tested with:
> R.version.string
[1] "R Under development (unstable) (2024-02-16 r85931)"
and all of the previously mentioned examples now work as expected on macOS.
Thanks for the quick fix,
Jenny
On Thu, Feb 15, 2024 at 8:02?AM Tomas Kalibera <tomas.kalibera at gmail.com>
wrote:
>
> On 2/14/24 23:43, Jennifer Bryan wrote:
> > Hello,
> >
>
2024 Feb 14
2
certain pipe() use cases not working in r-devel
Hello,
I've noticed a specific type of pipe() usage that works in released R, but
not in r-devel.
In 4.3.2 on macOS, I can write to a connection returned by pipe(), i.e.
"hello, world" prints here:
> R.version.string
[1] "R version 4.3.2 (2023-10-31)"
> con <- pipe("cat")
> writeLines("hello, world", con)
hello, world
But in r-devel on
2012 Aug 15
4
Reading one column .csv file
My friend sent an Excel file:
http://msemac.redwoods.edu/~darnold/temp/cyu01_iqscores.xls
http://msemac.redwoods.edu/~darnold/temp/cyu01_iqscores.xls
I opened it in Excel, saved is as cyu01_iqscores.csv, then imported it into
R with:
iqscores=read.csv('cyu01_iqscores.csv',header=TRUE)
The result was:
> head(iqscores)
IQ.Scores X
1 145 NA
2 101 NA
3 123 NA
4
2008 Jun 17
1
Reading csv-data from variables
Dear Listmembers,
I'm looking for a convenient way to read csv-data which are stored in
variables of data frames.
I'm working with nested csv-data: one of the columns of the first
table stores a long string containing a second csv-coded table. My
problem is to parse that second-order csv-table.
As the read.csv command requires a link to a file, I couldn't get it
to read the
2007 Mar 29
1
pipe Apple
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
2006 Aug 30
4
Suggestion for read.table()
First, I compliment you all
for such a useful project as R.
Suggestion: If read.table() could
take input from a character string,
then one could write
raw=
" x y z
1 2 3
4 5 6
"
df = read.table(raw,head=TRUE)
Of course, one can
cat() to write raw into a
temporary file,
and read.table() from that file.
However, direct reading
might be a good option?
Hope this is
2017 Jul 19
5
Cron sending to root after changing MAILTO
I am running CentOS 7 on an outbound gateway server running Postfix.? I have a couple of cron jobs I was expecting to see in my email that never showed up.? It turns out that they were delivered to root, which is restricted on our exchange server, instead of the address I defined.? Please help.
# cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=ecssupport at
2012 Feb 10
6
Importing a CSV file
I have been trying to import a csv file to r. but I get the same message everytime. the message is
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
cannot open file 'Users:/sezginozcan/Downloads/beer.data.csv': No such file or directory
I use mac.
I tried this command also
2010 Jan 03
1
Anova in 'car': "SSPE apparently deficient rank"
I have design with two repeated-measures factor, and no grouping
factor. I can analyze the dataset successfully in other software,
including my legacy DOS version BMDP, and R's 'aov' function. I would
like to use 'Anova' in 'car' in order to obtain the sphericity tests
and the H-F corrected p-values. I do not believe the data are truly
deficient in rank. I
2009 Sep 18
1
Reading clipboard with read.delim("clipboard") crash (PR#13957)
Full_Name: Liam Gretton
Version: 2.9.2
OS: openSUSE 11.1 (x86_64)
Submission from: (NULL) (143.210.13.77)
Reading a large number of rows of delimited data via the clipboard results in a
segfault or double free error. I've tested copying from various applications,
but gedit will do.
This problem exists in the openSUSE-supplied 2.8.1, I've just built 2.9.2 to see
if it's still there,
2006 May 04
1
a clipboard problem while using R2HTML
I followed the examples of previous posts about R2HTML to practice
exporting a data to a clipboard, but the result is not as smooth as I
had expected:
library(R2HTML)
data(iris)
HTML(iris, file("clipboard","w"), append=FALSE)
I got an error message:
> HTML(iris, file("clipboard","w"), append=FALSE)
Error in file("clipboard", "w")
2003 Nov 08
5
accessing windows clipboard from load and save (PR#4999)
Full_Name: Gabor Grothendieck
Version: 1.7.1
OS: Windows 2000
Submission from: (NULL) (207.35.143.81)
save(x,ascii=TRUE,file("clipboard"))
works but
load(file("clipboard"))
does not.
Even better would be if
save(x,ascii=TRUE,"clipboard")
and
load("clipboard")
worked as that would provide consistency with
2006 Oct 29
2
write to clipboard under Linux
Dear all,
I am trying to use the clipboard when writing a table.
Typing:
write.table(object, file="clipboard")
leads to the message:
Fehler in file(file, ifelse(append, "a", "w")) :
'mode' f?r die Zwischenablage muss unter Unix 'r' sein
My interpretation is that I am not allowed to write into the
clipboard from a program called from R. Is there a
2001 Dec 04
2
Agent Clipboard issues revisited
Howdy,
It seems that there's a bit of a problem with Agent accessing the KDE
Clipboard through Wine. (Or is it the X Clipboard?)
If I start a managed wine Agent session and try to copy from Agent,
the copied info shows up in the KDE Clipboard. If I try to paste
highlighted text from the console into Agent, it works also. Once.
The second (and subsequent tries) don't work. It
2009 Apr 17
1
real numeric variable transforms into factor:
Hi
Test made in: R in windows Vista OS, R version 2.8.1
From FAQ:
http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-do-I-convert-factors-to-numeric_003f
"It may happen that when reading numeric data into R (usually, when
reading in a file), they come in as factors. If |f| is such a factor
object, you can use as.numeric(as.character(f)) to get the numbers back."
1: Why it may happen?
2003 Nov 05
1
save(iris,file="clipboard",ascii=TRUE)
Is this a bug? I thought that "clipboard" could always be substituted
for a filename when dealing with ASCII files.
> data(iris)
> save(iris,ascii=TRUE,file="clipboard")
Error in file(file, "wb") : `mode' for the clipboard must be `r' or `w'
Also this (where gclip is a utility found at unxutils.sourceforge.net
that copies its standard input to the
2006 Mar 08
1
Clipboard connections (PR#8668)
Full_Name: Will Gray
Version: R 2.2.1
OS: WinXP SP2
Submission from: (NULL) (160.129.18.69)
I've been using R with a text editor (Tinn-R) and using a feature of the editor
that sends code to a running R session. Sometimes it is convenient to use the
command "source(file('clipboard'))" to send whole blocks of code. However, this
quickly fills up the limit of 50