r - CSV file is not recognized -


im exporting excel file .csv file (cause want import r) r doesn't recognize it.

i think because when open in notepad get:

item;description 1;ja 2;ne 

while file not have import issues structured in notepad:

"item","description" "1","ja" "2","ne" 

does know how can either export excel in right format or import csv file ";" seperator r.

it's easy deal semicolon-delimited files; can use read.csv2() instead of read.csv() (although aware use comma decimal separator character!), or specify sep=";".

sorry ask, did try reading ?read.csv ? relevant information is in there, although might admittedly little overwhelming/hard sort out if you're new r:

sep: field separator character. values on each line of file separated character. if ‘sep = ""’ (the default ‘read.table’) separator ‘white space’, 1 or more spaces, tabs, newlines or carriage returns.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -