This project is read-only.

User issues

Microsoft C runtime not installed

> library(rClr)
Loading library assuming MS.NET
Loading dynamic library with short file name rClr
Error : .onLoad failed in loadNamespace() for 'rClr', details:
  call: inDL(x, as.logical(local), as.logical(now), ...)
  error: unable to load shared object 'C:/bin/R/R/library/rClr/libs/i386/rClr.dll':
  LoadLibrary failure:  The specified module could not be found.


See section "Microsoft Visual C++ runtime" in Installing R packages

Microsoft C runtime debug mode not installed


Developer issues

gcc command not found with R CMD check rClr

gcc  -I"C:/bin/R/R/include" -DNDEBUG  etc. 
/usr/bin/sh: gcc: command not found

Yet RTools's gcc is in the path:
$ which gcc


Use R CMD check from a 'dos' prompt, instead of from a cygwin terminal. For some bizarre reason, the latter mucks something up.

"F:\codeplex\r2clr\packages\rClr\src\rClr.sln" (Build target) (1) ->
"F:\codeplex\r2clr\packages\rClr\src\rClr.vcxproj" (default target) (2) ->
(PlatformPrepareForBuild target) ->
  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(42,5): error MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install Visual Studio 2010 to build using the Visual Studio 2010 build tools. [F:\codeplex\r2clr\packages\rClr\src\rClr.vcxproj]

"F:\codeplex\r2clr\packages\rClr\src\rClr.sln" (Build target) (1) ->
"F:\codeplex\r2clr\packages\rClr\src\rClr.vcxproj" (default target) (2) ->
(Link target) ->
  LINK : fatal error LNK1207: incompatible PDB format in 'F:\codeplex\r2clr\packages\rClr\src\x64\Debug\rClr.pdb'; delete and rebuild [F:\codeplex\r2clr\packages\rClr\src\rClr.vcxproj]

Last edited Feb 23, 2013 at 6:51 AM by jperraud, version 5


No comments yet.