Skip to content

import .csv file into R

7 messages · Rui Barradas, R. Michael Weylandt, Marion Wenty

#
check.names=FALSE

but it's discouraged because it will make it hard to refer to column
names inside R.

Michael
On Thu, Feb 16, 2012 at 11:18 AM, Marion Wenty <marion.wenty at gmail.com> wrote:
#
Hello,
Try

gsub('\\.', ' ', A)

(And see ?regexpr and ?gsub)

Rui Barradas


--
View this message in context: http://r.789695.n4.nabble.com/import-csv-file-into-R-tp4394533p4394573.html
Sent from the R help mailing list archive at Nabble.com.
#
If you don't need to refer to colnames you should be fine.

If you do need to subset by colnames, you can still do it with `[`,
but you'll have trouble if you want to use the $ trick, unless you use
back-ticks. Don't worry about these things if they aren't troubling
you now though.

Michael
On Thu, Feb 16, 2012 at 11:48 AM, Marion Wenty <marion.wenty at gmail.com> wrote:
7 days later