[R] help
Petr Pikal
petr.pikal at precheza.cz
Wed May 17 10:38:28 CEST 2006
Hi
as you are raised on Excel probably the best way for you would be:
Start R
Select the reagion in Excel you want to copy, preferably with a line
of column headers
Press Ctrl-C
In R write
my.first.data<-read.delim("clipboard")
and you transferred your data to do analysis.
However I recommend you to read some tutorials mentioned on CRAN or
elsewhere and start with examples from these tutorials.
As regarding the help pages (or man pages) they usually have some
examples which you can copy to R console and see the results. Don't
be afraid, you probably will not harm yourself or your computer by
such trial and error attempts. ;-)
HTH
Petr
On 17 May 2006 at 9:59, karim99.karim wrote:
Date sent: Wed, 17 May 2006 09:59:32 +0200
From: "karim99.karim" <karim99.karim at laposte.net>
To: "R-help" <R-help at stat.math.ethz.ch>
Subject: [R] help
> Dear Sir,
>
> Iam a French Student. Iam a new user of the Ť R ť Software. I dont
> success to import data from Excel spreadsheet either using the
> function (read.table) and the function (Rodbc). In addition, I dont
> understand very well the help of the R Software. Could you please help
> me and give a simple numerical example using this procedure :
> read.table(file, header = FALSE, sep = "", quote = "\"'", dec = ".",
> row.names, col.names, as.is = FALSE, na.strings = "NA", colClasses =
> NA, nrows = -1, skip = 0, check.names = TRUE, fill =
> !blank.lines.skip, strip.white = FALSE, blank.lines.skip = TRUE,
> comment.char = "#", allowEscapes = FALSE, flush = FALSE)
> read.csv(file, header = TRUE, sep = ",", quote="\"", dec=".", fill =
> TRUE, ...) read.csv2(file, header = TRUE, sep = ";", quote="\"",
> dec=",", fill = TRUE, ...) read.delim(file, header = TRUE, sep = "\t",
> quote="\"", dec=".", fill = TRUE, ...) read.delim2(file, header =
> TRUE, sep = "\t", quote="\"", dec=",", fill = TRUE, ...)
>
>
> This is my e-mail: karimmgo at laposte.net
>
>
> Accédez au courrier électronique de La Poste : www.laposte.net ; 3615
> LAPOSTENET (0,34 /mn) ; tél : 08 92 68 13 50 (0,34/mn)
>
>
>
> [[alternative HTML version deleted]]
>
>
Petr Pikal
petr.pikal at precheza.cz
More information about the R-help
mailing list