search for: ftn

Displaying 20 results from an estimated 47 matches for "ftn".

Did you mean: fn
2004 Nov 25
4
Avoiding for-loops
...o the job by using two for-loops but it doens't seem to be a clever way, and I'd like to know a more efficient code for a large matrix of thousands of rows and columns. Below is my code for your reference. Thanks a lot. John #################### # mtx.sym is a symmetric matrix > my.ftn <- function(size_mtx, mtx) { + my.vector <- c() + for ( i in 1:size_mtx ) { + cat(".") + for ( j in 1:size_mtx ) { + if ( upper.tri(mtx)[i,j] ) { + my.vector <- c(my.vector, mtx[i,j]) + }}} + cat("\n") + } > # if I have a matrix, mtx.sym, of 100x100 > my.ftn(100,...
2008 Dec 09
1
errors with compilation
...tic-lib=yes --disable-R-shlib CPICFLAGS=fpic FPICFLAGS=fpic CXXPICFLAGS=fpic SHLIB_LDFLAGS=shared --with-x=no SHLIB_CXXLDFLAGS=shared --disable-BLAS-shlib CFLAGS="-g -O2 -Kieee" FFLAGS="-g -O2 -Kieee" CXXFLAGS="-g -O2 -Kieee" FCFLAGS="-g -O2 -Kieee" CC=cc F77=ftn CXX=CC FC=ftn R is now configured for x86_64-unknown-linux-gnu Source directory: . Installation directory: /lus/nid00036/jasont/R C compiler: cc -g -O2 -Kieee Fortran 77 compiler: ftn -g -O2 -Kieee C++ compiler: CC -g -O2 -Kieee...
2008 Feb 19
2
numerical integration of a ftn of 2 variables
Dear R gurus, To start, let me confess to not being an experienced programmer, although I have used R fairly extensively in my work as a graduate student in statistics. I wish to find the root of a function of two variables that is defined by an integral which must be evaluated numerically. So the problem I want to solve is of the form: Find k such that f(k)=0, where f(y) = int_a^b g(x,y)
2008 Jul 18
1
[LLVMdev] Improving bugpoint
...it_ Removing function main Removing function sub0_ Removing function init_ Optimizing functions being tested: done. Checking to see if the merged program executes correctly: <llc> About to run: llc -o bugpoint-test-program.bc.llc.s -f bugpoint-test-program.bc <cray> About to run: ftn bugpoint-test-program.bc.llc.s -c -o bugpoint-test-program.bc.llc.s.cray.o-yIVqrc <cray> About to run: ftn bugpoint-test-program.bc.llc.s.cray.o-yIVqrc -o bugpoint-test-program.bc.llc.s.cray.exe -lm Error running tool: ftn bugpoint-test-program.bc.llc.s.cray.o-yIVqrc -o bugpoint-test-p...
2004 Nov 29
2
[BASIC] Solution of creating a sequence of object names
...e person concerned. I thank all the three people named below. (1) my solution after reading the R-FAQ 7.21 as Uwe Ligges pointed out > for ( i in 1:10 ) { + assign(paste("my.file.", i, sep=""), NULL) + } > (2) Adai Ramasamy's solution > for(obj in paste("my.ftn", 1:10, sep="")) assign(obj, NULL) > ### or > > for(i in 1:10) assign(paste("my.ftn", i, sep=""), NULL) > (3) James Holtman's solution # For example, if you want to generate 10 groups # of 5 random numbers and store them # under then names &...
2003 Jun 07
1
table( , exclude=NULL) for factor objects
The NEWS file for R-1.7.0 says: table() now allows exclude= with factor arguments (requested by Michael Friendly). But in a recent R-1.7.1beta: > test <- c(1,2,3,4,5,1,2,3,4,5,NA,NA,1,2,3,4,5) > table(test) test 1 2 3 4 5 3 3 3 3 3 > table(test, exclude=NULL) test 1 2 3 4 5 <NA> 3 3 3 3 3 2 > table( as.factor(test), exclude=NULL) 1 2
2013 Apr 29
1
cannot compile R on Cray XE6 HLRS HERMIT
Dear All, I am trying to compile R-3.0 on Cray xe6 (HLRS) HERMIT, no success so far. Here is my experience: I use this to configure and make R: CC="cc" \ CXX="CC" \ F77="ftn" \ FC="ftn" \ CPPFLAGS="-I$PREFIX/include" \ LDFLAGS="-L$PREFIX/lib${LIBDIRSUFFIX}" \ ./configure --prefix=$PREFIX \ --exec-prefix=$PREFIX \ --bindir=$PREFIX/bin \ --sbindir=$PREFIX/sbin \ --sysconfdir=$PKG/etc \ --localstatedir=$PKG/var \ --libdir=$PREFIX/lib${LI...
2004 Nov 28
1
creating a sequence of object names
Hello R-users, I wanted to generate objects named 'my.ftn1', 'my.ftn2', ... , 'my.ftn10', and tried the following code without success. How can I do this? > for ( i in 1:10 ) { + sub(" ", "", paste("my.ftn", i)) <- NULL + } Error: Target of assignment expands to non-language object > Many thank...
2011 Nov 10
1
assistance building R on RHEL5
...9;grDevices' ========================= I'm not sure how to rectify this issue. Note: I ran 'configure' with an updated configure script to point to the fortran version that is installed. F77= F95_compilers="f95 fort xlf95 ifort ifc efc pgf95 lf95 gfortran gcc44-gfortran ftn g95" # <== gcc44-gfortran added F90_compilers="f90 xlf90 pgf90 pghpf epcf90" case "${host_os}" in hpux*) F77_compilers="g77 fort77 f77 xlf frt pgf77 cf77 fl32 af77" ;; *) F77_compilers="g77 f77 xlf frt pgf77 cf77 fort77 fl32 af7...
2009 Jan 24
4
panic in callout_reset: bad link in callwheel
...23 in trap_fatal (frame=0xdd4f6bf4, eva=3523242704) at /usr/src/sys/i386/i386/trap.c:939 #4 0xc07060ca in trap (frame=0xdd4f6bf4) at /usr/src/sys/i386/i386/trap.c:320 #5 0xc06f463b in calltrap () at /usr/src/sys/i386/i386/exception.s:159 #6 0xc05623aa in callout_reset (c=0xc3a8552c, to_ticks=19, ftn=0xc0561940 <realitexpire>, arg=0xc3a852b8) at /usr/src/sys/kern/kern_timeout.c:471 #7 0xc0561ab6 in realitexpire (arg=0xc3a852b8) at /usr/src/sys/kern/kern_time.c:684 #8 0xc0562c25 in softclock (dummy=0x0) at /usr/src/sys/kern/kern_timeout.c:274 #9 0xc053268b in ithread_loop (arg=0xc35e5a2...
2019 Sep 24
2
Can't Get SASL to Work
...- pipe flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) ifmail unix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient scalemail-backend unix - n n - 2 pipe flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-sto...
2008 Jan 29
4
[LLVMdev] PassManager Mysteries
On Monday 28 January 2008 09:31:11 pm Owen Anderson wrote: > From experience, an important point that is often forgotten is that > the order of declaration of dependencies matter. If you declare that > you require pass A, and then pass B, and B doesn't preserve A, you'll > get an error like this. > > Just some advice from having had similar problems in the past.
2007 Feb 13
1
CentOS 4 CPAN problem
Not sure if this is the proper list, but I've spent days browsing for the solution. This only happens on the CentOS machine, so I'll start here. After upgrading CPAN, I get the following: undefined subroutine &Compress::Zlib::gzopen called at /usr/lib/perl5/5.8.5/CPAN/Tarzip.pm line 102. "gzopen" seems to refer to a PHP command. Am I missing a module, or have I hit a
2003 Jan 21
3
A way to shut down workstation
...uld like to do that automatically (from cron) in certain time of day. Is there a command that can be sent to a w2k workstation to shutdown? Can samba give that command? Any sugestions? Zoran -- Zoran Ovcin, Dj. Niksica Johana 26/134, Novi Sad, Yugoslavia +381-(0)21-402-422, mailto:zoran@imft.ftn.ns.ac.yu, ICQ# 51891480
2008 Jul 16
0
[LLVMdev] bugpoint / cbe Problems
On Wednesday 16 July 2008 10:12, David Greene wrote: > I'm having some trouble using bugpoint with newer version of gcc (bugpoint > debug output below). I was using gcc 4.1.2. When I try 3.2.3 I get: bugpoint-test-program.bc.cbe.c:237: warning: conflicting types for built-in function `memcpy' bugpoint-test-program.bc.cbe.c: In function `main':
2008 Jul 16
2
[LLVMdev] bugpoint / cbe Problems
...covered that I can reproduce the problem with: /ptmp/dag/universal_build/llvm-project/Debug/bin/opt -std-compile-opts -f -o bugpoint-test-program.opt.bc bugpoint-test-program.bc /ptmp/dag/universal_build/llvm-project/Debug/bin/llc -f -o bugpoint-test-program.opt.bc.s bugpoint-test-program.opt.bc ftn bugpoint-test-program.opt.bc.s (our Fortran compiler) ./a.out If I remove -std-compile-opts, it passes. I don't see a way to run opt directly with bugpoint. It seems to want to go through the CBE, which has the problems I mentioned before (generating syntactically-incorrect C). If I pass -...
2011 Oct 25
3
Temporary Failure that's Permanent!
...-?????? pipe ? flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} uucp????? unix? -?????? n?????? n?????? -?????? -?????? pipe ? flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) ifmail??? unix? -?????? n?????? n?????? -?????? -?????? pipe ? flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp???? unix? -?????? n?????? n?????? -?????? -?????? pipe ? flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient retry???? unix? -?????? -?????? n?????? -?????? -?????? error proxywrite unix -?????? -?????? n?????? -???...
2009 May 11
0
Unable to install R package
...ow to run the C preprocessor... gcc -E checking for gfortran... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking for ftn... no checking for g95... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking for g++.....
1999 Feb 11
2
Installing on DEC 4.0b Alpha Server 2100A
Greetings, I am trying to install R (0.63.2) on a Digital Unix 4.0b Alpha Server 2100A using gcc 2.8.1 and f77 v 0.5.2.3. It seems to compile OK. However, when I try to run R I get the following message: R : Copyright 1999, The R Development Core Team Version 0.63.2 (January 12, 1999) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under
2019 Sep 25
0
Can't Get SASL to Work
...s=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} > uucp ? ? ?unix ?- ? ? ? n ? ? ? n ? ? ? - ? ? ? - ? ? ? pipe > ? flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail > ($recipient) > ifmail ? ?unix ?- ? ? ? n ? ? ? n ? ? ? - ? ? ? - ? ? ? pipe > ? flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) > bsmtp ? ? unix ?- ? ? ? n ? ? ? n ? ? ? - ? ? ? - ? ? ? pipe > ? flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender > $recipient > scalemail-backend unix - n n - 2 pipe > ? flags=R user=scalemail argv=/usr/lib/sc...