[R] problem with system.file

Pau Marc Muñoz Torres paumarc at gmail.com
Mon May 22 14:43:14 CEST 2017


Hello everybody

 I am trying to use system.file but it returns not file found

what I have done is

> sample <- system.file("results.xlsx","estdata", package =
"readxl",mustWork = TRUE)
Error in system.file("results.xlsx", "estdata", package = "readxl",
mustWork = TRUE) :
  no file found

i have checked the path was correct and the file exists with

FILES <- file.path("results.xlsx")
present <- file.exists(FILES)

and it returned a true values. Anyone can tell me which can be the problem ?

thanks

Pau Marc Muñoz Torres
skype: pau_marc
http://www.linkedin.com/in/paumarc
http://www.researchgate.net/profile/Pau_Marc_Torres3/info/

	[[alternative HTML version deleted]]



More information about the R-help mailing list