Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
If you're on a windows machine, I'm sure there is a way to install CPAN stuff in your own "home" space and adjust your shell environment so that perl knows to look there for modules, but I don't know the details (I'm not a windows user, thankfully).

If you're on linux or unix, you just need to make sure that your home directory contains subdirectories called "bin", "lib" and "lib/perl5". Then, run:

perl -MCPAN -e shell
You'll probably go through a long "first-time start-up" config dialog, in which all the "default" answers are the right answers. Then you'll see a prompt for action:
cpan>
Once you see that, just type something like this (supposing that your home directory is called "renovatio"):
install Statistics::R PREFIX=/home/renovatio
Any executables being installed by the module will be placed in your ~/bin directory; various module files will be placed into ~/lib/perl5/...

If you have specific problems with installing a module, you can use your shell to go into ~/.cpan/build/{Module-Package-Name}, and try reading the README and/or INSTALL files (if any), and manually doing the sequence:

perl Makefile.PL PREFIX=/home/renovatio make make test make install
If you get errors that you can't understand, and the module docs don't help, try posting some of the details here. Good luck!

In reply to Re^5: using R from Perl by graff
in thread using R from Perl by renovatio66

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-18 16:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found