[R-SIG-Mac] Command lines for R on Macintosh

Jeffrey Agyapong jephrey14 at gmail.com
Thu May 26 11:21:29 CEST 2016


I recently installed R.3.3.0 on mac and I seem to have problems with the command lines. The command lines for windows seems to be different from that for Macintosh. For example I tried the following commands and didn’t work;
> getwd()
[1] "/Users/Dimples"
> setwd("/Users/Dimples/Jeff")
Error in setwd("/Users/Dimples/Jeff") : cannot change working directory
> setwd("/Users/Dimples/Desktop/R/Jeff")
Error in setwd("/Users/Dimples/Desktop/R/Jeff") : 
  cannot change working directory
> setwd("/Users/Dimples/JeffR")
Error in setwd("/Users/Dimples/JeffR") : cannot change working directory
> setwd("/Untitled/Users/Dimples/Desktop/R/JeffRR")
Error in setwd("/Untitled/Users/Dimples/Desktop/R/JeffRR") : 
  cannot change working directory
> setwd("/Users/Dimples/Desktop/R/JeffRR")
Error in setwd("/Users/Dimples/Desktop/R/JeffRR") : 
  cannot change working directory
> setwd("/Users/Dimples/Desktop/JeffRR")
Error in setwd("/Users/Dimples/Desktop/JeffRR") : 
  cannot change working directory
> setwd("/Users/Dimples/Desktop/JeffRR")
Error in setwd("/Users/Dimples/Desktop/JeffRR") : 
  cannot change working directory
 Can I receive any help with which app I can use to run CRAN R on macintosh or how to run R app on macintosh.

Best regards,
Jeff


More information about the R-SIG-Mac mailing list