August 17th, 2012, 01:54 AM
Subject trend from Pubmed
I am trying to get the subject trend from pubmed for literature review. Doing this manually is turning out to be tedious. I came across a fellow R blogger who has provided with a solution using R and Perl for obtaining the subject trend from pubmed.
I am totally new to Perl. I am not sure why I get this error.
This is what I was asked to do.
I downloaded the archive from a website (I am not allowed to post URL in this forum coz I am beginner) and ran those commands.
tar -xzf TGen-EUtils-0.13.tar.gz
## instruction are in the INSTALL file
I use windows.
I get the error:
'make' is not recognized as an internal or external command.
I have a file called Makefile in my directory.
Could you kindly help me with is.
August 17th, 2012, 06:55 AM
'make' is a program that usually comes with your compiler tools so that you can run a build routine. Windows doesn't provide a compiler by default. There are many differences between Windows and Unix tools such that it is difficult to have share code between them.
For that reason, ActiveState perl provides ppm, which is a repository of pre-built modules for Windows you can download. The drawback is that only major modules are generally provided. It's unlikely the one you want will be available there.
I know that Strawberry perl, which is a newer Windows perl version, includes build tools so that you might have better luck installing modules.
It's also possible that the module you want is pure-perl, but you'd have to look at the manifest to see if it is. Pure perl modules can be installed manually without building.
If you don't mind dual-booting, you could install Linux on a partition and have a no-compromise perl laboratory. It's fun too.
August 17th, 2012, 12:46 PM
An alternative might be Cygwin, a Linux-like environment under Windows.
Originally Posted by keath
August 17th, 2012, 01:29 PM
Another option would be to install the MinGW module which provides the required compiler so you can compile and install modules via cpan. MinGW is in ActiveState's repository.