likely the separator character is not the default "," that csv expects.
look in the csv file and see what the separator character is: perhaps it is a
";"
try:
df <- read.csv("example.csv", header=TRUE, sep=";"); names(df)
> On 13 Nov 2017, at 1:07 pm, 王宙翔 wrote:
>
>
On R version: R version 3.4.2 (2017-09-28) (Platform:
x86_64-apple-darwin15.6.0, MacOS: 10.13.1)
load library(xkcd), and then try and run the vignette:
vignette("xkcd-intro")
*** caught illegal operation ***
address 0x7fff7429b5e2, cause 'illegal opcode'
Traceback:
1: system2(pdfviewer,
Hi,Friends:
When I want to read datas from csv , I have the following problem.
For example:
auto.csv :
E <- read.csv("auto.csv", header=T)
But E$age is NULL
(on windows, E$age is not NULL).
Thank you ,everyone. I hope get this helps
On 13/11/2017 4:20 AM, 王宙翔 wrote:
Hi,Friends:
I have installed ks package successfully using R version 3.4.2 on Mac
10.12.6. But when I library it , I have the following problem.
error: package or namespace load failed for ‘ks’:
onLoad fails when'rgl'is calculated in loadNamespace
Hi,Friends:
I have installed ks package successfully using R version 3.4.2 on Mac
10.12.6. But when I library it , I have the following problem.
error: package or namespace load failed for ‘ks’:
onLoad fails when'rgl'is calculated in loadNamespace ():
Call: dyn.load(file, DLLpath =