Maybe you should try via sparkly and spar2 -> this already includes the CSV package http://spark.rstudio.com
Sankar Mittapally <[email protected]> schrieb am Mo., 5. Juni 2017 um 10:10 Uhr: > Hello, > > I am new to big data environment, We have setup Hadoop cluster with > Zeppelin. Now trying to read csv file and getting below error. This file > have full permissions. > > Error in file(file, "rt"): cannot open the connection > > > This is the procedure I am following. > > %dep z.reset() // Add spark-csv package > z.load("com.databricks:spark-csv_2.10:1.2.0") > > %spark2.r > data <- read.csv(file='test/test.csv',header=TRUE,sep='\t') > > Please let me know how to fix this. Thanks > > >
