search for: mylibrary

Displaying 17 results from an estimated 17 matches for "mylibrary".

2008 Feb 29
4
help
Dear Sir/Madam, I got some problem about using R. I am a student, and need to use R a lot. But sometimes when I am working in computer lab, we can not install some particular pacakges by ourselves because of the previliges. Can the folder of Librabry of R, move to, for instance the personal folder, my documents... then we can install any specified package? Best regards,
2006 Oct 25
1
Cross-compilation
...everyone, I am trying to cross-compile a package I wrote using the Yan and Rossini tutorial "Building Microsoft Windows versions of R and R packages using Intel Linux". I have got reasonably far with this but when doing the linking using the line: i586-mingw32-g++ -shared -s -o mylibrary.dll mylibrary.def mylibrary.o mylibrary_res.o -L/my/path/RCrossBuild/WinR/R-2.4.0/bin -lR I get lots of these type of messages: /my/path/to/mylibrary.cpp:43: undefined reference to `_GLOBAL_OFFSET_TABLE_' and other similar linker errors for virtually every object and command in the pro...
2008 Feb 19
4
How to join path with arguments
Hi, all How to format and join strings ? For example, like following short python examples. ********* name1 = 'sample-plot' filename = '%s.png' % name1 inputdir = '/path/to/dir' os.path.join(inputdir, filename) ********** Best, Hyunchul Kim [[alternative HTML version deleted]]
2003 Apr 22
2
full upload happening even though only a timestamp has changed
Hello, For no apparent reason Rsync is uploading the whole file even though the the remote file is identical to the local file. Here is a transcript to demonstrate what is going wrong: tomg@nova:~/mylibrary$ rsync -rtlPvessh /extra/library teep:/extra/tomg building file list ... 46349 files to consider wrote 1358812 bytes read 20 bytes 44551.87 bytes/sec total size is 5240249974 speedup is 3856.44 tomg@nova:~/mylibrary$ touch /extra/library/software/Knopper,_Klaus/KNOPPIX_V3.2-2003-04-18-EN.iso tom...
2010 Jul 28
1
[LLVMdev] Adding code to LLVM
Good morning everybody, I am integrating some modifications in the LLVM parser (specifically in the LLParser.cpp file), by adding calls to functions that I have defined elsewhere in a file called MyLibrary.cpp. How can I integrate such library in the overall tree? I would like to have a MyLibrary folder under lib/ so that I can access it from different parts of the code. Where should I put Makefile(s)? Thanks in advance -- Simone Corbetta, Ph.D. Student Dipartimento di Elettronica e Informazione...
2008 May 16
2
Getting JRI/rJava to work
...ot know what causes the unsupported conversion messages. Versions used etc below. Any ideas please? Thanks for any help. Regards John Seers ######################################################################## #################### C:\temp\JRI\examples>javac -cp "C:/Program Files/R/mylibrary/rJava/jri/JRI.jar" rtest.java Note: rtest.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. C:\temp\JRI\examples>java -Djava.library.path="C:/Program Files/R/mylibrary/rJava/jri" -cp .;"C:/Program Files/R/mylibrary/rJava/jri/JRI.ja...
2006 Dec 20
5
writing R extension
I'd like to develop a simple library in R in which to save my particular functions. I have read the manual on "Writing R Extensions" but it's too difficult. Someone could help me? I want only save my personal function (recorded in R-code, not in C) in "myLibrary" and I want to call it with: >library (myLibrary). After this, the functions should be available directly in R. I know that it's possible to save functions in the workspace, but I need this functions in a library. # vbaRstat # [[alternative HTML version deleted]]
2004 Mar 01
2
dynamic linking
Hi, I want to set up a dynamic link between a library e.g. myLibrary.a and a C++ file myProgram.cc to use in R. Is this possible? If so how does one go about doing it? Any help will be greatly appreciated. Cheers, Sam.
2018 Feb 15
0
Nice way to add load shared library for use in JIT
...some time looking through the docs for this, I figured perhaps someone here would know a quick fix for my problem. I want to be able to use functions from a shared library in a JIT which is not linked to my JIT binary. I can use sys::DynamicLibrary::LoadLibraryPermanently("/specific/path/to/mylibrary", &err) to load the library, if I know its path. However, I don't want to manually code in a path and load the library based on where it lies in the relevant library path and just use the string "mylibrary" Any suggestions for how I might load a library? Cheers, Billy Mose...
2009 Oct 03
2
[LLVMdev] Internalize pass
...tigation I have a few more clues as to what is going on. I have a module which contains a call to an external native function. This native function lives in a static library, and there is an external declaration for it in the module. I find that I can run "llvm-ld -disable-opts -native -l mylibrary test.bc" and it works fine. That is, llvm-ld is able to generate a native object file, and link it against the static library with no problem. However, if I remove the "-disable-opts" line, it seems to replace the call to the native function with "unreachable". I'm...
2003 Apr 22
1
deflate on token returned 0 (16384 bytes left)
Hi, I was getting an error when uploading Knoppix ISO images with compression with Rsync. Here is the error as I recall it: tomg@nova:~/mylibrary$ rsync -rtlvessh --partial --delete --delete-after --bwlimit=8 /extra/library academus:/var/pub building file list ... done library/software/Knopper,_Klaus/ library/software/Knopper,_Klaus/KNOPPIX_V3.2-2003-04-18-EN.iso deflate on token returned 0 (16384 bytes left) [ some other line mentioning tok...
2010 Sep 08
3
Saving/loading custom R scripts
Hi, How does R automatically load functions so that they are available from the workspace? Is it anything like Matlab - you just specify a directory path and it finds it? The reason I ask is because I found a really nice script that I would like to use on a regular basis, and it would be nice not to have to 'copy and paste' it into R on every startup:
2009 Oct 03
0
[LLVMdev] Internalize pass
...es as to what is > going on. > > I have a module which contains a call to an external native function. > This native function lives in a static library, and there is an external > declaration for it in the module. > > I find that I can run "llvm-ld -disable-opts -native -l mylibrary > test.bc" and it works fine. That is, llvm-ld is able to generate a > native object file, and link it against the static library with no problem. > > However, if I remove the "-disable-opts" line, it seems to replace the > call to the native function with "unreac...
2005 Apr 06
6
Introduce a new function in a package?
R-help, Sometimes I define functions I wish to have in any R session. The obvious thing to do is copy-paste the code The thing is that sometimes I don't know where I have the function code. My question is if somehow I could define a function and "introduce" it (let's say 'base' package ) so that could be used anytime I run a different R project. Thank you in advance
2010 Oct 15
2
include ActionView::Helpers in Rails 3?
How do you do the equivalent of: module MyLibrary include ActionView::Helpers::AssetTagHelper end ...in Rails 3? I''m trying to upgrade my app from 2.3.9 to 3.0.1 and I have some stuff in /lib that needs to include these helpers from ActionView. It works fine in 2.3.x, but in 3.x it''s giving me the error: undefined local vari...
2009 Sep 30
0
[LLVMdev] Internalize pass
On Sep 30, 2009, at 12:06 AM, Talin wrote: > I'm playing around with different combinations of LTO passes, and > I've run into a strange problem: > > I have a 'main' function that looks like this: > > define i32 @"main(tart.core.Array[tart.core.String])- > >int"(%"tart.core.Array[tart.core.String]"* %args) { > entry: > call
2009 Sep 30
2
[LLVMdev] Internalize pass
I'm playing around with different combinations of LTO passes, and I've run into a strange problem: I have a 'main' function that looks like this: define i32 @"main(tart.core.Array[tart.core.String])->int"(%"tart.core.Array[tart.core.String]"* %args) { entry: call void @llvm.dbg.func.start(metadata !0) call void @llvm.dbg.stoppoint(i32 2, i32 19, metadata