similar to: library(MASS) in .First() (PR#3085)

Displaying 20 results from an estimated 2000 matches similar to: "library(MASS) in .First() (PR#3085)"

2012 Mar 26
2
y needing more than 2 functions
Dear all, I'm aware if y has two separate functions (depending on the conditions of x) you can use the ifelse function to separate y into two separate functions depending on input. How do you do this if there a multiple different conditions for x? for example, y fits the following between t>0 & t<15----->function(t) t^2, y fits the following between t>15 &
2018 Feb 19
4
Include pre-existing PDF files as vignettes in an R package?
Greetings. The group that I work with has just started using the approach outlined in Karl Broman's handy primer: http://kbroman.org/pkg_primer/pages/vignettes.html to create vignettes for a couple of R packages. This works fine as long as we have a current Rmd version of the vignette. But we have some old PDF documents that we'd like to include as vignettes as well. I'd like
2013 Feb 19
1
latin hypercube sampling
Hi all, I am attempting to use latin hypercube sampling to sample different variable functions in a series of simultaneous differential equations. There is very little code online about lhs or clhs, so from different other help threads I have seen, it seems I need to create a probability density function for each variable function, and then use latin hypercube sampling on this pdf. So far, I
2011 Nov 10
2
How does once import a function from an imported script?
Hi all, I am trying to import some functions into a script and am having difficulty in doing so. I am able to import a series of functions from a .tex file into my script, and call on each function by column name, however R reads them as data rather than as functions and I am struggling with the syntax to make R read them as a function instead. Below is a small set of the things I have tried:
2011 Jul 22
1
Plotting compound functions--help with defining x-axis as f(x)
Hi all, I'm having trouble locating a script that will allow to me to create graphs that show compound functions as a function of the simple function, rather than just x (or time as it is in my case). Currently I have the following functions defined in my script: > > > T1<-function(t) {27.5-12.5*cos(2*pi*t/365)**} > and > > B1<-function(T1,t)
2014 Aug 18
8
[LLVMdev] C Backend Ressurected
Hi All, 2 of my summer interns (Aimee Dipietro and Greg Simpson) used their time over the summer to resurrect the LLVM C Backend: https://github.com/draperlaboratory/llvm-cbe Improvements include recovery of simple for/while loops (instead of goto), better variable naming, inline asm support, and making it work on a more recent version of llvm. I believe they used the repository here as a
2012 Nov 06
1
Filling matrix elements with a function
Hi all, I have a matrix simulating migration in a spatial model. I want to be able to define movement (the values of m1, m2 and m3) as only != 0 between adjacent patches and contingent on certain conditions as defined in the function. Here is the code: WET<-function(t) {everglades$precipitation[t]} #simply reads precipitation data from a csv, value is numeric AB<-function(WET,t)
2018 Feb 19
0
Include pre-existing PDF files as vignettes in an R package?
On 18/02/2018 9:06 PM, Michael Hannon wrote: > Greetings. The group that I work with has just started using the approach > outlined in Karl Broman's handy primer: > > http://kbroman.org/pkg_primer/pages/vignettes.html > > to create vignettes for a couple of R packages. > > This works fine as long as we have a current Rmd version of the vignette. But > we
2011 Jun 15
2
Trouble with compound functions---differential equations
Hi all, My apologies if this message is incredibly inept but I am very new to both computer programming and to R. I am working with the odesolve add-on and have the following function defined RVF_Single <- function(t, x, p) within the script I also have the following functions defined: T1<-function(t) {T1<-27.5-12.5*cos(2*pi*t/365)} and B1<-function(T1,t)
2013 Mar 13
1
saving vector output as numeric
Hi everybody, I'm trying to create a numerical data frame on which to perform PRCC. So far I have created a data frame that consists of function/vector output that displays in numerical form, but when I try and run PRCC (from epiR package) I get the following error message: "Error in solve.default(C) : Lapack routine dgesv: system is exactly singular" It appears this is because
2018 Feb 19
0
Include pre-existing PDF files as vignettes in an R package?
Hi Mike, Did you read the relevant section of the official "Writing R Extensions" manual? If so, what about the instructions provided there do you find lacking? Best, Ista On Sun, Feb 18, 2018 at 9:06 PM, Michael Hannon <jmhannon.ucdavis at gmail.com> wrote: > Greetings. The group that I work with has just started using the approach > outlined in Karl Broman's handy
2004 May 07
1
Uniden UIP200 Review
Hello Everyone, My company is about to deploy * as replacement for our existing commercial Altigen PBX. Meanwhile, I've been trying to find the best cost effective SIP VoIP phone which we can use in office for 20-30 employees, as well as a few remote staff. Normally I wouldn't post about a VoIP phone, however, this phone was released less than a week so I thought I'd give some
2018 Feb 19
2
Include pre-existing PDF files as vignettes in an R package?
Thanks, Duncan. The files in question are Emacs Org-mode files, and I think these are more or less isomorphic to Rmd files, but I haven't used Org-mode in a long time, so I think the mapping (Org-mode ==> Rmd) would be painful. -- Mike On Mon, Feb 19, 2018 at 1:20 AM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > On 18/02/2018 9:06 PM, Michael Hannon wrote: >>
2003 Jul 31
1
round to even digit (PR#3604)
Full_Name: Karl W Broman Version: 1.7.1 OS: Linux Submission from: (NULL) (162.129.44.18) There appears to be a slight problem with round(); for rounding off a 5, it should go to the even digit, but there appear to be some cases where it goes to an odd digit; see below. Thanks! karl ~[1007]$ R --vanilla R : Copyright 2003, The R Development Core Team Version 1.7.1 (2003-06-16) R is free
2018 Feb 19
0
Include pre-existing PDF files as vignettes in an R package?
On 19/02/2018 5:47 AM, Michael Hannon wrote: > Thanks, Duncan. The files in question are Emacs Org-mode files, and I > think these are more or less isomorphic to Rmd files, but I haven't > used Org-mode in a long time, so I think the mapping (Org-mode ==> > Rmd) would be painful. If they aren't LaTeX then they won't be able to masquerade as Sweave files, so things are
2006 Apr 26
3
Problems connecten a pc to samba om fedora server
Hello, I have problems to connect my pc to my samba server. I can log in to the server and I can se some folders but i can't access them. The error message i recive in the log file looks like this: [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(250) [2006/04/26 15:20:22, 3] lib/util_seaccess.c:se_access_check(251) se_access_check: user sid is
2018 Feb 19
2
Include pre-existing PDF files as vignettes in an R package?
> On 19 Feb 2018, at 12:25, Duncan Murdoch <murdoch.duncan at gmail.com <mailto:murdoch.duncan at gmail.com>> wrote: > > On 19/02/2018 5:47 AM, Michael Hannon wrote: >> Thanks, Duncan. The files in question are Emacs Org-mode files, and I >> think these are more or less isomorphic to Rmd files, but I haven't >> used Org-mode in a long time, so I think
2014 Aug 19
3
[LLVMdev] C Backend Ressurected
I don't know how good it is, but the applications seem obvious. e.g. compiling programs in any of a number of original formats to run natively on CPUs that have a working simple C compiler (maybe only K&R or C89) but don't have an LLVM back end. The source program could be in modern C, C++, or any other high level language or assembly language with a translator to LLVM. On Tue, Aug
2018 Feb 19
0
Include pre-existing PDF files as vignettes in an R package?
Yes, 'C-c C-e l l' I think, but follow the pop-up, and everything should be ok. On Feb 19, 2018 07:05, "Rainer Krug" <rainer_krug at icloud.com> wrote: > > > > On 19 Feb 2018, at 12:25, Duncan Murdoch <murdoch.duncan at gmail.com > <mailto:murdoch.duncan at gmail.com>> wrote: > > > > On 19/02/2018 5:47 AM, Michael Hannon wrote: >
2000 Mar 08
1
installing package in Windows
Could you help me in getting a package to compile from source in Windows? I'm running Windows NT 4.0 on a pentium 450 with 128 Mb of Ram. I've got R 1.0.0. I am developing a package for R which includes a bit of C code. I have things working in Unix just fine, and now I want to port it to Windows NT. I've been following the instructions in the R complements to Venables and