--- [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
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
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
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 don't know if it does what you want, however you might try package RExcel.
However it is not on CRAN. You can find it on
http://sunsite.univie.ac.at/rcom/download/.
I belive it might be obsolete and replaced by R (D)COM Server V1.35
(previously you needed this package to use RExcel) which you
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
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?)?
-
16 matches
Mail list logo