Displaying 20 results from an estimated 7000 matches similar to: "Reading clipboard with read.delim("clipboard") crash (PR#13957)"
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 Mar 28
1
Reading data from "clipboard"
Dear List,
As a way to learn R, I am trying out some of the
examples shown in the Reference Cards.
I use the following to read a column of numbers from
Excel:
x <- read.delim("clipboard")
My questions are:
1. Why is it that the first number is omitted from the
selected data range? How do I tell R to pick up the
first number as part of the entire selection?
2. The next thing I
2017 Aug 15
2
strange behaviour read.table and clipboard
Dear all
I used to transfer data from excel to R by simple ctrl-c and read.delim("clipboard") construction. I know it is a bad practice but it is easy and for quick exploratory work it is OK. However after changing to new R devel few days ago I encountered weird behaviour. I tried one or two columns.
In case of 2 columns, header is repeated after 526 items
>
2007 Jan 12
1
R editor vs. Tinn-R
Have you used Tinn-R and what landmines await the inexperienced?
I could not understand why a script that used to work stopped working.
Look at these two scenarios
I opened an excel spreadsheet and copied several cells to the clipboard
Then Scenario 1
Executed from Tinn-R
> prelim<-read.delim("clipboard")
> str(prelim)
'data.frame': 0 obs. of 1 variable:
$
2009 Dec 01
1
Trouble with read.table(clipboard)
Hi every one,
I'm having some problems with the function read.table(clipboard). I got a
spread sheet in the Excel, and than I make a command+C in the Mac, but the R
returns the message that there is no object in the clipboard.
What could have happened?
Thanks,
Diogo
[[alternative HTML version deleted]]
2010 May 24
2
import data from a csv file
Hi all,
I have some trouble reading data from a csv file.
I used command "read.delim("clipboard") to read in the data.
> aalpha.data <- read.delim("clipboard")
> class(aalpha.data)
[1] "data.frame"
> dim(aalpha.data)
[1] 8 25
> colnames(aalpha.data)
[1] "X" "V1" "V2" "V3" "V4"
2017 Aug 17
2
strange behaviour read.table and clipboard
Hi
> -----Original Message-----
> From: Robert Baer [mailto:rbaer at atsu.edu]
> Sent: Wednesday, August 16, 2017 3:04 PM
> To: PIKAL Petr <petr.pikal at precheza.cz>; Duncan Murdoch
> <murdoch.duncan at gmail.com>
> Cc: r-devel at r-project.org
> Subject: Re: [Rd] strange behaviour read.table and clipboard
>
> You said, "put a name in the cell".
2006 Apr 12
1
Pipe delimiter ( | ) in "read.delim"
Hi R folks,
Can anyone tell me how to read in a pipe ("|") delimited text file? I've
tried the following:
read.delim("c:/junk/junk.txt",sep="|", skip=7, check.names=FALSE,quote = "",
header=F)
The file looks something like the following:
RD|I|04|013|9997|68103|5|7|017|830|20000221|00:00|12.6||6|||||||||||||
2012 Dec 19
2
Copy data from Excel
Hello again,
I my day to day calculation, I need to take lot of data from Excel and
forth and generally I use 'clipboard' option with read.delim() function.
However many time, the data in Excel are like '(111,000)' instead of
'-111000'. Generally I convert data in the 2nd form in Excel itself and
then copy to clipboard.
Is there any option in R, so that I can
2017 Aug 16
5
strange behaviour read.table and clipboard
Hi Duncan
The simples spreadsheet is:
Put a name in the cell, let say "a1"
Put number e.g. 1 below "a1"
Copy the number to enough rows
Select this column and press ctrl-c
result is
> temp<- read.delim("clipboard")
> str(temp)
'data.frame': 1513 obs. of 1 variable:
$ a1: Factor w/ 2 levels "1","a1": 1 1 1 1 1 1 1 1 1 1 ...
2012 Aug 15
4
Import Data from Excel
Dear all,
I want to import just part of an excel data file into R.
I would like to have the data imported without
rownames or colume names.
I used read.delim("clipboard", header=F). Somehow even though
I added the argument "header=F", I still have the row names V1, V2, ...,
Does anyone know how to fix this?
Thanks very much in advance.
Hannah
[[alternative
2011 Mar 08
1
Read data.frame from clipboard
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110308/5fcad543/attachment.pl>
2006 May 18
2
help
Dear Sir,
I’am a frensh student and i’am a new user of the R software.
After using the command (x<-read.delim(“clipboard”) to read a spreadsheet of Excel, I want to run the bds test and calculate the Lyapunov exponent. I have charged the R software by the packages tseries and tseriesChaos. when i run bds.test(x,m=2) Unfortunately the R software displays “error in as.vector(x,mode= “double”) :
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")
2010 Feb 04
2
winbind and existing UIDs
Hi,
I'm implementing a Samba service on Solaris (the native CIFS service
being unreliable in our environment); all is working well but I have a
couple of questions regarding winbind which I can't find answers to in
the documentation. I'm using 3.0.37 at the moment, but it wouldn't be a
big deal to use a more recent version if necessary.
The system will join an existing
2017 Aug 15
0
strange behaviour read.table and clipboard
On 15/08/2017 10:03 AM, PIKAL Petr wrote:
> Dear all
>
> I used to transfer data from excel to R by simple ctrl-c and read.delim("clipboard") construction. I know it is a bad practice but it is easy and for quick exploratory work it is OK. However after changing to new R devel few days ago I encountered weird behaviour. I tried one or two columns.
You haven't posted
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
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
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
2012 Feb 08
2
Problems reading tab-delim files using read.table and read.delim
Hello,
I used read.xlsx to read in Excel files but for large files it turned out to
be not very efficient.
For that reason I use a programme which writes each sheet in an Excel file
into tab-delim txt files.
After that I tried using read.table and read.delim to read in those txt
files. Unfortunately, the results
are not as expected. To show you what I mean I created a tiny Excel sheet
with some