Displaying 20 results from an estimated 10000 matches similar to: "cannot dyn.load dll from path"
2009 Nov 04
3
inconsistent behavior for logical vectors when using apply (" TRUE")
Hello,
> X <- data.frame(letters=letters[1:3], flag=c(TRUE, FALSE, TRUE))
> X
letters flag
1 a TRUE
2 b FALSE
3 c TRUE
> apply(X, 1, as.list)
[[1]]
[[1]]$letters
[1] "a"
[[1]]$flag
[1] " TRUE"
[[2]]
[[2]]$letters
[1] "b"
[[2]]$flag
[1] "FALSE"
[[3]]
[[3]]$letters
[1] "c"
[[3]]$flag
[1] " TRUE"
2008 Feb 12
1
controlling the edge linewidth in Rgraphviz
Hello,
I would like to have different linewidths for the edges of my graph. I
read the documentation but could not find how to control this. On the
Graphviz help page I've seen that there is something called "penwidth" but I
could not find it in the R edge attributes.
Thanks a lot for any help.
Adrian Dragulescu
2006 Jul 25
5
greek letters, text, and values in labels
Hello,
I want to have a title that will look something like:
"Results for \theta=2.1", given that I have a variable theta=2.1, and
\theta should show on the screen like the greek letter.
I've tried a lot of things:
theta <- 2.1
plot(1:10, main=expression(paste("Results for", theta, "=", eval(theta))))
or using bquote
plot(1:10, main=paste("Results for
2007 Nov 30
1
dataframe does not expand as.Dates objects (PR#10481)
Full_Name: Adrian Dragulescu
Version: 2.6.0
OS: Windows
Submission from: (NULL) (216.99.178.65)
> data.frame(x=1:10, y="A") # expands fine
x y
1 1 A
2 2 A
3 3 A
4 4 A
5 5 A
6 6 A
7 7 A
8 8 A
9 9 A
10 10 A
>
> data.frame(x=1:10, z=as.Date("2007-01-01")) # get an error
Error in data.frame(x = 1:10, z = as.Date("2007-01-01")) :
2005 Apr 27
1
dyn.load(), DLL, Fortran, TLNise software
Dear all,
I would like to call TLNise ("Two-Level Normal indipendent sampling estimation")
software within R.
This software estimates a hierarchical model and it can be download from
Philip Everson's website at
"http://www.swarthmore.edu/NatSci/peverso1/TLNise/tlnise.htm".
The TLNise software consists of:
1) a Fortran source code (tlnisemv1.f) and
2) a Splus code
2009 Mar 17
1
R freeze when loading dll with dyn.load
Good morning,
I am investigating dll import in R under Windows XP. Using examples I found on the internet, I started with a very simple dll, e.g. including only the basic function:
void
{
*x2 = x*x;
}sqr(doublex, double*x2)
I compiled it as a dll with Eclipse and Cygwin's gcc. It works when I call it with another simple .exe C program, compile with Eclipse and gcc as well. I can do what I
2007 Feb 09
2
dyn.load problem under linux
Dear HelpeRs,
I am trying to use an thirdy-part library under Linux (the library is
developed
both for Windows and for Linux).
I have tried different solutions (with the library developer) but we are
not able to
solve the problem. So I try to ask for your help in order to escape from
the full stop
where we are at the moment.
The problem looks to depend on the dyn.load function (technical
2006 Oct 19
1
ROracle error in Windows. Memory could not be read.
I've seen from earlier posts that other people had problems installing
ROracle under Windows. I run R-2.3.1.
I got the Windows binaries for ROracle from
http://stat.bell-labs.com/RS-DBI/download/index.html
Here is my session:
> require(ROracle)
Loading required package: ROracle
Loading required package: DBI
[1] TRUE
> drv <- dbDriver("Oracle")
> drv
2004 Apr 29
3
memory problems with lm
Hello list,
I've seen the recent discussions documenting problems with lm.
I have encountered the following problem. I use WinXP Pro with
service pack 1, and R 1.9.0, on a XEON 2GHz, with 1GB of RAM.
> eff.fro
std.dev mean
NSTRDSP 7.403749e-01 1.215686e-01
CPFGEP 9.056763e+00 1.815686e+00
WSWOLF 4.703588e+05 1.112832e+05
NPILGRIM 1.017640e+06 2.134335e+05
2001 Nov 08
1
dyn.load'ing dll's created by Scompile causes R to crash
Dear all,
I have used the Scompile package (by Mathhew Calder) on previous releases of
R (on Windows), and it has worked well. However, R.1.3.1 crashes when
dyn.load'ing C-functions created by Scompile.
>From the last R-newsletter it seems that there has been some changes to how
external routines are being included in version 1.3.1. I won't claim to
understand the details, but I was
2009 Jul 09
1
merge performace degradation in 2.9.1
I have noticed a significant performance degradation using merge in 2.9.1
relative to 2.8.1. Here is what I observed:
N <- 100000
X <- data.frame(group=rep(12:1, each=N), mon=rep(rev(month.abb), each=N))
X$mon <- as.character(X$mon)
Y <- data.frame(mon=month.abb, letter=letters[1:12])
Y$mon <- as.character(Y$mon)
Z <- cbind(Y, group=1:12)
system.time(Out
1998 Nov 28
2
dyn.load and/or add new package (Windows 98)
Hi,
I have been trying to dyn.load a library (rq.obj), which will allow me to run
a quantile regression function, but so far unsuccessfully.
I have tried under windows 98 and R 6.24:
1) dyn.load("d:\\...\\rq.obj")
2) dyn.load("d:\...\rq.obj")
3) 1 and 2 accounting for case sensitivity.
4) dyn.load("d:/.../rq.obj")
5) Place the files in the directory where from I
2009 Sep 17
1
dyn.load search path?
Sorry if this is somewhere in the fine manuals but I've been unable to locate
it.
Does dyn.load use a search path or does it just look in the current
directory for non-fully-qualified filenames? If there is a search path, what
is it?
Thanks for your help
--
View this message in context: http://www.nabble.com/dyn.load-search-path--tp25492214p25492214.html
Sent from the R help mailing list
2010 Nov 08
2
incorrect DLL path for Rbitmap.dll on Windows
Hello,
I think there is a problem in recent devel builds of R on Windows with
various devices from the grDevices package.
For example:
> capabilities()
jpeg png tiff tcltk X11 aqua http/ftp sockets
TRUE TRUE TRUE TRUE FALSE FALSE TRUE TRUE
libxml fifo cledit iconv NLS profmem cairo
TRUE FALSE TRUE TRUE
2008 Jul 14
2
dll problem
I am trying to load a dll compiled with the latest cygwin into R 2.7.0
R version 2.7.0 (2008-04-22)
Copyright (C) 2008 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
I have:
Sys.getenv("Path")
Path
1998 Oct 10
0
R-beta: dyn.load update
Hi Guido,
As you may have seen from my other message, I am now running Win95 B but
am still getting the dyn.load failure already reported. So far as I can
see, the problem is in the DLL files, not the R.exe.
I have two versions, your version built with the cross-compiler, and one
built with Mingw32 version 1.02 (1.1 has an additional problem). Your
cross build version works fine. My locally
2011 May 04
6
tkrplot not working in R 2.13.0
The tkrplot package is not working in version 2.13.0 for windows. I contacted the maintainer who unfortunately does not have easy access to a windows computer and says that it is working on the other platforms.
I traced the problem down to the line in the .First.lib function:
.Tcl(paste("load", file, "Rplot"))
With file being "C:/Program
2006 Jul 11
0
Assistance with dll's to use with dyn.load
After having browsed the documentation for a while without discovering what I am looking for, maybe one of you would know ...
What I want to do:
I have two fortran files MC.f and ESCA.f. In MC.f there is a call to a routine called lpost. This routine (lpost) is defined (among other things) in ESCA.f.
Under linux, I can do the following:
R CMD SHLIB MC.f
and
R CMD SHLIB ESCA.f
followed by
2009 Jun 26
1
should Sys.glob() cope with a UNC windows path beginning with backslashes?
I find that Sys.glob() doesn't like UNC paths where the initial slashes are backslashes. The help page for Sys.glob() doesn't specificly mention UNC paths, but does say: "File paths in Windows are interpreted with separator \ or /." Is the failure to treat a path beginning with a double-backslash as a UNC network drive path the intended behavior?
E.g., on a Windows system
2010 May 21
1
dyn.load() strange behavior
Hello,
I am observing the following strange behavior when I try to
load a shared library using dyn.load() under Linux...
The library foo.so refers to a symbol in another package bar
(with shared library bar.so), I get:
dyn.load('foo.so') # error message because I forgot to load bar
library(bar) # so I fix it
dyn.load('foo.so') # works this time and everything is fine
But, if