search for: myr

Displaying 20 results from an estimated 27 matches for "myr".

Did you mean: mvr
2005 Apr 18
2
UnauthorizedAccessException in R(D)COM
...server to involve R. But I am facing the unauthorizedAccessException when I call the web service, even I have assigned access and launch permission to everyone using DCOMCNFG.exe The sample code is shown as below, and the unauthorizedAccessException exception is occurred when myR.Init("R") is called. myR = New STATCONNECTORSRVLib.StatConnector myR.Init("R") Does anyone know this solution and please advide me? Your help is appreciated. With Best Regards, WeiQiang Li [[alternative HTML version deleted]]
2012 Apr 10
1
Building customized R for Windows installer using 'make myR'
...allation? from the ?Select Components? screen), then add packages and make other customizations to that installation. Then (after having customized file ?MkRules?, possibly via ?MkRules.local?, and having made R in the source tree) in ?src/gnuwin32/installer? run : make myR IMAGEDIR=rootdir Unfortunately, I have run into two difficulties, the first minor, but the second more of a stumbling block: (1) The standard installer for R-2.15.0 does not offer a 'Full Installation' option on the 'Select Components' screen. (2) The standard installer for R-2....
2011 May 17
1
adding up elements within a list
Dear R users I have a list, as follows: > intvl.period.myrs $Devonian [1] 4.8 4.2 9.5 5.7 $Ordovician [1] 7.2 5.1 10.2 1.9 $Silurian [1] 4.7 3.0 7.8 2.0 3.3 1.6 2.6 2.7 I want to write a loop that will sum up the values in each part, and give me a vector containing the (in this case 3) summed values this is what I have so far: for (i in 1:length...
2009 Jun 26
1
bug in Rf_PrintValue ?
...r; Rf_initEmbeddedR(argc, argv); PROTECT( x_r = mkChar( x ) ); Rf_PrintValue( x_r ); printf( "OK\n" ); PROTECT( y_r = mkChar( y ) ); Rf_PrintValue( y_r ); printf( "OK\n" ); UNPROTECT( 2 ); return 0; } I compile this code with: % env -i PATH=/bin:/usr/bin ./myR/bin/R CMD LINK gcc -g -I./R-2.9.0/src/include -L./myR/lib64/R/lib -lR -lRblas bug.c -o bug A run looks like this: % env -i PATH=/bin:/usr/bin R_HOME=$(./myR/bin/R RHOME) ./bug -q --vanilla <CHARSXP: "foo"> OK <CHARSXP: "coverage"> *** caught segfault *** address...
1998 Dec 01
2
help files for libraries that aren't in the defaults library tree
Hello, I created a library for a bunch of functions that I use frequently so that I dont have to carry duplicate copies around to wherever I fire up an R sesssion. However, I have problems locating the help files for those functions. Here are some details. I created the library "myR" and installed this in /home/royle/R using: R INSTALL -l /home/royle/R /home/royle/Rpackages/myR This went well, and I can access all of those functions in the usual way....i.e. like: library(myR,lib.loc="/home/royle/R/") But, I found that to get the help files I have to type:...
1998 Dec 01
2
help files for libraries that aren't in the defaults library tree
Hello, I created a library for a bunch of functions that I use frequently so that I dont have to carry duplicate copies around to wherever I fire up an R sesssion. However, I have problems locating the help files for those functions. Here are some details. I created the library "myR" and installed this in /home/royle/R using: R INSTALL -l /home/royle/R /home/royle/Rpackages/myR This went well, and I can access all of those functions in the usual way....i.e. like: library(myR,lib.loc="/home/royle/R/") But, I found that to get the help files I have to type:...
2010 Jul 13
1
Building a custom Windows installer
...a custom Windows installer for R, and despite my notes and the instructions in Sections 3.1.7 and D.4 of the R Installation and Administration Manual, I've run into a problem, receiving the following error message: ----------- snip ----------- C:\R\src\R-2.11.1\src\gnuwin32\installer>make myR IMAGEDIR=c:/temp/R-2.11.1 MDISDI=1 Makefile:3: ../MkRules: No such file or directory make: ../fixed/rwver.pl: Command not found make: ../fixed/rwver.pl: Command not found make: ../fixed/rwver.pl: Command not found make: ../fixed/rwver.pl: Command not found make: *** No rule to make target `../MkRul...
2009 Apr 15
1
Compiling Fortran Subroutines as R Shared Objects on Mac OS-X
...I am using R 2.8.1, and I have installed all 4 additional packages including gfortran. When I try to compile my subroutines (which worked on two other systems), I get the following error. (I have also tried a very simple subroutine and produced the same error message.) chad-r-bhattis-computer:~/MyR/Examples/Fortran/Test1 chadrbhatti$ R CMD SHLIB two.f gfortran -arch i386 -fPIC -g -O2 -c two.f -o two.o gcc -arch i386 -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -mmacosx-version-min=10.4 -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o two.so...
2009 Jun 06
1
Qs on calling R from C
Consider the following simple C program: /*** hello_r.c ***/ #include <Rinternals.h> SEXP hello() { return mkString("Hello, world!\n"); } int main(void) { SEXP x = hello(); return x == NULL; /* i.e. 0 on success */ } This program segfaults: % myR/bin/R CMD LINK gcc -I./R-2.9.0/src/include -L./myR/lib64/R/lib -lR hello_r.c -o hello_r > /dev/null % hello_r zsh: segmentation fault hello_r But if instead of compiling the program as a standalone I make it as a shared library, like this: % myR/bin/R CMD SHLIB --preclean hello_r.c > /dev...
1999 Apr 07
1
library
I also have several packages in my RW0633 in Windoze and I would like to keep them in one place when I update the R system. Brian say to modify Rprofile to ..lib.loc <- c("c:/MyR/library",.Library) now Rprofile has a line like .lib.loc <- unique(c(unlist(strsplit(getenv("RLIBS"),":")),.Library) Sorry to be dense but where should I put the "C:/MyR/library" string? inside the c("..",unlist...) ^ ? Now I ha...
2003 Aug 14
0
Simple C-R interface, SEXP and other declarations
...w the general theme on http://developer.r-project.org/embedded.html I get some errors during compilation. Where are things like "eval_R_command()" and "SEXP" defined? I.e. What do I need to include to get these? g++ -g -Wall -c hello.cc g++ -g -Wall -c doit.cc g++ -g -Wall -c myR.cc -L/usr/local/lib/R/bin -lR myR.cc: In function `int eval_R_command()': myR.cc:34: `SEXP' undeclared (first use this function) . (A bunch more errors) . make: *** [myR.o] Error 1 Will summerize. Thanks, -- Ari http://binf.gmu.edu/akahn They say its the Early Bird that gets the worm, but...
2009 Jun 08
0
How to explore R internals through gdb?
...execution of this script. I have two questions. First, where in the R source would be a good place to set a breakpoint so that I can then step through the execution of such a script? Second, breakpoints aside, how can I even get R to run such a script under gdb? For the latter I tried this: % myR/bin/R -q --vanilla --debugger=gdb --file=foo.R GNU gdb 6.6-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying&quot...
2008 Mar 30
2
tests Rin Rout
...possible to prepare some tests for checking our code using .Rin and .Rout. It seems to be a very good practice, but I did not manage to find information on it. So does someone know how it works ? What are we suppose to write in Rin ? More precisely : - I have a package myPack.r in directories ~/myR/myPack/R/ - I create the directory ~/myR/myPack/tests myPack.r is : `f1` <- function(x){cat("\nXXX F1 = ",x,"XXX\n")} `f2` <- function(x){cat("\nXXX F2 = ",f1(x^2),"XXX\n")} What am I suppose to do to test it? Create myPack.Rin, but what in it? Tha...
2004 Oct 21
1
C++ dev
Hello, I wish to use R functions in a C++ programm. I have installed D COM Server but with this application i think it isn't possible to acces mouse event..., is it true? My second idea is to compile libraries which are used, but i haven't source code, and the libraries existing are compiled under unix, but i'd like have .lib and .dll Thanks for your informations Sandrine
2001 Nov 28
2
Problem with printer driver sharing Win2k klients.
...compatible with my windows version when I press ok in the "Additional Drivers" requester. After selecting Win2000 driver for installation but BEFORE I get any file requester. Do I need another directory below print$ for the win2000 driver?? Hope somebody can help me here.. -Arve Emil Myr?s NOrWAY
2023 Aug 22
2
Is r2u at 3.4.1? [branch about handling package collisions under Ubuntu/Debian]
...| my sources.list disagreeing about versions required.? That's not so > > That can happen, and pinning can help. I would suggest to look at 'apt-cache > polict nameofthepackagehere'. (See below for concrete example.) So I try this. root at Clevo2:/media/chris/Clevo_SSD2/Data/MyR/R/distill_blog/test2/_posts# apt-cache policy libmagick++-dev libmagick++-dev: ? Installed: (none) ? Candidate: 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2 ? Version table: ???? 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2 500 ??????? 500 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main...
2010 Aug 12
5
Where the data file is stored?
Hi folks, OS - Ubuntu 10.04 On R I create a datafile named "data". I can evoke it on R with; > data On R Commander Data -> Active data set -> Select active data set -> (data) OK only one data set there "data" -> View data set I can read it -> Edit data set showing 25 rows of data. Clicking the box shows a thick border around it. But I couldn't
2012 Jan 14
1
Converting .Rout file to pdf via Sweave automatically
...from a .Rout file straight to pdf with an Rnw template ? What I'm trying to avoid is adding the Sweave markup to the .tex file manually. What I think I'm missing is the exact arguments to the Sweave command. I tried numerous forms of: Sweave("batch.Rout", RweaveLatex(), "myR.Rnw"); but without any succuess.
2010 Feb 23
1
patch about compile R with clang
...m.org, it is fast and better c compiler then gcc, yesterday i use clang and gfortran compile R. The only two change in source code is : 1. the configure file (in confiure when test include wctype.h,gcc can compile but clang need include both wchar.h wctype.h),so this is patch --- /r/configure +++ /myr/configure @@ -39172,6 +39172,7 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default +#include <wchar.h> #include <$ac_header> _ACEOF rm -f conftest.$ac_objext @@ -39480,6 +39481,7 @@ cat confdefs.h >>conftest.$ac_ext cat >>confte...
2010 Dec 14
1
Installing R-packages in Windows
Hi there, I have the following problem and I hope somebody might help me. First of all: I am using WinXP SP3 (english and/or german) with R in Version 2.10.0. Now I am trying to install some packages but unfortunately I am getting a weird error. No matter which package I am trying to install - I nearly get the same error. It looks like this: