similar to: Permanent assignments

Displaying 20 results from an estimated 30000 matches similar to: "Permanent assignments"

2006 Feb 28
3
Bounding Box in pdf files
This is probably a faq but I have not been able to find a solution. I create a pdf file in R but latex complains that it can't find the bounding box. Here is an example: > pdf(file="test.pdf", onefile=FALSE, width=8,height=8) > plot(1:10) > dev.off() X11 2 > sessionInfo() R version 2.2.1, 2005-12-20, sparc-sun-solaris2.9 attached base packages: [1]
2011 May 05
2
Compiling a FORTRAN program under Windows 7
Hi, I am trying to compile a FORTRAN program to call from R under Windows 7 but I am having problem in the compiling step. To demonstrate this is the program testit.f: ------------------------------------------ subroutine TESTIT(x,n,m) dimension x(n) do 10 i=1,n 10 x(i)=x(i)**m end -------------------------------------------- When I compile it with gfortran I get
2006 Apr 21
1
Linker problem in installing 64-bit R
Hi, I am trying to compile R-2.2.1 on Solaris 2.9 with a 64-bit build. Following the instructions in "R Installation and Adminstration", I changed the following settings in "config.site": CC="gcc -m64" F77="g77 -64" CXX="g++ -m64" LDFLAGS="-L/usr/local/lib/sparcv9 -L/usr/local/lib" But I got the following error messages:
2005 Oct 19
1
can't start csh (scripts) (PR#8220)
Dear R developers, after upgrading from R 2.1.1 to 2.2.0 I can't start csh (scripts) anymore. While the following commands work fine > system("tcsh -c pwd") /hom1/users/gloeckler > system("bash -c pwd") /hom1/users/gloeckler > system("ksh -c pwd") /hom1/users/gloeckler csh (in contrast to the shells used above) doesn't give any result:
2004 Oct 28
2
Weighted regresion using lm
Hi: Could anyone help me to clarify this: are the weights normalized inside lm function (package:stats) before applied to the error term? For example: >lm (cost ~ material, weights=quatity, data=receipt) will lm normalize quatity such that sum(quatity) = 1? I traced to lm.wfit and then the weights get transferred into a precompiled FORTRAN module so I can't figure out. Thanks!
2006 Jan 17
1
Dynamic load
Hi, I am trying to load a FORTRAN program which I have downloaded from netlib. Counting the number of dependencies, there are about 10 programs which have to be loaded. This is under SunOS 5.9 and R 2.2.1. I have compiled the files with R221 CMD SHLIB *.f. If I load these object files one by one with dyn.load() I get an error like _j4save:reference symbol not found. I have used S-Plus in the
2005 Jan 26
2
Source code for "extractAIC"?
Dear R users: I am looking for the source code for the R function extractAIC. Type the function name doesn't help: > extractAIC function (fit, scale, k = 2, ...) UseMethod("extractAIC") <environment: namespace:stats> And when I search it in the R source code, the best I can find is in (R source root)/library/stats/R/add.R: extractAIC <- function(fit, scale, k = 2,
2004 May 21
1
compiling R 64-bit with gcc on Solaris 9
Hi folks, I am trying to compile R as a 64bit app using gcc on Solaris 9 and get the following error from the configure script when passing the script CFLAGS='-mcpu=v9 -m64': checking how to get verbose linking output from g77... -v checking for Fortran libraries of g77... -L/usr/ccs/lib -L/usr/lib -L/usr/local/lib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -L/usr/ccs/bin
2006 Jun 04
2
slanted ends of horizontal lines for certain line widths
Hello, if I plot a horizontal line, e.g., plot(c(1,2),c(1,1),xlim=c(0,3),lwd=2,type="l") or plot(c(1,2),c(1,1),xlim=c(0,3),lwd=4,type="l") then the left end (1st example) or both ends (2nd example) of the lines are not rectangular but slanted on the graphical display (screen). That behavour first occurred when I was trying to plot a stepfun, e.g., y <-
2005 Feb 23
1
Graphics devices file[name] argument
Just got trapped by inconsistency of name of first argument for file-based graphics devices. Both 'file' and 'filename' are currently in use depending on the device. I ran on a machine without PNG support which my code used postscript as the backup device and choked here. > do.call(device, list(filename = pathname, height = height,
2005 Dec 08
1
Loading namespaces
I'm creating a package for my own use that uses some S4 classes but no methods. I have a file called NAMESPACE it contains the line: exportClasses("foo") and at the top of the R file I have setClass("foo", representation(x="numeric") and the line: .onLoad<-function(libname,pkgname) When I run R CMD check I get Syntax error in the only R file. If I
2004 Sep 21
2
png problem
Dear R-users, I have a small problem with the function png(), when used with the argument colortype="pseudo.cube". > png("toto.png", colortype="pseudo.cube") > image(matrix(rnorm(10000), 100, 100)) > dev.off() R is blocked at the last command (R does not print any prompt after the last command). Nothing is written in the file (Gimp indicates that the
2004 Dec 31
4
install.packages() for local source file
Wish to install a local source package on Un*x platform from within R. Same thing as I can accomplish from cmdline as $ export R_LIBS=~/R/library $ cd /path/to/pkg $ R CMD INSTALL -l $R_LIBS <pkgname> So, how do you go about this anyway? And isn't this a bug in 'install.packages'? ------- $ R R : Copyright 2004, The R Foundation for Statistical Computing Version 1.9.0
2005 Oct 27
1
Puzzled over curve() syntax.
It's probably toadally elementary (and, like, duhhhhh) but I can't figure out why the following doesn't work: curve(function(x){qnorm(x,4,25)},from=0,to=1) I get the error: Error in xy.coords(x, y, xlabel, ylabel, log) : 'x' and 'y' lengths differ But if I do foo <- function(x){qnorm(x,4,25)} curve(foo,from=0,to=1) it goes like a train. Also
2010 May 07
1
Problems 'make'ing on Solaris 9.
Hi list! I'm trying to build Samba 3.4.7 with ADS support on Solaris 9 and experiencing a heap of problems (which seem to be common). First of my system: Solaris 9 SPARC > uname -a SunOS sunfire2 5.9 Generic_122300-08 sun4u sparc SUNW,Sun-Fire-V240 Solaris Using GCC 3.4.6 from sunfreeware (with all noted dependancies installed) > gcc --version gcc (GCC) 3.4.6 Copyright (C) 2006 Free
2003 Sep 03
1
Last line in .Rprofile must have newline (PR#4056)
Full_Name: Henrik Bengtsson Version: R v1.7.1 OS: WinXP Pro, Solaris 9 Submission from: (NULL) (130.235.2.229) A colleague of mine who is new to R had problems setting up his .Rprofile and we tracked it down to the following. On both WinXP and Solaris with Rv1.7.1 we noticed that the *last* line in .Rprofile has to have a *newline* to be evaluated. For instance, starting R with the following
2006 Apr 27
1
Symbol __f95_sign not found.
Our computing services people have recently reconfigured the Sun compilers structure on our network, and I can no longer install, on our Sun/Solaris machine, a certain package (spatstat) with which I am heavily involved. (The same problem may well pertain to other packages as well; I haven't yet experimented except with spatstat.) Strictly speaking I can ***install*** it, but when I try to
2004 Feb 10
1
make check in 1.8.1.
I just (finally!!!) got R version 1.8.1 to configure and build under Solaris 9 (after much travail; there were funnies in my environment variables that mucked things up, but that's another story). Anyhow, when I ran ``make check'' I got an error right toward the end. Looking in the directory ``tests'' I found that the error was associated with the file reg-tests-3.R, and the
2002 Sep 10
2
Readline problem.
This question relates, at least vaguely, to recent postings from me concerning my attempts to build R-1.5.1 under Solaris 2.7. I've more or less given up on this, and I and a colleague are attempting to build R-1.5.1 on another machine in our Department, and are getting a ***different*** problem. Version details: platform sparc-sun-solaris2.9 arch sparc os solaris2.9
2002 Sep 10
2
Readline problem.
This question relates, at least vaguely, to recent postings from me concerning my attempts to build R-1.5.1 under Solaris 2.7. I've more or less given up on this, and I and a colleague are attempting to build R-1.5.1 on another machine in our Department, and are getting a ***different*** problem. Version details: platform sparc-sun-solaris2.9 arch sparc os solaris2.9