Skip to content

Incorrect path created for Rtools #201

Closed
@jlaake

Description

@jlaake

devtools v0.8 sets the path to c:\rtools\bin\bin and c:\rtools\bin\gcc.. instead of c:\rtools\bin; c:\rtools\gcc..\bin

See detailed info below:

Sys.getenv("PATH")
[1] "C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\12.0\DLLShared;C:\Program Files (x86)\Roxio\OEM\AudioCore"
library(devtools)
Rtools not in path, but I'm adding it automatically :)
Warning messages:
1: In normalizePath(path.expand(path), winslash, mustWork) :
path[1]="c:\Rtools\bin/bin": The system cannot find the file specified
2: In normalizePath(path.expand(path), winslash, mustWork) :
path[2]="c:\Rtools\bin/gcc-4.6.3/bin": The system cannot find the path specified
Sys.getenv("PATH")
[1] "C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\12.0\DLLShared;C:\Program Files (x86)\Roxio\OEM\AudioCore;c:\Rtools\bin\bin;c:\Rtools\bin\gcc-4.6.3\bin"

SysInfo()
Error: could not find function "SysInfo"
Sys.Info()
Error: could not find function "Sys.Info"
Sys.info()
sysname release version nodename machine
"Windows" "7 x64" "build 7601, Service Pack 1" "JLAAKE" "x86"
login user effective_user
"jll1" "jll1" "jll1"
R.Version()
$platform
[1] "i386-w64-mingw32"

$arch
[1] "i386"

$os
[1] "mingw32"

$system
[1] "i386, mingw32"

$status
[1] ""

$major
[1] "2"

$minor
[1] "15.2"

$year
[1] "2012"

$month
[1] "10"

$day
[1] "26"

$svn rev
[1] "61015"

$language
[1] "R"

$version.string
[1] "R version 2.15.2 (2012-10-26)"

$nickname
[1] "Trick or Treat"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions