need help to open a file in system directory like pdf file in
path ="c:\\abc\\xyz.pdf" with system default pdf viewer
Or to open image in folder using system default photo viewer
already try system('"E:\\pdf_ka_zakhera\\9780387981406-c1.pdf"') in R
Try this:
shell("E:\\pdf_ka_zakhera\\9780387981406-c1.pdf")
From "shell" help page:
To make use of Windows file associations, use
shell.exec
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With