I understand global variables can be a bad idea, but even so I would like to
understand what is going on here...
### DESCRIPTION OF PROGRAM ###
...I have a strange bug on a global variable in some C code which I am compiling
using
$ MAKEFLAGS="CFLAGS=-g -O0" R CMD SHLIB myProgram.c
the global v
To answer my own question...
I have two copies of my program
1) a working copy stored in $PROJECT/analysis/c
2) a packaged copy stored in $PROJECT/analysis/myPackage_1.0.2.tar.gz
I have been running a script which does the following
library(myPackage)
load(myData)
detach("package:myPackge")
dy