Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: Advice: Online material to learn how to create Stata plugins?


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: Advice: Online material to learn how to create Stata plugins?
Date   Mon, 5 Jul 2010 10:27:23 +0100

Regardless of physical access to manuals, -findit plugin- finds (among
others) 

[P]     plugin  . . . . . . . . . . . . . . . . . . . . . . . .  Load a
plugin
        (help plugin)

FAQ     . . . . . . . . . . . . . . . . . . . Creating and using Stata
plugins
        7/03    http://www.stata.com/support/plugins/

FAQ     . . . . . . . . . . . . . . .  Using a plugin to connect to a
database
        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
K. Crow
        1/07    How do I connect to a database by using a Stata
                plugin?
 
http://www.stata.com/support/faqs/data/plugin_database.html

SJ-3-4  st0053  . .  From the help desk: Local polynomial reg. & Stata
plugins
        . . . . . . . . . . R. G. Gutierrez, J. M. Linhart, and J. S.
Pitblado
        (help locpoly if installed)
        Q4/03   SJ 3(4):412--419
        provides command for performing local polynomial regression;
        discusses use of a Stata plugin

My stance resembles that of Stas. Plugins are needed by some people for
compelling reasons, principally to hide some source code. For what you
want, it sounds as if translating your C program to Mata is a better
strategy. 

Nick 
[email protected] 

Stas Kolenikov

As a quick and dirty solution, you can read your stuff from text files
into locals using -file-. I believe plugins work with the data rather
than with the locals, although I've never tried to figure it out and
write something up. To me, it looks like the era of plugins was
somewhat short-lived, between their introduction in early 2000s and
opening up of Mata around 2005.

On Sun, Jul 4, 2010 at 9:36 AM, Tiago V. Pereira

> I don't have the manuals with me, nor found enough ("for dummies")
> information in the website (http://www.stata.com/plugins/) to
transform my
> C program in a Stata plugin. The program outputs a list of vectors
within
> a txt.
>
> The objective is to transfer these vectors to Stata as locals. Do you
have
> any advice on how one does that? Perhaps an online material? tutorial?

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index