Am 29.07.2010 09:24, schrieb nero: > But it doesn´t work. It only works, if i put the file into the > xlsx-directory and set a dynamic path. > a short example: > > http://r.789695.n4.nabble.com/file/n2306056/example_loading_xls.png > > But the file is there... > Am i missing something?
Lukas, You have probably misspecified your path. Maybe it is better to use setwd: setwd("c:/Users/[INSERT YOUR USERNAME]/Documents") # our your path with desktop, make sure the file is there # you could check with dir() library(xlsx) read.xlsx("test.xlsx",1) A B C 1 1 3 5 2 2 4 6 hth Stefan ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.