[R] setwd() command on windows vs. linux/unix

jim holtman jholtman at gmail.com
Mon Jul 27 21:52:12 CEST 2015


Try 'choose.dir()' to see if you can navigate to the given directory, or
take baby steps by doing one directory at a time.


Jim Holtman
Data Munger Guru

What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.

On Mon, Jul 27, 2015 at 3:38 PM, Chris <chris.barker at barkerstats.com> wrote:

>
> I have a script that runs correctly (no errors) on Windows, the first
> command is a "setwd(.....windows directory)"I installed the script on a
> Linux machine and changed the windows directory reference to the correct
> directory on the linux machine.when I ran the script I got a message that
> "cannot change working directory". I confirmed I have read and write access
> to the directory.I mainly run R on windows infrequently use linux/unix and
> would appreciate suggestions.thanks in advance Chris Barker, Ph.D.
> Adjunct Associate Professor of Biostatistics - UIC-SPH
>
>
>
>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

	[[alternative HTML version deleted]]



More information about the R-help mailing list