I currently run a report on my computer that accesses a file from a folder on a shared drive. On my device this is the R: drive so it is super basic to load with read.csv()
using
read.csv(file="R:/Shared Factory/Allocation/Applied Analytics/Projects/Top 30 Report/initiative.csv")
However, now this R script is being moved to the server so this alias R: does not apply. I tried changing the filepath to match the actual full server name, \\nas-06
as in read.csv(file="\\\\nas-06\\Shared Factory\\Allocation\\Applied Analytics\\Projects\\Top 30 Report\\initiative.csv")
or whq_factory
with read.csv(file="\\\\whq_factory\\Shared Factory\\Allocation\\Applied Analytics\\Projects\\Top 30 Report\\initiative.csv")
but both say the connection cannot be opened.
How do I correctly open this connection using the actual server filepath and not an alias? I'm open for a creative way to include a working example for everyone if anyone has an idea.