search for: initr

Displaying 20 results from an estimated 51 matches for "initr".

Did you mean: init
2008 Apr 08
0
RSPerl & threads
Hi all, I'm trying to use the RSPerl module in a script that uses threads. I am able to call R functions without a problem when I don't use threads. However, using threads, I get varying errors depending on how I call the R functions. If I call the R::initR function in the "boss" thread and then try to call R functions from a "worker" thread, I get the following error: Error: C stack usage is too close to the limit Caught error in R::call() However, if I move the "use" declarations for R & RReferences to the worker...
2002 Oct 21
1
Does SJava work on Windows? It does (ish) on Linux
Apologies for posting to this list but my attempts to join the omegahelp list bounce back with address unknown errors. I'm struggling to get SJava working on windows 98. I'm using R 1.6 and the latest SJava 0.65 and JDK 1.3.1_04. I keep getting an Unsatisified Link error on initR. Our Java application gets launched with a wrapper script. I've put the library paths and current directory in PATH, specified them on the java command line using -Djava.library.path= (this is necessary otherwise the DLLs cannot be located in the first instance, despite them being in PATH). I&...
2004 Jan 26
3
Fortran source code
Hi, I am wondering if it is possible to view the Fortran source code called by R functions. In particular, I am interested in the "leaps.setup" function in a package called "leaps", which calls Fortran functions "ssleaps", "initr" etc. Any help would be greatly appreciated. Ka Yee Yeung Bioinformatics Scientist Dept of Microbiology University of Washington
2013 Jul 27
5
Mount multiple-device-filesystem by UUID
Hello, As stated in the -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
2009 Jan 08
1
Callbacks seems to get GCed.
...UNPROTECT_PTR (cmdSexp); if (status == PARSE_OK) { for (i = 0; i < length (cmdExpr); i++) { PROTECT(e = VECTOR_ELT (cmdExpr,i)); R_tryEval(e, R_GlobalEnv, &errorOccurred); UNPROTECT_PTR(e); if (errorOccurred) { return; } } } } void initR() { char *argv[] = {"REmbeddedPascal", "--gui=none", "--silent", "--no-save"}; int argc = 4; DllInfo *info; setenv("R_HOME","/usr/lib/R",0); structRstart rp; Rstart Rp = &rp; R_setStartTime(); R_DefParams(R...
2002 Sep 03
2
Problem with SJava sample "JavaRCall"
...th SJava 0.65 and R1.5.1 under Windows NT4.0. Although loadLibrary("RInterpreter") worked successfull, the following error occurs: "Exception breakpoint occurred at line 65 of ROmegahatInterpreter.java. java.lang.UnsatisfiedLinkError: boolean org.omegahat.R.Java.ROmegahatInterpreter.initR(java.lang.String[]) boolean org.omegahat.R.Java.ROmegahatInterpreter.initR(java.lang.String[]) native code" All paths (attached) are set up correctly, what is missing? Thank you, Heinz Grimm My paths: PATH:=d:\r-project\R-1.5.1\library\sjava\libs;d:\r-project\R-1.5.1\bin;d:\jdk1.3.1_01...
2016 Aug 26
11
[PATCH v2 0/7] v2v: first bits of Debian/Ubuntu guests supports
...v2v: add basic support for the "deb" package manager v2v: linux: identify Debian-based distros as `Debian_family v2v: add /boot/grub/grub.cfg as Grub2 config v2v: linux: check also kernel config for modules v2v: linux: check the kernel package name for Debian v2v: linux: adapt initrd name for Debian v2v/convert_linux.ml | 34 ++++++++++++++++++++++---- v2v/linux.ml | 62 ++++++++++++++++++++++++++++++++++++++---------- v2v/linux_bootloaders.ml | 1 + 3 files changed, 79 insertions(+), 18 deletions(-) -- 2.7.4
2016 May 12
0
[PATCH 11/11] v2v: improve initrd search
To make sure we can also find the initrd on openSUSE and SLES, we need two improvements: * the initrd filename may not end with '.img' * don't use the version + release from the RPM data, rather from the /lib/modules/<version>/ path as we need to find it out anyway. --- v2v/convert_linux.ml | 11 +++++------ 1 fil...
2016 May 18
0
[PATCH v2 11/11] v2v: improve initrd search
To make sure we can also find the initrd on openSUSE and SLES, we need two improvements: * the initrd filename may not end with '.img' * don't use the version + release from the RPM data, rather from the /lib/modules/<version>/ path as we need to find it out anyway. --- v2v/convert_linux.ml | 10 +++++----- 1 file...
2016 Aug 26
0
[PATCH v2 7/7] v2v: linux: adapt initrd name for Debian
The name of the initrd image on Debian-based systems is different from what used on Fedora/RHEL/SUSE and derived; set a different regexp to avoid making the current regexp even more complex. --- v2v/convert_linux.ml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/v2v/convert_linux.ml b/v2v/conv...
2008 Mar 27
1
Nothing happened when I using t.test throuth RSPerl
Hi, I've just started using RSPerl. Though also tests in directory "/usr/local/lib/R/library/RSPerl/tests/" are passed successfully, I meet the problem with the following codes; use strict; use warnings; use R; use RReferences; my @array1=1..10; my @array2=1..39; &R::initR("--silent"); &R::library("RSPerl"); my $tt=&R::call("t.test", (\@array1, \@array2)) print $tt; I got the messages: Can't locate package RFunctionReference for @RReferences::ISA at testR.pl line 4. Use of uninitialized value in print at testR.pl line 11....
2008 Apr 08
0
RSPerl & threads II
...ogize for the double-posting... -Jay Hi all, I'm trying to use the RSPerl module in a script that uses threads. I am able to call R functions without a problem when I don't use threads. However, using threads, I get varying errors depending on how I call the R functions. If I call the R::initR function in the "boss" thread and then try to call R functions from a "worker" thread, I get the following error: Error: C stack usage is too close to the limit Caught error in R::call() However, if I move the "use" declarations for R & RReferences to the worker...
2008 Jun 22
1
I can't see plots
Hi, I use RSPerl on Ubuntu and Apache2 web server. It is my first experience with R language :-) I have the next code embedded into a Perl CGI: use R; use RReferences; my @x; &R::initR("--silent","--no-save"); &R::library("RSPerl"); @x = &R::call("rnorm", 10); &R::call("plot", \@x); The CGI works but no plot is shown. Apache2 web server log [[alternative HTML version deleted]]
2008 Apr 19
1
Not able to run kernel-xen with megasr module :/
...39;driverdisk --source=http://.../driver.img' Then I've had some problems with yum update - new kernel didn't know about megasr.ko. I've solved it with commands: cd /lib/modules/ cp 2.6.18-53.el5PAE/updates/megasr.ko 2.6.18-53.1.14.el5PAE/updates/ depmod -a 2.6.18-53.1.14.el5PAE mkinitrd /boot/initrd-2.6.18-53.1.14.el5PAE-new.img 2.6.18-53.1.14.el5PAE at last I've edited grub.conf add '-new' to initr definition. I'm not sure why I need to do that twice, but it finally worked.: # uname -r 2.6.18-53.1.14.el5PAE Now I need to install Xen, so: # yum -y install xen k...
2005 Apr 27
1
R/Splus--Perl Interface && ssh
...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' #!/usr/bin/perl -w use R; use RReferences; &R::initR("--silent"); &R::setDebug(0); &R::library("RSPerl"); @t = &R::call("min", (1,2)); I have a script 'doRSPerltt' for the perl program #!/bin/csh setenv LD_LIBRARY_PATH /usr/lib/R/lib setenv R_HOME /usr/lib/R perl -I/usr/lib/R/sit...
2012 Apr 09
9
[PATCH] Btrfs: use i_version instead of our own sequence
We''ve been keeping around the inode sequence number in hopes that somebody would use it, but nobody uses it and people actually use i_version which serves the same purpose, so use i_version where we used the incore inode''s sequence number and that way the sequence is updated properly across the board, and not just in file write. Thanks, Signed-off-by: Josef Bacik
2005 May 19
1
R from Perl -- RSPerl and lines function.
...OK in R with the command: >x<-rnorm(1000) >hist(x,prob=T) >lines(density(x)) for example. Now, I have a Perl script with which pars files, and I obtain data in a list @distance. I draw an hist with RSPerl command (from Perl): -------------------------- (---Perl script---) &R::initR("--silent"); &R::library("RSPerl"); @Rdata=&R::call("as.numeric", \@distance); &R::callWithNames("hist", {'', \@Rdata, 'main', '', 'xlab', "Distribution of the distances between oligo-5' and sequence 3'...
2005 Jun 14
1
t.test using RSPerl
Hi, I've just started using R and RSPerl. I have some code as follows: &R::initR("--no-save"); &R::call("t.test", (\@array1, \@array2)); where @array1 and @array2 are both 1-dimensional arrays in Perl having 54675 elements each. On execution the output is as follows: Calling R function name `t.test', # arguments: 3 1) Arg type 3 Got a reference t...
2016 Aug 26
1
Re: [PATCH v2 5/7] v2v: linux: check also kernel config for modules
...ally this should not be needed, since the module > + * would be found. *) > + | "y" -> true > + | _ -> false > + ) > + in > let rex_ko_extract = Str.regexp ".*/\\([^/]+\\)\\.k?o\\(\\.xz\\)?$" in > let rex_initrd = Str.regexp "^initr\\(d\\|amfs\\)-.*\\(\\.img\\)?$" in > filter_map ( > @@ -193,8 +208,11 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps = > ) modules in > assert (List.length modules > 0); > > -...
2009 Feb 28
2
Using JRI and Java 1.6 on MAC OS X
...oader.java:1822) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1030) at org.rosuda.JRI.Rengine.<clinit>(Rengine.java:9) at mfa.mes.gui.MESFrame.initR(MESFrame.java:79) at mfa.mes.gui.MESFrame.<init>(MESFrame.java:313) at mfa.mes.MES.main(MES.java:131) Java Result: 1 Notice that it did actually find the JRI.jar library. The error seems to be related to the native JNI. I have set my java library path and R_HOME correctly. I...