search for: tfn

Displaying 20 results from an estimated 33 matches for "tfn".

Did you mean: mfn
2012 Mar 18
1
Converting expression to a function
...72) # for testing t<-1:length(y) # for testing f<- y ~ b1/(1+b2*exp(-1*b3*t)) p<-c(b1=1, b2=1, b3=1) b<-p npar<-length(b) for (i in 1:npar){ bbit<-paste(names(b)[[i]],"<-",b[[i]]) eval(parse(text=bbit)) } tfn<-Form2resfun(f, b) ans<-eval(tfn(t=t,y=y, b)) print(ans) # --------- end code block -----------
2009 Sep 21
2
Executing R scripts from another R script
...R scripts from an R script. I am using function source like this: source(file="G:/data/datafile.xls") I get a following error (in German, as I work with German Windows): Converting xls file to csv file... Fehler in system(cmd, intern = !verbose) : perl nicht gefunden Fehler in file.exists(tfn) : ung?ltiges 'file' Argument Basically it says: Converting xls file to csv file...Error in system(cmd, intern = !verbose) : perl not found Error in file.exists(tfn): invalid 'file' Argument What is wrong? How can I call and execute R-scripts from another R-script? Thanks in adva...
2011 Jun 23
3
trying to import xls or xlsx files
...sv it works just fine. Any ideas what I'm doing wrong? I have have also using the package gdata with the exact same error. Below is the error that pops up. Error in findPerl(verbose = verbose) : perl executable not found. Use perl= argument to specify the correct path. Error in file.exists(tfn) : invalid 'file' argument -- View this message in context: http://r.789695.n4.nabble.com/trying-to-import-xls-or-xlsx-files-tp3620580p3620580.html Sent from the R help mailing list archive at Nabble.com.
2010 Jun 16
2
Reading data from xls..........please help
...xls file into R. I have tried following library(gdata) xlsfile <- file.path(.path.package('gdata'),'xls','iris.xls') read.xls(xlsfile) I got following error: Converting xls file to csv file... Error in system(cmd, intern = !verbose) : perl not found Error in file.exists(tfn) : invalid 'file' argument Question *1) What is the way to get it working?* 2nd approach I done was with RODBC package: library(RODBC) odbcConnectExcel(xlsfile) Here I got following report: RODBC Connection 4 Details: case=nochange DBQ=C:\PROGRA~1\R\R-211~1.1\library\gdata\xls\iri...
2010 Jul 30
4
Need to read an Excel File
...t;-read.xls("mydata.xls", sheet=1) The file mydata.xls is stored in the working directory. However I am getting the following error. Can anyone help. Error in findPerl(verbose = verbose) : perl executable not found. Use perl= argument to specify the correct path. Error in file.exists(tfn) : invalid 'file' argument -- View this message in context: http://r.789695.n4.nabble.com/Need-to-read-an-Excel-File-tp2307915p2307915.html Sent from the R help mailing list archive at Nabble.com.
2010 May 25
2
how can I read a non-standard XLS file
...read.xls" and got the following message > read.xls("Prostatic_Neoplasm-miRNAs.Disease-GenesTargets.xls") Error in xls2sep(xls, sheet, verbose = verbose, ..., method = method, : Unable to read translated csv file '/tmp/RtmpPIe3vo/file15d9580e.csv'. Error in file.exists(tfn) : invalid 'file' argument I have tried reading the file through "read.table" which has now been hanging for more than 15 minutes. Please, advice. Thank you in advance. Maura e tutti i telefonini TIM! Vai su
2006 Jan 02
2
RODBC help
...: CREATE TABLE zz (rownames varchar(255) PRIMARY KEY, NAME varchar(255), ID varchar(255), GROUP varchar(255), OAC_RT double, OUC_RT double, OAT_RT double, OUT_RT double, OFN double, OFP double, OFP_RT double, TAC_RT double, TUC_RT double, TAT_RT double, TUT_RT double, TAD_RT double, TUD_RT double, TFN double, TFP double, TFP_RT double, OFP_PERC double, OFN_PERC double, OTD_PERC double, TFP_PERC double, TFN_PERC double, TTD_PERC double, SEX varchar(255), AGE double, EDUC double, EMP_STAT double, MAR_STAT varchar(255), NART_IQ double, BDI double, SANX_ERP double, TRAIT double, GHQ double, IES_A do...
2009 Apr 30
1
URGENTE
...ad utilizzare R. Ho un problema: devo caricare i dati da un file xls creato da me, utilizzando la funzione "read.xls" produce il seguente errore: Errore in xls2csv(xls, sheet, verbose = verbose, ..., perl = perl) : Unable to read xls file 'indagineUSA.xls'. Errore in file.exists(tfn) : argomento 'file' non valido Cosa c'è che non va? La directory di lavoro è quella giusta. Grazie [[alternative HTML version deleted]]
2009 May 26
1
R-windows unsuccessful
...ssary packages and followed instructions as to how to perform the model. Thus the installation has worked perfectly, however when trying to run the program an error message appears "Converting xls file to csv file... Error in system(cmd, intern = !verbose) : perl not found Error in file.exists(tfn) : invalid 'file' argument". > > The software works on Mac computers but not on windows. Could we please have some assistance as to how we can run these models on windows successfully. Regards Honours Class 2009 UKZN South Africa [[alternative HTML version deleted]]
2011 Mar 14
1
read.xls can't read some .xls files
...65315c.csv' missing! In addition: Warning message: running command '"/usr/bin/perl" "/home/t227/R/x86_64-pc-linux-gnu-library/2.12/gdata/perl/xls2csv.pl" "XXX.xls" "/tmp/Rtmp5QQjSI/file1665315c.csv" "1"' had status 9 Error in file.exists(tfn) : invalid 'file' argument And the file which I am trying to read opens perfectly in Open Office. Any help will be appreciated. -- Regards, Shrey Sinha [[alternative HTML version deleted]]
2011 May 26
1
Using read.xls
...In addition: Warning message: running command '"C:\Apps\Perl\bin\perl.exe" "C:/Program Files/R/R-2.13.0/library/gdata/perl/xls2csv.pl" "excelFileName.xls" "C:\Tmp\RtmpYvLnAu\file7f06650f.csv" "Test Sheet"' had status 5 Error in file.exists(tfn) : invalid 'file' argument However, the same command works fine with another excel file stored in the same directory. Could you please let me know what is causing this problem?? Thank you. -- View this message in context: http://r.789695.n4.nabble.com/Using-read-xls-tp3552122p3552122.h...
2010 Feb 11
1
gdata
...a package. When I use the command read.xls, I get this error-message: Erreur dans xls2sep(xls, sheet, verbose = verbose, ..., method = method, : Unable to read translated csv file '/var/folders/gb/gbzQ4sqTF-KK3D5m6v-IJE+++TI/-Tmp-//Rtmp3Hprw9/file10d63af1.csv'. Erreur dans file.exists(tfn) : argument 'file' incorrect dyld: lazy symbol binding failed: Symbol not found: _Perl_Tstack_sp_ptr Referenced from: /Library/Frameworks/R.framework/Resources/library/gdata/perl/darwin-thread-multi-2level/auto/Compress/Raw/Zlib/Zlib.bundle Expected in: dynamic lookup dyld: Symbol not...
2013 Mar 11
1
Implementation of the PL2 weighting scheme of the DFR Framework
Hello guys.I am working on implementing the PL2 weighting scheme of the DFR framework by Gianni Amati. It uses the Poisson approximation of the Binomial as the probabilistic model (P), the Laplace law of succession to calculate the after effect of sampling or the risk gain (L) and within document frequency normalization H2(2) (as proposed by Amati in his PHD thesis). The formula for w(t,d) in
2012 Oct 09
8
gdata
...suelve o dónde está el inconveniente (el dir está ok): > library(gdata)> redes <- read.xls("Base_EncuentrosRedes.xls", sheet = "CAPS")Error en findPerl(verbose = verbose) : perl executable not found. Use perl= argument to specify the correct path.Error en file.exists(tfn) : argumento ''file'' inválido Muchas gracias. -- Mauricio [[alternative HTML version deleted]]
2011 Sep 06
1
read.xls (gdata) problem
...rsions/2.13/Resources/library/gdata/perl/xls2csv.pl" "/Users/peter/dev/R/telenor pricelists/ild_price_processor/ILD priser 2011.10.01.xls" "/var/folders/cb/vvshkpm90lx_y2n69qlyw4z40000gn/T//RtmpK50r4g/file546a2722.csv" "1"' had status 255 Error in file.exists(tfn) : invalid 'file' argument Error parsing file '/Users/peter/dev/R/telenor pricelists/ild_price_processor/ILD priser 2011.10.01.xls'. E.g. using this code: > fn = file.choose() > read.xls(fn) With many different .xls files, including ones I have read with read.xls in the past....
2010 Sep 09
5
Help on simple problem with optim
Dear all, I ran into problems with the function "optim" when I tried to do an mle estimation of a simple lognormal regression. Some warning message poped up saying NANs have been produced in the optimization process. But I could not figure out which part of my code has caused this. I wonder if anybody would help. The code is in the following and the data is in the attachment. da <-
2009 Aug 18
2
(no subject)
...an integer larger than 0. at C:/Programme/R/R-2.8.1/library/gdata/perl/xls2csv.pl line 57. Done. Fehler in xls2csv(xls, sheet, verbose = verbose, ..., perl = perl) : Unable to read translated csv file 'C:\DOKUME~1\beckmann\LOKALE~1\Temp\RtmpCU2zBu\file4db74d06.csv'. Fehler in file.exists(tfn) : ung?ltiges 'file' Argument > > xlsfile <- file.path(.path.package('gdata'),'xls','iris.xls') > xlsfile [1] "C:/Programme/R/R-2.8.1/library/gdata/xls/iris.xls" > > iris <- read.xls(xlsfile) Converting xls file to csv file... D...
2010 Apr 07
1
behaviour of xls2sep when running read.xls (package gdata) sinceupgrade of R
...ethod="tab",perl=perl.path,head=T,row.names=1)} > Erreur dans xls2sep(xls, sheet, verbose = verbose, ..., method = > method, : > Unable to read translated tab file > 'C:\DOCUME~1\OLIVIE~1.ETE\LOCALS~1\Temp\RtmpPF2rxf\file6df11649.tab'. > Erreur dans file.exists(tfn) : argument 'file' incorrect I tried with other xls files, in other folders and on other physical disks, and it was still the same. I didn't upgrade manually either Excel nor Perl , and I cannot see tracks of automatic upgrades. I had a look at the ChangeLog file in the lib/gdata fold...
1998 Dec 06
3
IP address to WINS address?
...I would write such a frontent if I could just figure out how to get the necessary information OUT of smbclient... Thanks, ------------------ Peter Amstutz -------------------- ------- Student, Hacker, Segfault.org Editor -------- -- tetron@segfault.org http://www.tfn.net/~amstpi -- -----------------------------------------------------
2010 Jul 29
7
newton.method
Hi, Is this method broken in R? I am using it to find roots of the following function: f(x) = 2.5*exp(-0.5*(2*0.045 - x)) + 2.5*exp(-0.045) + 2.5*exp(-1.5*x) - 100 It is giving an answer of -38.4762403 which is not even close (f(x) = 2.903809e+25 for x=-38.4762403). The answer should be around 0.01-0.1. This function should converge.. Even for a simple function like f(x) = exp(-x) * x, it gives