Setting working directory: Julia versus R

前端 未结 2 1660
说谎
说谎 2020-12-16 12:02

In R, starting from any working directory, I can do

setwd(\"~/Desktop\")

and this is consistent with how my linux distribution

2条回答
  •  爱一瞬间的悲伤
    2020-12-16 12:28

    The problem is that Julia doesn't expand the ~. You need to manually provide the full path. This is being worked on, but I'm on my phone right now and can't find issue.

提交回复
热议问题