[R] How to join path with arguments

From: Hyunchul Kim <sundol313_at_naver.com>
Date: Tue, 19 Feb 2008 21:29:19 +0900

Hi, all

How to format and join strings ?
For example, like following short python examples.

name1 = 'sample-plot'
filename = '%s.png' % name1

inputdir = '/path/to/dir'
os.path.join(inputdir, filename)

Hyunchul Kim

        [[alternative HTML version deleted]]

R-help_at_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. Received on Tue 19 Feb 2008 - 12:32:16 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 19 Feb 2008 - 13:30:16 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive