[R] How long can a csv file label be?

Jim Lemon drj|m|emon @end|ng |rom gm@||@com
Thu Jun 28 00:48:21 CEST 2018


Hi Nick,
You are probably using Windows, for which the maximum path length is
claimed to be 260 characters. The most common alternative, Linux, has
a maximum filename length of 255 and a maximum path length of 4096. If
you are simply writing a file to the current path, it won't make much
difference.

Jim

On Thu, Jun 28, 2018 at 8:33 AM, Nick Wray via R-help
<r-help using r-project.org> wrote:
> Hi For various reasons too dull to go into I have been trying to write csv files from R with very long filenames.  However R doesn't seem to like my doing this, but it is not clear to me what the maximum filename size is, and I can't find the info on the net.  I believe that the maximum pathname is 255 characters but is that the same thing?
>
> Thanks if anyone can enlighten me
>
> Nick Wray
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.




More information about the R-help mailing list