Skip to content

can install.packages() copy utility files to the public_html directory ?

3 messages · Markus Loecher, Uwe Ligges, Gabor Grothendieck

#
Markus Loecher wrote:
Yes, in directory ./inst/JavaScript for example that is copied to 
./JavaScript during installation of the package.
Yes, if it is a source package (not for a binary package), BUT you 
should not write such code that copyies files to a directory different 
than the package's directory in the library that it is installed to. 
Things that install files to suprising locations are sometimes 
considered to be some kind of malware.

Uwe Ligges
#
2009/5/4 Uwe Ligges <ligges at statistik.tu-dortmund.de>:
Also not all uses of R2HTML would be for use with a web
server at all.  Also you can't assume the directory is public_html
even if it is on a server.