Skip to content

Difficulty with "\\" in string functions....

1 message · Bernard McGarvey

#
Simple when you know how!

Thanks

Sent from mobile device - please excuse any spelling mistakes.



------ Original Message ------

From: William Dunlap
To: Bernard McGarvey
Cc: Ivan Krylov, r-help at r-project.org
Sent: February 11, 2019 at 4:29 PM
Subject: Re: [R] Difficulty with "\\" in string functions....

You can also avoid the issue by using the basename and dirname functions.
[1] "QT Analysis Input Data Example WorkBook.xlsx"
[1] "D:/Data/OneDrive/ISTA Documents/QT_App"


Use normalizePath if you need to convert those / to \ on Windows.

Bill Dunlap
TIBCO Software
wdunlaptibco.com(http://tibco.com)

On Mon, Feb 11, 2019 at 12:26 PM Bernard McGarvey<mcgarvey.bernard at comcast.net(mailto:mcgarvey.bernard at comcast.net)>wrote: