All - this is likely an idiotic question, but, I've been working on developing some GIS code in R that interacts with an online source. So, sprinkled in various places, I have
myBrick <- brick("http://somesite.com/image.jpg", crs=proj)
This works well and good. And then...I moved to a PC. And chaos ensued. The issue is that
brick() on a PC appends additional text to the filename. So, I get
Error in .local(.Object, ...):
`C:\path\to\my\working\director\http://somesite.com/image.jpg` does not exist in the file system
This is.... odd. Same identical code. Entering strings. Never referencing working directory.
What is going on here? What is
brick() doing differently? How can I stop the madness?