I guess you could write some instructions in the "configure" file ("configure.win" for windows) at the root level of the package subdirectory, to create a scheduled task to uninstall and delete the package after a fixed period. That script would normally execute at the moment of installation. See "Package structure" in "Writing R extensions".
Yes, easy to hack. But R is free software, so that's what you should normally expect for any mechanism. In any event, I suppose that you don't want a "trial-based" package for your own use alone, but you want to distribute it. And if you want to distribute it by mainstream repositories (e.g. CRAN), you should publish the source anyway, and won't be allowed to include such "malicious" mechanisms. Helios De Rosario >>> El día 12/05/2014 a las 11:31, Ashis Deb <ashisde...@gmail.com> escribió: > Hi all , > > > I have a GUI package , which I want to make it > work for a certain period,say‑30days ,after which it should be self > destructive . > > Could it be possible ?? > > > ASHIS > INSTITUTO DE BIOMECÁNICA DE VALENCIA Universidad Politécnica de Valencia • Edificio 9C Camino de Vera s/n • 46022 VALENCIA (ESPAÑA) Tel. +34 96 387 91 60 • Fax +34 96 387 91 69 www.ibv.org Antes de imprimir este e-mail piense bien si es necesario hacerlo. En cumplimiento de la Ley Orgánica 15/1999 reguladora de la Protección de Datos de Carácter Personal, le informamos de que el presente mensaje contiene información confidencial, siendo para uso exclusivo del destinatario arriba indicado. En caso de no ser usted el destinatario del mismo le informamos que su recepción no le autoriza a su divulgación o reproducción por cualquier medio, debiendo destruirlo de inmediato, rogándole lo notifique al remitente. ______________________________________________ R-help@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.