Displaying 20 results from an estimated 5000 matches similar to: "calling Perl script from R on Windows 7"
2013 Apr 02
1
gdata selectively not working
I can use gdata to successfully read in the example Excel file, but not any
other excel files. Why might this be the case? It seems that the problem
has something to do with opening the database but no indication as to what
the problem is. So i'm at a loss of how to fix it.
> library(gdata)
gdata: read.xls support for 'XLS' (Excel 97-2004) files ENABLED.
gdata: read.xls support
2011 Jan 18
1
Loading wordnet in R
I ve installed wordnet 2.1 and R 2.11.0 on windows 7.
Whenver i try to load wordnet in R, i get an error
initDict()
FALSE
cannot find wordnet 'dict' directory, Please set the WNHOME variable to its
parent.
I have tried setting WNHOME to "C:\Program Files
(x86)\WordNet\2.1\dict","C:\\Program Files
(x86)\\WordNet\\2.1\\dict","C:\\\\Program Files
2008 Sep 30
1
problem loading WordNet into R
Hello,
I am hoping someone can assist me with a problem I have trying to
load the WordNet dictionary into R. Below is the error
message I receive:
> library(wordnet)
> initDict()
[1] FALSE
Warning message:
In initDict() :
cannot find WordNet 'dict' directory: please set the environment
variable WNHOME to its parent
I have entered the Variable value via: control -> panel
2003 Nov 03
2
calling R from Perl
Hi,
I want to call R from Perl to generate plots to be displayed on a
webpage. What I found out so far is that there is a package called
RSPerl on www.omegahat.org which should do what I need. However in
the description it says it has been tested with R 1.3.* the latest.
I'm using R 1.8.0 right now so the package seems rather unmaintained.
It is not easy for me to just install it and see
2009 Aug 20
1
Problems with loading 'wordnet' in a standalone pc
Hi group,
I have the following error code after submitting library(wordnet) in a
standalone pc. rJava is already in place.
Error in .jpackage(pkgname,lib.loc=libname)
unused argument(s) (lib.loc=libname)
Error: .onLoad failed in 'loadNamespace' for 'wordnet'
Error: package/namespace load failed for 'wordnet'
My guess is I miss something from the namespace but
2005 Dec 05
2
Multiple versions of software
I have a user who wants a version of Perl built with -Duse64bitint
that is accessable as perl64. I've pulled down the src.rpm and I'm
going through the perl.spec file looking to see what all needs to be
changed. So, before I really screw up my system, I thought I would
ask if anyone here has any particular advice. Help?
-- Matt
2005 May 19
1
R from Perl -- RSPerl and lines function.
Dear R-helpers,
I am running well Perl and R on my Debian Linux, and I tried RSPerl.
Installation is ok and all simple functions run well. But I have a
problem to call the "lines" function.
I would like to draw an histogram with the density curve on. Is is OK
in R with the command:
>x<-rnorm(1000)
>hist(x,prob=T)
>lines(density(x))
for example.
Now, I have a Perl script
2009 Aug 15
1
extracting text from wordnet using synonym()
Dear group,
There are postings on extracting partial string using sub()/gsub()/gsubfn()
but I still couldn't figure this one out. Supposed I am pulling the
synonyms of "help" using synonyms("help") from wordnet and get the
followings:
> synonyms("help")
[1] "c(\"aid\", \"assist\", \"assistance\", \"help\")"
2004 Sep 30
2
Interface between R and Perl
Hi,
I have made a GUI in PerlTk and I would use R within perl.
I actually try to install RSPerl but I have some problems during the compilation
In order to call R from perl I use actually an other system based on the OPEN
command in perl.
It works fine but when I tried to call the fonction plot() of R from perl the
plot do not appears and a file named plot.ps is generated.
Unfortunalelly, my
2004 Jun 18
1
Problems running RSPerl w. SuSe 9.0 / Perl 5.8.1
Hi,
installation of RSPerl works fine without errors.
Running RSPerl does not work at all.
If I start R, and then enter this command:
library(RSPerl)
this error appears:
-----------------
> library(RSPerl)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
"/usr/local/lib/R/library/RSPerl/libs/RSPerl.so":
2004 Sep 13
1
R and perl on solaris
Dear all,
I am developing a GUI in perl-Tk and I would use R engine to make some analysis
and some plots.
I have seen that the package RSPerl allows R from perl exchanges but this
package is developed on and for intel based computers.
When I try to install the package on solaris I have some errors
has somebody already used RSPerl on solaris ?
Many thanks,
Patrick
2009 Sep 20
1
perl functions in R enviroment
dear all,
I am trying to implement some perl scripting in R to improve the performance
of some scripts.
I found RSPerl library, but it seems to be quite tricky to import variables.
this is a simple example.
is there any simpler way to do it?
furthermore is there any other available resource to interface the two
language? RSPerl seems to be no longer supported
and when I load it R complains about
2005 Apr 27
1
R/Splus--Perl Interface && ssh
Hi:
I'm using RSPerl_0.6-3 calling R from Perl under UNIX system. My perl programs with the RSPerl work well in my computer. If submitting these programs to a UNIX system by 'ssh' or to GNQS system by 'qsub', these programs do not work even though both systems can run R. Details are following. Any suggestion will be highly appreciated.
Xiao
My perl program 'tt.pl'
2003 Jan 10
1
Suggested modification to shell command
I'm using R 1.6.1 on Windows 95 with cygwin bash as my shell.
The 'shell' command tries to determine which shell the user prefers via the
following steps:
shell <- Sys.getenv("R_SHELL")
if (!nchar(shell))
shell <- Sys.getenv("SHELL")
if (!nchar(shell))
shell <- Sys.getenv("COMSPEC")
For me, shell
2004 Aug 18
3
calling R from Perl
Hello,
I am trying to call R from Perl running on Windows 2000. I have looked
through the previous posts regarding running R from Perl and all have
referred to the RSPerl package at Omegahat. Unfortunately the
documentation for this package specifically states that it only works in
Unix at the moment. Does anyone else have any suggestions about the best
way to do this in the Windows
2010 May 14
0
word similarities using the R Wordnet package
Hi R users,
I am using R for text mining and natural language processing, and would like
to accomplish a task that requires the determination of the distance between
two words.
The idea is to find how close are words with reference words like "bad",
"good" and such, for use as a naive sentiment analyzer.
I am aware of Wordnet implementations in Python and Perl, and have also
2012 Dec 08
2
Want to contribute code to the Xapian project
Hey guys,I am a 3rd year Computer Science undergrad student.I a extremely
interested in contributing code to the XAPIAN project. The work you people
do sounds extremely fascinating and interesting.Can someone just give me a
brief overview of how to proceed ?. I Can code in C,C++ and Python and
have experience in Natural Lanuage Processing.Am also quite comfortable
with NLTK and using Wordnet.Am
2009 Oct 29
1
Error installing RSPerl.
Dear list,
I have updated to version R-2.10.0. When I try to load the RSPerl
library I get the following error:
> library(RSPerl)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared library
'/usr/local/lib/R/library/RSPerl/libs/RSPerl.so':
/usr/local/lib/R/library/RSPerl/libs/RSPerl.so: undefined symbol:
boot_DB_File__Glob
Error: package/namespace load failed
2008 Jan 14
1
Install RSPerl in Leopard
Hi,
I am having problems installing RSPerl 0.92-1 in my Mac OSX 10.5.1.
I?ve installed correctly R-2.6.1 with the .mpkg.
I run the next command: <R CMD INSTALL --configure-args=' --with-in-
perl ' RSPerl>
And the next error message appears:
RSPerl
* Installing to library '/Library/Frameworks/R.framework/Resources/
library'
* Installing *source* package
2006 Jul 10
3
Plurals and synonym lists
I want to correct spelling errors automatically. I have used search in
the past where I can pass an argument through standard search to correct
a word with up to 2 spelling errors for example or do the more Google
like "Did ya mean?". In this case I just want to change it automatically
and search. I am not too interested in specifying the number of
characters it is out by.
What is