similar to: Can't build termstrc package from source

Displaying 20 results from an estimated 4000 matches similar to: "Can't build termstrc package from source"

2009 Mar 20
1
How to use termstrc functions?
Hi, I'm trying to use the package termstrc. However I cannot figure out how to invoke helper functions like create_cashflows_matrix & create_maturities_matrix. Even when I try to invoke those with the data supplied with the package (say, corpbonds), it throws error saying "Error in as.vector(x, mode) : invalid 'mode' argument". Can anybody provide some working example
2009 May 06
4
tapply changing order of factor levels?
Hi, Does tapply change the order when applied on a factor? Below is the code I tried. > mylevels<-c("IN0020020155","IN0019800021","IN0020020064") >
2009 Apr 15
0
How to use cubic spline coefficients from termstrc package?
Hi, I'm using the cubic splines from termstrc package. I invoked the splines_estim function with a group of 43 bonds. It computes 6 knot points and returns values for alpha1 to alpha7. My question is how to use these alpha1 to alpha7 in the equation of yield? For example, if I'm trying to find the yield at, say, 12.25 years, which falls between 3rd & 4th knot points what should the
2009 Apr 09
0
Invoking bond_prices function of termstrc package
Hi, I'm trying to invoke the function bond_prices from termstrc package. Here is the code snippet: library(termstrc) data(eurobonds) b <- matrix(rep(c(0,0,0, 1),1),nrow=1,byrow=TRUE) group<-c("GERMANY") colnames(b) <- c("beta0","beta1","beta2","tau1") germaturities<-create_maturities_matrix(eurobonds$GERMANY)
2010 Nov 25
1
RODBC
Hi, I am running the RODBC examples form the help guide. I am trying to UPDATE a table in an Access data base but I am having an error. library(RODBC) library(termstrc) path = getwd() setwd(getwd()) dbName = "data.mdb" pathdbname = paste(path,"/",dbName,sep="") accesChannel = odbcConnectAccess(pathdbname, uid = "", pwd = "")
2024 Sep 25
2
How to install this package
Hi, I would like to install an R library from https://cran.r-project.org/src/contrib/Archive/termstrc/ I executed below code without success. Any help would be appreciated. > install.packages('/Users/termstrc_1.3.tar.gz', repos = NULL, type="source") * installing *source* package ?termstrc? ... ** using staged installation ** libs using C++ compiler: ?Apple clang
2013 May 19
0
TODAY field in termstrc
Hi: I am using termstrc package and not sure if TODAY field (govbonds dataset) is today's date or the settlement date for the bonds. Although the name suggests that it should be today's date, but how the formula is setup indicates that it should be settlement date. Please help and thanks in advance. [[alternative HTML version deleted]]
2006 Jun 07
2
o2cb_ctl: internal logic failure while creating node
Hi, I am getting following tyoe of error while trying to configure node using ocfs2 o2cb_ctl: internal logic failure while creating node My Kernel version is 2.6.9-22.ELsmp Rpm which i use are ocfs2-2.6.9-22.ELsmp-1.0.7-1.i686.rpm ocfs2console-1.0.3-1.i386.rpm ocfs2-tools-1.0.3-1.i386.rpm after that I gave command ocfs2console Select Cluster ? Configure Nodes Click on Add and enter the Name
2009 Jul 01
2
Difficulty in calculating MLE through NLM
Hi R-friends, Attached is the SAS XPORT file that I have imported into R using following code library(foreign) mydata<-read.xport("C:\\ctf.xpt") print(mydata) I am trying to maximize logL in order to find Maximum Likelihood Estimate (MLE) of 5 parameters (alpha1, beta1, alpha2, beta2, p) using NLM function in R as follows. # Defining Log likelihood - In the function it is noted as
2024 Oct 02
1
How to install this package
Hi Enrico, yes it works. I can also plot the graph. Next question, how do I delete the date from 16 December until 31 December 2014? Thank you very much. > dt$time <- as.POSIXct(dt$time)> > dt_ts <- xts(dt$count, dt$time)> str(dt_ts)An xts object on 2014-01-01 / 2014-12-31 23:59:00 containing: Data: integer [525600, 1] Index: POSIXct,POSIXt [525600] (TZ: "")
2009 Oct 19
3
Import SPSS file to R
Hello,   In R, How to read SPSS file and access the data item? Thank you. Regards, Suman Kundu [[alternative HTML version deleted]]
2011 Apr 03
2
Rtools and MinGW
Hi, I have R version 2.8.1 and Rtools 28 installed (as you might guess, set up years ago). In Rtools the MinGW GCC 4.2 compiler toolset is included. For my regular C/C++ programs I have also installed, separately, the full MinGW bundle with the latest GCC 4.5 compiler tools. So I have two g++ variants on the same machine. According to the Rtools documentation, the bin directory of it shall
2018 Feb 13
4
Setting the path to Rtools for package compilation on Windows
Hi all, I'm trying to set up the Windows Rtools toolset for building packages with compiled code. I installed for Windows R-3.4.3 from CRAN and installed Rtools-3.4 in a custom location M:\R\R-3.4.3 and M:\R\Rtools-3.4 Following the instructions, in shell, I set Path=M:\R\Rtools-3.4\bin;M:\R\Rtools-3.4\gcc-4.6.3\bin;M:\R\R-3.4.3\bin;... (the ... are other paths irrelevant for R/Rtools).
2006 Jul 11
8
Stop updated_at from auto updating?
Hi Is there any way to temporarily stop the updated_at field from being updated when a record is modified with ActiveRecord? I have a date field which is keeping track of when the record data was last checked by my application and my app manually updates it, of course when I do this the updated_at field is also touched making it fairly useless for finding out when the actual data was changed
2012 Dec 03
3
error of installing/building an R package (PortfolioAnalytics) on Win 7
Hi, I am trying to install a package (PortfolioAnalytics) of R 2.15.2 on Win 7. I have tried the following instructions on : http://stackoverflow.com/questions/11105131/cannot-install-r-forge-package-using-install-packages I used svn checkout svn://svn.r-forge.r-project.org/svnroot/returnanalytics/ to get the package and then copy it to my Win 7. Then, on Win 7 I run: >
2008 Feb 06
1
Building R for Windows
I have some C code (using an old Borland compiler) that calls a DLL that I'd like to get working from Windows and R (so I can read ABF files -- Axon Binary Files -- directly in R). I thought a good first approach would be able to build R in Windows, so that's what I'm trying to do. [I've done test builds of R under Linux before, and that seemed fairly simple.] I've
2011 May 31
3
Compiling C-code in Windows
Hello ALL! I am an Linux user (Debian testing i386), with very dusty Win-experience. Nevertheless, my colleagues and I are making some package in R, and I built C-routines to speed up things. I followed instruction how to compile C for R (very useful link: http://www.stat.lsa.umich.edu/~yizwang/software/maxLinear/noteonR.html, and links listed there). Everything works like a charm in Linux. I
2019 Aug 01
2
Rtools contains Python interpreter(s), and six copies?
I've just discovered that Rtools (on Windows) contains Python interpreter(s). I'm assuming that Python is required to build R packages, on all operating systems. I think this is a mistake. Also, by my count, Rtools contains six Python interpreters. I've miscounted, I hope... [[alternative HTML version deleted]]
2008 Jan 14
1
rm: failed to get attributes of `/':
Recently I have heard reports like the one below a couple of times: Tineke Casneuf wrote: > However I did encouter an error when trying to install a self-made dummy > package. I am sure it is not due to the package because it can be build on > someone else's windows PC. > > The error message is *rm: failed to get attributes of `/': No such file or > directory. Today I
2012 Aug 15
1
Build from Source fails on Loading required package Matrix
Hello: I am building R 2.15.1 from source on a Windows 7 machine with the x64 toolset, MixTeX, and InnoSetup per http://cran.r-project.org/bin/windows/Rtools/. I obtained the source for 2.15.1 via svn from https://svn.r-project.org/R/branches/R-2-15-branch/. This is my first try building R from source. The build seems to go far, then terminates with "undefined exports: .M.classEnv" from