[Rd] paths for install and libraries?

2016-04-28 Thread Dalthorp, Daniel
I've written a fairly elaborate package (called "eoa") that relies on
functions from several other packages. I've built the package into a zip
file on Windows using Hadley's devtools::build(binary = T) and have sent
the zip to a couple dozen people for testing. My package installs fine, but
some people are having trouble loading it. After library(eoa), they get
something like:

Error: could not load package tcltk2

In DESCRIPTION file, I use

Depends: tcltk, tcltk2, tkrplot
Imports: actuar,
graphics,
gsl,
MASS,
Matrix,
tensorA

If, after getting the "could not load" message, the user installs the
required packages by hand, everything works fine.

My understanding was that both the "Depends: " and the "Imports: " lines in
DESCRIPTION file direct R to automatically install required packages that
haven't been previously installed.

It doesn't appear to be working that way for me. There must be a simple
solution that I am obviously missing

Any help would  be greatly appreciated!

-Dan

-- 
Dan Dalthorp, PhD
USGS Forest and Rangeland Ecosystem Science Center
Forest Sciences Lab, Rm 189
3200 SW Jefferson Way
Corvallis, OR 97331
ph: 541-750-0953
ddalth...@usgs.gov

[[alternative HTML version deleted]]

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Rtools -- compiling C dll for 64-bit

2014-07-03 Thread Dalthorp, Daniel
I've seen that many people have had trouble using Rtools for a 64-bit
compile of C functions. For some, a quick change in path statement seems to
corrects the problem; for others, apparently not. For me? I've been working
at path statements and install/uninstall/reinstall of all sorts of things
for four hours now with no success. The 32-bit dll loads fine, but I need a
64-bit version.

Is there an option to tell the compiler with Rtools to use 64-bit? Or a way
to kill off the 32-bit version on my machine so I don't need to worry about
it?

Any guidance would be greatly appreciated!

-Dan



-- 
Dan Dalthorp, PhD
Statistician
USGS Forest and Rangeland Ecosystem Science Center
Forest Sciences Lab, Rm 189
3200 SW Jefferson Way
Corvallis, OR 97331
ph: 541-750-0953
ddalth...@usgs.gov

[[alternative HTML version deleted]]

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel