Skip to content
Prev 11811 / 15075 Next

R code to open and close a file in Mac

Hi,

I was wondering if there is any R way to open/close (forcibly) any
file (preferably Excel) within Mac. I have tried with system()
function, however it generates error saying ".. No such file or
directory" since I have <<space>> in the underlying folder name.

Can anyone here please help me with some workaround particularly on
how to handle Space in file/folder name.

Thanks for your time.