Sys.junction(from, to) 中的警告:无法在 R 中设置重新分析点

Warning in Sys.junction(from, to) : cannot set reparse point in R

我在 Windows 8-1 x64 上使用 R 3.2x64 和 RStudio 的开发版 (0.99)。我没有成功执行任何新包的 R CMD 检查,因为我收到以下消息:“...无法设置重新分析点”。

下面是更详细的日志:

Sys.junction(from, to) 中的警告: 无法设置重新分析点 'Z:\Temp\Rtmpugnnnj\RLIBS_b8462e13540/markovchain',原因 'Funzione non corretta' flink(where, tmplib) 错误: 不能从 C:/Users/Giorgio/Documents/R/win-library/3.2/markovchain link * 删除 'F:/GIORGI~1/UNIVER~1/LIFECO~1/LIFECO~1.RCH/lifecontingencies'

环境如下:

ALLUSERSPROFILE C:\ProgramData APPDATA C:\Users\Giorgio\AppData\Roaming asl.log Destination=file CommonProgramFiles C:\Program Files\Common Files CommonProgramFiles(x86) C:\Program Files (x86)\公共文件 CommonProgramW6432 C:\Program Files\Common Files COMPUTERNAME SPEDYPC ComSpec C:\Windows\system32\cmd.exe DISPLAY :0 FP_NO_HOST_CHECK NO GFORTRAN_STDERR_UNIT -1 GFORTRAN_STDOUT_UNIT -1 HOME C :/Users/Giorgio/Documents HOMEDRIVE C: HOMEPATH \Users\Giorgio LOCALAPPDATA C:\Users\Giorgio\AppData\Local LOGONSERVER \SPEDYPC NUMBER_OF_PROCESSORS 8 OS Windows_NT PATH C:\程序 Files\R\R-3.2.0\bin\x64;c:\Rtools\bin;c:\Rtools\gcc-4.6.3\bin;C:\ProgramData\Oracle\Java\javapath;c:\Rtools\bin;c:\Rtools\gcc-4.6.3\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\R\R-3 .2.0\bin\x64 PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE AMD64 PROCESSOR_IDENTIFIER AMD64 Family 21 Model 2 Stepping 0, AuthenticAMD PROCESSOR_LEVEL 21 PROCESSOR_REVISION 0200 ProgramData C:\ProgramData ProgramFiles C:\Program Files ProgramFiles(x86) C:\Program Files (x86) ProgramW6432 C:\程序文件 PSModulePath C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC C:[=6 1=] R_ARCH /x64 R_DOC_DIR C:/PROGRA~1/R/R-32~1.0/doc R_HOME C:/PROGRA~1/R/R-32~1.0 R_LIBS_USER C:/Users/Giorgio/Documents/R/win-library/3.2 R_USER C:/Users/Giorgio/Documents RMARKDOWN_MATHJAX_PATH C:/程序 Files/RStudio/resources/mathjax-23 RS_LOCAL_PEER \.\pipe320-rsession RS_RPOSTBACK_PATH C:/程序 Files/RStudio/bin/rpostback RS_SHARED_SECRET 63341846741 RSTUDIO 1 RSTUDIO_MSYS_SSH C:/程序 Files/RStudio/bin/msys-ssh-1000-18 RSTUDIO_PANDOC C:/程序 Files/RStudio/bin/pandoc RSTUDIO_SESSION_PORT 34320 RSTUDIO_USER_IDENTITY Giorgio SESSIONNAME Con​​sole SystemDrive C: SystemRoot C:\Windows TEMP Z:\Temp TMP Z:\Temp USERDOMAIN spedyPC USERDOMAIN_ROAMINGPROFILE spedyPC USERNAME Giorgio USERPROFILE C :\Users\Giorgio windir C:\Windows

提前致谢

终于改成功了:

Sys.getenv("R_WIN_NO_JUNCTIONS") #in case the error happens, should be clean
Sys.setenv(R_WIN_NO_JUNCTIONS="Z:/TEMP") #now I set it to may temporary folder