similar to: source package build/installation with subdirectory-lib

Displaying 20 results from an estimated 900 matches similar to: "source package build/installation with subdirectory-lib"

2001 Jul 25
1
Usage of R CMD INSTALL
The help page for INSTALL says, in part, Some package sources contain a `configure' script that can be passed arguments or variables via the option `--configure-args' and `--configure-vars', respectively, if necessary. The latter is useful in particular if libraries or header files needed for the package are in non-system directories. In this case, one can
2001 Feb 27
1
using fmod in C code to be loaded into R
Dear People, I wrote the following bit of C code and (along with other bits) called it mycode.c, and compiled the file into a shared library to load into R, using R CMD SHLIB mycode.c. This was Ok, but when I tried to load this into R using dyn.load("mycode.so") I got the error > dyn.load("mycode.so") Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to
2005 Dec 28
1
segmetation fault
Hey, I don;t know if anyone has come across this error before... I am running R on the terminal of my MAC OS X 10.3.4 and I have written C code and compiled it using R CMD SHLIB mycode.c There were no problems in compiling so I now have mycode.o and mycode.so. I used dyn.load("mycode.so") and again, no problems. But when I try to use the code .C("mycode",x)
2018 Jan 24
0
Issue with concatenation of URL losing
a) you need to read the help pages on the paste function... more likely you are looking for the paste0 function because extra spaces will most likely break the GET request format. b) quotes do not become "stuck" as \" ... that is a visual representation intended to clarify that that quote is not terminating the string but is actually part of it. If you want to see the contents
2018 Jan 24
2
Issue with concatenation of URL losing
Thank you for your help in advance. I am trying to pull some data back from a web service library(httr) sample2 <- GET("https://elevation.mapzen.com/height?json={\"range\":false,\"shape\":[{\"lat\":40.7,\"lon\":-76.5}]}&api_key=mycode") result2 <- content(sample2) height <- result2$height[[1]] I would like to put by own latitude
2012 Mar 04
2
[LLVMdev] Passing arguments to opt via clang
I have tried to invoke a transformation/optimization pass using -mllvm, without success. I might be missing something. For example I have a shared/dynamic library which contains LLVM passes. I used to invoke them with llvmc like this: >>*llvmc mycode.c -o mycode.o -c -opt -Wo,=-load,libFoo.dylib,-Foo* Can this style of optimization be executed using -mllvm argument? Thx, PMon On Sun,
2011 Dec 30
1
HELP!! - PHP calling R to execute a r-code file (*.r)
Hi, I have met a tough problem when using PHP to call R to generate some plots. I tested it okay in my personal computer with WinXP. But when I was trying to update to my server (Win2003 server), I found it did not work. Below is the details: 1> r-code file (E:/mycode.r): ---------------------- jpeg("E:/mytest.jpg") plot(1:10) dev.off() ---------------------- 2> php code:
2010 Jan 26
1
library.dynam
hi, i'm having some trouble getting a package to load a shared library object in .onLoad(...) i have a shared object file, say "mylib.so". if i start an R session, and via the CLI specify the actual library via: > dyn.load("mylib.so") everything works quite well (i.e. i can then follow with some .Call (...) methods) now, i'd like to include this shared library in
2008 Jul 08
6
Question: Beginner stuck in a R cycle
Dear All, I have a database of 200 observations named myD. In the dataframe there are a column named code (with codes varying from 1 to 77), a column named "prevalence" with some quantitative measurements are given and an column named Pr_mean, with no values. I would like to set a cycle to compute the average of prevalence values for each different code and store the averages under the
2006 Feb 28
1
trouble with R CMD SHLIB on winXP
Hi, Has anyone come across this difficulty using R-2.2.1 in Windows XP: when I try to run R CMD SHLIB mycode.c I get the response: "The system cannot execute the specified program." I've tried installing all windows updates, reinstalling R and putting "R-2.2.1\bin" at the head of my path. Googling that error message leads to lots of stuff about *.manifest files. The
2011 Jul 13
1
R in Batch mode
Hi, I'm running long code in Batch mode (as a process in ubuntu using $nohup R CMD BATCH MyCode.R out.out &), but every one in a while it fail and the process stops. When the code finish with no problems, it sends an e-mail, but if fails, I'm not aware unless I check the working process, and I cannot be checking the process all day!. Is there any way to send me a warning when the
2007 Apr 15
1
help:How to set default value for a column use of migration?
hi,all.. Here i want to use of migration to create a table and set a defult value for a column..but i cant''t finished.. mycode: class CreateMessages < ActiveRecord::Migration def self.up create_table :messages do |t| t.column :name, :string t.column :content, :text t.column :posttime, :datetime, :default => "now()" end end def
2007 May 13
1
Strange behavior of debugger
Hi, All: I had some trouble debugging C source dynamically loaded into R , when I issued N in gdb(or insight) , the debugger, instead of moving downward step by step, jumped to strange positions (upward, downward, one step, a few steps away). To enter the debugger, I issued gdb(insight) Rgui.exe in Cygwin and add this line : asm("int $3"); to my C code. After entering R, I
2010 Jan 29
1
shared object location
hi all, i posted a question before about this, but i may have been too cryptic to understand. in short, there exists an R package that someone is writing. this package depends on a custom library (written in C,), compiled as a shared, and called by the package's functions via the .Call(...) method. we are testing out different code implementations of the compiled library functions, and thus
2009 Jul 15
0
Starting RCmdr from the Commandline (and a shortcut) in Windows
I thought I'd share the experience I had in getting Rcmdr to start automatically when R starts up. I'd read of solutions that would start Rcmdr every time R started up, but I didn't want it to start every time, only when I wanted it to. First, I created a shortcut on the desktop to R and changed its name to Rcmdr. Next, I changed the target of the shortcut to (edit the version
2001 Jul 30
1
Summary on Usage of R CMD INSTALL
Thanks to Tim Hoar and Kurt Hornik for taking the time to answer my question about the usage of R CMD INSTALL. Tim suggested: > R CMD INSTALL --configure-args=--with-netCDF=/opt/local/netcdf-3.5.0 netCDF > no quotes at all, no spaces ... Kurt wrote: > R CMD INSTALL --configure-vars='LIBS=-L/mylibs' mypackage Alas, I am not smart enough to know whether there is a contradiction
2003 Jun 20
6
How can convert user expired days in human readable ?
Hello all, On my system, some users have expire day user settings. I write a (python) script then parse the: 7.th selection in the master.passwd blabla:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:1064005200:xxxx:xxxx:xxxx:xxxx How can I conver the number like 1064005200 to human readable date format ? Or, there is a way to collect the information from a command interactively ? Regards, Murat Ustuntas
2009 Aug 21
1
a --no-save option for Rprofile.site?
I need to set up Rcmdr for use in a testing center that uses Windows. Since it is in a testing center, we don't want to have data saved, and want it cleared (or never saved) each time R or Rcmdr is run. The method I used to get Rcmdr to run automatically is to add the lines: ------------------------------------------------ defpack = getOption("defaultPackages") mylibs =
2003 Apr 09
5
httpd exited on signal 11
Hello Folks, I have used FreeBSD-4.8-RC and apache 1.3.2x. In some days,my dmesg has shown as the lines; pid 9229 (httpd), uid 80: exited on signal 11 pid 10106 (httpd), uid 80: exited on signal 11 pid 9842 (httpd), uid 80: exited on signal 11 pid 35708 (httpd), uid 80: exited on signal 11 pid 9371 (httpd), uid 80: exited on signal 11 pid 10337 (httpd), uid 80: exited on
2016 Oct 11
0
PKG_LIBS in make child processes
[cross-posted from bioc-devel list] Hi all, I have a subtle question related to how R CMD SHLIB handles variables in make child processes. In more detail: I am the maintainer of the 'msa' package which has been in Bioconductor since April 2015. This package integrates three open-source libraries for multiple sequence alignment. This is organized in the following way: in src/, there