[R] problems with package tutorial
Uwe Ligges
ligges at statistik.tu-dortmund.de
Thu Apr 2 12:41:11 CEST 2009
You have so many strange special characters (including different quotes
at strange places) below, that it is impossible to find out anything.
If you are using the same editor you are writing your e-mails with, I am
sure you will have diverse problems with your code....
Uwe Ligges
markleeds at verizon.net wrote:
> Hi: Here's my revised attempt at explaining my problem. Hopefully it won't
> get sent out weirdly like it did earlier. Â The link to what I'm trying to
> follow is
> http://www.stat.columbia.edu/~gelman/stuff_for_blog/AlanRPackageTutorial.pdf
> Â I've been going through the tutorial but when I got to page 9 and did
> R CMD SHLIB Xdemo.cc Xdemo_main.cc -o Xdemo.dll
> I got the following error:
> XDemo_res.rc:15:38: warning: missing terminating " character
> XDemo_res.rc:23:34: warning: missing terminating ' character
> c:\mark\research\Rtools\MinGW\bin\windres.exe: XDemo_res.rc:16: syntax error
> Then XDemo_res.rc file that gets created is below. I'm using Windows ans R
> 2.8.1. I'd really like to make this work so I can continue my learning
> experience. It's a very nice example that I could really learn a lot from.
> Thanks a lot for any help/enlightenment.
> #===========================================================================
> =
> #include <windows.h>
> #include "Rversion.h"
> VS_VERSION_INFO VERSIONINFO
> FILEVERSION R_FILEVERSION
> PRODUCTVERSION 3,0,0,0
> FILEFLAGSMASK 0x3L
> FILEOS VOS__WINDOWS32
> FILETYPE VFT_APP
> BEGIN
> Â Â Â BLOCK "StringFileInfo"
> Â Â Â BEGIN
> Â Â Â Â Â Â Â BLOCK "040904E4"
> Â Â Â Â Â Â Â BEGIN
> Â Â Â Â Â Â Â Â Â Â Â VALUE "FileDescription", "DLL for R package `test
> Version: 0.0
> Date: 2009-03-31
> Title: Test Package
> Author: Mark Leeds <markleeds at verizon.net>
> Maintainer: Mark Leeds <markleeds at verizon.net>
> Depends: R (>= 2.8.1)
> Description: A set of demonstration functions using C, C++, R-code
> License: GPL (version 2 or later)'\0"
> Â Â Â Â Â Â Â Â Â Â Â VALUE "FileVersion", "unknown\0"
> Â Â Â Â Â Â Â Â Â Â Â VALUE "Compiled under R Version", R_MAJOR "." R_MINOR
> " (" R_YEAR "-" R_MONTH "-" R_DAY ")\0"
> Â Â Â Â Â Â Â Â Â Â Â VALUE "Project info", "http://www.r-project.org\0"
> Â Â Â Â Â Â Â END
> Â Â Â END
> Â Â Â BLOCK "VarFileInfo"
> Â Â Â BEGIN
> Â Â Â Â Â Â Â VALUE "Translation", 0x409, 1252
> Â Â Â END
> END
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list