Hello,
I need to import a data set.
I have never imported data files with R. I have always worked on simulated data.
I have looked at R Data Import/Export manual.
It is a bit peculiar because my data base is already an R object called japan.
I guess it is not yet a data set, and I don't know
--- [EMAIL PROTECTED] wrote:
Hello,
I need to import a data set.
I have never imported data files with R. I have
always worked on simulated data.
I have looked at R Data Import/Export manual.
It is a bit peculiar because my data base is already
an R object called japan.
Then you
Oops, forgot to include the Subject. sorry for that
sloppiness.
Yes, you can, as documented in ?connections, but
on the Mac you would have to use:
read.delim(pipe(pbpaste))
You can also use pbcopy to copy to the clipboard.
Dear R users,
I am trying to get data from the clipboard into R on
Hi Rense,
Not sure how robust this is, but maybe to get you started:
In R console:
a - 1:10
Copy that line to or part of it to the clipboard.
system(osascript -e 'set y to the clipboard' -e 'tell application
\R.app\ to cmd y')
If course you could use this in an R function. I would opt
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
On Fri, 2006-02-24 at 08:48 +0100, Uwe Ligges wrote:
Gabor Grothendieck wrote:
Just source the file:
source(mywinbugsfile.R)
head(y)
... and don't forget to transpose the matrix afterwards, if this was
BUGS code.
Uwe Ligges
If this were a WinBUGS data file (or initial values
For those who use WinBUGS (or for those who are just familar with this
format), I have a text file that looks like this (which is how R would
export data if you used the structure function):
y= structure(.Data= c(-6.93310E+01, 4.32870E+01, -6.96600E+01, 4.35730E+01,
-6.90150E+01, 4.35870E+01,
Just source the file:
source(mywinbugsfile.R)
head(y)
On 2/23/06, Jeffrey Moore [EMAIL PROTECTED] wrote:
For those who use WinBUGS (or for those who are just familar with this
format), I have a text file that looks like this (which is how R would
export data if you used the structure
Gabor Grothendieck wrote:
Just source the file:
source(mywinbugsfile.R)
head(y)
... and don't forget to transpose the matrix afterwards, if this was
BUGS code.
Uwe Ligges
On 2/23/06, Jeffrey Moore [EMAIL PROTECTED] wrote:
For those who use WinBUGS (or for those who are just
I have a highly formated Excel with multiple tabs. Is
it currently possible to read this data into R without
changing the format of the Excel file?
Also, is it possible to write back to the same Excel
file or at least create a new Excel file with the same
formatting as before with modified
: Thursday, April 07, 2005 4:47 PM
Subject: [R] Importing data into R
I have a highly formated Excel with multiple tabs. Is
it currently possible to read this data into R without
changing the format of the Excel file?
Also, is it possible to write back to the same Excel
file or at least create a new
Message: 35
Date: Tue, 16 Nov 2004 09:49:45 -0800 (PST)
From: gauri [EMAIL PROTECTED]
Subject: [R] R help
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain
Hi,
I was wondering as to how I could convert SPSS data imported to R into tabular
form. In the sense,
Hi all!
I am newcomer to R and I am loborating on this problem:
How do I import data from a CD into R for further evaluation.
Using code newgotcha - read.table(e:\\asciiwin\\gotcha.dat) returmns a list
containing an additional column with indices. The command plot (gotcha) gives the
On Wed, 13 Oct 2004, Andreas Betz wrote:
I am newcomer to R and I am loborating on this problem:
How do I import data from a CD into R for further evaluation.
Using code newgotcha - read.table(e:\\asciiwin\\gotcha.dat)
returmns a list containing an additional column with indices. The
Uwe Ligges wrote:
Gerardo Prieto Blanco wrote:
Hello, I need to care excel data to be used
in R,..., how do I make it?
Thank you and greetings, Gerardo Prieto
Please read the R Data Import/Export manual!
Uwe Ligges
Hello Gerardo,
I completely agree with Uwe, and the following simple example may
if under windows ,the command works well,but under linux ,it does NOT,as
linux can keep couples of file in clipboar.so i want to know how to do
similar thing under linux.anyone knows?
the erroe msg is as follow:
dat-read.table('clipboard',header=T)
Error in file(file, r) : unable to open
Hello, I need to care excel data to be used
in R,..., how do I make it?
Thank you and greetings, Gerardo Prieto
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
Gerardo Prieto Blanco wrote:
Hello, I need to care excel data to be used
in R,..., how do I make it?
Thank you and greetings, Gerardo Prieto
Please read the R Data Import/Export manual!
Uwe Ligges
__
[EMAIL PROTECTED] mailing list
On Thu, 21 Aug 2003, Gavrilov, Pavel M wrote:
Hello. I have been working with GeoDA, and have created a spatial weights
file for my data. I am now looking to use R to run regressions on this
data. However, I don't know and can't figure out how to get my data into R
to run these
On Thu, 21 Aug 2003, Gavrilov, Pavel M wrote:
Hello. I have been working with GeoDA, and have created a spatial weights
file for my data. I am now looking to use R to run regressions on this
data. However, I don't know and can't figure out how to get my data into R
to run these
On 08/21/03 12:15, Gavrilov, Pavel M wrote:
I have the data in many formats, from a .dbf file to an Excel spreadsheet,
but I'm not sure how to go about importing it into R. Could you help me out
please? Thanks.
In the documents that come with R is one called R Data
Import/Export. You might
On Thu, 21 Aug 2003, Gavrilov, Pavel M wrote:
Hello. I have been working with GeoDA, and have created a spatial weights
file for my data. I am now looking to use R to run regressions on this
data. However, I don't know and can't figure out how to get my data into R
to run these
These functions are in the library foreign. You may not have loaded the
library. Load it first, before using the functions. I tried the following on
R1.7.1 on Windows; the functions are available.
library(foreign)
help(read.xport)
help(read.table)
In a message dated 8/6/03 11:48:56 AM
Hadassa Brunschwig wrote:
Im trying to import data from an excel sheet or a sas file to R...im not
succeeding. Apparently the function read.xport for reading a SAS file
doesnt exist. What do i have to type in EXACTLY to read from an excel
sheet(i guess i would be using read.table?)?
-
Im trying to import data from an excel sheet or a sas file to R...im not
succeeding. Apparently the function read.xport for reading a SAS file doesnt
exist. What do i have to type in EXACTLY to read from an excel sheet(i guess
i would be using read.table?)?
Thanks in advance for an answer
25 matches
Mail list logo