Displaying 3 results from an estimated 3 matches for "msg254116".
2019 Jun 07
2
[R] Open a file which name contains a tilde
...> How can expanding tildes anywhere but the beginning of a file name NOT be
> considered a bug?
>
>
I think that that IS what libreadline is doing if one allows a whitespace separated list of file names.
As reported in R-help,
https://www.mail-archive.com/r-help at r-project.org/msg254116.html
path.expand seems to expand tildes beginning whitespace separated strings that could be filenames, but not other tildes.
Thus,
> path.expand("~/.newsrc ~/.R/*") # expands both tildes
[1] "/Users/cberry/.newsrc /Users/cberry/.R/*"
> path.expand("~/.newsrc~/.R/...
2019 Jun 08
0
[R] Open a file which name contains a tilde
...inning of a file name NOT be
> > considered a bug?
> >
> >
>
> I think that that IS what libreadline is doing if one allows a whitespace
> separated list of file names.
>
> As reported in R-help,
>
> https://www.mail-archive.com/r-help at r-project.org/msg254116.html
>
> path.expand seems to expand tildes beginning whitespace separated strings
> that could be filenames, but not other tildes.
>
> Thus,
>
> > path.expand("~/.newsrc ~/.R/*") # expands both tildes
> [1] "/Users/cberry/.newsrc /Users/cberry/.R/*"...
2019 Jun 08
0
[R] Open a file which name contains a tilde
...gt; considered a bug?
>>>
>>>
>>
>> I think that that IS what libreadline is doing if one allows a whitespace
>> separated list of file names.
>>
>> As reported in R-help,
>>
>> https://www.mail-archive.com/r-help at r-project.org/msg254116.html
>>
>> path.expand seems to expand tildes beginning whitespace separated strings
>> that could be filenames, but not other tildes.
>>
>> Thus,
>>
>>> path.expand("~/.newsrc ~/.R/*") # expands both tildes
>> [1] "/Users/cberry/.n...